Hello all,
I have a bit of a problem with video drivers on manjaro kde (latestes updates, kernel 5.12). I had a setup with two video cards, one Radeon RX580 and one Nvidia model (forgot the exact one). The main vga was nvidia, while the radeon one was isolated at startup and passthrough to a windows VM.
I had removed the Nvidia card because I had to give it away and I am now left with the radeon one and tried to switch to the radeon drivers, by removing all the nvidia ones and installing the radeon drivers. But for some reason all I get on screen is an image formed of very fine RGB lines and nothing else.
here is some system info (let me know if I should add more):
# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
02:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
04:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
04:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
09:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
09:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
09:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
# inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.12.9-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64
root=UUID=4dc1d8c7-f61a-4136-a047-b291f6b63b0d rw quiet apparmor=1
security=apparmor amd_iommu=on iommu=pt
Console: tty pts/0 DM: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: X570 AORUS ELITE v: -CF serial: N/A
Mobo: Gigabyte model: X570 AORUS ELITE serial: N/A
UEFI: American Megatrends LLC. v: F33g date: 03/25/2021
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 31.3 GiB used: 764.5 MiB (2.4%)
Array-1: capacity: 128 GiB slots: 4 EC: None max-module-size: 32 GiB
note: est.
Device-1: DIMM 0 size: No Module Installed
Device-2: DIMM 1 size: 16 GiB speed: 3600 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus-width: 64 bits
total: 64 bits manufacturer: G.Skill part-no: F4-3600C16-16GTZRC serial: N/A
Device-3: DIMM 0 size: No Module Installed
Device-4: DIMM 1 size: 16 GiB speed: 3600 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus-width: 64 bits
total: 64 bits manufacturer: G.Skill part-no: F4-3600C16-16GTZRC serial: N/A
CPU:
Info: 8-Core model: AMD Ryzen 7 3700X socket: AM4 bits: 64 type: MT MCP
arch: Zen 2 family: 17 (23) model-id: 71 (113) stepping: 0
microcode: 8701021 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB bogomips: 115016
Speed: 3591 MHz min/max: 2200/3600 MHz base/boost: 3600/4400 boost: enabled
volts: 1.1 V ext-clock: 100 MHz Core speeds (MHz): 1: 3591 2: 2052 3: 2051
4: 2052 5: 2195 6: 2194 7: 2195 8: 2196 9: 2051 10: 2053 11: 2193 12: 2193
13: 2194 14: 2193 15: 3588 16: 2053
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: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel bus-ID: 07:00.0
chip-ID: 1002:67df class-ID: 0300
Device-2: HP HP Webcam 3100 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-3.4.4:7 chip-ID: 03f0:8e07 class-ID: 0102
Display: server: X.org 1.20.11 driver: loaded: radeon,vesa alternate: nvidia
tty: 232x56
Message: Advanced graphics data unavailable in console for root.
Audio:
Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: Sapphire Limited driver: snd_hda_intel v: kernel bus-ID: 07:00.1
chip-ID: 1002:aaf0 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 09:00.4 chip-ID: 1022:1487
class-ID: 0403
Device-3: HP HP Webcam 3100 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-3.4.4:7 chip-ID: 03f0:8e07 class-ID: 0102
Sound Server-1: ALSA v: k5.12.9-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.30 running: no
Network:
Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: kernel
port: f000 bus-ID: 03:00.0 chip-ID: 8086:1539 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic 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.
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/sda1 maj-min: 8:1 size: 450 MiB fs: ntfs label: Recovery
uuid: 087CD7547CD73B60
ID-2: /dev/sda3 maj-min: 8:3 size: 16 MiB fs: N/A label: N/A uuid: N/A
ID-3: /dev/sda4 maj-min: 8:4 size: 237.41 GiB fs: ntfs label: system
uuid: 01D29F758FED0170
ID-4: /dev/sda5 maj-min: 8:5 size: 527 MiB fs: ntfs label: N/A
uuid: 58CA1DC6CA1DA0F4
ID-5: /dev/sdb1 maj-min: 8:17 size: 1.3 TiB fs: ntfs label: data
uuid: 7E68087968083287
ID-6: /dev/sdb2 maj-min: 8:18 size: 529.15 GiB fs: ntfs label: media
uuid: 01D59F18520071D0
ID-7: /dev/sdf1 maj-min: 8:81 size: 3.72 GiB fs: N/A label: ventoy
uuid: 7620-851E
ID-8: /dev/sdf2 maj-min: 8:82 size: 32 MiB fs: N/A label: VTOYEFI
uuid: 9FB4-70F2
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-3:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Hub-3: 1-3.4:4 info: Microchip (formerly SMSC) USB 2.0 Hub ports: 4 rev: 2.0
speed: 480 Mb/s power: 2mA chip-ID: 0424:2514 class-ID: 0900
Device-1: 1-3.4.1:5 info: SINO WEALTH USB KEYBOARD type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 258a:1006 class-ID: 0300
Device-2: 1-3.4.2:6 info: Corsair M65 Gaming Mouse type: Mouse,Keyboard
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 1b1c:1b05 class-ID: 0300
Device-3: 1-3.4.4:7 info: HP HP Webcam 3100 type: Video,Audio
driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
power: 250mA chip-ID: 03f0:8e07 class-ID: 0102
Device-4: 1-4:3 info: Integrated Express IT8297 RGB LED Controller
type: Keyboard driver: hid-generic,usbhid interfaces: 1 rev: 2.0
speed: 12 Mb/s power: 100mA chip-ID: 048d:8297 class-ID: 0301
Hub-4: 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-5: 3-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-6: 3-6:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Hub-7: 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
Hub-8: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-9: 5-3:2 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
power: 500mA chip-ID: 05e3:0610 class-ID: 0900
Device-1: 5-3.3:3 info: Corsair UFD type: Mass Storage driver: usb-storage
interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 1b1c:0a10
class-ID: 0806 serial: <filter>
Hub-10: 6-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-11: 6-3:2 info: Genesys Logic Hub ports: 4 rev: 3.1 speed: 5 Gb/s
chip-ID: 05e3:0612 class-ID: 0900
Device-1: 6-4:3 info: SanDisk SDDR-489 ImageMate Pro Reader
type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.1 speed: 5 Gb/s
power: 896mA chip-ID: 0781:cfc9 class-ID: 0806 serial: <filter>
Sensors:
System Temperatures: cpu: 37.1 C mobo: 16.8 C gpu: amdgpu temp: 46.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 823
Info:
Processes: 301 Uptime: 10m wakeups: 0 Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 clang: 12.0.0 Packages: 1591 pacman: 1588 lib: 435
flatpak: 0 snap: 3 Shell: Bash (su) v: 5.1.8 running-in: tty pts/0 (SSH)
inxi: 3.3.04
I have used the following command to install the nonfree drivers for radeon:
mhwd -a pci nonfree 0300
Here is some more info:
# mhwd-gpu --status
:: status
xorg configuration file: '/etc/X11/mhwd.d/vesa.conf'
# mhwd -li -d
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
NAME: video-vesa
ATTACHED: PCI
VERSION: 2017.03.12
INFO: X.org vesa video driver.
PRIORITY: 0
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300
VENDORIDS: *
Not sure what other info I should add. Is there an easy-ish fix to this? or I have to reinstall?