-
-
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!
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!