Would it be possible to update the 340.108 driver version to support the Linux kernel 5.11 releases?
I saw that issue was fixed in the 390 driver series in April.
I’m getting the same error compiling the 340.108 kernel module (“fatal error: asm/kmap_types.h: No such file or directory”).
Yes, like Mathias said. I am installing the 340.108 driver under Xubuntu 21.04 and I get “fatal error: asm/kmap_types.h: No such file or directory.” How do I fix it? What’s the trick?
Me too! I’m having the same problem but with Ubuntu 20.04.2 LTS. I still use the GeForce 9500 GT graphics card.
Maybe it’s better to go back to the previous Kernel and wait for the update of the new version… I remember the same thing happened with Kernel 5.0. At the time, I had to go back to the previous version, 4.5. Today, I can go back to version 5.8, which I know the driver works.
Hello, I have also encountered this on my Lenovo ThinkPad T510 running KDE Neon 5.22.4 with kernel 5.11.0-27.
My current workaround is to uninstall nvidia-340.108 and go back to the nouveau driver, which seems to be working fine.
hi I ran the patch step by step and the installation was successful but when restarting ubuntu the same computer appears and a message something went wrong and the driver suggested in the case is the 390 but when installing it I realize that the notebook loses a little from permoface and when watching netflix or youtube videos with resolutions between 720p and 1080p it starts to hang and then shuts down without any warning when I was on linux mint 20.1 with drive 340 it works perfectly as in windows
You can do this on Ubuntu 20.04, if you disable the hardware enablement kernel (5.13) and revert back to the generic kernel (5.4) that originally shipped with Ubuntu 20.04, you can install the drivers.
Linux Kernel 5.4 will get full support throughout the duration of Ubuntu 20.04 LTS (source: Ubuntu kernel lifecycle and enablement stack | Ubuntu). Nvidia isn’t putting any effort in nvidia-340 drivers for kernels after 5.4