You are not logged in.
I am experiencing screen flickering and system freezes with the amdgpu driver. I experience none of this with "nomodeset" as kernel flag, but that effectively disables the amdgpu driver.
As the computer boots, just as KMS takes over, the screen flickering begins, the screen is primarily black, and sometimes you see the image flicker briefly.
I have tried the following kernel flags (by themselves and various combinations):
- amdgpu.dc=0 (fails to initialize the GPU)
- amdgpu.dpm=0
- amdgpu.runpm=0
- amdgpu.vm_update_mode=3
- amdgpu.noretry=0
I have also tried changing the power settings:
echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo low > /sys/class/drm/card0/device/power_dpm_force_performance_level
I have tried the following kernels:
- linux
- linux-lts (5.4 and 4.19, but on 4.19 the GPU is not recognized at all)
- linux-zen
- linux-amd-raven
I am experiencing this both with and without Xorg running. During the screen flickering the system can be reached with SSH, and seems to work normally. I can even start Xorg, and use X11VNC to remote in, and everything works fine (no flickering in VNC viewer, but still on the monitor itself).
I have updated the BIOS, and checked it for any relevant settings, could not find any.
The monitor is connected from the HDMI port to the HDMI port on the monitor. I have also tried connecting it with DisplayPort to HDMI cable, no change.
See https://pastebin.com/uGPiEpCE for the dmesg output. I've tried catching a log of a freeze, but i can't since the monitor displays nothing when the system is freezed. journalctl also fails to catch anything of the freeze.
Specs:
Linux celaeno 5.4.25-2-lts #1 SMP Thu, 12 Mar 2020 23:01:43 +0000 x86_64 GNU/Linux
AMD Ryzen 5 3400G
Asrock X570 Pro4
8x 6TB WD Red
32GB DDR4
1 TB Samsung NVME
Monitor is a HP W2207H.
Offline
[ 0.439134] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.VGA.LCD._BCM.AFN7], AE_NOT_FOUND (20190816/psargs-330)
[ 0.439178] ACPI Error: Aborting method \_SB.PCI0.GPP0.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 0.439219] ACPI Error: Evaluating _BCM failed (20190816/video-357)
[ 0.439312] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input2
[ 0.439382] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: no)
[ 0.439473] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GP17.VGA.LCD._BCM.AFN7], AE_NOT_FOUND (20190816/psargs-330)
[ 0.439545] ACPI Error: Aborting method \_SB.PCI0.GP17.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 0.439612] ACPI Error: Evaluating _BCM failed (20190816/video-357)
[ 0.462813] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 0.462813] AMD-Vi: AMD IOMMUv2 functionality not available on this system
Looks like buggy firmware and/or wrong firmware settings.
Things to check :
Are amd-ucode and linux-firmware installed ?
Do you have https://wiki.archlinux.org/index.php/Microcode early loading configured ?
Have you tried updating firmware to v2.30 ?
https://www.asrock.com/MB/AMD/X570%20Pr … x.asp#BIOS
Last edited by Lone_Wolf (2020-03-19 13:06:00)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I updated the BIOS to v2.30, no change.
I also enable IOMMU in the BIOS, no change.
I even tried acpi=off, but that resulted in a freeze after KMS initializes.
linux-firmware-20200224.efcfa03-1 is installed.
amd-ucode 20200224.efcfa03-1 is installed, i can see it in the output of grub-mkconfig.
dmesg output: https://pastebin.com/7mYwC9d6
EDIT: Wrong kernel log pasted
EDIT 2: Tried Ubuntu 19.10, same issues for the live environment.
Last edited by flnhst (2020-03-19 14:13:09)
Offline
I tested it with another monitor, and no more flickering. I am still testing if the system freezes or not, i seem to distinctly remember the system freezing regardless of a connected monitor, but i will see.
The monitor i was using (HP W2207H) was pretty old, introduced in 2007, bought it in that year. So maybe it was just too old, damaged, or something else.
If the freezing also no longer happens, thanks your for help Lone_Wolf, and thanks everyone else for reading
Offline
If it's an hardware issue, it could also be a bad cable or connection.
Can you try the old monitor with another cable ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline