You are not logged in.

#1 2022-06-04 18:36:15

jotsa
Member
Registered: 2022-06-04
Posts: 2

NVIDIA proprietary driver stopped working

hello, yesterday the nvidia driver stopped working for me after an update and reboot. the nouveau driver works fine. i tried getting it to work on the stock and zen kernels on arch, artix and endeavouros without success. this is what i see when i boot into the system with the proprietary driver installed
https://cdn.discordapp.com/attachments/ … 182107.jpg
i have the linux-headers and linux-zen headers packages. there were no errors when installing nvidia-dkms. any help would be really appreciated.

EDIT: i forgot to include the xorg log that gets generated when i run startx with the proprietary driver, here it is

[    44.257] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    44.260] Current Operating System: Linux linux 5.18.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:16 +0000 x86_64
[    44.260] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=cb774050-de7b-425b-b14d-587d14938e61 rw loglevel=3 nowatchdog nvme_load=YES
[    44.262]  
[    44.263] Current version of pixman: 0.40.0
[    44.264] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    44.264] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    44.266] (==) Log file: "/home/js/.local/share/xorg/Xorg.0.log", Time: Sat Jun  4 17:18:01 2022
[    44.266] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    44.267] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    44.267] (==) No Layout section.  Using the first Screen section.
[    44.267] (==) No screen section available. Using defaults.
[    44.267] (**) |-->Screen "Default Screen Section" (0)
[    44.267] (**) |   |-->Monitor "<default monitor>"
[    44.267] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    44.267] (**) |   |-->Device "Nvidia Card"
[    44.267] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    44.267] (==) Automatically adding devices
[    44.267] (==) Automatically enabling devices
[    44.267] (==) Automatically adding GPU devices
[    44.267] (==) Automatically binding GPU devices
[    44.267] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    44.267] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    44.267] 	Entry deleted from font path.
[    44.267] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[    44.267] 	Entry deleted from font path.
[    44.267] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[    44.267] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[    44.267] 	Entry deleted from font path.
[    44.267] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF").
[    44.267] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    44.267] 	Entry deleted from font path.
[    44.267] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    44.267] 	Entry deleted from font path.
[    44.267] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    44.267] 	Entry deleted from font path.
[    44.267] (==) FontPath set to:
	
[    44.267] (==) ModulePath set to "/usr/lib/xorg/modules"
[    44.267] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    44.267] (II) Module ABI versions:
[    44.267] 	X.Org ANSI C Emulation: 0.4
[    44.267] 	X.Org Video Driver: 25.2
[    44.267] 	X.Org XInput driver : 24.4
[    44.267] 	X.Org Server Extension : 10.0
[    44.267] (++) using VT number 2

[    44.268] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    44.268] (II) xfree86: Adding drm device (/dev/dri/card0)
[    44.268] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    44.268] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[    44.269] (--) PCI:*(1@0:0:0) 10de:2487:1458:4073 rev 161, Mem @ 0x52000000/16777216, 0x40000000/268435456, 0x50000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[    44.269] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    44.269] (II) LoadModule: "glx"
[    44.269] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    44.269] (II) Module glx: vendor="X.Org Foundation"
[    44.269] 	compiled for 1.21.1.3, module version = 1.0.0
[    44.269] 	ABI class: X.Org Server Extension, version 10.0
[    44.269] (II) LoadModule: "nvidia"
[    44.269] (WW) Warning, couldn't open module nvidia
[    44.269] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    44.269] (EE) No drivers available.
[    44.269] (EE) 
Fatal server error:
[    44.269] (EE) no screens found(EE) 
[    44.269] (EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
[    44.269] (EE) Please also check the log file at "/home/js/.local/share/xorg/Xorg.0.log" for additional information.
[    44.269] (EE) 
[    44.271] (EE) Server terminated with error (1). Closing log file.

Mod edit: Replaced oversized image with url -- V1del

Last edited by V1del (2022-06-04 20:48:59)

Offline

#2 2022-06-04 20:04:03

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: NVIDIA proprietary driver stopped working

Offline

#3 2022-06-04 20:50:30

jotsa
Member
Registered: 2022-06-04
Posts: 2

Re: NVIDIA proprietary driver stopped working

thank you, i was really confused because the issue didn't get fixed by a downgrade. i guess i did something wrong

Offline

#4 2022-06-06 12:35:07

tekstryder
Member
Registered: 2013-02-14
Posts: 582

Re: NVIDIA proprietary driver stopped working

As there are umpteen threads regarding this topic, I don't want to pollute with starting another, so forgive my slight hijacking here...

@loqs: I've been following the ibt=off discussions on these forums, github and flyspray and am aware of your patch for nvidia-open. Regarding the proprietary binary - is there a need for code changes by nVidia, or is the package able to be recompiled by arch maintainers similarly to your patch?

I see there's a newer version available today in the repo (515.43.04-7 => 515.48.07-7), but not sure if the IBT aspect is addressed with that build? Also not sure what's up with the *-7, as it would typically be *-1, being the first build of the newer upstream version.

I've been holding the linux, linux-headers, and nvidia packages until this is all resolved (still on 5.17.9), but will move on with upgrades as of kernel 5.18.2 soon and utilize ibt=off if this newer driver still requires it.

Last edited by tekstryder (2022-06-06 14:02:49)

Offline

#5 2022-06-06 13:52:47

JuanDeag
Member
From: The Netherlands
Registered: 2022-01-03
Posts: 11

Re: NVIDIA proprietary driver stopped working

That happened to me too today.

To fix it: Open a terminal shell with ctrl alt F2 or crtl alt F6

Login to your user with root access or root and do

 mkinitcpio -P 

And then do

 reboot 

Offline

#6 2022-06-06 14:09:13

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: NVIDIA proprietary driver stopped working

tekstryder wrote:

As there are umpteen threads regarding this topic, I don't want to pollute with starting another, so forgive my slight hijacking here...

@loqs: I've been following the ibt=off discussions on these forums, github and flyspray and am aware of your patch for nvidia-open. Regarding the proprietary binary - is there a need for code changes by nVidia, or is the package able to be recompiled by arch maintainers similarly to your patch?

There needs to be a change by Nvidia.  The code missing IBT and SLS in nvidia/nvidia-dkms is supplied by Nvidia precompiled and without the source to build it with the added hardening options.
nvidia-open 515.48.07-2 currently in testing has been patched.  nvidia-open requires Turing or newer.  All nvidia packages inclusive of 515.48.07-* will require ibt=off.

Offline

#7 2022-06-06 14:11:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: NVIDIA proprietary driver stopped working

JuanDeag wrote:

That happened to me too today.

To fix it: Open a terminal shell with ctrl alt F2 or crtl alt F6

Login to your user with root access or root and do

 mkinitcpio -P 

And then do

 reboot 

That's a completely different problem. You added the module to your initramfs but didn't set up any way to automatically do it on updates.

Offline

Board footer

Powered by FluxBB