Hi all,
Wanted to get hybrid GPU setup to work. Followed the instructions here. Installation was successful, however, Nvidia GPU is not working (drivers aren’t loaded perhaps?).
Running commands with prime-run
will return the following error:
$ prime-run glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 26
Current serial number in output stream: 27
Running nvidia-settings
with or without prime-run
returns the following:
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
Running 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.
mhwd output
$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-470xx-prime 2021.12.18 false PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
inxi output
$ inxi --admin --verbosity=7 --filter --width
System:
Kernel: 5.17.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.17-x86_64
root=UUID=53f31d39-333b-44c5-80db-1da2d33d8e70 rw quiet
udev.log_priority=3 acpi_backlight=none
Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82JU v: Legion 5 15ACH6H
serial: <superuser required> Chassis: type: 10 v: Legion 5 15ACH6H
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0Q55726 WIN
serial: <superuser required> UEFI: LENOVO v: GKCN44WW date: 08/30/2021
Battery:
ID-1: BAT0 charge: 75.9 Wh (100.0%) condition: 75.9/80.0 Wh (94.8%)
volts: 17.3 min: 15.4 model: Sunwoda L20D4PC1 type: Li-poly serial: <filter>
status: full cycles: 76
Memory:
RAM: total: 14.56 GiB used: 2.75 GiB (18.9%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2416 high: 2967 min/max: 400/4463 boost: enabled
scaling: driver: amd-pstate governor: schedutil cores: 1: 2967 2: 2961
3: 2534 4: 2395 5: 2133 6: 2133 7: 2135 8: 2135 9: 2133 10: 2136 11: 2337
12: 2532 13: 2532 14: 2534 15: 2533 16: 2534 bogomips: 102254
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
driver: N/A alternate: nouveau, nvidia_drm, nvidia pcie: gen: 3
speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.0 chip-ID: 10de:2560 class-ID: 0300
Device-2: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1
empty: none bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver:
X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0998 built: 2020
res: 1920x1080 hz: 165 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.17.9-1-MANJARO LLVM 13.0.1)
v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:228e class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_sof_amd_renoir
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.17.9-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 04:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: virbr0 state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8
bus-ID: 3-4:2 chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.38 TiB used: 986.91 GiB (70.1%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: SK Hynix model: HFS512GDE9X084N
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 41010C22 temp: 48.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital
model: WDS100T2B0C-00PXH0 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 233010WD temp: 37.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 169.62 GiB size: 165.9 GiB (97.81%)
used: 111.04 GiB (66.9%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:7
label: N/A uuid: 53f31d39-333b-44c5-80db-1da2d33d8e70
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 28.6 MiB (11.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:4
label: SYSTEM_DRV uuid: 18E7-4E61
ID-3: /run/media/raymonds/WD-SSD raw-size: 931.5 GiB
size: 931.5 GiB (100.00%) used: 875.84 GiB (94.0%) fs: ntfs
dev: /dev/nvme1n1p2 maj-min: 259:2 label: WD SSD uuid: 4EAAB671AAB65565
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:5 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/nvme0n1p3 maj-min: 259:6 size: 307.05 GiB fs: ntfs label: N/A
uuid: BA5E50675E501F07
ID-3: /dev/nvme1n1p1 maj-min: 259:1 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-2:2 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 0bda:5411 class-ID: 0900
Device-1: 1-2.2:4 info: Logitech G502 Mouse type: Mouse,HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 300mA chip-ID: 046d:c07d class-ID: 0300 serial: <filter>
Device-2: 1-4:3 info: Integrated Express ITE Device(8910) type: Keyboard
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 048d:c101 class-ID: 0301
Hub-3: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-4: 2-2:2 info: Realtek Hub ports: 4 rev: 3.2 speed: 5 Gb/s
chip-ID: 0bda:0411 class-ID: 0900
Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-4:2 info: Foxconn / Hon Hai Wireless_Device type: Bluetooth
driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA
chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
Hub-6: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 362 Uptime: 30m wakeups: 1 Init: systemd v: 250 tool: systemctl
Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1204 lib: 323
Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.14
glxinfo output
$ glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD RENOIR (DRM 3.44.0, 5.17.9-1-MANJARO, LLVM 13.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Help is appreciated, thanks!