LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-19-2017, 07:13 PM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
Post-upgrade (F25) Nvidia Not Loading unless on old (F24) Kernel


Today I upgraded to F25 to get access to the latest version of Kodi. After rebooting sddm would not load. I went to another terminal and ran startx. It complained there was no OpenGL. So I went to Negativo's page and saw the following 2 comments:

Quote:
Joshua
February 16, 2017 at 9:29 pm

Help! Installed nvidia updates today Thu Feb 16 and no GL — KDE plasma fails, sddm fails. Xorg starts from console with no DE but can run firefox to send this help request. I can not figure out what broke. I’m running kernel-4.7.10 but everything else is up to date.

Joshua
February 17, 2017 at 1:07 am

I’m not sure what happened but I think my initrd.img had the previous driver version in it. Luckily I had a backup initrd.img. I’m really tempted to just disable updates once my system is running the way I like. Seems like something breaks with every other update on fedora 25 — it’s the buggiest release in a while.
Anyway, I need to figure out how to configure dracut so it doesn’t happen again.

So I rebooted and loaded into my F24 kernel and everything works. Is there a way to confirm this is the issue and if it is, to redo my initrd.img so that I can boot into my F25 kernel?

Thanks!

Last edited by DJOtaku; 02-19-2017 at 07:14 PM.
 
Old 02-21-2017, 04:25 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
The nvidia module has to get installed in the new module tree. For yourself, try this:
Code:
cd /lib/modules
find -name 'nvidia*'
The module that shows in your F24 module tree should show in the F25 one.You need the kernel source to reinstall, but look it all up on Fedora's site and that takes some of the pain away.
 
Old 02-21-2017, 07:05 PM   #3
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
looks like it's already there:

Code:
*find -name "nvidia*"
./4.9.9-200.fc25.x86_64/extra/nvidia
./4.9.9-200.fc25.x86_64/extra/nvidia/nvidia-drm.ko.xz
./4.9.9-200.fc25.x86_64/extra/nvidia/nvidia-uvm.ko.xz
./4.9.9-200.fc25.x86_64/extra/nvidia/nvidia-modeset.ko.xz
./4.9.9-200.fc25.x86_64/extra/nvidia/nvidia.ko.xz
./4.9.9-200.fc25.x86_64/kernel/drivers/net/ethernet/nvidia
./4.9.9-100.fc24.x86_64/extra/nvidia
./4.9.9-100.fc24.x86_64/extra/nvidia/nvidia-drm.ko.xz
./4.9.9-100.fc24.x86_64/extra/nvidia/nvidia-uvm.ko.xz
./4.9.9-100.fc24.x86_64/extra/nvidia/nvidia-modeset.ko.xz
./4.9.9-100.fc24.x86_64/extra/nvidia/nvidia.ko.xz
./4.9.9-100.fc24.x86_64/kernel/drivers/net/ethernet/nvidia
./4.9.5-100.fc24.x86_64/extra/nvidia
./4.9.5-100.fc24.x86_64/extra/nvidia/nvidia-drm.ko.xz
./4.9.5-100.fc24.x86_64/extra/nvidia/nvidia-uvm.ko.xz
./4.9.5-100.fc24.x86_64/extra/nvidia/nvidia-modeset.ko.xz                                                                                                                                                           
./4.9.5-100.fc24.x86_64/extra/nvidia/nvidia.ko.xz
./4.9.5-100.fc24.x86_64/kernel/drivers/net/ethernet/nvidia
 
Old 02-22-2017, 04:13 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Hmmm. No expert here on the nvidia binary - it's been a while. What does
Code:
lsmod |grep nvidia
sho is being loaded? If it's there, you can eliminate that.
 
Old 03-16-2017, 07:29 AM   #5
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
Sorry it's taken me so long to come back and reply. I've been busy and didn't want to disturb my computer because I needed to complete some tasks. Although it's not satisfying for anyone who would find this thread while googling, I can report that with the latest kernel update everything works. So I'm not sure if something didn't get triggered correctly on upgrade for getting nvidia working or if it went along with some selinux or other such kmod issues I read about in the last month, but it's all working now.

Frankly, every time this happens I consider switching to AMD since they're mostly free (I think the latest cards do require a proprietary blob if you want full functionality for video games), but so far their performance just hasn't matched nvidia consistently. Perhaps on their new chipset coming out this year they'll do well enough to change on my next hardware upgrade.
 
  


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
Errors / Problems with Firewalld after fedup upgrade F24 -> F25 MikeDawg Fedora 2 12-22-2016 09:24 AM
Anyone having issues with the 4.6.3 kernel in F24? Timothy Miller Fedora 11 07-09-2016 04:04 AM
Synaptics driver not loading after kernel upgrade arubin Slackware 2 12-20-2007 02:50 AM
Nvidia module not loading with new kernel sureshot324 Linux - Software 6 09-25-2007 03:54 PM
Post kernel upgrade issues in Mdk10C repeater75 Mandriva 0 03-29-2004 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:30 AM.

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