FS#68120 - [mesa] Zink is not available anymore

Attached to Project: Arch Linux
Opened by rainer (raneon) - Tuesday, 06 October 2020, 13:39 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 06 April 2021, 10:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Laurent Carlier (lordheavy)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

After upgrading Mesa from 20.1.8 to 20.2.0, Zink is not available anymore. I've tried to query the driver information, but it seems it is not supported in the build anymore.


Additional info:
- Mesa 20.2.0

Steps to reproduce:
- MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 06 April 2021, 10:38 GMT
Reason for closing:  Works for me
Comment by Magnus Boman (katt) - Tuesday, 06 October 2020, 21:10 GMT
Works just fine here, mesa 20.2.0-2.

OpenGL renderer string: zink (AMD RADV VEGA10 (ACO))
OpenGL version string: 3.0 Mesa 20.2.0
Comment by rainer (raneon) - Wednesday, 07 October 2020, 10:32 GMT
Strange. My GPU is a AMD Radeon VII (VEGA20) with RADV and I get a memory access error.

$ MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo
name of display: :1
Speicherzugriffsfehler (Speicherabzug geschrieben)

$ MESA_LOADER_DRIVER_OVERRIDE=zink glxgears
Speicherzugriffsfehler (Speicherabzug geschrieben)

ls -al /usr/lib/dri
insgesamt 353660
drwxr-xr-x 1 root root 580 30. Sep 12:37 .
drwxr-xr-x 1 root root 192104 7. Okt 12:29 ..
-rwxr-xr-x 5 root root 14033944 30. Sep 11:29 i915_dri.so
-rwxr-xr-x 5 root root 14033944 30. Sep 11:29 i965_dri.so
-rwxr-xr-x 1 root root 8171576 2. Jun 11:33 i965_drv_video.so
-rwxr-xr-x 1 root root 35028896 18. Jul 16:54 iHD_drv_video.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 iris_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 kms_swrast_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 nouveau_dri.so
-rwxr-xr-x 3 root root 9354152 30. Sep 11:29 nouveau_drv_video.so
-rwxr-xr-x 5 root root 14033944 30. Sep 11:29 nouveau_vieux_dri.so
-rwxr-xr-x 5 root root 14033944 30. Sep 11:29 r200_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 r300_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 r600_dri.so
-rwxr-xr-x 3 root root 9354152 30. Sep 11:29 r600_drv_video.so
-rwxr-xr-x 5 root root 14033944 30. Sep 11:29 radeon_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 radeonsi_dri.so
-rwxr-xr-x 3 root root 9354152 30. Sep 11:29 radeonsi_drv_video.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 swrast_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 virtio_gpu_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 vmwgfx_dri.so
-rwxr-xr-x 10 root root 22069168 30. Sep 11:29 zink_dri.so

$ MESA_LOADER_DRIVER_OVERRIDE=zink glxgears32
libGL error: MESA-LOADER: failed to open zink (search paths /usr/lib32/dri)
libGL error: failed to load driver: zink
8948 frames in 5.0 seconds = 1789.550 FPS

ls -al /usr/lib32/dri
insgesamt 286764
drwxr-xr-x 1 root root 492 30. Sep 12:37 .
drwxr-xr-x 1 root root 34750 5. Okt 23:25 ..
-rwxr-xr-x 5 root root 14139908 30. Sep 11:44 i915_dri.so
-rwxr-xr-x 5 root root 14139908 30. Sep 11:44 i965_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 iris_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 kms_swrast_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 nouveau_dri.so
-rwxr-xr-x 3 root root 9268932 30. Sep 11:44 nouveau_drv_video.so
-rwxr-xr-x 5 root root 14139908 30. Sep 11:44 nouveau_vieux_dri.so
-rwxr-xr-x 5 root root 14139908 30. Sep 11:44 r200_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 r300_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 r600_dri.so
-rwxr-xr-x 3 root root 9268932 30. Sep 11:44 r600_drv_video.so
-rwxr-xr-x 5 root root 14139908 30. Sep 11:44 radeon_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 radeonsi_dri.so
-rwxr-xr-x 3 root root 9268932 30. Sep 11:44 radeonsi_drv_video.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 swrast_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 virtio_gpu_dri.so
-rwxr-xr-x 9 root root 21679872 30. Sep 11:44 vmwgfx_dri.so
Comment by rainer (raneon) - Wednesday, 07 October 2020, 10:45 GMT
It works with my RAVEN AMD APU. Except for glxgears32 where I see the message "libGL error: failed to load driver: zink" as well.
Comment by Magnus Boman (katt) - Wednesday, 07 October 2020, 12:09 GMT Comment by rainer (raneon) - Wednesday, 07 October 2020, 16:48 GMT
Thanks for the explanation, I didn't expect that it is build only for the 64bit package.

I've done another test with my Intel HD5500 notebook and there it doesn't work either, just like with VEGA20.
Comment by Alberto (agm28011997) - Saturday, 02 January 2021, 01:37 GMT
why not to build mesa 32 bits with zink too?
I think many opengl games need them..

Loading...