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
1 2 |
sudo zypper remove nvidia-gfxG05-kmp x11-video-nvidiaG05 |
Also check and remove any remaining NVIDIA packages:
1 2 |
zypper se --installed-only nvidia |
Remove all related packages shown by the command above.
✅ Phase 2: Disable Nouveau Driver
Create a blacklist configuration:
1 2 3 4 5 |
sudo tee /etc/modprobe.d/disable-nouveau.conf > /dev/null <<EOF blacklist nouveau options nouveau modeset=0 EOF |
Regenerate the initramfs:
1 2 |
sudo dracut --force |
Then reboot:
1 2 |
sudo reboot |
After reboot, confirm Nouveau is disabled:
1 2 |
lsmod | grep nouveau |
Output should be empty.
✅ Phase 3: Install NVIDIA Driver via Runfile
Navigate to the directory containing the .run
file and execute:
1 2 |
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:
1 2 |
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
1 2 |
sudo /usr/bin/nvidia-uninstall |
2. Re-enable Nouveau
1 2 3 4 |
sudo rm /etc/modprobe.d/disable-nouveau.conf sudo dracut --force sudo reboot |
3. Reinstall SUSE NVIDIA Driver Packages
1 2 3 |
sudo zypper install nvidia-gfxG05-kmp x11-video-nvidiaG05 sudo reboot |
Verify with:
1 2 |
nvidia-smi |
📝 Notes
- Avoid mixing
.run
file installation withzypper
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.
最新评论
感谢博主,让我PyTorch入了门!
博主你好,今晚我们下馆子不?
博主,你的博客用的哪家的服务器。
您好,请问您对QNN-MO-PYNQ这个项目有研究吗?想请问如何去训练自己的数据集从而实现新的目标检测呢?
where is the source code ? bomb1 188 2 8 0 0 hello world 0 0 0 0 0 0 1 1 9?5
在安装qemu的过程中,一定在make install 前加入 sudo赋予权限。
所以作者你是训练的tiny-yolov3还是yolov3...
很有用