You are not logged in.
Hello there, I'm trying to install the nvidia driver using the packages from the repo. I'm pointing that out because previously, every time there was a kernel upate I insallted it manually from the website.
I uninstalled the driver using:
sudo ./nvidia-installer-filename --uninstallThen I installed the following packages: nvidia-dkms (this installs dkms), nvidia-utils, nvidia-settings, opencl-nvidia
I ran
sudo nvidia-xconfigas mentioned in the installion guide.
I don't really have a way of copy pasting the whole error, but its saying that there is a version mismatch between the client and the kernel. Its the two latest versions.
Last edited by diniamo (2022-09-03 08:22:26)
Offline
don't run nvidia-xconfig and remove the config it generated. If the driver version between what you used to have installed and what you installed now differ, you need to reboot in order for the new module to take effect.
all versions of nvidia and nvidia-utils packages need to match and you need to be booted in the relevant kernel that has the modules. FWIW post
pacman -Qo /usr/lib/libGL*nvidia*
dkms status
pacman -Q linux linux-headers
uname -aAs for having no way to copy the error, if you have a working terminal and internet connection you can post the outputs of any command https://wiki.archlinux.org/title/List_o … n_services
Last edited by V1del (2022-08-29 18:26:38)
Offline
I hope you don't mind me just posting the link, but here is the output of those commands, separated by a line of -'s: http://0x0.st/opuo.txt
also, why shouldnt i run xconfig? thats what the wiki says
Last edited by diniamo (2022-08-30 16:51:33)
Offline
Did you add the nvidia module to the initramfs? If so, did you regenerate it so it contains the new module?
Offline
I think I might have only regenerated it, while not having it added.
I also forgot to mention that there are a few files in /usr/lib that still have the older version in them. And there are also 3 files that dont belong to a packge, according to the -Qo command I ran.
Offline
Which files did it list exactly, you might need the stderr if you upload that, i.e.
pacman -Qo /usr/lib/*nvidia* 2>&1 | curl -F 'file=@-' 0x0.st #Yes I decided to expand the glob a bit so we can see the full extent of the issueAlso maybe post your /var/log/X11/Xorg.0.log or the one in .local/share/X11 if user started xorg.
As for nvidia-xconfig the wiki has a note at the very beginning of that section mentioning that a configuration file is not necessary and to just try to start xorg. nvidia-xconfig does a lot of legacy setup that's not really required or necessary anymore on modern versions of xorg. It can not fix a situation that the autodetection fails on (unless you have multiple GPUs and it isn't clear which should be the primary, but even that case is solved with better configurations than what nvidia-xconfig would generate by default)
Last edited by V1del (2022-08-30 23:14:56)
Offline
This is weird, zsh is giving me a permission denied error:
zsh: permission denied: 1But here is my xorg log (/var/log/Xorg.0.log): http://0x0.st/opSv.0.log
To be clear, I'm not trying to use nouveau or anything like that, just the normal nvidia driver.
Offline
I'm pointing that out because previously, every time there was a kernel upate I insallted it manually from the website.
Usually always a terrible idea.
Whenever Arch updates it's kernel the nvidia packages in the repos are also updated at the same time to the correct version. See the big red warning at the top of the wiki page.
Offline
zsh is giving me a permission denied error:
typo or stray blank?
[ 138.444] (EE) open /dev/dri/card0: No such file or directory
sudo journalctl -b | curl -F 'file=@-' 0x0.stOffline
typo or stray blank?
Yes, but mine I flubbed the 2>&1 by swapping the > and &, @diniamo try again with the new command
Offline
pacman -Qo with the fix (I'm not quite familiar with the piping stuff, so I couldn't have known either): http://0x0.st/opj5.txt
journalctl -b: http://0x0.st/opj7.txt
Usually always a terrible idea.
Whenever Arch updates it's kernel the nvidia packages in the repos are also updated at the same time to the correct version. See the big red warning at the top of the wiki page.
Yes, my bad on this whole thing, I didn't read the wiki page carefully enough the first time around.
Offline
The error has changed, the drm is there but a bunch of 515.57 libraries are in the way.
Get rid of the stale files and post the output of
pacman -Qikk nvidia nvidia-utils lib32-nvidia-utils |& curl -F 'file=@-' 0x0.st # |& is a zshism around V1del's typo ;-)Offline
Yep, your kernel module loads fine it's your userspace that's fucked. Remove all of the ones mentioned as not being owned by a package (respectively the ones ending in 515.57). I'm also expecting some broken symlinks you'll have to fix/remove not sure on the best way to dig those out
find /usr/lib -lname '*nvidia*' -ls maybe? See https://stackoverflow.com/a/21438684 as well. Your goal is to get rid of all links resolving a 5.15.57 variant of the driver and reinstalling {lib32-}nvidia-utils
Edit: Fuck... I was fucking around too much with possible find variations, but a -kk would probably list at least wrong timestamps on the links
Last edited by V1del (2022-08-31 07:29:31)
Offline
I deleted the stale files and there seems to be nothing wrong with the symlinks.
And here is the output of the said command: http://0x0.st/opeY.txt
I removed lib32-nvidia-utils as I dont have that installed.
Offline
Re-install nvidia-utils and re-check the package integrity afterwards.
Offline
I reinstalled all 3 nvidia packages, and I can now start xorg.
Although my Davinci Resolve is broken now, hopefully it's fine if I don't make a separate issue for it.
nvidia-settings still seg faults, but that was also the case with my old driver.
Offline
You'll likely need to do the same/want to reinstall opencl-nvidia as well as lib32-nvidia-utils. Other than that post the outputs of the failures you are getting. Output of nvidia-smi/updated xorg.log?
Last edited by V1del (2022-08-31 12:12:02)
Offline
Again, I don't have lib32-nvidia-utils, and I never had it.
Is there any way to reinstall the opencl-nvidia package without reinstalling davinci as well?
Offline
yeah should've added a "if applicable..." for the lib32 variant FWIW since you used the nvidia driver installer, chances are you actually did have the 32bit libs available and if something fails now due to that this is something to check as well (I doubt it will matter for davinci that should/would likely be 64bit already)
Just reinstalling the package with -S should not lead to a reevaluation of dependencies/conflicts. But again you need to post terminal outputs, or if things crash outright coredumps if you need further help: https://wiki.archlinux.org/title/Core_d … _core_dump
Last edited by V1del (2022-08-31 13:05:12)
Offline
Nope, I never had 32 libs, I selected no in the installer every time it asked me.
Davinci works after reinstall.
And here is the nvidia-settings dump: http://0x0.st/opLw.txt
Offline
if you're running on wayland I'd assume that to be normal, as many things nvidia-settings does/tries to do require access to Xorg specific features that aren't going to be emulated on Wayland.
Offline
I'm pretty sure I'm running xorg, how could I check that?
Offline
❯ echo $XDG_SESSION_TYPE
x11Offline
pacman -Qikk libglvndOffline
❯ pacman -Qikk libglvnd
Name : libglvnd
Version : 1.4.0-3
Description : The GL Vendor-Neutral Dispatch library
Architecture : x86_64
URL : https://gitlab.freedesktop.org/glvnd/libglvnd
Licenses : custom:BSD-like
Groups : None
Provides : libgl libegl libgles libEGL.so=1-64 libGL.so=1-64
libGLESv2.so=2-64 libGLX.so=0-64 libGLdispatch.so=0-64
libOpenGL.so=0-64
Depends On : libxext mesa opengl-driver
Optional Deps : None
Required By : eglexternalplatform freeglut glew glfw-wayland glu
gnome-session gst-plugins-base-libs gtk4 kitty
kitty-shell-integration libplacebo libva mesa mesa-demos
mesa-utils mpv nvidia-dkms nvidia-utils qt5-base sdl2
simplescreenrecorder webkit2gtk webkit2gtk-4.1
wpebackend-fdo xorg-server
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 3,68 MiB
Packager : Laurent Carlier <lordheavym@archlinux.org>
Build Date : 2022. aug. 11., csütörtök, 05:51:21 CEST
Install Date : 2022. aug. 14., vasárnap, 21:46:44 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
libglvnd: 58 total files, 0 altered filesOffline