Replies: 4 comments
-
@Javacr |
Beta Was this translation helpful? Give feedback.
-
As I said above, if I do not set
|
Beta Was this translation helpful? Give feedback.
-
@Javacr your setup might need some fixing! And are you using From https://github.com/pyglet/pyglet/blob/master/examples/opengl/opengl.py This is the output when
|
Beta Was this translation helpful? Give feedback.
-
Also, this might be of interest to you: pyglet/pyglet#768 |
Beta Was this translation helpful? Give feedback.
-
Windows Version
Microsoft Windows [Version 10.0.19044.2846]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.10.16.3
Distro Version
Ubuntu-20.04
Other Software
No response
Repro Steps
OpenGL cannot be used in my WSL2, I have tried any solution that I can search.
declaration:
xeyes
is ok in my WSL2.my driver can be detected, and I already run many projects that rely on pytorch-gpu:
case 1: when
export LIBGL_ALWAYS_INDIRECT=0
,glxinfo -B
andglxgears
both returnSegmentation fault
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/927391 "There is no error here. /etc/drirc and ~/.drirc don't exist by default and are not needed."
case 2: when
export LIBGL_ALWAYS_INDIRECT=1
,glxinfo -B
returnX Error of failed request: GLXBadCurrentWindow
, but glxgears works.Expected Behavior
...
Actual Behavior
...
Diagnostic Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions