<---- template headericclude ----->
ugh! kernel 4.9 update today killed my nvidia
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 15 of 15
  1. #1
    Join Date
    Apr 2005
    Location
    earth
    Posts
    1,370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ugh! kernel 4.9 update today killed my nvidia

    Ugh!
    Had nvidia driver running and all was well, or well enough.
    Then the 4.9 kernel update came and now it wont build the kernel mods so it wont run the nvidia driver.

    Luckily the last 4.8 kernel still comes up just fine. Maybe I just need to wait for the kmods to come along?

    I'm using the 304xx driver installed as per from rpmfusion

    Any tips, much appreciated.
    Last edited by PatMcLJr; 17th January 2017 at 10:25 PM.
    x--x--x
    http://www.gnu.org/philosophy/free-sw.html
    Freedom is never Free.
    Pat Jr.

  2. #2
    Join Date
    Jun 2005
    Location
    Montreal, Québec, Canada
    Posts
    9,105
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    This same 4.9 update locks up my system just where one would see the login prompt being presented. I did a roll back and I am happy to report I am still able to play on this forum.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840
    We get too soon old, and too late smart!

  3. #3
    Join Date
    Aug 2007
    Posts
    577
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    >>Had nvidia driver running and all was well, or well enough.
    >>Then the 4.9 kernel update came and now it wont build the kernel mods so it wont run the nvidia driver.
    >>Luckily the last 4.8 kernel still comes up just fine. Maybe I just need to wait for the kmods to come along?

    >>I'm using the 304xx driver installed as per from rpmfusion

    More information is needed. Did you install the akmod package or the kmod precompiled package ?
    The kmod package doesn't build anything. If the akmod package won't build a new version then there is a problem.

  4. #4
    Join Date
    Aug 2011
    Location
    ~
    Posts
    2,111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    This is why I now own an RX 480. On Fedora I cannot play all the newest games and there are some performance issues but at least I can play high-end games AND update my kernel without issues while using the open-source stack.

    OT: maybe you could try the negativo17.org Nvidia driver. That one appears to be more actively updated.

  5. #5
    Join Date
    Sep 2012
    Location
    Ontario Canada
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    No issues with the latest kernel here using the Nvidia proprietary 375.26 driver with an EVGA 1050i card.
    F25_64 with intel i7.
    Cheers,
    Jon

  6. #6
    Join Date
    Sep 2006
    Location
    On up the road a piece
    Posts
    869
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    When I used nvidia I found that the kmods/akmods often trailed behind new kernels, sometimes for several days. Waiting for them to be released was usually all that was required.
    I know things. It's what I do.

  7. #7
    Join Date
    Jun 2007
    Location
    Lytham St Annes, Lancashire, UK
    Posts
    687
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    Try manually kicking off the akmods build for the new kernel - as root run
    Code:
    # akmods --force --kernels 4.9.3-200.fc25.x86_64
    Check /var/cache/akmods/akmods.log that the build completed and the module was installed before rebooting
    2017/01/15 22:38:31 akmods: Building and installing nvidia-kmod
    2017/01/15 22:38:31 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.9.3-200.fc25.x86_64 /usr/src/akmods/nvidia-kmod.latest'
    2017/01/15 22:42:56 akmods: Installing newly built rpms
    2017/01/15 22:42:56 akmods: DNF detected
    2017/01/15 22:43:21 akmods: Successful.
    Note that akmods will not try to rebuild a module if a previous attempt has failed (failure can be caused by simply rebooting before the build has completed). In that case you need to run it manually with the "--force" flag to get it to try the build again.

  8. #8
    Join Date
    Apr 2014
    Location
    Washington
    Posts
    297
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    I had an issue like this before, maybe the same thing is happening to you. At one point the kmods would download, but dnf wouldn't install the kmods. Go to /var/cache/akmods/nvidia (or something to the effect of nvidia) and see if there is a kmod for nvidia. If it exists just run:

    sudo rpm -ivh kernel-4.9-nvidia.kmod (that's not the kmod name so look for the actual kmod)

    I've pulled my hair enough with Nvidia so when the AMD Vega GPUs come out, I'm canning my GTX 970 for an AMD GPU

  9. #9
    Join Date
    Sep 2012
    Location
    Ontario Canada
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    I was under the impression that support and performance for AMD was worse then Nvidia, no?
    Cheers,
    Jon

  10. #10
    Join Date
    Apr 2005
    Location
    earth
    Posts
    1,370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    Thanks for all the tips!

    for the install I just followed the rpmfusion recipe for my Gforce8 video
    https://rpmfusion.org/Howto/nVidia


    yep, dkms, akmod, kmod and the development packages and the kernel headers.

    tried this
    akmods --force --kernels 4.9.3-200.fc25.x86_64
    and got this
    Checking kmods exist for 4.9.3-200.fc25.x86_64 [ OK ]

    it does spit up an error a few times when I try to boot the 4.9 kernel
    'nVidia' is already registered
    x--x--x
    http://www.gnu.org/philosophy/free-sw.html
    Freedom is never Free.
    Pat Jr.

  11. #11
    Join Date
    Apr 2014
    Location
    Washington
    Posts
    297
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    jheron, I think you're right because the drivers don't appear to be as well optimized as the Nvidia drivers, but I think that's a fair price to pay and I think other AMD users accept that too as the drivers improve

  12. #12
    Join Date
    Jan 2005
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    Last time i had that, i had to add the beta repo to get the correct akmod.
    4.9 aint working here either so i assume its just waiting some time.

  13. #13
    Join Date
    Apr 2005
    Location
    earth
    Posts
    1,370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    YEA! update today fixed the nvidia problem!
    x--x--x
    http://www.gnu.org/philosophy/free-sw.html
    Freedom is never Free.
    Pat Jr.

  14. #14
    Join Date
    Aug 2007
    Posts
    577
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    >>>When I used nvidia I found that the kmods/akmods often trailed behind new kernels

    If this is the case I highly recommend switching to dkms and the sources contained in the Nvidia .run file. This is self contained and contains all of the information to build drivers for new kernels. It is now the recommended approach on several guides which have switched from recommending RPMFusion to using dkms and the old Nvidia .run file. The most popular is probably if-not-true-then-false

    From the guide at https://www.if-not-true-then-false.c...vidia-install:

    "This is totally different guide than my earlier guides, like Fedora 20 nVidia driver install. This guide uses nVidia drivers directly from nVidia site and dkms to help on kernel updates. Have to say that I have had and heard strange problems with different repos (like RPMFusion) nVidia drivers. So that’s why I decided go back to old school (and bit ugly) method and install nVidia drivers “manually”. I have tested this guide with 304.xx (patched), 340.xx and 375.xx drivers/cards.

    With DKMS, you could just update your kernel and your nVidia drivers are compiled automatically."

  15. #15
    Join Date
    Feb 2015
    Location
    Japan
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ugh! kernel 4.9 update today killed my nvidia

    After a kernel upgrade (4.9.4-100.fc24.x86_64), nVidia driver 340.98 failed. The latest driver, 340.101 with a kernel patch, seems okay.

    First I rebooted to an older kernel and downloaded the latest driver.

    Fedora 25/24/23 nVidia Drivers Install Guide
    https://www.if-not-true-then-false.c...-nvidia-guide/

    Download nVidia 340.101 installer with Kernel 4.9+ patch

    Then I confirmed system updates (sudo dnf upgrade) and rebooted to the latest kernel.

    I could not use the display, so I logged in with ssh from a laptop machine to run the upgrade. Since I had already done the other installation steps for the older version, I just ran the driver installation, answered the questions, and rebooted the machine.

    $ chmod +x NVIDIA-Linux-x86_64-340.101-patched.run
    $ sudo ./NVIDIA-Linux-x86_64-340.101-patched.run
    $ sudo reboot

    Now it seems okay; however "dnf info kmod-nvidia-340xx" shows the previous version (340.98), so akmods will fail.

Similar Threads

  1. Today's kernel updates killed Bluetooth
    By JohnJasonJordan in forum Using Fedora
    Replies: 3
    Last Post: 19th October 2011, 08:22 AM
  2. nvidia/kernel update problem today
    By cjpith in forum Using Fedora
    Replies: 3
    Last Post: 9th February 2009, 11:36 AM
  3. kernel update killed my webcam
    By ningbojoe in forum Hardware
    Replies: 23
    Last Post: 26th November 2008, 10:02 PM
  4. Update to kernel 2.6.22 on fc6 killed my bcm43xx wireless
    By iontyre in forum Servers & Networking
    Replies: 4
    Last Post: 30th September 2007, 12:54 AM
  5. Me again, update killed NVIDIA driver
    By flight in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 11th July 2007, 02:17 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]