You are not logged in.

#1 2022-09-27 07:27:33

7skysky
Member
Registered: 2022-09-27
Posts: 9

[SOLVED] How to downgrade Nvidia packages in Arch Linux

Hello,

I'm running Arch Linux with the GNOME desktop environment.

I'm experiencing a boot error — black screen with a blinking cursor — after upgrading my Nvidia driver to version 515.76. Apparently this is a widespread issue.

As such, I've attempted (unsuccessfully) to downgrade my Nvidia packages to the prior version 515.65 by entering:

 $ sudo downgrade nvidia nvidia-utils 

... to no avail. I also tried:

  • downgrading my current Kernel from 5.19.11-arch1-1;

  • installing linux-headers and the nvidia-dkms driver;

  • disabling GDM, installing xorg-xinit then starting the session through startx.

No such luck.

I'm new to Linux, so please excuse my technical ineptitude. Grateful for any aid for myself and other newbs who may also be clutching at straws.

-Sky

Last edited by 7skysky (2022-09-28 13:06:54)

Offline

#2 2022-09-27 08:10:31

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

https://wiki.archlinux.org/title/Downgrading_packages
You'll also have to use either an older version of nvidia-dkms or downgrade the kernel in accordance, since the two need to align.

…to no avail.

What does that  mean? Do you have https://aur.archlinux.org/packages/downgrade/ at all?

Offline

#3 2022-09-27 08:50:15

7skysky
Member
Registered: 2022-09-27
Posts: 9

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

seth wrote:

https://wiki.archlinux.org/title/Downgrading_packages
You'll also have to use either an older version of nvidia-dkms or downgrade the kernel in accordance, since the two need to align.

…to no avail.

What does that  mean? Do you have https://aur.archlinux.org/packages/downgrade/ at all?

Thanks for your response.

How would one go about aligning the versions of Kernel and nvidia-dkms? How do I ascertain which versions align?

By to no avail I meant without success. Sorry, to be more specific, I do have the 'downgrade' package — I downloaded it from Yet another Yogurt (yay).

I guess my issue could be correctly aligning the downgraded packages?

Offline

#4 2022-09-27 08:57:22

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

without success

The was there an error?

I guess my issue could be correctly aligning the downgraded packages?

Could.

I'd suggest to go w/ the 510.65 version of nvidia-dkms for the moment (do not have to stall the kernel itself as well)

Offline

#5 2022-09-27 09:24:12

7skysky
Member
Registered: 2022-09-27
Posts: 9

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

The was there an error?

Yes — same error (black screen and blinking cursor on boot).

Could.

I'd suggest to go w/ the 510.65 version of nvidia-dkms for the moment (do not have to stall the kernel itself as well)

The menu for downgrading the nvidia-dkms doesn't include the 510.65 version.

Inter alia, the terminal displays:

  • nvidia-dkms 510.47.03

  • nvidia-dkms 510.54

  • nvidia-dkms 510.60.02

  • nvidia-dkms 510.68.02

  • nvidia-dkms 515.43.04

Offline

#6 2022-09-27 12:57:47

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

Sorry, of course that should have been "515.65"

Offline

#7 2022-09-28 00:01:32

7skysky
Member
Registered: 2022-09-27
Posts: 9

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

seth wrote:

Sorry, of course that should have been "515.65"

I installed that version yet then couldn't load the GNOME desktop environment without:

$ sudo pacman -Rsc nvidia-dkms nvidia-utils 
$ sudo systemctl start gdm

Here's the dmesg log file.

Offline

#8 2022-09-28 06:51:23

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

[    8.230098] traps: Missing ENDBR: _nv011438rm+0x0/0x10 [nvidia]

https://wiki.archlinux.org/title/NVIDIA#Installation - blue note, "ibt=off"
Also nb. that you'll have to downgrade nvidia-utils as well.

Offline

#9 2022-09-28 08:15:46

7skysky
Member
Registered: 2022-09-27
Posts: 9

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

seth wrote:
[    8.230098] traps: Missing ENDBR: _nv011438rm+0x0/0x10 [nvidia]

https://wiki.archlinux.org/title/NVIDIA#Installation - blue note, "ibt=off"
Also nb. that you'll have to downgrade nvidia-utils as well.

Whilst the systemd-boot menu was loading I keyed in ‘e’ then added

ibt=off

to the kernel parameters (after downgrading to the prior versions of nvidia-dkms & nvidia-utils). This worked. To make the change permanent, I edited /boot/loader/entries/2022-09-28_01-10-13_linux.conf to include this code.

Solved! Thank you very much.

Offline

#10 2022-09-28 12:26:10

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] How to downgrade Nvidia packages in Arch Linux

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB