You are not logged in.

#1 2020-09-04 11:52:18

Fen Wu
Member
Registered: 2020-01-26
Posts: 9

Graphical user interface freeze

Description:
I installed Arch Linux on my new laptop(Dell G5 SE, R7-4800H, RX5600M).When I enter Graphical user interface,the screen will freeze after leaving DM(gdm).I can't switch to other tty too.

What do I installed:

linux linux-firmware iwd gdm gnome gnome-extra xorg xf86-video-amdgpu

Some error information:(run in arch-chroot)

[root@stone /]# journalctl --list-boots
 0 d2c446b9d3764632bd89d2bfd54940e0 Thu 2020-09-03 22:43:13 CST—Thu 2020-09-03 22:54:05 CST
[root@stone /]# journalctl -b d2c446b9d3764632bd89d2bfd54940e0  -p err
-- Logs begin at Thu 2020-09-03 22:43:13 CST, end at Thu 2020-09-03 22:54:05 CST. --
9月 03 22:43:13 stone kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0], AE_NOT_FOUND (20200528/dswload2-162)
9月 03 22:43:13 stone kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20200528/psobject-220)
9月 03 22:43:13 stone kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
9月 03 22:43:13 stone kernel: snd_pci_acp3x 0000:07:00.5: Invalid ACP audio mode : 0
9月 03 22:43:13 stone kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
9月 03 22:43:14 stone kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
9月 03 22:43:14 stone kernel: [drm:amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-22).
9月 03 22:43:18 stone kernel: [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
9月 03 22:43:18 stone kernel: [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
9月 03 22:43:19 stone kernel: [drm:mod_hdcp_add_display_to_topology [amdgpu]] *ERROR* Failed to add display topology, DTM TA is not initialized.
9月 03 22:43:19 stone systemd-backlight[509]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
9月 03 22:43:19 stone systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
9月 03 22:46:18 stone dhcpcd[630]: main: pidfile_lock: /run/dhcpcd/pid: Permission denied
9月 03 22:52:22 stone kernel: amdgpu: failed send message:     RunBtc (58)         param: 0x00000000 response 0xffffffc2
9月 03 22:52:22 stone kernel: amdgpu: RunBtc failed!
9月 03 22:52:22 stone kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -62
9月 03 22:52:22 stone kernel: [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-62).
9月 03 22:52:22 stone kernel: snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535
9月 03 22:52:33 stone kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=11, emitted seq=13
9月 03 22:52:33 stone kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process  pid 0 thread  pid 0
9月 03 22:52:33 stone kernel: BUG: kernel NULL pointer dereference, address: 0000000000000029
9月 03 22:52:33 stone kernel: #PF: supervisor read access in kernel mode
9月 03 22:52:33 stone kernel: #PF: error_code(0x0000) - not-present page
9月 03 22:52:37 stone kernel: snd_hda_codec_hdmi hdaudioC0D0: Unable to sync register 0x2f0d00. -5
9月 03 22:52:41 stone gdm-password][11012]: gkr-pam: unable to locate daemon control file
9月 03 22:52:41 stone kernel: snd_hda_codec_hdmi hdaudioC0D0: Unable to sync register 0x2f0d00. -5
9月 03 22:53:31 stone systemd[513]: Failed to start GNOME Shell on Wayland.
9月 03 22:53:56 stone gdm-password][11012]: pam_systemd(gdm-password:session): Failed to release session: Connection timed out

PS:Manjaro runs fine on this laptop.So do you think it is a bug or my configuration is wrong?Please give me some advice.I appreciate in advance. smile

Offline

#2 2020-09-04 13:24:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: Graphical user interface freeze

you get an amdgpu kernel driver crash. Which kernel on Manjaro? Try the LTS kernel, or try to disable a few power saving options on the kernel command line

amdgpu.dc=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

if that works, start removing parameters until you've ruled out the culprit.

Offline

#3 2020-09-05 15:11:30

Fen Wu
Member
Registered: 2020-01-26
Posts: 9

Re: Graphical user interface freeze

Thanks for advice,but it does not work.
I have tried three kernels,and two kernel parameters

loglevel=3 quiet

and

loglevel=3 quiet amdgpu.dc=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

All of these combinations cannot make the graphical user interface works fine.

Here is some tests results:
With kernel parameters

loglevel=3 quiet
  • Linux version 5.8.5-arch1-1,it showed a cursor without entering GDM automatically.I switched to tty2 and switched back,and then it entered GDM.GNOME started this time, but it freeze later(Currently,updating steam).This seems to be the most stable configuration.I tried many times,but it always freeze.
    some error message(journalctl -p err)

    -- Logs begin at Thu 2020-09-03 22:43:13 CST, end at Sat 2020-09-05 20:59:24 CST. --
    9月 05 20:44:20 stone kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0], AE_NOT_FOUND (20200528/dswload2-162)
    9月 05 20:44:20 stone kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20200528/psobject-220)
    9月 05 20:44:20 stone kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
    9月 05 20:44:20 stone kernel: snd_pci_acp3x 0000:07:00.5: Invalid ACP audio mode : 0
    9月 05 20:44:20 stone kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
    9月 05 20:44:21 stone kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    9月 05 20:44:21 stone kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    9月 05 20:44:21 stone kernel: [drm:amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-22).
    9月 05 20:44:23 stone gnome-session-binary[563]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 20:44:25 stone kernel: [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
    9月 05 20:44:25 stone kernel: [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
    9月 05 20:44:26 stone kernel: [drm:mod_hdcp_add_display_to_topology [amdgpu]] *ERROR* Failed to add display topology, DTM TA is not initialized.
    9月 05 20:44:26 stone systemd-backlight[630]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
    9月 05 20:44:26 stone systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
    9月 05 20:44:34 stone gdm-password][1021]: gkr-pam: unable to locate daemon control file
    9月 05 20:53:13 stone kernel: amdgpu: failed send message:     RunBtc (58)         param: 0x00000000 response 0xffffffc2
    9月 05 20:53:13 stone kernel: amdgpu: RunBtc failed!
    9月 05 20:53:13 stone kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -62
    9月 05 20:53:13 stone kernel: [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-62).
    9月 05 20:53:13 stone kernel: snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535
    9月 05 20:53:19 stone kernel: BUG: kernel NULL pointer dereference, address: 0000000000000018
    9月 05 20:53:19 stone kernel: #PF: supervisor read access in kernel mode
    9月 05 20:53:19 stone kernel: #PF: error_code(0x0000) - not-present page
  • Linux version 5.4.61-1-lts,System freeze at startup,and GDM is not start up.
    some error message(journalctl -p err)

    -- Logs begin at Thu 2020-09-03 22:43:13 CST, end at Sat 2020-09-05 20:59:24 CST. --
    9月 05 20:42:43 stone kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0], AE_NOT_FOUND (20190816/dswload2-162)
    9月 05 20:42:43 stone kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20190816/psobject-220)
    9月 05 20:42:43 stone kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
  • Linux version 5.8.1-2-tkg-pds.I switched to tty2 and switched back,and then it entered GDM.Freeze at this point.
    some error message(journalctl -p err)

    -- Logs begin at Thu 2020-09-03 22:43:13 CST, end at Sat 2020-09-05 20:25:22 CST. --
    9月 05 20:23:47 stone kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0], AE_NOT_FOUND (20200528/dswload2-162)
    9月 05 20:23:47 stone kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20200528/psobject-220)
    9月 05 20:23:47 stone kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
    9月 05 20:23:47 stone kernel: snd_pci_acp3x 0000:07:00.5: Invalid ACP audio mode : 0
    9月 05 20:23:47 stone kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
    9月 05 20:23:47 stone kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    9月 05 20:23:48 stone kernel: [drm:amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-22).
    9月 05 20:23:49 stone gnome-session-binary[573]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 20:23:52 stone kernel: [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
    9月 05 20:23:52 stone kernel: [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
    9月 05 20:23:53 stone kernel: [drm:mod_hdcp_add_display_to_topology [amdgpu]] *ERROR* Failed to add display topology, DTM TA is not initialized.
    9月 05 20:23:53 stone systemd-backlight[638]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
    9月 05 20:23:53 stone systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
    9月 05 20:25:10 stone kernel: amdgpu: failed send message:     RunBtc (58)         param: 0x00000000 response 0xffffffc2
    9月 05 20:25:10 stone kernel: amdgpu: RunBtc failed!
    9月 05 20:25:10 stone kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -62
    9月 05 20:25:10 stone kernel: [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-62).
    9月 05 20:25:10 stone kernel: snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535
    9月 05 20:25:22 stone kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=11, emitted seq=13
    9月 05 20:25:22 stone kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process  pid 0 thread  pid 0
    9月 05 20:25:22 stone kernel: BUG: kernel NULL pointer dereference, address: 0000000000000028
    9月 05 20:25:22 stone kernel: #PF: supervisor read access in kernel mode
    9月 05 20:25:22 stone kernel: #PF: error_code(0x0000) - not-present page

With kernel parameters

loglevel=3 quiet amdgpu.dc=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0
  • For Linux version 5.8.5-arch1-1 and Linux version 5.8.1-2-tkg-pds,they freeze at start up and shutdown automatically.
    some error message(in 5.8.5-arch1-1,the same as tkg kernel)(journalctl -p err)

    -- Logs begin at Thu 2020-09-03 22:43:13 CST, end at Sat 2020-09-05 21:47:25 CST. --
    9月 05 21:44:29 stone kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0], AE_NOT_FOUND (20200528/dswload2-162)
    9月 05 21:44:29 stone kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20200528/psobject-220)
    9月 05 21:44:29 stone kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
    9月 05 21:44:29 stone kernel: snd_pci_acp3x 0000:07:00.5: Invalid ACP audio mode : 0
    9月 05 21:44:29 stone kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
    9月 05 21:44:30 stone kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    9月 05 21:44:30 stone kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    9月 05 21:44:30 stone kernel: [drm:amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-22).
    9月 05 21:44:32 stone gnome-session-binary[565]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 21:44:49 stone gnome-session-binary[650]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 21:44:53 stone gnome-session-binary[753]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 21:44:55 stone gnome-session-binary[837]: Unrecoverable failure in required component org.gnome.Shell.desktop
  • For Linux version 5.4.61-1-lts,it does not freeze.I can switch around tty,but graphical user interface cannot start up.
    some error message(journalctl -p err)

    -- Logs begin at Thu 2020-09-03 22:43:13 CST, end at Sat 2020-09-05 21:47:25 CST. --
    9月 05 21:46:51 stone kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0], AE_NOT_FOUND (20190816/dswload2-162)
    9月 05 21:46:51 stone kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20190816/psobject-220)
    9月 05 21:46:51 stone kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
    9月 05 21:46:51 stone kernel: snd_pci_acp3x 0000:07:00.5: Invalid ACP audio mode : 0
    9月 05 21:46:52 stone kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
    9月 05 21:46:56 stone gnome-session-binary[558]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 21:47:16 stone gnome-session-binary[632]: Unrecoverable failure in required component org.gnome.Shell.desktop
    9月 05 21:47:21 stone gnome-session-binary[672]: Unrecoverable failure in required component org.gnome.Shell.desktop

Too tough,guys.I guess it not the problem of kernel,because linux-tkg linux5.7.2 linux-lts works fine in Manjaro.Manjaro's default kernel parameters is neither of above two.It is time to sleep here.I will give a try tomorrow.What a terrible result! sad

Offline

#4 2020-09-06 16:39:03

Tids
Member
Registered: 2016-02-04
Posts: 5

Re: Graphical user interface freeze

Try to
* go to your UEFI, enable IOMMU and SVM
* install and load amd-ucode.
* push amdgpu to your mkinitcpio modules, so you have the graphics-system up early
* rebuild initram (mkinitcpio -P)
* uninstall the xf86 amdgpu driver
* reboot
* go straight for Wayland
* install the UEFI update (if available)

Offline

Board footer

Powered by FluxBB