пн, 16 дек. 2024 г., 15:32 Andrea paz <[email protected]>:
I have tried to explore your suggestions, but I don't think I am able to implement them.
GLVND:
glvnd is a vendor neutral libgl library that was made by nvidia so that nvidia proprietary drivers can co-exist with mesa on the same system. The use-case for this is usually desktops or laptops with an intel iGPU and an nvidia dGPU. If you are running intel/amd or all amd, you don’t need libglvnd.
Here is a patch to compile mesa-git without glvnd:
https://www.reddit.com/r/archlinux/comments/hwhouh/how_to_build_mesa_without...
Manually:
PART 3: Compiling mesa-git without libglvnd
I have two of my own gitlab repositories that makes this easy to do.
First let’s clone them:
git clone http://gitlab.com/gloriouseggroll/mesa-git-noglvnd git clone http://gitlab.com/gloriouseggroll/lib32-mesa-git-noglvnd
Now lets make both packages:
cd mesa-git-noglvnd makepkg cd ../lib32-mesa-git-noglvnd makepkg
They need to be installed at the same time, which is why we compiled them both first. Now lets move them to the same folder and install them:
cp *.pkg.tar.xz ../mesa-git-noglvnd/ cd ../mesa-git-noglvnd sudo pacman -U *.pkg.tar.xz
When you do this, it’s going to ask you to replace vulkan-radeon and/or vulkan-intel packages, as well as remove libglvnd. This is because mesa-git provides all of those when compiled from this package, libglvnd being replaced with mesa’s libgl. If compiled from the AUR, it replaces just the vulkan packages.
It says here that there might be problems by not installing glvnd and so the best solution is to create a glvnd installation-fake: https://forums.gentoo.org/viewtopic-t-1170273.html
I don't understand how to do all these things. Also, I used mesa-git in the past but had so many problems that I didn't want to put it back.
*I think* you can just edit mesa3d PKGBUILD ? And then run makepkg ... never tried Arch packaging but it *supposed* to be simple enough ;)) well, we probably can shelf this for now ....
ZINK:
I tried this: __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink /home/paz/cinelerra5/cinelerra-5.1/bin/./cin
CinGG starts but with the following errors:
$ __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink /home/paz/cinelerra5/cinelerra-5.1/bin/./cin Cinelerra Infinity - built: Oct 23 2024 13:17:21 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy 2003-2017 mods for Cinelerra-CV by CinelerraCV team 2015-2024 mods for Cinelerra-GG by Cinelerra-GG team
Libav version: Lavc61.3.100
Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
DRI3 not available
hm, I thought dri3 by itself is default for xf86-video- amdgpu driver? But may be you use modesetting? Try to look in X.org.log to see what driver actually drive your card? And change it from -modesetting to -amdgpu or other way around? LIBGL_DEBUG=verbose with say glxingo should say if you have DRI3 .. (from memory). Sorry for such inconvenience :( DRI3 not available
DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_DisplayInfo::gl_fb_config failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed DRI3 not available DRI3 not available DRI3 not available DRI3 not available DRI3 not available BC_WindowBase::glx_window_fb_configs: opengl initialization failed failed
Instead starting without Zink's environment variables I get the only, usual, error:
BC_DisplayInfo::gl_fb_config failed
In both cases X11-OpenGL does not work.
I couldn't find any other info on getting Zink to work.