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