When I attempt to use the Mageia Control Center to "Set up the display server", it now correctly detects that I have an "ATI Volcanic Islands or later" card (perhaps because I've now installed updates, and have the updated firmware packages?), and selects amdgpu as the driver. But upon clicking the "Test" button, I get a black screen, with a non-flashing underscore-like symbol in the top-left of the screen. My keyboard seems dead at that point: Ctrl+Alt+F3 etc. doesn't work, and pressing the "Num Lock" or "Caps Lock" keys doesn't change the state of the respective lights. However, if I force the PC to shutdown or reset, it boots back up normally (with fbdev).
The xorg.conf file generated by the Mageia Control Center gets left over in "/etc/X11/", named "xorg.conf.test". I've tried using rescue mode to swap out my current xorg.conf file (with fbdev) for the file generated by the Mageia Control Center (with amdgpu). However, upon rebooting, the keyboard locks up as described above (can't switch to a TTY, can't enable/disable "Num Lock" or "Caps Lock"), and the display freezes. The one thing that Mageia responds to is me single-pressing the power button (it shuts down after exactly 90 seconds, i.e. the default timeout after which systemd kills unresponsive processes during a logout/shutdown). I end up having to use rescue mode (which still works fine) to restore the old fbdev-based xorg.conf that the installer created.
# Troubleshooting steps I've tried
## Installing plasma-workspace-wayland, to bypass X11
If I boot to SDDM successfully (using the fbdev-based xorg.conf) and select "Plasma (Wayland)" as the session, then upon clicking the "Login" button, the display and keyboard lock up as described above.
Note that I had previously used "Plasma (Wayland)" in Mageia 7, on a laptop with hybrid Intel/NVIDIA graphics, controlled by mageia-prime. When I had Mageia 7 in Intel mode, "Plasma (Wayland)" worked fine. Even when Mageia 7 was in NVIDIA mode (the proprietary NVIDIA driver is known to be incompatible with most Wayland compositors), I didn't get the lockups described above - I just got sent back to the login screen.
So this seems to rule out any X-related issues. Wayland shouldn't be looking at xorg.conf, or any other X-related config files.
## Switching to XDM as my display manager
With the fbdev-based xorg.conf file, both SDDM and XDM are able to start and log me in. However, with the Mageia Control Center's amdgpu-based xorg.conf file, XDM gives me almost the same symptoms as with SDDM: the display and keyboard lock up in the same way, but pressing the power button turns off the PC instantly, rather than after 90 seconds (unlike SDDM).
## Pressing "e" to edit the GRUB command line, to remove "splash quiet"
Assuming I'm using the amdgpu-based xorg.conf, Mageia locks up at the same point, with the same symptoms.
## Adding a startup delay to SDDM, as per https://www.reddit.com/r/archlinux/comm ... s_at_boot/
I added a startup delay of 30 seconds, rather than 5 seconds. When removing "splash quiet" from the kernel command line, I could see shorewall messages appearing during the delay period, and the "Num Lock" and "Caps Lock" keys were able to change the status of the lights. However, after the 30 seconds, the display and keyboard locked up, as described above.
## Starting Mageia without an xorg.conf file
Mageia locks up at the same point as with the amdgpu-based xorg.conf file, with the same symptoms.
## Starting the system initially in rescue mode, and then using "systemctl default" to resume normal booting
Assuming I'm using the amdgpu-based xorg.conf, Mageia locks up at the same point, with the same symptoms. I haven't tested what happens without an xorg.conf file.
## Starting Mageia using rEFInd, rather than GRUB
Assuming I'm using the amdgpu-based xorg.conf, Mageia locks up at the same point, with the same symptoms. I haven't tested what happens without an xorg.conf file.
## Using a different monitor
It starts up fine with the fbdev-based xorg.conf file. However, I have the same issues when trying to use the Mageia Control Center to generate an amdgpu-based xorg.conf file. i.e. The same things happen when clicking the "Test" button" as described above, and using rescue mode to swap between "xorg.conf" and xorg.conf.test, leads to the same result.
## Using Linux Mint 19.3
A freshly installed Linux Mint 19.3 system uses fbdev - this is to be expected, as Mint 19.3's installation media ships with a Linux 5.0 kernel (which lacks support for AMD Navi graphics cards). However, after updating the system using the Update Manager (which automatically pulls in a Linux 5.3 kernel), the system now works fine with amdgpu. inxi shows "amdgpu,ati" as the X drivers (rather than fbdev), and several OpenGL games (0 A.D. and MegaGlest) work fine.
# Output of "inxi -Fxxxz" on Mageia 7.1
- Code: Select all
System: Host: ivano-X570-UD-mageia.localdomain Kernel: 5.6.14-desktop-2.mga7 x86_64 bits: 64 compiler: gcc v: 8.4.0
Desktop: KDE Plasma 5.15.4 tk: Qt 5.12.6 wm: kwin_x11 dm: SDDM Distro: Mageia 7 mga7
Machine: Type: Desktop System: Gigabyte product: X570 UD v: N/A serial: <filter>
Mobo: Gigabyte model: X570 UD v: x.x serial: <filter> UEFI: American Megatrends v: F11 date: 12/06/2019
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard PID:0055 serial: N/A charge: 70% (should be ignored)
rechargeable: yes status: Discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Mouse PID:0039 serial: N/A charge: 55% (should be ignored)
rechargeable: yes status: Discharging
CPU: Topology: 6-Core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 91030
Speed: 2196 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 2195 2: 2195 3: 3948 4: 2055 5: 2192
6: 2117 7: 4176 8: 2058 9: 2195 10: 2196 11: 2196 12: 2083
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 0b:00.0 chip ID: 1002:731f
Display: x11 server: Mageia X.org 1.20.8 driver: fbdev,v4l compositor: kwin_x11 resolution: 1920x1080~N/A
OpenGL: renderer: llvmpipe (LLVM 8.0.0 128 bits) v: 3.3 Mesa 20.0.7 compat-v: 3.1 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 0b:00.1
chip ID: 1002:ab38
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
bus ID: 0d:00.4 chip ID: 1022:1487
Sound Server: ALSA v: k5.6.14-desktop-2.mga7
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel
port: f000 bus ID: 04:00.0 chip ID: 10ec:8168
IF: enp4s0 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: f000 bus ID: 05:00.0 chip ID: 8086:24fd
IF: wlp5s0 state: up mac: <filter>
Drives: Local Storage: total: 1.13 TiB used: 58.38 GiB (5.1%)
ID-1: /dev/nvme0n1 vendor: Corsair model: Force MP510 size: 223.57 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter>
rev: ECFM22.5 scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD1003FZEX-00K3CA0 size: 931.51 GiB speed: 6.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: GPT
Partition: ID-1: / size: 58.81 GiB used: 7.53 GiB (12.8%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 48.9 C mobo: N/A gpu: amdgpu temp: 36 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info: Processes: 286 Uptime: 2h 52m Memory: 15.65 GiB used: 2.95 GiB (18.8%) Init: systemd v: 241 runlevel: 5
target: runlevel5.target Compilers: gcc: 8.4.0 alt: 8.4.0 Shell: bash v: 4.4.23 running in: konsole inxi: 3.0.33
# Output of "inxi -Fxxxz" on Linux Mint 19.3 (after installing updates)
- Code: Select all
System: Host: ivano-X570-UD-mint Kernel: 5.3.0-51-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: Cinnamon 4.4.8
wm: muffin 4.4.2 dm: LightDM 1.26.0 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine: Type: Desktop System: Gigabyte product: X570 UD v: N/A serial: <filter>
Mobo: Gigabyte model: X570 UD v: x.x serial: <filter> UEFI: American Megatrends v: F11 date: 12/06/2019
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Mouse PID:0039 serial: N/A charge: 55% rechargeable: yes
status: Discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard PID:0055 serial: N/A charge: 55% rechargeable: yes
status: Discharging
CPU: Topology: 6-Core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 91030
Speed: 2196 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 2193 2: 2195 3: 2195 4: 2187 5: 2193
6: 2195 7: 2192 8: 2191 9: 2194 10: 2195 11: 2192 12: 2196
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 0b:00.0
chip ID: 1002:731f
Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD NAVI10 (DRM 3.33.0 5.3.0-51-generic LLVM 9.0.0) v: 4.5 Mesa 19.2.8 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel v: kernel bus ID: 0b:00.1 chip ID: 1002:ab38
Device-2: Advanced Micro Devices [AMD] vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 0d:00.4
chip ID: 1022:1487
Sound Server: ALSA v: k5.3.0-51-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel
port: f000 bus ID: 04:00.0 chip ID: 10ec:8168
IF: enp4s0 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: f000 bus ID: 05:00.0 chip ID: 8086:24fd
IF: wlp5s0 state: up mac: <filter>
Drives: Local Storage: total: 1.13 TiB used: 28.00 GiB (2.4%)
ID-1: /dev/nvme0n1 vendor: Corsair model: Force MP510 size: 223.57 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter>
rev: ECFM22.5 scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD1003FZEX-00K3CA0 size: 931.51 GiB speed: 6.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: GPT
Partition: ID-1: / size: 58.81 GiB used: 18.44 GiB (31.4%) fs: ext4 dev: /dev/nvme0n1p3
ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 40.9 C mobo: N/A
Use of uninitialized value $val2 in string eq at /usr/bin/inxi line 5759.
Use of uninitialized value $val2 in split at /usr/bin/inxi line 5764.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5766.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5767.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5768.
Fan Speeds (RPM): N/A gpu: fan: 0
Info: Processes: 332 Uptime: 1m Memory: 15.65 GiB used: 780.3 MiB (4.9%) Init: systemd v: 237 runlevel: 5 Compilers:
gcc: 7.5.0 alt: 7 Shell: bash v: 4.4.20 running in: gnome-terminal inxi: 3.0.32
# Output of "lspcidrake -v" (in Mageia 7.1)
- Code: Select all
xhci_pci : Advanced Micro Devices, Inc. [AMD]|Matisse USB 3.0 Host Controller [SERIAL_USB] (vendor:1022 device:149c subv:1022 subd:1486)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 5 [BRIDGE_HOST] (vendor:1022 device:1445)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [BRIDGE_PCI] (vendor:1022 device:1484)
i2c_piix4 : Advanced Micro Devices, Inc. [AMD]|FCH SMBus Controller [SERIAL_SMBUS] (vendor:1022 device:790b subv:1458 subd:5001) (rev: 61)
xhci_pci : Advanced Micro Devices, Inc. [AMD]|Matisse USB 3.0 Host Controller [SERIAL_USB] (vendor:1022 device:149c subv:1022 subd:148c)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 7 [BRIDGE_HOST] (vendor:1022 device:1447)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Reserved SPP (vendor:1022 device:1485)
r8169 : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1458 subd:e000) (rev: 16)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [BRIDGE_PCI] (vendor:1022 device:1484)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:57a3)
unknown : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7901 subv:1458 subd:b002) (rev: 51)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 0 [BRIDGE_HOST] (vendor:1022 device:1440)
iwlwifi : Intel Corporation|Wireless 8265 / 8275 [NETWORK_OTHER] (vendor:8086 device:24fd subv:8086 subd:1010) (rev: 78)
snd_hda_intel : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:1022 device:1487 subv:1458 subd:a184)
snd_hda_intel : Advanced Micro Devices, Inc. [AMD/ATI]|Navi 10 HDMI Audio [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:ab38)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse GPP Bridge [BRIDGE_PCI] (vendor:1022 device:1483)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 2 [BRIDGE_HOST] (vendor:1022 device:1442)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:57a4)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7901 subv:1458 subd:b002) (rev: 51)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Reserved SPP (vendor:1022 device:1485)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 4 [BRIDGE_HOST] (vendor:1022 device:1444)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:57a4)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [BRIDGE_PCI] (vendor:1022 device:1484)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:57a3)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Root Complex [BRIDGE_HOST] (vendor:1022 device:1480 subv:1022 subd:1450)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 6 [BRIDGE_HOST] (vendor:1022 device:1446)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [BRIDGE_PCI] (vendor:1022 device:1484)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse IOMMU (vendor:1022 device:1481)
unknown : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7901) (rev: 51)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD/ATI]|Navi 10 XL Downstream Port of PCI Express Switch [BRIDGE_PCI] (vendor:1002 device:1479)
unknown : Phison Electronics Corporation|E12 NVMe Controller (vendor:1987 device:5012) (rev: 01)
ccp : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse Cryptographic Coprocessor PSPCPP [CRYPT_OTHER] (vendor:1022 device:1486)
unknown : Advanced Micro Devices, Inc. [AMD]|FCH LPC Bridge [BRIDGE_ISA] (vendor:1022 device:790e subv:1458 subd:5001) (rev: 51)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:57a4)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7901) (rev: 51)
xhci_pci : Advanced Micro Devices, Inc. [AMD]|Matisse USB 3.0 Host Controller [SERIAL_USB] (vendor:1022 device:149c subv:1458 subd:5007)
Card:ATI Volcanic Islands and later (amdgpu/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [DISPLAY_VGA] (vendor:1002 device:731f subv:1462 subd:3816) (rev: c1)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Switch Upstream [BRIDGE_PCI] (vendor:1022 device:57ad)
unknown : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 1 [BRIDGE_HOST] (vendor:1022 device:1441)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse GPP Bridge [BRIDGE_PCI] (vendor:1022 device:1483)
unknown : Advanced Micro Devices, Inc. [AMD/ATI]|Navi 10 XL Upstream Port of PCI Express Switch [BRIDGE_PCI] (vendor:1002 device:1478) (rev: c1)
k10temp : Advanced Micro Devices, Inc. [AMD]|Matisse Device 24: Function 3 [BRIDGE_HOST] (vendor:1022 device:1443)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1482)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse PCIe Dummy Function (vendor:1022 device:148a)
unknown : Advanced Micro Devices, Inc. [AMD]|Starship/Matisse GPP Bridge [BRIDGE_PCI] (vendor:1022 device:1483)
hub : Linux 5.6.14-desktop-2.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usbhid : Logitech|USB Receiver [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:046d device:c534)
btusb : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:0a2b)
Mouse:evdev : Logitech|USB Receiver [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:046d device:c517)
hub : Linux 5.6.14-desktop-2.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hub : Linux 5.6.14-desktop-2.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub : Linux 5.6.14-desktop-2.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hub : Linux 5.6.14-desktop-2.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub : Linux 5.6.14-desktop-2.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hid_generic : Logitech USB Receiver
hid_generic : Logitech Wireless Mouse
hid_generic : Logitech USB Receiver
hid_generic : Logitech USB Receiver
hid_generic : Logitech Wireless Keyboard PID:0055
hid_generic : Logitech USB Receiver
hid_generic : Logitech Wireless Mouse PID:0039
Does anyone have any suggestions?
Also, does anyone else have an AMD Navi graphics card working in Mageia 7 / 7.1?