Suspend results in Non-legible screen - Acer Predator Helios 500 Ryzen

When I enter suspend on this machine and come out of it my screen appears like an old TV with no signal (looks like static).
Here is the output to my inxi -FGxxxz

System:
  Host: craig-pc Kernel: 4.20.11-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Gnome 3.30.2 wm: gnome-shell dm: GDM 3.30.2 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Acer product: Predator PH517-61 v: V1.07 
  serial: <filter> 
  Mobo: PRS model: Cayman_PRS v: V1.07 serial: <filter> UEFI: Insyde v: 1.07 
  date: 10/12/2018 
Battery:
  ID-1: BAT1 charge: 73.5 Wh condition: 73.6/74.1 Wh (99%) volts: 17.5/15.4 
  model: PANASONIC AP17C5P type: Li-ion serial: <filter> status: Discharging 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ 
  rev: 2 L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 102240 
  Speed: 549 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 
  1: 549 2: 549 3: 549 4: 548 5: 549 6: 548 7: 548 8: 548 9: 548 10: 547 
  11: 550 12: 549 13: 549 14: 548 15: 548 16: 547 
Graphics:
  Device-1: AMD Vega 10 XL/XT [Radeon RX Vega 56/64] 
  vendor: Acer Incorporated ALI driver: amdgpu v: kernel bus ID: 08:00.0 
  chip ID: 1002:687f 
  Display: x11 server: X.org 1.20.3 driver: ati,radeon unloaded: modesetting 
  alternate: fbdev,vesa compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: AMD VEGA10 (DRM 3.27.0 4.20.11-1-MANJARO LLVM 7.0.1) 
  v: 4.5 Mesa 18.3.3 direct render: Yes 
Audio:
  Device-1: AMD Vega 10 HDMI Audio [Radeon Vega 56/64] 
  vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
  bus ID: 08:00.1 chip ID: 1002:aaf8 
  Device-2: AMD Family 17h HD Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus ID: 0a:00.3 chip ID: 1022:1457 
  Sound Server: ALSA v: k4.20.11-1-MANJARO 
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: alx v: kernel port: 3000 
  bus ID: 04:00.0 chip ID: 1969:e0b1 
  IF: enp4s0 state: down mac: <filter> 
  Device-2: Intel Wireless-AC 9260 vendor: Bigfoot Networks driver: iwlwifi 
  v: kernel port: 3000 bus ID: 05:00.0 chip ID: 8086:2526 
  IF: wlp5s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 704.24 GiB used: 27.25 GiB (3.9%) 
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS256GD9MNE-6200A 
  size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 40000E00 
  scheme: GPT 
  ID-2: /dev/sda vendor: Crucial model: CT500MX500SSD4 size: 465.76 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 023 scheme: GPT 
Partition:
  ID-1: / size: 28.04 GiB used: 6.43 GiB (22.9%) fs: ext4 dev: /dev/sda3 
  ID-2: /home size: 231.30 GiB used: 20.82 GiB (9.0%) fs: ext4 
  dev: /dev/sda4 
  ID-3: swap-1 size: 977.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 37.5 C mobo: N/A gpu: amdgpu temp: 35 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1544156 
Info:
  Processes: 375 Uptime: 5m Memory: 15.63 GiB used: 1.36 GiB (8.7%) 
  Init: systemd v: 241 Compilers: gcc: N/A Shell: bash v: 5.0.0 
  running in: gnome-terminal inxi: 3.0.30

I have tried two kernel versions and this happens on both versions: 4.19.24-1-MANJARO #1 SMP and 4.20.11-1-MANJARO #1 SMP.

Please let me know what other info I can provide. I was running Kubuntu 18.10 before this and had the same issue.

wait next kernel stable https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.13

1 Like

thanks for providing that

the amdgpu arch wiki can be useful for troubleshooting.
https://wiki.archlinux.org/index.php/AMDGPU

also check hooks/modules in mkinitcpio.conf for amdgpu and what configurations you have.
please post:
cat /etc/mkinitcpio.conf | grep -E 'HOOKS|MODULES'
grep -v ^# /etc/X11/xorg.conf.d/*.conf
grep -v ^# /etc/X11/mhwd.d/*.conf
grep -v ^# /etc/modprobe.d/*.conf
grep -v ^# /etc/modules-load.d/*.conf

something else you might want to consider, especially with that display you have is specifying your display’s EDID and have it load with a kernel parameter. there is info on how to do this here on the forum and on the arch wiki.

in reference to the amdgpu arch wiki:

Screen artifacts and frequency problem
Dynamic power management may cause screen artifacts to appear when displaying to monitors at higher frequencies (120+Hz) due to issues in the way GPU clock speeds are managed[2][3].

A workaround [4] is saving high or low in /sys/class/drm/card0/device/power_dpm_force_performance_level.

There is also a GUI solution [5] where you can manage the "power_dpm" with radeon-profile-gitAUR and radeon-profile-daemon-gitAUR.

thanks for the response, before I had seen your response I had switched to Ubuntu for awhile to see what I could do on that side. Anyways here are the data mentioned above:
cat /etc/mkinitcpio.conf | grep -E 'HOOKS|MODULES'

#     MODULES=(piix ide_disk reiserfs)
MODULES=""
# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
##   This setup specifies all modules in the MODULES setting above.
#    HOOKS=(base)
#    HOOKS=(base udev autodetect block filesystems)
#    HOOKS=(base udev block filesystems)
#    HOOKS=(base udev block mdadm encrypt filesystems)
#    HOOKS=(base udev block lvm2 filesystems)
HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems"```

```grep -v ^# /etc/X11/xorg.conf.d/*.conf
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection```

```grep -v ^# /etc/X11/mhwd.d/*.conf
grep: /etc/X11/mhwd.d/*.conf: No such file or directory```

```grep -v ^# /etc/modprobe.d/*.conf
install libnvdimm /usr/bin/ndctl load-keys ; /sbin/modprobe --ignore-install libnvdimm $CMDLINE_OPTS```

```$ grep -v ^# /etc/modules-load.d/*.conf```
Produced no output.

I am just updating now and I will follow the rest of the steps once this is complete.

I was able to introduce the amdgpu config file as per the arch wiki in order to bring in Freesync however when I do the following it tells me I don't have a Freesync capable monitor (which I definitely do)

$ xrandr --props

vrr_capable: 0
range: (0, 1)

I am also running kernel 5.0

Tonight I will try and introduce the edid as a kennel parameter

i think there are some problems on the EDID front. I have tried the following with no success:

$ sudo get-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
	Function unsupported
	Call failed

	VBE version 0
	VBE string at 0x0 "O"

VBE/DDC service about to be called
	Report DDC capabilities

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
	Function unsupported
	Call failed

Reading next EDID block

VBE/DDC service about to be called
	Read EDID

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
	Function unsupported
	Call failed

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <pyrophobicman@gmail.com>.

Also it appears to believe I have a 60 Hz panel when i really have a 144 Hz panel:

$ hwinfo --monitor
42: None 00.0: 10002 LCD Monitor                                
  [Created at monitor.125]
  Unique ID: rdCR.pNX7I1mxtU2
  Parent ID: GBI1.a8KHXbUlwt2
  Hardware Class: monitor
  Model: "AUO LCD Monitor"
  Vendor: AUO "AUO"
  Device: eisa 0x329d 
  Resolution: 1920x1080@60Hz
  Size: 382x214 mm
  Year of Manufacture: 2017
  Week of Manufacture: 16
  Detailed Timings #0:
     Resolution: 1920x1080
     Horizontal: 1920 1968 2000 2092 (+48 +80 +172)  hsync
       Vertical: 1080 1090 1095 2930 (+10 +15 +1850)  vsync
    Frequencies: 368.14 MHz, 175.98 kHz, 60.06 Hz
  Year of Manufacture: 2017
  Week of Manufacture: 16
  Detailed Timings #1:
     Resolution: 1920x1080
     Horizontal: 1920 1968 2000 2092 (+48 +80 +172)  hsync
       Vertical: 1080 1090 1095 1222 (+10 +15 +142)  vsync
    Frequencies: 368.14 MHz, 175.98 kHz, 144.01 Hz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #10 (VGA compatible controller)

it see's both 60 and 144. if you want to check with get-edid

sudo modprobe i2c_dev
sudo get-edid | parse-edid

does it match hwinfo --monitor ?

did you try the other suggestions from the arch wiki i posted?

one of those is probably your best bet

the get-edid is somewhat similar, but also different:

$ sudo get-edid | parse-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 8
No EDID on bus 9
No EDID on bus 10
No EDID on bus 11
No EDID on bus 12
No EDID on bus 13
No EDID on bus 14
1 potential busses found: 7
256-byte EDID successfully retrieved from i2c bus 7
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
	Identifier "��"
	ModelName "��"
	VendorName "AUO"
	# Monitor Manufactured week 16 of 2017
	# EDID version 1.4
	# Digital Display
	DisplaySize 380 210
	Gamma 2.20
	Option "DPMS" "false"
EndSection

I am not sure if this is supposed to be this way but if I set "high" in /sys/class/drm/card0/device/power_dpm_force_performance_level it simply goes back to auto on the reboot. perhaps there is a service i can restart rather than rebooting that will read this change? I will try the AUR apps listed and report back on that.

Screen artifacts and frequency problem
Dynamic power management may cause screen artifacts to appear when displaying to monitors at higher frequencies (120+Hz) due to issues in the way GPU clock speeds are managed[2][3].

A workaround [4] is saving high or low in /sys/class/drm/card0/device/power_dpm_force_performance_level.

There is also a GUI solution [5] where you can manage the "power_dpm" with radeon-profile-gitAUR and radeon-profile-daemon-gitAUR.

Did this with both high and low, neither worked and if I reboot it resets itself to auto

I can't seem to find anything on setting up Power DPM in radeon-profile but when i click on most things it crashes on me with this error:

$ radeon-profile
qt5ct: using qt5ct plugin
qt5ct: D-Bus system tray: yes
Segmentation fault (core dumped)

Not much info in EDID, but it seems it suggests DPMS off.
You might want to create a conf file with only the monitor section.

Section "Monitor"
	Identifier "Monitor0"
	ModelName "SomeModelName"
	VendorName "AUO"
	# Monitor Manufactured week 16 of 2017
	# EDID version 1.4
	# Digital Display
	DisplaySize 380 210
	Gamma 2.20
	Option "DPMS" "false"
EndSection

Save as

/etc/X11/xorg.conf.d/10-monitor.conf

You might want to change ModelName or Identifier to something else, maybe using info from /var/log/Xorg.0.log, but probably not needed (mostly cosmetic, except maybe Identifier).

Also check for any DPMS setting on the monitor panel.

created this file with this data (rebooted after saving):

  GNU nano 4.2          /etc/X11/xorg.conf.d/10-monitor.conf                    
Section "Monitor"
        Identifier "Screen0"
        ModelName "329d"
        VendorName "AUO"
        # Monitor Manufactured week 16 of 2017
        # EDID version 1.4
        # Digital Display
        DisplaySize 382 214
        Gamma 2.20
        Option "DPMS" "false"
EndSection

I also tried it with DisplaySize 380 210
Got the model name from ~/.local/share/xorg/Xorg.1.log as I couldn't find Xorg.0.log in /var/log or anywhere else strangely.

Created file as shown in your post.

got this output from xrandr:

xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   1920x1080    144.01*+  60.06  
   1680x1050    144.01  
   1280x1024    144.01  
   1440x900     144.01  
   1280x800     144.01  
   1280x720     144.01  
   1024x768     144.01  
   800x600      144.01  
   640x480      144.01  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)

Should also mention this is a laptop and nothing DPMS related on the screen.

Also should update my inxi from original post as my Manjaro is quite a bit newer than that:

$ inxi -FGxxxz
System:
  Host: craig-pc Kernel: 5.0.9-2-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.3.0 Desktop: Gnome 3.32.1 wm: gnome-shell dm: GDM 3.32.0 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Acer product: Predator PH517-61 v: V1.07 
  serial: <filter> 
  Mobo: PRS model: Cayman_PRS v: V1.07 serial: <filter> UEFI: Insyde v: 1.07 
  date: 10/12/2018 
Battery:
  ID-1: BAT1 charge: 71.6 Wh condition: 71.6/74.1 Wh (97%) volts: 17.5/15.4 
  model: PANASONIC AP17C5P type: Li-ion serial: <filter> status: Full 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ 
  rev: 2 L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 102255 
  Speed: 1637 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 
  1: 2258 2: 2304 3: 1269 4: 1267 5: 2492 6: 2537 7: 2594 8: 1851 9: 2361 
  10: 2350 11: 1317 12: 1292 13: 1297 14: 1326 15: 2338 16: 2341 
Graphics:
  Device-1: AMD Vega 10 XL/XT [Radeon RX Vega 56/64] 
  vendor: Acer Incorporated ALI driver: amdgpu v: kernel bus ID: 08:00.0 
  chip ID: 1002:687f 
  Display: x11 server: X.org 1.20.4 driver: amdgpu compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: AMD VEGA10 (DRM 3.27.0 5.0.9-2-MANJARO LLVM 8.0.0) 
  v: 4.5 Mesa 19.0.3 direct render: Yes 
Audio:
  Device-1: AMD Vega 10 HDMI Audio [Radeon Vega 56/64] 
  vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
  bus ID: 08:00.1 chip ID: 1002:aaf8 
  Device-2: AMD Family 17h HD Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus ID: 0a:00.3 chip ID: 1022:1457 
  Sound Server: ALSA v: k5.0.9-2-MANJARO 
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: alx v: kernel port: 3000 
  bus ID: 04:00.0 chip ID: 1969:e0b1 
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Intel Wireless-AC 9260 vendor: Bigfoot Networks driver: iwlwifi 
  v: kernel port: 3000 bus ID: 05:00.0 chip ID: 8086:2526 
  IF: wlp5s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 704.24 GiB used: 11.87 GiB (1.7%) 
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS256GD9MNE-6200A 
  size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 40000E00 
  scheme: GPT 
  ID-2: /dev/sda vendor: Crucial model: CT500MX500SSD4 size: 465.76 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 023 scheme: GPT 
Partition:
  ID-1: / size: 19.56 GiB used: 9.50 GiB (48.6%) fs: ext4 dev: /dev/sda2 
  ID-2: /home size: 224.63 GiB used: 2.37 GiB (1.1%) fs: ext4 dev: /dev/sda4 
  ID-3: swap-1 size: 16.31 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 55.8 C mobo: N/A gpu: amdgpu temp: 44 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0 
Info:
  Processes: 388 Uptime: 6m Memory: 15.63 GiB used: 1.46 GiB (9.4%) 
  Init: systemd v: 242 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 
  running in: gnome-terminal inxi: 3.0.33 

I guess maybe there is something else wrong with this machine that it is having these problems?

same here, helios 500 ryzen 2700 with vega56, I have been try Ubuntu 19.04, latest Manjaro, Opensuse Tumbleweed and also Gentoo but every still same problems.
from kernel 4.19 to 5.2rc2 the problems still occurs. cpu freq 500Mhz (have to unplug and plugging power adapter, also screen will be error/static display when screen off/sleep)

welcome to the forum, since this thread is over a month old you might want to create a new one and provide as much info as possible along with listing everything you have tried so far so others dont repeat suggestions.

also include which desktop environments you've tried and if the result was the same on all of them.
does logging out and back in after waking from suspend fix the issue?
are you able to get to TTY (terminal only) after waking or do you need to reboot?

and anything else you feel is relevant. on something like this, the more info you provide, the better the help you will receive.