LinMao's Blog
学习科研记录与分享!

🖥️ Using NVIDIA *.run Driver on openSUSE and Reverting to SUSE Packages

This guide outlines the steps to:

  • Temporarily install the NVIDIA driver using the .run file on openSUSE.
  • Revert back to the officially maintained SUSE NVIDIA packages when needed.

✅ Phase 1: Remove SUSE NVIDIA Driver Packages

sudo zypper remove nvidia-gfxG05-kmp x11-video-nvidiaG05

Also check and remove any remaining NVIDIA packages:

zypper se --installed-only nvidia

Remove all related packages shown by the command above.


✅ Phase 2: Disable Nouveau Driver

Create a blacklist configuration:

sudo tee /etc/modprobe.d/disable-nouveau.conf > /dev/null <

Regenerate the initramfs:

sudo dracut --force

Then reboot:

sudo reboot

After reboot, confirm Nouveau is disabled:

lsmod | grep nouveau

Output should be empty.


✅ Phase 3: Install NVIDIA Driver via Runfile

Navigate to the directory containing the .run file and execute:

sudo ./NVIDIA-Linux-x86_64-570.86.10.run --no-questions --disable-nouveau --no-cc-version-check --install-libglvnd

Follow the on-screen instructions (accept defaults and confirm building kernel modules if prompted).

Verify installation:

nvidia-smi

🔁 Phase 4: Revert to openSUSE NVIDIA Packages

When you're ready to return to the official SUSE driver packages:

1. Uninstall .run File Driver

sudo /usr/bin/nvidia-uninstall

2. Re-enable Nouveau

sudo rm /etc/modprobe.d/disable-nouveau.conf
sudo dracut --force
sudo reboot

3. Reinstall SUSE NVIDIA Driver Packages

sudo zypper install nvidia-gfxG05-kmp x11-video-nvidiaG05
sudo reboot

Verify with:

nvidia-smi

📝 Notes

  • Avoid mixing .run file installation with zypper packages to prevent conflicts.
  • The .run driver needs to be manually reinstalled after every kernel update.
  • The SUSE packages automatically rebuild with kernel updates and are more stable long-term.
赞(0) 打赏
转载请注明出处:LinMao's Blog(林茂的博客) » 🖥️ Using NVIDIA *.run Driver on openSUSE and Reverting to SUSE Packages

评论 抢沙发

静态归档版本,评论功能已关闭。
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

LinMao's Blog(林茂的博客)

了解更多联系我们

觉得文章有用就打赏一下作者吧~

支付宝扫一扫打赏

支付宝

微信扫一扫打赏

微信