Comment 12 for bug 1959995

Revision history for this message
Mazen Mardini (mazen-mardini) wrote (last edit ):

If you don't like to wait for the patch to be applied, here is what you can do (for focal):

If you end up having unmet dependencies at step 7, install them using "sudo apt install package-name".

1. mkdir xorg-server && cd xorg-server
2. git clone -b applied/ubuntu/focal-security https://git.launchpad.net/ubuntu/+source/xorg-server
3. cd xorg-server/debian/patches
4. wget https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1959995/+attachment/5572420/+files/nvidia-495-fix.patch
5. echo "nvidia-495-fix.patch" >> series
6. cd ../..
7. dpkg-buildpackage -us -uc
8. cd ..
9. sudo dpkg -i ./*.deb
10. sudo systemctl reboot

Done. Next you can install newer Nvidia drivers and there shouldn't be any issues.

Note: This is the patch from https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275