Open jaruizra opened 8 months ago
I also encountered the same problem. glxinfo
shows that the accelerated is yes, but when I useglxgears
, it outputs a black screen. If I use software rendering like export LIBGL_ALWAYS_SOFTWARE=1
, glxgears
will work well but this would be meaningless.
the same issue. and mesa need to be updated from DZN to MTL.
Have you manage to solve it?
I haven't check if the issue persist since then.
Have you manage to solve it?
I haven't check if the issue persist since then.
still not working
This is still an issue. Apps that use OpenGL must be launched with LIBGL_ALWAYS_SOFTWARE=1
in their environment to show anything other than a useless black rectangle in their window. I have tested this on both Ubuntu 22.04 and 24.04 distributions.
Windows Version
Microsoft Windows [Versión 10.0.22631.3155]
WSL Version
2.0.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1
Distro Version
22.04
Other Software
glxinfo -B: Extended renderer info (GLX_MESA_query_renderer): Vendor: Microsoft Corporation (0xffffffff) Device: D3D12 (Intel(R) Arc(TM) Graphics) (0xffffffff) Version: 23.2.1 Accelerated: yes Video memory: 16305MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.2 Max compat profile version: 4.2 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 OpenGL vendor string: Microsoft Corporation OpenGL renderer string: D3D12 (Intel(R) Arc(TM) Graphics) OpenGL core profile version string: 4.2 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 OpenGL core profile shading language version string: 4.20 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile
OpenGL version string: 4.2 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 OpenGL shading language version string: 4.20 OpenGL context flags: (none) OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3.1~22.04.2 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
glxinfo | grep -i "OpenGL renderer" OpenGL renderer string: D3D12 (Intel(R) Arc(TM) Graphics)
Repro Steps
Expected Behavior
Actual Behavior
glxgears outputs a black screen. It seems that applications that run on OpenGL rendering doesnt seem to work fine.
Diagnostic Logs
rura@asusg16:~$ journalctl -r Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 Feb 24 22:58:27 asusg16 kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22