You are not logged in.

#1 Yesterday 07:02:42

gcb
Member
Registered: 2014-02-12
Posts: 232

nvidia-580xx-dkms

trying to follow https://wiki.archlinux.org/title/NVIDIA

my card is a "pascal" that uses nvidia-580xx-dkms. It is one of the awfull optimus/bumblebee setups though.

But I am 100% lost, as those pages mention nothing besides installing the driver, and installing the driver doesn't seem to be enough.

the AUR git builds 3 packages. utils, dkms, opencl. I install the three of them fine. They place no modules anywhere i can see, they pretend to re-run mkinitcpio as if they added something to the system, but as far as i can see, there's nothing.

i see some modprobe configs but they are in /usr/lib/modprobe.d, not even sure those are picked up normally. For example, one things those files contains, they try to blacklist nouveau, but after i reboot, i still have nouveau loaded.

I can't find any modules anywhere smile

there's a binary in the utils package called nvidia-modprobe, but it just return error code 1 and does/output nothing.

$ lspci -k -d ::03xx
00:02.0 VGA compatible controller: Intel Corporation Kaby Lake-H GT2 [HD Graphics 630] (rev 04)
        DeviceName:  Onboard IGD
        Subsystem: Dell Device 07be
        Kernel driver in use: i915
        Kernel modules: i915
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
        Subsystem: Dell Device 07be
        Kernel driver in use: nouveau
        Kernel modules: nouveau

$ lsmod | grep nvidia

$ lsmod | grep nouveau
nouveau              3780608  1
gpu_sched              77824  1 nouveau
drm_gpuvm              57344  1 nouveau
drm_exec               12288  2 drm_gpuvm,nouveau
drm_ttm_helper         20480  1 nouveau
mxm_wmi                12288  1 nouveau
i2c_algo_bit           24576  2 i915,nouveau
ttm                   155648  3 drm_ttm_helper,i915,nouveau
video                  81920  4 dell_wmi,dell_laptop,i915,nouveau
drm_display_helper    303104  2 i915,nouveau
wmi                    40960  9 video,intel_wmi_thunderbolt,dell_wmi,wmi_bmof,dell_smm_hwmon,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau



Nov 01 06:28:16  kernel: pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power,
Nov 01 06:28:16  kernel: VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
Nov 01 06:28:16  kernel: nouveau: detected PR support, will not use DSM
Nov 01 06:28:16  kernel: nouveau 0000:01:00.0: enabling device (0006 -> 0007)
Nov 01 06:28:16  kernel: nouveau 0000:01:00.0: NVIDIA GP107 (137000a1)
Nov 01 06:28:16  kernel: nouveau 0000:01:00.0: bios: version 86.07.3e.00.1c
Nov 01 06:28:16  kernel: nouveau 0000:01:00.0: pmu: firmware unavailable
Nov 01 06:28:16  kernel: nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
Nov 01 06:28:16  kernel: vga_switcheroo: enabled

Offline

#2 Yesterday 07:10:34

loqs
Member
Registered: 2014-03-06
Posts: 19,105

Re: nvidia-580xx-dkms

What is the output of `dkms status`. Please use code tags.

Offline

#3 Yesterday 09:17:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,682

Offline

#4 Today 04:03:49

gcb
Member
Registered: 2014-02-12
Posts: 232

Re: nvidia-580xx-dkms

$ dkms status
bbswitch/0.8, 7.2.11-arch1-1, x86_64: installed
nvidia/580.196.07, 7.2.11-arch1-1, x86_64: installed
v4l2loopback/0.15.4, 7.2.11-arch1-1, x86_64: installed

>  read https://wiki ...

I did try my best to follow all the "Install" sections I could find from those pages.


Edit:
If I blacklist the nouveau module, card is not detected at all

$ lspci -k -d ::03xx
00:02.0 VGA compatible controller: Intel Corporation Kaby Lake-H GT2 [HD Graphics 630] (rev 04)
        DeviceName:  Onboard IGD
        Subsystem: Dell Device 07be
        Kernel driver in use: i915
        Kernel modules: i915

Offline

#5 Today 07:16:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,682

Re: nvidia-580xx-dkms

The modules will have no impact on the presence of the pci device.
Please post your complete system journal for the boot:

sudo journalctl -b | nc termbin.com 9999

Offline

#6 Today 09:16:48

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,702
Website

Re: nvidia-580xx-dkms

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 Today 19:52:11

gcb
Member
Registered: 2014-02-12
Posts: 232

Re: nvidia-580xx-dkms

boot with fresh arch install, no AUR or proprietary drivers whatsoever
https://termbin.com/lg5l3

 # journalctl -b -11 | grep -i nvidia
 nouveau 0000:01:00.0: NVIDIA GP107 (137000a1)

Card shows up on lspci just fine.

boot with AUR drivers built, and no bumblebee/bswitch installed
AUR driver blocks nouveau.
https://termbin.com/mfs5

# journalctl -b -5 | grep -i nvidia
 nvidia: module license 'NVIDIA' taints kernel.
 nvidia: module license taints kernel.
 nvidia-nvlink: Nvlink Core is being initialized, major device number 510
 NVRM: No NVIDIA GPU found.

card doesn't show up on lspci

lastly, with AUR driver and bumblebeed+bbswitch
https://termbin.com/lkjt
...i think this made things worse as bumblebee disables the AUR driver at boot too?

# journalctl -b 0  | grep -i nvid
 Module 'nvidia' is deny-listed (by kmod)
 Module 'nvidia_modeset' is deny-listed (by kmod)
 Module 'nvidia_uvm' is deny-listed (by kmod)
 Module 'nvidia_drm' is deny-listed (by kmod)
 Configuration file /etc/systemd/system/nvidia-enable.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.

The lot of pcie errors everywhere, i'm thinking it have to do with the thunderbolt dock.


# mkinitcpio.conf
MODULES=(nvidia nvidia_modeset bbswitch nvidia_uvm nvidia_drm)
BINARIES=()
FILES=()
HOOKS=(systemd keyboard autodetect microcode modconf kms sd-vconsole block sd-encrypt lvm2 filesystems resume fsck acpi_override)
COMPRESSION="zstd"
COMPRESSION_OPTIONS=(-v --long -9)
MODULES_DECOMPRESS="yes"

BIOS have no option to disable optimus or either of the GPUs

GPU is soldered on the same mainboard as CPU, not external/thunderbolt in any way.

Last edited by gcb (Today 20:00:23)

Offline

Board footer

Powered by FluxBB