Problem with AUR and nvidia providers while installing nvidia-xrun

Hello mates, since 5.6 went EOL it was changed by linux-latest, and while removing the kernel I had a dependency problem with nvidia-xrun-git and had to uninstall it.

The problem really start while reinstalling it, it only offered kernel 5.8 (RC at the moment) for nvidia provider and a bunch of RT kernel. So I chose kernel 5.8 and it installed normally.

Today again I had to update kernel 5.8 and again nvidia-xrun-git needed to be uninstalled and now when I tried to install it linux58 is also gone, now I only have RT kernels for nvidia providers.

yay
$ yay -S nvidia-xrun-git
:: There are 2 providers available for nvidia-xrun-git::: Repository AUR
    1) nvidia-xrun-git 2) nvidia-xrun-pm-git 

Enter a number (default=1): 1
:: There are 12 providers available for nvidia:
:: Repository community
    1) linux54-rt-nvidia-340xx 2) linux54-rt-nvidia-390xx 3) linux54-rt-nvidia-418xx 4) linux54-rt-nvidia-430xx 5) linux54-rt-nvidia-435xx 6) linux54-rt-nvidia-440xx 7) linux56-rt-nvidia-340xx 8) linux56-rt-nvidia-390xx 9) linux56-rt-nvidia-418xx 10) linux56-rt-nvidia-430xx 11) linux56-rt-nvidia-435xx 12) linux56-rt-nvidia-440xx 

Enter a number (default=1): 
pacaur
$pacaur -S nvidia-xrun-git
:: Package nvidia-xrun-git not found in repositories, trying AUR...
:: resolving dependencies...
:: There are 12 providers available for nvidia:
   0) linux54-rt-nvidia-340xx (community) 
   1) linux54-rt-nvidia-390xx (community) 
   2) linux54-rt-nvidia-418xx (community) 
   3) linux54-rt-nvidia-430xx (community) 
   4) linux54-rt-nvidia-435xx (community) 
   5) linux54-rt-nvidia-440xx (community) 
   6) linux56-rt-nvidia-340xx (community) 
   7) linux56-rt-nvidia-390xx (community) 
   8) linux56-rt-nvidia-418xx (community) 
   9) linux56-rt-nvidia-430xx (community) 
   10) linux56-rt-nvidia-435xx (community) 
   11) linux56-rt-nvidia-440xx (community) 

Enter a number (default=0): 

I uninstalled kernel 5.4 (linux54) and the nvidia module (linux54-nvidia-440x) but that doesn't change the list of available nvidia providers, nothing changes, no other kernel appears, although I installed it with linux54-rt and it's module, uninstalled it afterwards and it is back on the list, so I can't really make sense out of it, it doesn't seem to be a problem related to the helper.

I got it working with linux54-rt and it's nvidia module linux54-rt-nvidia-440xx but it's a considerable waste of free space, since I'm using linux58.

EDIT: I don't understand enough of AUR but I can't see any reason why nvidia dependency wouldn't be working for all kernels, this is the PKGBUILD

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nvidia-xrun-git
# Maintainer: robus <RobusGrobus95@gmail.com>
_pkgname=nvidia-xrun
pkgname=$_pkgname"-git"
pkgver=0.3.79.gaf3b734
pkgrel=1
epoch=
pkgdesc="Script to run dedicated X server with discrete nvidia graphics (git version)"
arch=("x86_64")
url="https://github.com/Witko/nvidia-xrun"
license=('GPL')
groups=()
depends=('xorg-server' 'xorg-xinit' 'xorg-xrandr' 'nvidia' 'mesa')
makedepends=('git')
checkdepends=()
optdepends=()
provides=("$_pkgname=$pkgver" "$pkgname=$pkgver")
conflicts=("$_pkgname")
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/Witko/$_pkgname.git")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

pkgver() {
	cd "$srcdir/$_pkgname"
	git describe --tags | sed "s/-/./g"
}

package() {
	cd "$_pkgname"
	install -Dm 644 nvidia-xrun-pm.service "$pkgdir/etc/systemd/system/nvidia-xrun-pm.service"
	install -Dm 644 config/nvidia-xrun "$pkgdir/etc/default/nvidia-xrun"
	install -Dm 644 nvidia-xorg.conf "$pkgdir/etc/X11/nvidia-xorg.conf"
	install -Dm 644 nvidia-xinitrc "$pkgdir/etc/X11/xinit/nvidia-xinitrc"
	install -Dm 755 nvidia-xrun "$pkgdir/usr/bin/nvidia-xrun"
	install -dm 555 "$pkgdir/etc/X11/xinit/nvidia-xinitrc.d"
	install -dm 555 "$pkgdir/etc/X11/nvidia-xorg.conf.d"
}

sudo pacman -Syyu

I did that again to make sure and it doesn't change the behaviour. I tried uninstalling kernel 5.4 RT and 5.8, reupdated databases, rebooted a few times to make sure, and still kernel 5.4 and 5.8 won't appear in the list of available providers, just RT ones.

$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                                                              168,7 KiB   224 KiB/s 00:01 [############################################################################] 100%
 extra                                                                                            2001,2 KiB   228 KiB/s 00:09 [############################################################################] 100%
 community                                                                                           6,1 MiB   316 KiB/s 00:20 [############################################################################] 100%
 multilib                                                                                          195,3 KiB   238 KiB/s 00:01 [############################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
$ yay -S nvidia-xrun-git
:: There are 2 providers available for nvidia-xrun-git::: Repository AUR
    1) nvidia-xrun-git 2) nvidia-xrun-pm-git 

Enter a number (default=1): 1
:: There are 12 providers available for nvidia:
:: Repository community
    1) linux54-rt-nvidia-340xx 2) linux54-rt-nvidia-390xx 3) linux54-rt-nvidia-418xx 4) linux54-rt-nvidia-430xx 5) linux54-rt-nvidia-435xx 6) linux54-rt-nvidia-440xx 7) linux56-rt-nvidia-340xx 8) linux56-rt-nvidia-390xx 9) linux56-rt-nvidia-418xx 10) linux56-rt-nvidia-430xx 11) linux56-rt-nvidia-435xx 12) linux56-rt-nvidia-440xx 

Enter a number (default=1): 

The only providers which will reappear in the list if uninstalled are RT kernels, anything else only appears once and then it's gone.

mhwd -li && mhwd -l
inxi -Fxxxza --no-host
Also .. is there a reason you are using xrun/bumblebee ?

mhwd -li && mhwd -l
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:1c20) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2019.10.25               false            PCI
    video-nvidia-440xx            2019.10.25               false            PCI
    video-nvidia-435xx            2019.10.25               false            PCI
    video-nvidia-430xx            2019.10.25               false            PCI
    video-nvidia-418xx            2019.10.25               false            PCI
    video-nvidia-390xx            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


inxi -Fxxxza --no-host
System:    Kernel: 5.8.0-1-MANJARO x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.8-x86_64 root=UUID=2d9ebb17-3be0-41c5-9515-e85cc08061dc rw 
           rootflags=subvol=@ quiet 
           cryptdevice=UUID=50d5106f-80ea-4a0d-bfe8-1a517e334004:luks-50d5106f-80ea-4a0d-bfe8-1a517e334004 
           root=/dev/mapper/luks-50d5106f-80ea-4a0d-bfe8-1a517e334004 
           resume=/dev/mapper/luks-50d5106f-80ea-4a0d-bfe8-1a517e334004 nohpet nvidia-drm.modeset=0 apparmor=1 mds=full 
           l1tf=full spectre_v2=auto security=apparmor 
           Desktop: awesome 4.3 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Dell product: G7 7588 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 0PK2PP v: A00 serial: <filter> UEFI: Dell v: 1.13.0 date: 02/15/2020 
Battery:   ID-1: BAT0 charge: 56.0 Wh condition: 56.0/56.0 Wh (100%) volts: 17.0/15.2 model: LGC-LGC3.553 DELL 99NF28A 
           type: Li-ion serial: <filter> status: Full 
           Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter> 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: A (10) microcode: D6 L2 cache: 9216 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26407 
           Speed: 1400 MHz min/max: 800/2200 MHz Core speeds (MHz): 1: 1400 2: 1400 3: 1400 4: 1400 5: 1378 6: 1382 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] driver: nvidia v: 440.100 alternate: nouveau,nvidia_drm 
           bus ID: 01:00.0 chip ID: 10de:1c20 
           Display: server: X.Org 1.20.8 compositor: kwin_x11 driver: modesetting,nvidia display ID: :1 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 75 s-size: 652x366mm (25.7x14.4") s-diag: 748mm (29.4") 
           Monitor-1: eDP-1-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           OpenGL: renderer: GeForce GTX 1060/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f1 
           Sound Server: ALSA v: k5.8.0-1-MANJARO 
Network:   Device-1: Qualcomm Atheros Killer E2400 Gigabit Ethernet vendor: Dell driver: alx v: kernel port: 3000 
           bus ID: 3c:00.0 chip ID: 1969:e0a1 
           IF: enp60s0 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 bus ID: 3d:00.0 chip ID: 8086:2723 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.84 TiB used: 1.18 TiB (64.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: Seagate model: XPG GAMMIX S11 Pro size: 953.87 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: R0906I scheme: GPT 
           ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-75Z10T1 size: 931.51 GiB block size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 1A02 scheme: GPT 
Partition: ID-1: / raw size: 905.04 GiB size: 905.04 GiB (100.00%) used: 634.98 GiB (70.2%) fs: btrfs dev: /dev/dm-0 
           ID-2: /home raw size: 905.04 GiB size: 905.04 GiB (100.00%) used: 634.98 GiB (70.2%) fs: btrfs dev: /dev/dm-0 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: file size: 8.00 GiB used: 2.5 MiB (0.0%) priority: -2 file: /btrfs/@swapfile/swapfile 
Sensors:   System Temperatures: cpu: 38.0 C mobo: N/A gpu: nvidia temp: 43 C 
           Fan Speeds (RPM): cpu: 5054 mobo: 5080 fan-2: 
Info:      Processes: 297 Uptime: 11h 44m Memory: 15.33 GiB used: 3.71 GiB (24.2%) Init: systemd v: 245 Compilers: gcc: 10.1.0 
           clang: 10.0.1 Packages: pacman: 1901 lib: 479 flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

I ran the commands while inside awesome running the nvidia-xrun, so I'm using the graphic card while reporting. I use xrun to be able to completely turn off the graphic card, which decreases heat and increases longevity/battery. Unfortunately, the newer nvidia offloading will only have power management on Turing cards, anything older will stay on needlessly, so nvidia-xrun is still the best option.

Also, I don't use bumblebee, I use the git version of xrun which was merged with nvidia-xrun-pm and now use kernel power management to turn off the card using a systemd service, bumblebee doesn't work for my card, can't switch on if I recall.

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

Forum kindly sponsored by