Skip to content

Instantly share code, notes, and snippets.

@joanbm
Created August 11, 2025 18:40
Show Gist options
  • Select an option

  • Save joanbm/31a538d9a0b3b798738bd247a74a0db6 to your computer and use it in GitHub Desktop.

Select an option

Save joanbm/31a538d9a0b3b798738bd247a74a0db6 to your computer and use it in GitHub Desktop.
Tentative fix for NVIDIA 470.256.02 driver for Linux 6.17-rc1
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
@zakweb3
Copy link

zakweb3 commented Feb 19, 2026

Yeah I had a similar issue, went into a crazy rabbit whole, here is the solution to your problem:

  1. make sure you have the necessary packages
    sudo apt install -y pkg-config libglvnd-core-dev libglvnd-dev libegl1-mesa-dev
  2. check that you have the libglvnd.pc file
    dpkg -L libglvnd-core-dev | grep '\.pc'
  3. 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
  4. now check if its working with this
    pkg-config --modversion glvnd
    should out the version
  5. 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
  6. recheck with pkg-config --modversion glvnd
  7. 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
  8. now you can log out, login with console session with CTL + ALT + F3 and run the driver ./install script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment