Hello.
$ inxi -Faz
System: Kernel: 5.15.7-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=147a9eef-7570-42d7-b8b8-ccb00a45ad5e rw
rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: GNOME 41.1 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 41.0 Distro: Garuda Linux base: Arch Linux
Machine: Type: Laptop System: Dell product: XPS 15 9510 v: N/A serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: Dell model: 01V4T3 v: A01 serial: <superuser required> UEFI: Dell v: 1.6.2 date: 11/13/2021
Battery: ID-1: BAT0 charge: 13.8 Wh (16.4%) condition: 84.3/84.3 Wh (100.0%) volts: 11.5 min: 11.4 model: SMP DELL 70N2F95
type: Li-poly serial: <filter> status: Charging
CPU: Info: 8-Core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP arch: Tiger Lake family: 6
model-id: 8D (141) stepping: 1 microcode: 34 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 73728
Speed: 1413 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 1413 2: 1464 3: 2127 4: 3143 5: 4005 6: 1558 7: 2382
8: 1011 9: 907 10: 1326 11: 4380 12: 947 13: 832 14: 1102 15: 929 16: 1376
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915 v: kernel bus-ID: 0000:00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Dell driver: N/A alternate: nouveau
bus-ID: 0000:01:00.0 chip-ID: 10de:25a0 class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 3-11:3 chip-ID: 0c45:672e class-ID: 0e02
Display: x11 server: X.Org 1.21.1.1 compositor: gnome-shell driver: loaded: intel unloaded: modesetting
alternate: fbdev,vesa display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.0x12.5") s-diag: 599mm (23.6")
Monitor-1: eDP1 res: 1920x1200 hz: 60 dpi: 143 size: 340x210mm (13.4x8.3") diag: 400mm (15.7")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: Intel Tiger Lake-H HD Audio vendor: Dell driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 0000:00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
Sound Server-1: ALSA v: k5.15.7-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.40 running: yes
Network: Device-1: Intel Tiger Lake PCH CNVi WiFi vendor: Rivet Networks driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
chip-ID: 8086:43f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Bluetooth: Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-14:4 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID: Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0
chip-ID: 8086:9a0b rev: class-ID: 0104
Drives: Local Storage: total: 953.87 GiB used: 14.33 GiB (1.5%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC711 NVMe 1TB size: 953.87 GiB block-size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 41001131 temp: 53.9 C
scheme: GPT
Partition: ID-1: / raw-size: 48.83 GiB size: 48.83 GiB (100.00%) used: 11.46 GiB (23.5%) fs: btrfs dev: /dev/nvme0n1p4
maj-min: 259:4
ID-2: /boot/efi raw-size: 240 MiB size: 236 MiB (98.33%) used: 118.4 MiB (50.2%) fs: vfat dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 758.2 GiB size: 745.23 GiB (98.29%) used: 2.76 GiB (0.4%) fs: ext4 dev: /dev/nvme0n1p5
maj-min: 259:5
ID-4: /var/log raw-size: 48.83 GiB size: 48.83 GiB (100.00%) used: 11.46 GiB (23.5%) fs: btrfs dev: /dev/nvme0n1p4
maj-min: 259:4
ID-5: /var/tmp raw-size: 48.83 GiB size: 48.83 GiB (100.00%) used: 11.46 GiB (23.5%) fs: btrfs dev: /dev/nvme0n1p4
maj-min: 259:4
Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 62.53 GiB used: 1024 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors: System Temperatures: cpu: 58.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 375 Uptime: 1h 58m wakeups: 4770 Memory: 62.53 GiB used: 3.71 GiB (5.9%) Init: systemd v: 249
tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1183 lib: 321 Shell: fish v: 3.3.1
running-in: gnome-terminal inxi: 3.3.09
I installed sudo pacman -S gcc make autoconf automake
packages.
And I tried to install proprietary drivers via Garuda Settings Manager but I have errors:
$ cat /var/lib/dkms/nvidia/495.44/build/make.log
...
==> dkms install --no-depmod nvidia/495.44 -k 5.15.7-zen1-1-zen
Error! Bad return status for module build on kernel: 5.15.7-zen1-1-zen (x86_64)
...
I try to run manually with root and it works:
$ dkms install --no-depmod nvidia/495.44 -k 5.15.7-zen1-1-zen
$ modinfo /usr/lib/modules/5.15.7-zen1-1-zen/updates/dkms/nvidia.ko.zst
filename: /usr/lib/modules/5.15.7-zen1-1-zen/updates/dkms/nvidia.ko.zst
firmware: nvidia/495.44/gsp.bin
alias: char-major-195-*
version: 495.44
supported: external
license: NVIDIA
srcversion: 517AEB70F81499E7A75AA0D
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
retpoline: Y
name: nvidia
vermagic: 5.15.7-zen1-1-zen SMP preempt mod_unload
parm: NvSwitchRegDwords:NvSwitch regkey (charp)
parm: NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_TCEBypassMode:int
parm: NVreg_EnableStreamMemOPs:int
parm: NVreg_RestrictProfilingToAdminUsers:int
parm: NVreg_PreserveVideoMemoryAllocations:int
parm: NVreg_EnableS0ixPowerManagement:int
parm: NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm: NVreg_DynamicPowerManagement:int
parm: NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm: NVreg_EnableGpuFirmware:int
parm: NVreg_EnableUserNUMAManagement:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_KMallocHeapMaxSize:int
parm: NVreg_VMallocHeapMaxSize:int
parm: NVreg_IgnoreMMIOCheck:int
parm: NVreg_NvLinkDisable:int
parm: NVreg_EnablePCIERelaxedOrderingMode:int
parm: NVreg_RegisterPCIDriver:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RegistryDwordsPerDevice:charp
parm: NVreg_RmMsg:charp
parm: NVreg_GpuBlacklist:charp
parm: NVreg_TemporaryFilePath:charp
parm: NVreg_ExcludedGpus:charp
parm: rm_firmware_active:charp
$ sudo insmod /usr/lib/modules/5.15.7-zen1-1-zen/updates/dkms/nvidia.ko.zst
I tried to run optimus-manager:
$ optimus-manager
ERROR: the latest GPU setup attempt failed at Xorg pre-start hook.
Log at /var/log/optimus-manager/switch/switch-20211212T165717.log
Cannot execute command because of previous errors.
$ cat /var/log/optimus-manager/switch/switch-20211212T165717.log
File: /var/log/optimus-manager/switch/switch-20211212T165717.log
[15] INFO: # Xorg pre-start hook
[16] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'hybrid', 'current_mode': None}
[16] INFO: Requested mode is: hybrid
[79] INFO: Available modules: ['nouveau']
[79] INFO: Unloading modules ['nouveau'] (if loaded)
[84] INFO: switching=none, nothing to do
[861] INFO: Nvidia card not visible in PCI bus, rescanning
[861] INFO: Rescanning PCI bus
[1507] ERROR: Nvidia card not showing up in PCI bus after rescan. Continuing anyways.
[1507] INFO: Setting Nvidia PCI power state to auto
[2158] ERROR: Cannot set PCI power management state. Continuing anyways. Error is: Unexpected PCI ID format: 0000:01:00.0
[2175] INFO: Loading module nvidia
[2176] ERROR: Xorg pre-start setup error
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/optimus_manager/hooks/pre_xorg_start.py", line 51, in main
setup_kernel_state(config, prev_state, requested_mode)
File "/usr/lib/python3.9/site-packages/optimus_manager/kernel.py", line 22, in setup_kernel_state
_nvidia_up(config, hybrid=(requested_mode == "hybrid"))
File "/usr/lib/python3.9/site-packages/optimus_manager/kernel.py", line 95, in _nvidia_up
_load_nvidia_modules(config, available_modules)
File "/usr/lib/python3.9/site-packages/optimus_manager/kernel.py", line 164, in _load_nvidia_modules
_load_module(available_modules, "nvidia", options=nvidia_options)
File "/usr/lib/python3.9/site-packages/optimus_manager/kernel.py", line 241, in _load_module
raise KernelSetupError(
optimus_manager.kernel.KernelSetupError: module nvidia is not available for current kernel. Is the corresponding package installed ?
[2176] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
[2177] INFO: Writing state {'type': 'pre_xorg_start_failed', 'switch_id': '20211212T165717', 'requested_mode': 'hybrid'}
Any idea ?