I added the following line to /usr/src/linux- headers-6.8.0-36/include/drm/drm_ioctl.h (line 34)
#define DRM_UNLOCKED 0 And then I installed ("sudo ubuntu-drivers install") & it worked. If it complains it's already installed, you might have to first remove the partially-installed nvidia software: sudo apt remove $(dpkg -l | grep -i nvidia | awk '{print $2}') -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063503 Title: NVidia drivers won't install completely To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2063503/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs