Hi there,
So recently I have been testing out pci passthrough with this guide:
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
(don’t know if that has anything to do with my problem but posting it anyway)
and I’ve heard somewhere that the nonfree drivers won’t work with that, which gets reflected by my sudo dmesg | grep -i vfio
below:
[ 2.760850] VFIO - User Level meta-driver version: 0.3
[ 2.764723] vfio-pci 0000:26:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.779032] vfio_pci: add [10de:13c2[ffffffff:ffffffff]] class 0x000000/00000000
[ 2.795792] vfio_pci: add [10de:0fbb[ffffffff:ffffffff]] class 0x000000/00000000
…when booting with the non-free drivers installed (doesn’t include the enable line)
so now I’ve tried switching to the free drivers and the system won’t boot correctly.
It’s stuck at clean but my WiFi hotspot miraculously turns on during that phase - idk how that works.
I’m working at getting my setup to work for a few days now, so here is what i already tried on my own, hoping that mentioning that could be of any help:
- I’m running 2 GPUs on 2 monitors so I tried switching labels around with the BUS ID in the config files, located in x11 folders, to make Manjaro display things via my second GPU because neither
nvidia-settings
, nor display could activate any connections on the second GPU to the display (works now, idk why or how) - a few months ago I’ve already ran through the whole installation, hoping I could ignore an error I’ve had (unsure about the reason because i cant remember well any more)
i think I’ve narrowed down my problem to my graphics driver keeping my device from booting so I’m posting here.
i really hope that someone can help me - I don’t want to run windows any more outside of a VM
System:
Kernel: 5.12.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64
root=UUID=a27f0baf-14fa-41db-844a-9ff44f8c8f6f rw quiet apparmor=1
security=apparmor resume=UUID=d0dac5d0-5548-41e7-8572-14de99a109cc
udev.log_priority=3 iommu=pt
Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7B86 v: 4.0 serial: <filter>
Mobo: Micro-Star model: B450-A PRO MAX (MS-7B86) v: 4.0 serial: <filter>
BIOS: American Megatrends LLC. v: M.D1 date: 04/12/2021
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 2S
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
Memory:
RAM: total: 15.55 GiB used: 4.97 GiB (31.9%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2
family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701021 cache:
L2: 4 MiB bogomips: 115232
Speed: 4328 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz):
1: 4328 2: 2175 3: 2186 4: 3750 5: 2200 6: 2181 7: 2179 8: 3828 9: 2177
10: 4192 11: 2167 12: 2136 13: 2199 14: 2454 15: 4353 16: 2178
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 cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm
mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc
nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse
pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni
skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp
succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload
vgif vmcb_clean vme vmmcall 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 and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050]
vendor: PC Partner Limited / Sapphire driver: nvidia v: 470.63.01
alternate: nouveau,nvidia_drm bus-ID: 25:00.0 chip-ID: 10de:1c81
class-ID: 0300
Device-2: NVIDIA GM204 [GeForce GTX 970] vendor: Gigabyte driver: vfio-pci
v: 0.2 alternate: nouveau,nvidia_drm,nvidia bus-ID: 26:00.0
chip-ID: 10de:13c2 class-ID: 0300
Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver:
loaded: vfio-pci note: n/a (using device driver) failed: nvidia
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 3840x1351 s-dpi: 96 s-size: 1016x357mm (40.0x14.1")
s-diag: 1077mm (42.4")
Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x298mm (20.9x11.7")
diag: 609mm (24")
Monitor-2: DP-1 res: 1920x1080 hz: 60 dpi: 92 size: 531x299mm (20.9x11.8")
diag: 609mm (24")
OpenGL: renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
v: 4.6.0 NVIDIA 470.63.01 direct render: Yes
Audio:
Device-1: NVIDIA GP107GL High Definition Audio
vendor: PC Partner Limited / Sapphire driver: snd_hda_intel v: kernel
bus-ID: 25:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Device-2: NVIDIA GM204 High Definition Audio vendor: Gigabyte
driver: vfio-pci v: 0.2 alternate: snd_hda_intel bus-ID: 26:00.1
chip-ID: 10de:0fbb class-ID: 0403
Device-3: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 28:00.4 chip-ID: 1022:1487
class-ID: 0403
Sound Server-1: ALSA v: k5.12.19-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.34 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus-ID: 22:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
Device-2: Realtek RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter type: USB
driver: rtl8812au bus-ID: 3-2:2 chip-ID: 0bda:8812 class-ID: 0000
serial: <filter>
IF: wlp40s0f3u2 state: up mac: <filter>
IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
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:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 3.87 TiB used: 1.26 TiB (32.5%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 QVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 QVO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: MBR
ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD10EZEX-00WN4A0
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: 1A01 scheme: MBR
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 922.71 GiB size: 907.15 GiB (98.31%)
used: 525.94 GiB (58.0%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: a27f0baf-14fa-41db-844a-9ff44f8c8f6f
ID-2: /run/media/jonas/5757cf41-d650-4984-9e58-01ab341fba59
raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 756.94 GiB (41.3%) fs: ext4
dev: /dev/sdb1 maj-min: 8:17 label: N/A
uuid: 5757cf41-d650-4984-9e58-01ab341fba59
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.8 GiB used: 2.76 GiB (31.4%)
priority: -2 dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: d0dac5d0-5548-41e7-8572-14de99a109cc
Unmounted:
ID-1: /dev/sdc1 maj-min: 8:33 size: 50 MiB fs: ntfs label: System Reserved
uuid: DCC8CC0BC8CBE23E
ID-2: /dev/sdc2 maj-min: 8:34 size: 232.35 GiB fs: ntfs label: N/A
uuid: 440ACCBD0ACCACEC
ID-3: /dev/sdc3 maj-min: 8:35 size: 499 MiB fs: ntfs label: N/A
uuid: 602278FB2278D80C
ID-4: /dev/sdd1 maj-min: 8:49 size: 931.51 GiB fs: ntfs
label: Lokaler Datentr\xc3\xa4ger uuid: 40ACC3BCACC3AB2C
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-1:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c52b class-ID: 0300
Device-2: 1-2:3 info: ROCCAT Ryos MK Glow Keyboard type: Keyboard,HID
driver: ryos,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA
chip-ID: 1e7d:31ce class-ID: 0300
Device-3: 1-4:27 info: QinHeng CH340 serial converter
type: <vendor specific> driver: ch341,ch341-uart interfaces: 1 rev: 1.1
speed: 12 Mb/s power: 98mA chip-ID: 1a86:7523 class-ID: ff00
Device-4: 1-8:18 info: Lakeview Research Saleae Logic
type: <vendor specific> driver: usbfs interfaces: 1 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 0925:3881 class-ID: ff00 serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-2:2
info: Realtek RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter type: Network
driver: rtl8812au interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 0bda:8812 class-ID: 0000 serial: <filter>
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 53.8 C mobo: N/A gpu: nvidia temp: 40 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 49%
Info:
Processes: 379 Uptime: 4h 18m wakeups: 6 Init: systemd v: 248
tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 1247
pacman: 1238 lib: 330 flatpak: 9 Shell: Bash v: 5.1.8
running-in: xfce4-terminal inxi: 3.3.06