Operating System: Arch Linux
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.12.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i5-13450HX
Memory: 15.3 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: Dell Inc.
Product Name: Dell G15 5530
[lucas@archlinux ~]$ nvidia-smi
Sun Dec 1 18:15:59 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01 Driver Version: 565.57.01 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3050 ... On | 00000000:01:00.0 Off | N/A |
| N/A 57C P8 5W / 80W | 44MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 1006 G /usr/bin/ksmserver 1MiB |
| 0 N/A N/A 1160 G /usr/bin/gmenudbusmenuproxy 1MiB |
| 0 N/A N/A 1161 G /usr/bin/kaccess 1MiB |
| 0 N/A N/A 1167 G /usr/bin/xembedsniproxy 1MiB |
+-----------------------------------------------------------------------------------------+
[lucas@archlinux ~]$
Is there any way I can downgrade to driver version 535?
Assistant
Yes, you can downgrade your NVIDIA driver to version 535 on Arch Linux. Here's a step-by-step guide to help you achieve this safely:
1. Understand the Implications
Before proceeding, be aware that downgrading drivers can lead to compatibility issues, especially if other system components depend on the newer driver version. Ensure that version 535 is compatible with your current system setup and other installed software.
2. Install the downgrade Utility
The downgrade utility simplifies the process of downgrading packages by accessing the Arch Linux Archive. Here's how to install it:
Using an AUR Helper (e.g., yay):
If you have an AUR helper like yay installed, you can install downgrade easily:
bash
yay -S downgrade
Manual Installation:
If you prefer to install manually without an AUR helper:
Clone the downgrade Repository:
bash
git clone https://aur.archlinux.org/downgrade.git
Navigate to the Directory and Build the Package:
bash
cd downgrade
makepkg -si
3. Downgrade the NVIDIA Driver
Once downgrade is installed, follow these steps:
List Available Versions:
bash
sudo downgrade nvidia
This command will display a list of available versions of the nvidia package from the Arch Linux Archive.
Select Version 535:
Browse through the list and locate the 535 version of the NVIDIA driver.
Enter the corresponding number to select and install it.
Example Output:
code
-> nvidia 535.xx-1 (Is this the package you want to downgrade to?) [Y/n]
Press Y and then Enter to confirm.
Handle Dependencies:
If prompted about dependencies or conflicts, review the information carefully. You may need to downgrade related packages like nvidia-utils, nvidia-dkms, etc., to ensure compatibility.
4. Prevent Automatic Updates for NVIDIA Packages
To avoid accidentally upgrading the NVIDIA driver during system updates, add the relevant packages to the IgnorePkg list in pacman.conf:
Edit pacman.conf:
bash
sudo nano /etc/pacman.conf
Add to [Options] Section:
Find the [Options] section and add the following line:
conf
IgnorePkg = nvidia nvidia-utils nvidia-settings
Adjust the package names as necessary based on the packages you've downgraded.
Save and Exit:
Press Ctrl + O to save and Ctrl + X to exit.
5. Rebuild the Kernel Initramfs
After downgrading the NVIDIA driver, it's good practice to rebuild the initramfs to ensure all modules are correctly loaded:
bash
sudo mkinitcpio -P
6. Reboot Your System
Finally, reboot your system to apply the changes:
bash
sudo reboot
7. Verify the Driver Version
After rebooting, confirm that the NVIDIA driver has been downgraded successfully:
bash
nvidia-smi
You should see the driver version 535.xx listed.
8. Troubleshooting Tips
Black Screen or Boot Issues:
If you encounter display issues after downgrading, you might need to revert to the previous driver version. You can boot into a TTY (e.g., by pressing Ctrl + Alt + F2) and use downgrade again or remove the NVIDIA drivers entirely.
Missing Packages in the Archive:
If version 535 isn't available in the Arch Linux Archive, you might need to manually locate the package files from other trusted sources or consider using a different driver version that meets your needs.
Dependencies Conflicts:
Ensure all related NVIDIA packages (like nvidia-utils, nvidia-settings, etc.) are downgraded to the same version to maintain compatibility.
Alternative Method: Manual Downgrade
If you prefer not to use the downgrade utility, you can manually download and install the desired package version:
Navigate to the Arch Linux Archive:
Visit Arch Linux Package Archive and locate the 535 version of the NVIDIA driver and its related packages.
Download the Packages:
Use wget or your web browser to download the .pkg.tar.zst files.
Replace /path/to/ with the actual download directory and adjust package names as necessary.
Proceed with Steps 4 to 7 Above.
Final Notes
Always backup important data before making significant system changes.
Regularly update your system and drivers to benefit from security patches and performance improvements, unless you have a specific reason to stick to an older driver version.