Skip to content

Zink is unable to start under XLibre. #2336

@napejuice

Description

@napejuice

Select the version

25.1.X

Describe your issue

Launching any OpenGL program with MESA_LOADER_DRIVER_OVERRIDE=zink results in:

DRI3 not available
Error: couldn't get an RGB, Double-buffered visual

Currently running mesa-tkg-git but this also occurred for me with official mesa so this has to be an XLibre bug? For some reason using the value "none" which I'm assuming shouldn't work or doesn't exist lets glxgears run, but this is added in the terminal output?? I'm confused, you're all confused now too.

MESA_LOADER_DRIVER_OVERRIDE=none glxgears
WARNING: radv is not a conformant Vulkan implementation, testing use only.
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
825 frames in 5.0 seconds = 164.910 FPS
825 frames in 5.0 seconds = 164.996 FPS
825 frames in 5.0 seconds = 164.996 FPS

Steps to reproduce

open a terminal then run:
MESA_LOADER_DRIVER_OVERRIDE=zink glxgears

What did you expect?

I expected glxgears to open and work. Terminal output with regular driver working as expected.

MESA_LOADER_DRIVER_OVERRIDE=radeonsi glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
827 frames in 5.0 seconds = 165.394 FPS
825 frames in 5.0 seconds = 164.995 FPS
826 frames in 5.0 seconds = 165.053 FPS

Additional Information

I have not swapped xlibre for xorg. I'm not sure about doing it, maybe I'm paranoid I'll mess something up. My OS is Artix Linux and yes I have the newest installed from the gremlins repos. Here is my current config file trying to force DRI3 on:

Section	"Device"
	Identifier	"AMD"
	Driver		"amdgpu"
	Option		"VariableRefresh"	"1"
	Option		"DRI"				"3"
EndSection

Extra fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageThis needs to be reviewed and categorized.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions