Last time I updated with sudo zypper dup, it forgot all about my gpu and had to uninstall the Nvidia drivers it forced me to install through the update, and the reinstall the G07 drivers that fits my 3050 card.

Is there a more proper way of doing this in OpenSUSE for a newbie? Would be very helpful if Myrlyn or something else was made for this, so if you wound up with a wrong driver after a major update, you could just use myrlyn (or something else) to autodetect and install the right driver (and also force it to run on your machine for all applications).

all 7 comments

sorted by: hot top controversial new old
[–] 3 points 7 months ago (3 children)

Add the nvidia repository and install the driver package from there? Kernel or driver updates require the Nvidia kernel module be recompiled. I've never had any trouble with it, even if it's been a while. Zypper dup does it, and I just have to accept the stupid license thing.

  • source
  • hideshow 3 child comments
  • [–] [S] 2 points 7 months ago (1 child)

    Even if I have added the nvidia repository, it still zypper dups the shit out of it. I can see it in the install text. Uninstalls current driver, installs some G06 driver I haven't asked for?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 7 months ago

    Maybe its trying to pull drivers from two equally weighted repos. Set nVidia at 90 instead of 99.

    Then try a zypper dup allow vendor change to see if it grabs the nvidia packages you might be pulling from elsewhere

  • source
  • parent
  • [–] 2 points 7 months ago (2 children)
  • [–] [S] 1 point 7 months ago* (1 child)
  • [–] 2 points 7 months ago*

    I'm not familiar as I don't use zypper, however this might help:

    https://en.opensuse.org/images/3/30/Zypper-cheat-sheet-2.pdf

    https://manpages.org/zypper/8 (worth mentioning you can access this on your own system without the Internet by running "man zypper", search with "/", your search term, press enter, then n and Shift+n for next/previous result)

    https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/latest/version-locking.html

    And Ctrl+F these pages for addlock.

  • source
  • parent