We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug 请详细描述问题(ZH_CN) A clear and concise description of what the bug is. I seems -device virtio-vga-gl can't work with nvidia driver
`sudo cat /etc/libvirt/qemu.conf | grep cgroup_device_acl -C6
cgroup_device_acl = [ "/dev/null", "/dev/full", "/dev/zero", "/dev/random", "/dev/urandom", "/dev/ptmx", "/dev/kvm", "/dev/dri/card0", "/dev/dri/renderD128" ] `
I tried use devices virtio-gpu.
` host:ubuntu22.04: sudo modprobe binder_linux devices="binder,hwbinder,vndbinder" sudo modprobe ashmem_linux sudo modprobe virtio_gpu
qemu-system-x86_64 -m 2048 -smp 2 -hda /home/perilla/virt/redroid.qcow2 -boot d -net nic -net user,hostfwd=tcp::1122-:22,hostfwd=tcp::19000-:9000,hostfwd=tcp::15555-:5555 -vnc :0 -device virtio-gpu -display sdl,gl=on -enable-kvm `
`qemu: sudo modprobe binder_linux devices="binder,hwbinder,vndbinder" sudo modprobe ashmem_linux sudo modprobe virtio_gpu
docker run -itd --rm --privileged --pull always -v ~/data:/data -p 5555:5555 redroid/redroid:12.0.0_64only-latest androidboot.redroid_gpu_mode=host `
it seems redroid not startup
make sure the required kernel modules present 确保必须的内核功能已开启(ZH_CN)
grep binder /proc/filesystems
grep ashmem /proc/misc
Collect debug logs 收集调试日志(ZH_CN) curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER] omit CONTAINER if not exist any more. 如容器已退出,可忽略CONTAINER参数(ZH_CN) Uploading redroid-debug.GdBCMMBF.tgz…
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
Screenshots 截图(ZH_CN) If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
不支持nvidia gpu吧
Sorry, something went wrong.
virgl is do supported (on Nvidia and other Graphics cards).
virgl
BTW, debug blob link is broken.
virgl is do supported (on Nvidia and other Graphics cards). BTW, debug blob link is broken.
Can I use Nvidia graphics card passthrough? If it is Intel, it still takes up too much space. Is it better than Waydroid?
No branches or pull requests
Describe the bug
请详细描述问题(ZH_CN)
A clear and concise description of what the bug is.
I seems -device virtio-vga-gl can't work with nvidia driver
`sudo cat /etc/libvirt/qemu.conf | grep cgroup_device_acl -C6
As well as this, any configured block backed disks,
all sound device, and all PTY devices are allowed.
This will only need setting if newer QEMU suddenly
wants some device we don't already know about.
cgroup_device_acl = [
"/dev/null", "/dev/full", "/dev/zero",
"/dev/random", "/dev/urandom",
"/dev/ptmx", "/dev/kvm",
"/dev/dri/card0",
"/dev/dri/renderD128"
]
`
I tried use devices virtio-gpu.
`
host:ubuntu22.04:
sudo modprobe binder_linux devices="binder,hwbinder,vndbinder"
sudo modprobe ashmem_linux
sudo modprobe virtio_gpu
qemu-system-x86_64
-m 2048
-smp 2
-hda /home/perilla/virt/redroid.qcow2
-boot d
-net nic -net user,hostfwd=tcp::1122-:22,hostfwd=tcp::19000-:9000,hostfwd=tcp::15555-:5555
-vnc :0
-device virtio-gpu
-display sdl,gl=on
-enable-kvm
`
`qemu:
sudo modprobe binder_linux devices="binder,hwbinder,vndbinder"
sudo modprobe ashmem_linux
sudo modprobe virtio_gpu
docker run -itd --rm --privileged --pull always -v ~/data:/data -p 5555:5555 redroid/redroid:12.0.0_64only-latest androidboot.redroid_gpu_mode=host
`
it seems redroid not startup
make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)
grep binder /proc/filesystems
grep ashmem /proc/misc
(optional)Collect debug logs
收集调试日志(ZH_CN)
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
如容器已退出,可忽略CONTAINER参数(ZH_CN)
Uploading redroid-debug.GdBCMMBF.tgz…
Screenshots
截图(ZH_CN)
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: