Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: What I can expect with kernel upgrades and the Nvidia driver

  1. #1

    Default What I can expect with kernel upgrades and the Nvidia driver

    I like the idea of a rolling release like Tumbleweed, but understand that it may not always play well with my Nvidia driver. I'm interested in feedback from experienced Tumbleweed users on what I can expect in this regard.

    It took some doing, but I successfully installed the Nvidia driver with the instructions at:

    https://en.opensuse.org/SDB:NVIDIA_the_hard_way

    and saved the appropriate driver install program afterward. I also blacklisted nouveau in the process.

    My impression is that any kind of kernel upgrade may kill the driver. (And may not!) If it does kill it, I:


    • Ctrl-Alt-F1 to get to the console
    • Log in as root
    • Run top to look for PIDs for lightdm and X
    • Kill these PIDs
    • Run the Nvidia install program. (e.g., sh /dir/dir/dir/****.run) It will handle the chores of un-installing and re-installing.
    • Run mkinitrd
    • Reboot


    I ask because I now have time to troubleshoot, and don't want to try to figure out what to do when I desperately need to use a suddenly disabled computer.

    (A quick BTW: changing from nouveau to the Nvidia driver dropped my CPU temps by 15 C.)

    Thanks once again to all willing to offer tips to a new Tumbleweed user.

  2. #2
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    391

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    The easiest way IMO, is to reboot to a console (press e at grub menu), add a 3 at the end of the linux line (vmlinuz-....) and f10 to boot. Login as root, run your NVIDIAxxx.run file and reboot. All this after a kernel update (also after some X updates).
    It takes me about 2 mins + the reboot time.
    If you forget and reboot to a blank screen just start again.
    Pete

  3. #3
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,033

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    Might be worth a read through this thread on the factory mailing list:

    NVIDIA gfx driver RPMs available for Tumbleweed ...

    https://lists.opensuse.org/opensuse-.../msg00281.html

    It's early days yet, I've not tried it myself so can't comment on the success or otherwise, but it looks quite promising.
    Regards, Paul

  4. #4

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    Thanks, peteh100 and tannington! I'd never thought to use those options in grub. Getting into the console from the start beats killing PIDs after the desktop starts.

  5. #5

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    Reboot, press 'e' to edit, and add a 3 to the end of the linux line, F10 to boot. Boots direct to console. Log in as root, build/insatll driver, and mkinitrd. Sync and reboot.

    Instead of killing pids to get out of window manager, run "init 3" as root.

  6. #6
    Join Date
    Jun 2008
    Location
    where I am is where I am
    Posts
    1,190

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    NVIDIA gfx driver RPMs available for Tumbleweed ...

    https://lists.opensuse.org/opensuse-.../msg00281.html


    One item of note it maybe my hardware setup but when one upgrades TW this way KDE doesn't work. Since I also use XFCE it works there.
    I'm just a curious cat
    My 64 bit: CPU AMD RYZEN 9 3900X 12 Core GPU MSI Radeon RX5600 XT
    MOTHERBOARD GIGABYTE B550 AORUS PRO AC
    Opensuse Tumbleweed Plasma 5

  7. #7
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    I just updated the kernel, so I uninstalled and reinstalled Nvidia.run drivers.
    A few minutes and it is done.
    I log in to the console Ctrl + Alt + F2> I login and become a superuser> uninstall with the command> nvidia-installer --uninstall> when it has finished rebooting> return to console> install drivers> sh / home / user / etc .....
    At the end Reboot and is done
    loyalty returns to those who practice it

  8. #8

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    Just to clarify, V-idocq: is the command you refer to sh NVIDIA-xxx-xxxx.run --uninstall ?

  9. #9
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    391

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    Quote Originally Posted by Tuner View Post
    Just to clarify, V-idocq: is the command you refer to sh NVIDIA-xxx-xxxx.run --uninstall ?
    You can do it with
    Code:
    sudo nvidia-uninstall
    Also for V-idocq's process you have to load the new kernel first - which means a reboot anyway.
    Pete

  10. #10
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: What I can expect with kernel upgrades and the Nvidia driver

    Number 1 rename the .run file in NVIDIA.run to simplify and place it in / home / bin
    Ctrl+Alt+F2 > login > Become root >
    2) Install>
    Code:
    sh /home/that user/bin/NVIDIA.run
    follow the instructions
    reboot or modprobe nvidia > service sddm start

    Uninstall>
    Code:
    nvidia-installer --uninstall
    loyalty returns to those who practice it

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •