You are not logged in.
Pages: 1
Hi! long story short, whenever I try to install nvidia 390-dkms with:
yay -S nvidia-390xx-dkms It asks me if I want to remove the conflicting nvidia-utils:
:: nvidia-390xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] Which I respond to with y; resulting in the response below:
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils=510.54' required by nvidia
-> exit status 1 should I exit the x-server and/or dm to uninstall the default nvidia package, then install the drivers via tty?
also, this is the whole output of the command:
$ yay -S nvidia-390xx-dkms
:: Checking for conflicts...
:: Checking for inner conflicts...
-> Package conflicts found:
-> Installing nvidia-390xx-utils will remove: nvidia-utils (nvidia-libgl), nvidia-utils
-> Conflicting packages will have to be confirmed manually
[Aur:2] nvidia-390xx-utils-390.147-2 (nvidia-390xx-utils nvidia-390xx-dkms)
1 nvidia-390xx-utils (nvidia-390xx-utils nvidia-390xx-dkms) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD up to date, Skipping (1/0): nvidia-390xx-utils
1 nvidia-390xx-utils (nvidia-390xx-utils nvidia-390xx-dkms) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: nvidia-390xx-utils (nvidia-390xx-utils nvidia-390xx-dkms)
==> Making package: nvidia-390xx-utils 390.147-2 (Fri 01 Apr 2022 03:33:36 PM +0430)
==> Retrieving sources...
-> Found nvidia-drm-outputclass.conf
-> Found nvidia-390xx-utils.sysusers
-> Found nvidia-390xx.rules
-> Found NVIDIA-Linux-x86_64-390.147.run
-> Found kernel-5.17.patch
-> Found kernel-4.16.patch
==> Validating source files with b2sums...
nvidia-drm-outputclass.conf ... Passed
nvidia-390xx-utils.sysusers ... Passed
nvidia-390xx.rules ... Passed
NVIDIA-Linux-x86_64-390.147.run ... Passed
kernel-5.17.patch ... Passed
kernel-4.16.patch ... Passed
-> nvidia-390xx-utils=390.147 not satisfied, flushing install queue
==> Making package: nvidia-390xx-utils 390.147-2 (Fri 01 Apr 2022 03:33:42 PM +0430)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found nvidia-drm-outputclass.conf
-> Found nvidia-390xx-utils.sysusers
-> Found nvidia-390xx.rules
-> Found NVIDIA-Linux-x86_64-390.147.run
-> Found kernel-5.17.patch
-> Found kernel-4.16.patch
==> Validating source files with b2sums...
nvidia-drm-outputclass.conf ... Passed
nvidia-390xx-utils.sysusers ... Passed
nvidia-390xx.rules ... Passed
NVIDIA-Linux-x86_64-390.147.run ... Passed
kernel-5.17.patch ... Passed
kernel-4.16.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-390.147
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.147.................................................from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
patching file kernel/common/inc/nv-linux.h
patching file kernel/conftest.sh
Hunk #1 succeeded at 2057 (offset 1 line).
patching file kernel/common/inc/nv-procfs.h
Hunk #1 succeeded at 10 with fuzz 2.
Hunk #2 succeeded at 115 (offset 27 lines).
==> Sources are ready.
==> Making package: nvidia-390xx-utils 390.147-2 (Fri 01 Apr 2022 03:34:05 PM +0430)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
-> nvidia-390xx-utils-390.147-2 already made -- skipping build
[sudo] password for neoncube:
loading packages...
resolving dependencies...
looking for conflicting packages...
:: nvidia-390xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils=510.54' required by nvidia
-> exit status 1any help is appreciated ![]()
Last edited by NeonCube (2022-04-03 19:17:04)
Offline
Step 1 in troubleshooting: ditch the AUR helper and do it with makepkg and pacman. You may have to manually remove the nvidia package.
Last edited by Scimmia (2022-04-01 12:49:11)
Offline
ditch the AUR helper and do it with makepkg and pacman.
I'll try that.
You may have to manually remove the nvidia package.
Note that I've installed the nvidia and nvidia-utils packages from the official arch linux repositories, using pacman:
pacman -S nvidia nvidia-utilsduring the installation; should I uninstall these two?
Offline
Remove "nvidia" first, then install and replace nvidia-390xx-utils then install nvidia-390xx
Offline
If, for some reason, it doesn't work out.
remove nvidia and nvidia-utils packages from the official arch linux repositories.
Insure that you have Dkms installed from the official repos.
https://aur.archlinux.org/nvidia-390xx-utils.git
Provides the whole shootin match..the nvidia dkms kernel modue, nvidia utils for 390xx and opencl.
Offline
https://aur.archlinux.org/nvidia-390xx-utils.git
Provides the whole shootin match..the nvidia dkms kernel modue, nvidia utils for 390xx and opencl.
No, it doesn't.
You need to update both the nvidia-390xx-dkms and nvidia-390xx-utils in the same transaction.
Build them both using makepkg and then install them using pacman at the same time.
Offline
Edit: Here it is with makepkg -si
╭─jbarks@carlos in ~
╰─λ git clone https://aur.archlinux.org/nvidia-390xx-utils.git
Cloning into 'nvidia-390xx-utils'...
remote: Enumerating objects: 88, done.
remote: Counting objects: 100% (88/88), done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 88 (delta 23), reused 81 (delta 20), pack-reused 0
Receiving objects: 100% (88/88), 72.26 KiB | 536.00 KiB/s, done.
Resolving deltas: 100% (23/23), done.
╭─jbarks@carlos in ~
╰─λ ls
688.iso Downloads/ images/ jbarkskey jbarks.pub nvidia-390xx-utils/ Templates/ wallpaper/
Desktop/ go/ jbarks jbarkskey.pub mnt/ Public/ themes/ work/
╭─jbarks@carlos in ~
╰─λ cd nvidia-390xx-utils
╭─jbarks@carlos in repo: nvidia-390xx-utils on master
╰─λ ls
kernel-4.16.patch nvidia-390xx.rules nvidia-390xx-utils.sysusers PKGBUILD
kernel-5.17.patch nvidia-390xx-utils.install nvidia-drm-outputclass.conf
╭─jbarks@carlos in repo: nvidia-390xx-utils on master
╰─λ makepkg -si
==> Making package: nvidia-390xx-utils 390.147-2 (Fri 01 Apr 2022 11:19:33 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found nvidia-drm-outputclass.conf
-> Found nvidia-390xx-utils.sysusers
-> Found nvidia-390xx.rules
-> Downloading NVIDIA-Linux-x86_64-390.147.run...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 81.9M 100 81.9M 0 0 16.7M 0 0:00:04 0:00:04 --:--:-- 17.1M
-> Found kernel-5.17.patch
-> Found kernel-4.16.patch
==> Validating source files with b2sums...
nvidia-drm-outputclass.conf ... Passed
nvidia-390xx-utils.sysusers ... Passed
nvidia-390xx.rules ... Passed
NVIDIA-Linux-x86_64-390.147.run ... Passed
kernel-5.17.patch ... Passed
kernel-4.16.patch ... Passed
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-390.147
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.147....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
patching file kernel/common/inc/nv-linux.h
patching file kernel/conftest.sh
Hunk #1 succeeded at 2057 (offset 1 line).
patching file kernel/common/inc/nv-procfs.h
Hunk #1 succeeded at 10 with fuzz 2.
Hunk #2 succeeded at 115 (offset 27 lines).
==> Entering fakeroot environment...
==> Starting package_nvidia-390xx-utils()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "nvidia-390xx-utils"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_opencl-nvidia-390xx()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "opencl-nvidia-390xx"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_nvidia-390xx-dkms()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "nvidia-390xx-dkms"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: nvidia-390xx-utils 390.147-2 (Fri 01 Apr 2022 11:19:55 AM EDT)
==> Installing nvidia-390xx-utils package group with pacman -U...
loading packages...
warning: nvidia-390xx-utils-390.147-2 is up to date -- reinstalling
warning: opencl-nvidia-390xx-390.147-2 is up to date -- reinstalling
warning: nvidia-390xx-dkms-390.147-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (3) nvidia-390xx-dkms-390.147-2 nvidia-390xx-utils-390.147-2 opencl-nvidia-390xx-390.147-2
Total Installed Size: 194.41 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [-----------------------------------] 100%
(3/3) checking package integrity [-----------------------------------] 100%
(3/3) loading package files [-----------------------------------] 100%
(3/3) checking for file conflicts [-----------------------------------] 100%
(3/3) checking available disk space [-----------------------------------] 100%
:: Running pre-transaction hooks...
(1/2) Performing snapper pre snapshots for the following configurations...
==> root: 608
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod nvidia/390.147 -k 5.17.1-zen1-1-zen
:: Processing package changes...
(1/3) reinstalling nvidia-390xx-utils [-----------------------------------] 100%
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
(2/3) reinstalling opencl-nvidia-390xx [-----------------------------------] 100%
(3/3) reinstalling nvidia-390xx-dkms [-----------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Creating system user accounts...
(2/8) Reloading system manager configuration...
(3/8) Reloading device manager configuration...
(4/8) Arming ConditionNeedsUpdate...
(5/8) Install DKMS modules
==> dkms install --no-depmod nvidia/390.147 -k 5.17.1-zen1-1-zen
==> depmod 5.17.1-zen1-1-zen
(6/8) Removing obsolete cached package files (keeping the latest two)...
==> no candidate packages found for pruning
(7/8) Checking which packages need to be rebuilt
(8/8) Performing snapper post snapshots for the following configurations...
==> root: 609
Last edited by Zod (2022-04-01 15:29:41)
Offline
Thanks, now I can get past the conflict. but although I have dkms installed, I got these errors in the process of installing the driver, and though it's successfully installed, I think I have to do something about this.
(5/7) Install DKMS modules
==> ERROR: Missing snap kernel headers for module nvidia/390.147.
==> ERROR: Missing mnt kernel headers for module nvidia/390.147.
==> ERROR: Missing lost+found kernel headers for module nvidia/390.147.
==> ERROR: Missing sys kernel headers for module nvidia/390.147.
==> ERROR: Missing var kernel headers for module nvidia/390.147.
==> ERROR: Missing lib kernel headers for module nvidia/390.147.
==> ERROR: Missing install-script.sh kernel headers for module nvidia/390.147.
==> ERROR: Missing run kernel headers for module nvidia/390.147.
==> ERROR: Missing usr kernel headers for module nvidia/390.147.
==> ERROR: Missing etc kernel headers for module nvidia/390.147.
==> ERROR: Missing srv kernel headers for module nvidia/390.147.
==> ERROR: Missing root kernel headers for module nvidia/390.147.
==> ERROR: Missing opt kernel headers for module nvidia/390.147.
==> ERROR: Missing dev kernel headers for module nvidia/390.147.
==> ERROR: Missing boot kernel headers for module nvidia/390.147.
==> ERROR: Missing lib64 kernel headers for module nvidia/390.147.
==> ERROR: Missing sbin kernel headers for module nvidia/390.147.
==> ERROR: Missing tmp kernel headers for module nvidia/390.147.
==> ERROR: Missing home kernel headers for module nvidia/390.147.
==> ERROR: Missing proc kernel headers for module nvidia/390.147.
==> ERROR: Missing bin kernel headers for module nvidia/390.147. I have a timeshift snapshot ready in case of emergency.
Edit: I rebooted and booted to the system successfully, but nvidia-smi is still unable to communicate with the driver.
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. Last edited by NeonCube (2022-04-02 06:58:04)
Offline
Offline
arizonajoe wrote:uninstall and reinstall the linux-headers as 'nvidia headers'
How so? Do I have to use pacman like this?
$ sudo pacman -r linux-headers-[kernel version]
$ sudo pacman -S linux-headers-[kernel version]Last edited by NeonCube (2022-04-02 07:07:07)
Offline
Offline
So it turns out linux-headers was not installed, thus I installed it via:
sudo pacman -S linux-headersThen I reinstalled the nvidia-390xx-utils with:
makepkg -siAnd there was no error this time. I'm going to restart the system and report the results ASAP.
Edit: Great. It got worse now. nvidia-smi responds with:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.147 Driver Version: 390.147 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 820M Off | 00000000:03:00.0 N/A | N/A |
| N/A 44C P0 N/A / N/A | 0MiB / 964MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+but I can't open any openGL based program, and I'm experiencing visual artifacts. My GPU is Nvidia Geforce 820M (the fermi one) and It should support nvidia 390.147 drivers, yet It seems to not.
It seems there is a serious problem here.
Edit 2: Here is my dmesg
Last edited by NeonCube (2022-04-02 08:09:51)
Offline
UPDATE: Turns out my laptop is a NVIDIA Optimus one, I'm going to check If I can use PRIME render offload or optimus-manager
Edit: I have to use optimus manager since PRIME offload is not supported by 390xx drivers
Last edited by NeonCube (2022-04-02 08:25:27)
Offline
OK. so I installed the nvidia-390xx-utils alongside nvidia-settings and I faced this in the Terminal:
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).
ERROR: nvidia-settings could not find the registry key file. This file should have been installed
along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be prepopulated or validated, and
will not be listed in the help text. Please see the README for possible values and
descriptions.It also warns me that I "Appear not to be running the NVIDIA X server" apparently, but when I run nvidia-xconfig and restart sddm, arch basically freezes on startup.
Last edited by NeonCube (2022-04-03 17:10:25)
Offline
I finally solved it!
So I just installed optimus manager, and switched to nvidia; now there is no tearing nor any openGL issues! Thanks for your help!
Offline
Pages: 1