LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-12-2023, 07:12 AM   #1
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Rep: Reputation: Disabled
Nvidia drivers conflict with kernel?


Hi.
I think I may have installed the wrong kernel?

My system details:
Code:
$ uname -a
Linux MyPC 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy
Processor: Intel® Core™ i5-6400 CPU @ 2.70GHz × 4

Graphics: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

I'm getting the following errors in output from dmesg.

Code:
[Wed Apr 12 11:05:47 2023] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
I recently did an
Code:
sudo apt-get update
sudo apt-get upgrade -y
There followed the usual list of items not updated.

So, perhaps unwisely, I decided to manually update the excluded items.

Code:
sudo apt-get update
sudo apt-get upgrade  libmbim-glib4
sudo apt-get update
sudo apt-get upgrade  libnvidia-cfg1-525 
sudo apt-get update
sudo apt-get upgrade   libnvidia-common-525
sudo apt-get update
sudo apt-get upgrade   linux-generic
sudo apt-get update
sudo apt-get upgrade   nvidia-driver-520

The system is still usable - no errors other than the
Code:
[Wed Apr 12 11:05:47 2023] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
output from dmesg.

But my Steam (for games) install seems to have been affected. Though I re-installed Skyrim & Fallout LV and they work fine now. Some newer games don't run (Borderlands 3).

Of course I don't expect support for Steam but my question is whether I can safely ignore the nvidia-drm errors and if not whether there is a fix?

Many thanks.
 
Old 04-15-2023, 10:31 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Quote:
Originally Posted by jkcray
Of course I don't expect support for Steam but my question is whether I can safely ignore the nvidia-drm errors and if not whether there is a fix?
It's probably over 10 years since I last warred with nvidia drivers on 32bit, but I'll have a try at this because nobody else is doing it.

Don't ignore any errors. Trying to install anyhow is pointless.

Personally, I don't think you need to worry about the kernel on any recent driver. The kernel headers changed between kernels 4.x & 5.x, but I've had no headers issues on 5.x or 6.x. You nearly alway end up with some exotic error 9 subdirs down anyhow. Your error is ownership or permissions.

The nvidia install script takes/took an '/uninstall' option. Use it to uninstall. Remove the packages you 'installed anyhow', & the nvidia packages. Reboot.

Then install again. Stop at the first error(s) and post it if google throws up nothing.

Last edited by business_kid; 04-15-2023 at 10:35 AM.
 
Old 04-15-2023, 02:33 PM   #3
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
It's probably over 10 years since I last warred with nvidia drivers on 32bit, but I'll have a try at this because nobody else is doing it.

Don't ignore any errors. Trying to install anyhow is pointless.

Personally, I don't think you need to worry about the kernel on any recent driver. The kernel headers changed between kernels 4.x & 5.x, but I've had no headers issues on 5.x or 6.x. You nearly alway end up with some exotic error 9 subdirs down anyhow. Your error is ownership or permissions.

The nvidia install script takes/took an '/uninstall' option. Use it to uninstall. Remove the packages you 'installed anyhow', & the nvidia packages. Reboot.

Then install again. Stop at the first error(s) and post it if google throws up nothing.
Thanks business_kid.

I didn't use scripts to install Nvidia drivers.

They were I think upgraded as part of system upgrades?

Should I use the Nvidia setup screen to uninstall and reinstall?

Thanks!
 
Old 04-16-2023, 05:44 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
OK, if your distro (Ubuntu?) is packaging the drivers, that's ok. Read their documentation and follow that. I woulkdn't worry about the kernel. Purge the nvidia stuff. Reboot. Install again, and stop on the first error, and post it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated to lucid 10.4 now have conflict with nvidia drivers /home/Kyle/Desktop Linux - Newbie 1 08-11-2010 07:17 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Nvidia drivers updating libGL conflict alexcpp Linux - Hardware 1 04-04-2006 10:48 AM
NVIDIA drivers install - RIVAFB conflict hsimah Slackware 33 01-11-2006 08:02 AM
nVidia drivers conflict's with rivafb jaakkop Slackware 34 01-29-2005 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration