Unable to reinstall NVIDIA Driver

Apologies. You hadn’t specified which DE you were using, and I presumed Gnome, as that’s where most issues seem to be encountered. :wink:

Now, yes, but not at the time it mattered.

See what happens if you (re)install egl-wayland:

First check if it is installed:

pamac search --installed egl-wayland

If no return result, then it isn’t installed, and you should install it:

pamac install egl-wayland

If something is returned, it is installed and you should reinstall it:

pamac reinstall --overwrite egl-wayland

If this doesn’t work, then I suggest creating a new topic about this specifically.

Post 12 :eyes:

Yeah, and that’s why I said:

1 Like

I’ve never needed to use --overwrite (didn’t remember it); it’s nice to rediscover these useful tidbits.

There’re many useful tidbits available in:

man pamac

:wink:

I would try this again, now:

LC_ALL=C sudo mhwd --force --auto pci nonfree 0300

If it does not help, most likely some config files contain residues of the Nvidia beta driver (v545.23.06).

1 Like

man pacman: I agree, but usually only when I need it, however infrequently. :wink:

With pacman there is an option to remove configuration files, but that might serve to confuse the issue even more, in this instance; its potentially dangerous, I think.

When I started using Manjaro I decided I want to do it all the CLI-way, so as to get to know the commands, so I have qu8ite a good relationship with my Manjaro-man. And then I heard about manly:

…and I find manly helps a lot with the man.

Appreciate all your efforts guys, sadly, I’m back at square one with this :confounded:

LC_ALL=C sudo mhwd --force --auto pci nonfree 0300                                                               ✔ 
[sudo] password for donatus: 
> Using config 'video-nvidia' for device: 0000:2d:00.0 (0300:10de:2204) Display controller nVidia Corporation GA102 [GeForce RTX 3090]
> Removing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: lib32-libvdpau optionally requires lib32-nvidia-utils: driver for NVIDIA
:: lib32-vulkan-icd-loader optionally requires lib32-vulkan-driver: packaged vulkan driver
:: libvdpau optionally requires nvidia-utils: driver for NVIDIA
:: mangohud optionally requires libxnvctrl: NVIDIA GPU stats by XNVCtrl
:: steam optionally requires vulkan-driver: packaged vulkan driver
:: steam optionally requires lib32-vulkan-driver: packaged vulkan driver (32 bit)
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
warning: dependency cycle detected:
warning: eglexternalplatform will be removed after its nvidia-utils dependency

Packages (7) egl-wayland-2:1.1.13-1  eglexternalplatform-1.1-2  lib32-nvidia-utils-535.113.01-1  libxnvctrl-535.113.01-1  linux65-nvidia-535.113.01-10  nvidia-settings-535.113.01-1  nvidia-utils-535.113.01-2

Total Removed Size:  939.49 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing linux65-nvidia...
removing lib32-nvidia-utils...
xorg configuration symlink valid...
removing nvidia-settings...
removing libxnvctrl...
removing nvidia-utils...
xorg configuration symlink valid...
removing egl-wayland...
removing eglexternalplatform...
:: Running post-transaction hooks...
(1/7) Reloading system manager configuration...
(2/7) Reloading device manager configuration...
(3/7) Arming ConditionNeedsUpdate...
(4/7) Updating module dependencies...
(5/7) Refreshing PackageKit...
(6/7) Reloading system bus configuration...
(7/7) Updating the desktop file MIME type cache...
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully removed video-nvidia
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (7) egl-wayland-2:1.1.13-1  eglexternalplatform-1.1-2  lib32-nvidia-utils-535.113.01-1  libxnvctrl-535.113.01-1  linux65-nvidia-535.113.01-10  nvidia-settings-535.113.01-1  nvidia-utils-535.113.01-2

Total Installed Size:  939.49 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
egl-wayland: /usr/lib/libnvidia-egl-wayland.so.1 exists in filesystem
nvidia-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-utils: /usr/lib/libcudadebugger.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-allocator.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-ngx.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-nvvm.so.4 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-opticalflow.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvoptix.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libEGL_nvidia.so.0 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libGLESv1_CM_nvidia.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libGLESv2_nvidia.so.2 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libGLX_nvidia.so.0 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libcuda.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvcuvid.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-allocator.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-encode.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-fbc.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-ml.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-opticalflow.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-ptxjitcompiler.so.1 exists in filesystem
Errors occurred, no packages were upgraded.
Error: pacman failed!
Error: script failed!

Because I have to be off now. My day is coming to a close this side of the world…

I wish you a very pleasant end of day! And thank you for all the input! Going to open a new issue, thank you very much :smiling_face:

1 Like

Hey there guys,

as discussed in this thread (Unable to reinstall NVIDIA Driver - #32 by Slyfer1), I’m unable to cleanly install the stable drivers on my KDE Manjaro machine.

Short recap is that I’ve installed latest Beta drivers from Nvidias official repository via their .run file, leaving my system in a state where I’m not able to install any drivers anymore.

With the help of the Manjaro members I was able to then install the stable drivers (v535 stable, v545 beta) but I’m still having issues as it feels like there’re some remains of the beta driver, see:

nvidia-smi                                                                                                       ✔ 
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 545.23

I’d somehow need to find a way to completely uninstall everything nvidia related and then freshly install v535.

Please see what happens if I try to force install it with mhwd:

LC_ALL=C sudo mhwd --force --auto pci nonfree 0300                                                               ✔ 
[sudo] password for donatus: 
> Using config 'video-nvidia' for device: 0000:2d:00.0 (0300:10de:2204) Display controller nVidia Corporation GA102 [GeForce RTX 3090]
> Removing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: lib32-libvdpau optionally requires lib32-nvidia-utils: driver for NVIDIA
:: lib32-vulkan-icd-loader optionally requires lib32-vulkan-driver: packaged vulkan driver
:: libvdpau optionally requires nvidia-utils: driver for NVIDIA
:: mangohud optionally requires libxnvctrl: NVIDIA GPU stats by XNVCtrl
:: steam optionally requires vulkan-driver: packaged vulkan driver
:: steam optionally requires lib32-vulkan-driver: packaged vulkan driver (32 bit)
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
warning: dependency cycle detected:
warning: eglexternalplatform will be removed after its nvidia-utils dependency

Packages (7) egl-wayland-2:1.1.13-1  eglexternalplatform-1.1-2  lib32-nvidia-utils-535.113.01-1  libxnvctrl-535.113.01-1  linux65-nvidia-535.113.01-10  nvidia-settings-535.113.01-1  nvidia-utils-535.113.01-2

Total Removed Size:  939.49 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing linux65-nvidia...
removing lib32-nvidia-utils...
xorg configuration symlink valid...
removing nvidia-settings...
removing libxnvctrl...
removing nvidia-utils...
xorg configuration symlink valid...
removing egl-wayland...
removing eglexternalplatform...
:: Running post-transaction hooks...
(1/7) Reloading system manager configuration...
(2/7) Reloading device manager configuration...
(3/7) Arming ConditionNeedsUpdate...
(4/7) Updating module dependencies...
(5/7) Refreshing PackageKit...
(6/7) Reloading system bus configuration...
(7/7) Updating the desktop file MIME type cache...
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully removed video-nvidia
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (7) egl-wayland-2:1.1.13-1  eglexternalplatform-1.1-2  lib32-nvidia-utils-535.113.01-1  libxnvctrl-535.113.01-1  linux65-nvidia-535.113.01-10  nvidia-settings-535.113.01-1  nvidia-utils-535.113.01-2

Total Installed Size:  939.49 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
egl-wayland: /usr/lib/libnvidia-egl-wayland.so.1 exists in filesystem
nvidia-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-utils: /usr/lib/libcudadebugger.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-allocator.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-ngx.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-nvvm.so.4 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-opticalflow.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
nvidia-utils: /usr/lib/libnvoptix.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libEGL_nvidia.so.0 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libGLESv1_CM_nvidia.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libGLESv2_nvidia.so.2 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libGLX_nvidia.so.0 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libcuda.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvcuvid.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-allocator.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-encode.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-fbc.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-ml.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-opticalflow.so.1 exists in filesystem
lib32-nvidia-utils: /usr/lib32/libnvidia-ptxjitcompiler.so.1 exists in filesystem
Errors occurred, no packages were upgraded.
Error: pacman failed!
Error: script failed!

Any help will be gratefully rewarded in eternal digital love :heart:

Okay guys, it’s hard to believe myself, but I got it fixed on my own :sweat_smile:

As @Wollie stated earlier there seemed to have been a few remains from the previously installed beta driver. The .run installer provided by Nvidia offers a neat little feature to “completely” uninstall the driver.

By doing nvidia-uninstall the 545 drivers got removed. After that I force installed the 535 driver, rebooted and now nvidia-smi and sudo cat /sys/module/nvidia/version show the correct version (v535) :slightly_smiling_face:

Nice!

1 Like

Glad it’s solved. Cheers. :partying_face:

1 Like

Yeah you were totally right with Wollie. Thank you guys for your time and effort :smiling_face:

And btw: As you said you go with the .run files for longer already, do you have any advice or maybe even something I’d need as prerequisites to successfully have them running? I gotta be honest it’s really tempting to try to install 545 again :sweat_smile: Properly tho

The best advice I could offer now that it’s working is don’t mess with it any further; unless you really need to. Maybe, focus on Wayland-related tweaks, instead.

One of the downsides of using the official Nvidia drives packages as .run installers is that you have to constantly upgrade the drivers – manually.

With the alternative currently installed, drivers are updated automatically whenever new versions are ready; via the usual Manjaro update systems.

It’s always your choice, though, to break your system any way you see fit. :slight_smile:

Sounds like a very reasonable advice yeah :joy: :+1:t5: I’ll just wait until they’ll find their way into my updates :slightly_smiling_face:

Do you have 1-2 hints which ones exactly you mean? As I said I’m running Wayland for a long time with an Nvidia card already and it’s great to see that there’s been a lot of work in that regard, but a tweak or 2 didn’t harm nobody ever :sweat_smile:

Nothing specific, but keep watching the announcements for anything Wayland related. It’s not so much tweaking Wayland, but rather, watching for improvements of Wayland compatibilty in whatever applications that could benefit from those improvements.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.