Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mybrid
Level 1
Level 1
Posts: 29
Joined: Sun Apr 27, 2014 4:14 pm

Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by mybrid »

Linux Mint Nvidia drivers after 390 are no longer working for Linux kernel 5.4.0.
I reverted back to 390 and everything works fine except nvidia-settings.

Hi! Last week I ran into problems with NVidia 450 suspend. I upgraded to 465 latest. I was okay for a couple of days and then the problem came back.

Linux Kernel 5.4.0 is incompatible with NVidia 450/460/465 on my Lenovo Laptop.

The last driver I had working was 450. However. when I tried to reinstall it the NVidiia 450 driver from NVIdia's web site the installer said there were no drivers for 5.4.0 kernel and refused to install.

I then decided to revert back to the long term supported version, 390.

However, 390 has another problem:

Code: Select all

WARNING:root:_pkg_get_support nvidia-driver-390: package has invalid Support Legacyheader, cannot determine support level
NVidia 390 fails nvidia-settings and bumblebee

Code: Select all

2021-06-12 11:43:08 % nvidia-settings 
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:7257): GLib-GObject-CRITICAL **: 11:54:35.774: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 11:54:35.777: PRIME: No offloading required. Abort
** Message: 11:54:35.777: PRIME: is it supported? no
However the 390 driver is working fine, including pm-suspend.

The downside is I have to use 'sudo prime-switch intel/nvidia' at the command line to switch graphics mode.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31797
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by SMG »

mybrid wrote: Sat Jun 12, 2021 12:01 pmNVidia 390 fails nvidia-settings and bumblebee
Bumblebee is not supported in Linux Mint.

Mint installs and uses the nvidia-prime-applet for switching.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
llovepancakes
Level 1
Level 1
Posts: 34
Joined: Sun Jun 21, 2020 11:02 pm

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by llovepancakes »

mybrid wrote: Sat Jun 12, 2021 12:01 pms.
I don't use bumblebee.

what route did you go and have you fixed it? any help for all of us is good
User avatar
bluecoat58
Level 1
Level 1
Posts: 23
Joined: Sat May 22, 2021 11:09 pm

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by bluecoat58 »

...-:::::-...
.-MMMMMMMMMMMMMMM-. -----------
.-MMMM`..-:::::::-..`MMMM-. OS: Linux Mint 20.2 x86_64
.:MMMM.:MMMMMMMMMMMMMMM:.MMMM:. Kernel: 5.12.0-16.1-liquorix-amd64
-MMM-M---MMMMMMMMMMMMMMMMMMM.MMM- Uptime: 1 day, 2 hours, 20 mins
`:MMM:MM` :MMMM:....::-...-MMMM:MMM:` Packages: 3127 (dpkg), 31 (flatpak)
:MMM:MMM` :MM:` `` `` `:MMM:MMM: Shell: bash 5.0.17
.MMM.MMMM` :MM. -MM. .MM- `MMMM.MMM. Resolution: 1920x1080, 1920x1080
:MMM:MMMM` :MM. -MM- .MM: `MMMM-MMM: DE: Cinnamon
:MMM:MMMM` :MM. -MM- .MM: `MMMM:MMM: WM: Mutter (Muffin)
:MMM:MMMM` :MM. -MM- .MM: `MMMM-MMM: WM Theme: Graphite-One (Graphite-One
.MMM.MMMM` :MM:--:MM:--:MM: `MMMM.MMM. Theme: Mint-Y-Dark [GTK2/3]
:MMM:MMM- `-MMMMMMMMMMMM-` -MMM-MMM: Icons: Adwaita [GTK2/3]
:MMM:MMM:` `:MMM:MMM: Terminal: terminator
.MMM.MMMM:--------------:MMMM.MMM. CPU: AMD Ryzen 5 2600 (12) @ 3.400GH
'-MMMM.-MMMMMMMMMMMMMMM-.MMMM-' GPU: NVIDIA GeForce GTX 1650 SUPER
'.-MMMM``--:::::--``MMMM-.' Memory: 2215MiB / 32087MiB
'-MMMMMMMMMMMMM-'
``-:::::-``

My setup with the latest Nvidia Driver version 460.80. Runs silky smooth for the last year since building this machine. I switched over to the liquorix kernel within a month. Zero issues since then. It might just work for you.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by Moonstone Man »

bluecoat58 wrote: Mon Jul 12, 2021 7:52 pm I switched over to the liquorix kernel within a month. Zero issues since then. It might just work for you.
To the OP: Do not try this at home.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by Hoser Rob »

Kadaitcha Man wrote: Mon Jul 12, 2021 7:55 pm
bluecoat58 wrote: Mon Jul 12, 2021 7:52 pm I switched over to the liquorix kernel within a month. Zero issues since then. It might just work for you.
To the OP: Do not try this at home.
No kiddin'
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
Jo-con-Ël
Level 11
Level 11
Posts: 3578
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by Jo-con-Ël »

SMG wrote: Fri Jun 18, 2021 4:02 pm
mybrid wrote: Sat Jun 12, 2021 12:01 pmNVidia 390 fails nvidia-settings and bumblebee
Bumblebee is not supported in Linux Mint.

Mint installs and uses the nvidia-prime-applet for switching.
It is not completely true. It is outdated, not recommended, not compatible with nvidia-prime-applet, and tricky to make it works but still supported . :roll:
Arrieritos semos y en el camino nos encontraremos.
User avatar
SMG
Level 25
Level 25
Posts: 31797
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by SMG »

Jo-con-Ël wrote: Tue Aug 10, 2021 12:55 pmIt is not completely true. It is outdated, not recommended, not compatible with nvidia-prime-applet, and tricky to make it works but still supported . :roll:
It can not be both outdated and still supported. :roll: If it is supported then it is not outdated. However, Bumblebee is not supported by Mint.

If you check the Mint Github you will find the code for nvidia-prime-applet. It is software Mint currently supports.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Jo-con-Ël
Level 11
Level 11
Posts: 3578
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Linux Mint 20, SUSPEND FIX: NVidia 450/460/465 incompatible w/Linux Kernel 5.4.0

Post by Jo-con-Ël »

Sorry, now I know what not supported in Linux Mint means (it does not mean you can not install it), and maybe outdated is not the word (even last official released was on 2013) as Ubuntu still provide bumblebee updates in repositories. :oops:

Any way, IMHO mybrid needs to provide some useful information (inxi -Fxxxzr and also dpkg -l | grep -i nvidia.) If it is not and old hardware sure he/she does not need bumblebee at all and need to completely remove bumblebee and Nvidia drivers before trying another one with prime off-loading and nvidia-prime applet.

Don't want to hijack this thread only say, in my old laptop, I do need legacy nvidia-driver-390 'cause it is a Kepler series graphic card and I can (hardly) switch graphics on-the-fly with bumblebee. Those errors your are receiving and many others happen mostly because Nvidia GPU is really off if booting with Intel, sudo prime-select query, but also need lot of tweaks.
Arrieritos semos y en el camino nos encontraremos.
Locked

Return to “Graphics Cards & Monitors”