Nvidia drivers dont install with 5.12.X

Anyone else find a way to get the 460.X drivers to install with the 5.12.X kernel? Ive tried installing it on Ubuntu 20.04 and it keeps failing during the install. The only reason im using the 5.12 kernel is because certain functions dont work on my Dell XPS 7590 (2019) without using the 5.12.X kernel.

1 Like

465.27 works fine here on top of 5.12.4 released earlier today.

Not for me…

1 Like

maybe a compiler mismatch.

please show the output of (paste the text, not pictures please):

cat /proc/version
cc --version
g++ --version
update-alternatives --config cc
update-alternatives --config g++

blahblah-pc:~$ cat /proc/version
Linux version 5.11.19-051119-generic (kernel@kathleen) (gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.36.1) #202105071131 SMP Fri May 7 11:53:50 UTC 2021
blahblah-pc:~$ cc --version
cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

blahblah-pc:~$ g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

blahblah-pc:~$ update-alternatives --config cc
There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc
Nothing to configure.
blahblah-pc:~$ update-alternatives --config g++
update-alternatives: error: no alternatives for g++

I reverted back to 5.11 because I was having problems with booting

Ok here’s with the 5.12.4 kernel

blahblah-pc:~$ cat /proc/version
Linux version 5.12.4-051204-generic (kernel@gloin) (gcc (Ubuntu 10.3.0-3ubuntu1) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.36.1) #202105140931 SMP Fri May 14 09:35:44 UTC 2021
blahblah-pc:~$ cc --version
cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

blahblah-pc:~$ g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

blahblah-pc:~$ update-alternatives --config cc
There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc
Nothing to configure.
blahblah-pc:~$ update-alternatives --config g++
update-alternatives: error: no alternatives for g++