-
-
Save joanbm/31a538d9a0b3b798738bd247a74a0db6 to your computer and use it in GitHub Desktop.
| HTTP/1.1 301 Moved Permanently | |
| Location: https://github.com/joanbm/nvidia-470xx-linux-mainline/blob/master/patches/nvidia-470xx-fix-linux-6.17.patch |
Yeah I had a similar issue, went into a crazy rabbit whole, here is the solution to your problem:
- make sure you have the necessary packages
sudo apt install -y pkg-config libglvnd-core-dev libglvnd-dev libegl1-mesa-dev - check that you have the libglvnd.pc file
dpkg -L libglvnd-core-dev | grep '\.pc' - the critical part, make a symlink to glvnd..pc
sudo ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/libglvnd.pc \ /usr/lib/x86_64-linux-gnu/pkgconfig/glvnd.pc - now check if its working with this
pkg-config --modversion glvnd
should out the version - you might need to export the path if the above cmd didn't work
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH - recheck with
pkg-config --modversion glvnd - if it working add that line to you .bashrc
echo 'export PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc - now you can log out, login with console session with CTL + ALT + F3 and run the driver ./install script
@zakweb3, thanks a lot! It worked.
I actually found another problem back in February... there was a space on the folder name I was using for the driver file (Linux newbie, I swear I won't do it again!). I managed to compile the driver after fixing that, but there were still things that were not working right. One program in particular was still giving me problems (a Windows CAD software I was running using Wine).
It's my husband's computer, so I waited until he had a more serious crash before fiddling with the driver again... this happened today. So I used your fix for the glvnd library, then recompiled the driver after pulling the mods from github. And lo and behold... not only did it work, it also fixed the problem I was having with my CAD software.
So, thanks a lot for the fix!
Thanks for making that patch.
For that patch is required the previous patches ?
Thanks for making that patch. For that patch is required the previous patches ?
Hi Augusto! Yes, it is required. I recommend you look into the nvidia-470xx-linux-mainline repository - it contains scripts to easily install the driver on recent kernels, applying all necessary patches.
@joanbm I'm not sure if this is NVidia 470 related but I noticed hard system freeze when using the video player MPV (latest 0.41 version). When playing H264 videos for about 5 minutes or less, it just freeze the whole system without me being able to look at any kernel crash log or something... I downgraded to MPV 0.38 and everything is working fine now. It uses the VDPAU backends because this is the only possible way to get hardware acceleration. Maybe it might be related to 7.x ffmpeg libs which I updated to latest 8.1.1 while using MPV 0.38. What do you think it might be? There is a thread on MPV github page that refer to hard freeze when using MPV 0.39+ and an older NVidia card. It seems MPV is now defaulting to a new video backends which might be problematic with nividia 470 even if you force VDPAU...
Hi,
I'm trying to install the patched driver on Ubuntu 25.10 using your code, however I'm running into a problem with the libglvnd checker. It fails with an internal error.
libglvnd-dev is installed, so the libglvnd checker is not finding them. I looked up the script of the checker and manually checked; all the library files are present. I tried setting LD_LIBRARY_PATH with the paths of the library files mentionned in the scripts, but no luck.
I'm at a lost as to how to proceed. Linux noob, not a programmer either, but I'm not entirely useless on a computer. It might be a simple fix, something really stupid I just don't know I have to do, but if you have any pointers at all... thanks in advance!