X Server refuses to see the display after moving on new device

I had an installed Manjaro 20 distro on my old laptop with Intel HD4000 integrated graphics. Recently I have cloned the disk to the new laptop with Ryzen 5 5600H APU. After booting in, it just shows the last line from the bootup log which says about the OpenVPN service is failed to start. The GUI does not boot up at all, and it just gets stuck in this state. After logging in at tty2, I can operate in CLI mode. Trying ‘xinit’ returns:

Fatal server error:
(EE) no screen found (EE)
(...)

Trying lspci | grep VGA returns:
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c6)
I did install xf86-video-amdgpu and xf86-video-nouveau, and performed pacman -Syu but it does not help at all.
Also, the old laptop display has used an LVDS connection, while the new laptop uses eDP protocol according to AIDA64 data.
So is it possible to get xorg-server to recognize the APU and detect the display to revive the GUI without needing to wipe the system and install it from scratch?
Xorg.0.log details are below.

Спойлер

[ 16.494] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 16.496] (–) PCI: (1@0:0:0) 10de:25a2:17aa:3a5d rev 161, Mem @ 0xd0000000/16777216, 0xfb00000000/4294967296, 0xfc00000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x???/524288
[ 16.496] (–) PCI:*(5@0:0:0) 1002:1638:17aa:3a5d rev 198, Mem @ 0xfc10000000/268435456, 0xfc20000000/2097152, 0xd1400000/524288, I/O @ 0x00001000/256
[ 16.496] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 16.496] (II) LoadModule: “glx”
[ 16.496] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16.502] (II) Module glx: vendor=“X:Org Foundation”
[ 16.502] compiled for 1.21.1.3, module version = 1.0.0
[ 16.502] ABI class: X:Org Server Extension, version 10.0
[ 16.502] (==) Matched ati as autoconfigured driver 0
[ 16.502] (==) Matched modesetting as autoconfigured driver 1
[ 16.502] (==) Matched fbdev as autoconfigured driver 2
[ 16.502] (==) Matched vesa as autoconfigured driver 3
[ 16.502] (==) Assigned the driver to the xf86ConfigLayout
[ 16.502] (II) LoadModule: “ati”
[ 16.502] (WW) Warning, couldn’t open module ati
[ 16.502] (EE) Failed to load module “ati” (module does not exist, 0)
[ 16.502] (II) LoadModule: “modesetting”
[ 16.502] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 16.504] (II) Module modesetting: vendor=“X:Org Foundation”
[ 16.504] compiled for 1.21.1.3, module version = 1.21.1
[ 16.504] Module class: X:Org Video Driver
[ 16.504] ABI class: X:Org Video Driver, version 25.2
[ 16.504] (II) LoadModule: “fbdev”
[ 16.504] (WW) Warning, couldn’t open module fbdev
[ 16.504] (EE) Failed to load module “fbdev” (module does not exist, 0)
[ 16.504] (II) LoadModule: “vesa”
[ 16.504] (WW) Warning, couldn’t open module vesa
[ 16.504] (EE) Failed to load module “vesa” (module does not exist, 0)
[ 16.504] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 16.506] (EE) open /dev/dri/card0: No such file or directory
[ 16.506] (WW) Falling back to old probe method for modesetting
[ 16.506] (EE) open /dev/dri/card0: No such file or directory
[ 16.506] (EE) Screen 0 deleted because of no matching config section.
[ 16.506] (II) UnloadModule: “modesetting”
[ 16.506] (EE) Device(s) detected, but none match those in the config file.
[ 16.506] (EE)
Fatal server error:
[ 16.506] (EE) no screens found(EE)
[ 16.506] (EE)
[ 16.506] (EE) Please also check the log file at “/var/log/Xorg.0 .log” for additional information.
[ 16.506] (EE)
[ 16.513] (EE) Server terminated with error (1). Closing log file.

can you return

inxi -Fza

have you changed microcode ?

sudo pacman -Rs intel-ucode
sudo pacman -S amd-ucode
sudo update-grub

inxi returns the following (can not attach log files)

Спойлер
System:
  Kernel: 5.4.184-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=c1cebe57-fd17-4d4d-a12e-79b7c23bae7d
    rw quiet apparmor=1 security=apparmor resume=UUID=3da6ee29-e866-46b0-92cc-ca09b2a52009
    udev.log_priority=3
  Console: tty 2 DM: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82K200N6PB v: IdeaPad Gaming 3 15ACH6
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15ACH6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <superuser required> UEFI: LENOVO
    v: H3CN30WW(V2.00) date: 06/28/2021
Battery:
  ID-1: BAT1 charge: 38.7 Wh (84.1%) condition: 46.0/45.0 Wh (102.2%) volts: 13.0 min: 11.5
    model: 0x43 0x65 0x6C 0x78 0x70 0x 0x4C 0x32 0x30 0x43 0x33 0x50 0x4500 type: Li-ion
    serial: <filter> status: charging cycles: 2
CPU:
  Info: model: AMD Ryzen 5 5600H 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: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1230 high: 1397 min/max: 1200/3300 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 1397 3: 1197 4: 1198 5: 1197 6: 1197
    7: 1198 8: 1197 9: 1197 10: 1197 11: 1197 12: 1197 bogomips: 79083
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  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: 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 GA107M [GeForce RTX 3050 Mobile] vendor: Lenovo driver: N/A alternate: nouveau
    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:25a2 class-ID: 0302
  Device-2: AMD Cezanne vendor: Lenovo driver: N/A pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
    chip-ID: 13d3:56ff class-ID: 0e02
  Display: server: X.org v: 1.21.1.3 driver: X: loaded: N/A unloaded: modesetting
    alternate: fbdev,vesa gpu: N/A tty: 240x67
  Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: AMD Renoir Radeon High Definition 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: 05:00.1
    chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 05: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: 05:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.4.184-1-MANJARO running: yes
  Sound Server-2: JACK v: 0.125.0 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.48 running: no
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: 02:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter vendor: Lenovo
    driver: N/A pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961
    class-ID: 0280
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 1-4:4
    chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 56.09 GiB (11.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: MTFDHBA512QFD size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 0011P6LN scheme: GPT
Partition:
  ID-1: / raw-size: 64 GiB size: 62.49 GiB (97.64%) used: 56.09 GiB (89.8%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 269 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 13.67 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 211 Uptime: 2m wakeups: 1 Memory: 13.58 GiB used: 537.6 MiB (3.9%) Init: systemd
  v: 250 tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1550 apt: 0 pacman: 1534
  lib: 420 flatpak: 10 snap: 6 Shell: Bash (login) v: 5.1.16 running-in: tty 2 inxi: 3.3.14


Removed intel-microcode, amd-ucode already has been installed before. Rebuilt grub, but still it did not progress

can you add theses parameters on boot kernel
in /etc/default/grub
on line GRUB_CMDLINE_LINUX_DEFAULT=

“amd_iommu=on iommu=pt processor.max_cstate=5 rcu_nocbs=0_11 systemd.unified_cgroup_hierarchy=true scsi_mod.use_blk_mq=1”

sudo nano /detc/default/grub
sudo update-grub

you have a video -hybrid nvidia video ,

sudo pacman-mirrors -c all
sudo pacman -Syyu
sudo mhwd -a pci nonfree 0300 

also you need to boot on kernel 5.10 or more

sudo mhwd-kernel -i linux510
sudo mhwd-kernel -i linux515

then reboot , and suppress version 5.4

sudo mhwd-kernel -r linux54

It is fixed now, huge thanks!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.