-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
black window while running in wsl2 #102
Comments
Try: export PYOPENGL_PLATFORM=glx |
This does not work for me can you share which version of PYOPENGL and PyOpenGL_accelerate are you running? @urish |
about PyOpenGL_accelerate - I don't think I have it installed |
Thanks for quick response. Initially opengl did not work at all. I created launch file for export PYOPENGL_PLATFORM=gle. Then it started running but the window was black as I shared. I decrease the max FPS. It is running now but not efficient. I will try it on my other pc with nvidia gpu. |
I meet this problem too, in VMware ubuntu20. but in the black window, it shows "[i] show keyboard instructions", which i can triger by keyboad and shows menus. |
I also encountered the same problem in WSL2, and the window remained black. |
I met with the same problem with black window when running the hello_genesis, on ubuntu22. |
Decreasing the max_FPS to 30 or 20 solve the problem but very inefficient |
Thanks, I tried 40、30、20 but it not work. I successfully run it by switching to the physical machine, not vmware or wsl2. |
This project does not appear to run properly in the virtual machine |
hi, guys. I met same problems in my New year holidays. situation : tutorial / hello_genesis.py running in docker on wsl2.
docker run --gpus all --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix -v $PWD:/workspace -v /usr/lib/wsl:/usr/lib/wsl genesis
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:LD_LIBRARY_PATH
export MESA_D3D12_DEFAULT_ADAPTER_NAME="NVIDIA"
python examples/tutorials/hello_genesis.py
Following status is correct. apt update && apt install mesa-utils
glxinfo -B Reference Sincerely |
I met same issue. I do need However, |
Hi I was trying to run the simplest example that you shared in Hello Genesis. It is running but it is a black window. I tested my opengl with another simple script, it was running without any issue.
The text was updated successfully, but these errors were encountered: