You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks,
I am trying to get my own OS written from scratch (https://github.com/jbreu/jos ) running with this project and dispayed in the browser. However it always get a black screen in the VNC view (either in Browser or with a native vnc client exposing the correct port). I guess it has something to do in how qemu inside docker renders the vga output and/or the fact I use Windows/WSL as host, but I cant get to it. One thing I noticed was that without adding --device=/dev/dri I dont have the cardX/renderD128 devices inside my qemu.
Operating system
WSL Ubuntu 22.04.2 LTS
Description
Hi folks,
I am trying to get my own OS written from scratch (https://github.com/jbreu/jos ) running with this project and dispayed in the browser. However it always get a black screen in the VNC view (either in Browser or with a native vnc client exposing the correct port). I guess it has something to do in how qemu inside docker renders the vga output and/or the fact I use Windows/WSL as host, but I cant get to it. One thing I noticed was that without adding
--device=/dev/dri
I dont have the cardX/renderD128 devices inside my qemu.Running it natively with
works fine.
My OS uses plain qemu vga for outputting console/graphics.
Any hints?
Docker compose
docker run -it --rm --env=BOOT_MODE=legacy --env=CPU_CORES=4 --env=RAM_SIZE=4G --env=DISK_SIZE=16G --volume=/mnt/c/Users/Jakob/Documents/workspace/os-series/dist/x86_64/kernel.iso:/boot.iso -p 22 -p 5900:5900 -p 8006:8006 -p 5700:5700 --restart=no --runtime=runc --cap-add NET_ADMIN --env=DISPLAY=web --env=VGA=std --env=DEBUG=Y --device=/dev/kvm --device=/dev/dri -d qemux/qemu-docker:latest
Docker log
Screenshots (optional)
No response
The text was updated successfully, but these errors were encountered: