You are not logged in.

#76 2020-02-09 03:39:10

Exeat
Member
Registered: 2019-05-28
Posts: 5

Re: Black screen on lid open

Pergravis wrote:

This seems to have fixed the problem on my E485

Offline

#77 2020-02-29 17:31:34

sinatosk
Member
Registered: 2010-11-28
Posts: 102

Re: Black screen on lid open

Using kernel 5.5.0, 5.5.3 5.5.5, 5.5.6 and 5.5.7 hibernation and suspension still works for me

and the error from 5.5.0 and showing in 5.5.3 ( I didn't use 5.5.2 or 5.5.1 )

[drm:dm_helpers_parse_edid_caps [amdgpu]] *ERROR* Couldn't read SADs: -2

is gone since 5.5.5 ( I didn't use 5.5.4 )

Last edited by sinatosk (2020-03-01 09:41:43)

Offline

#78 2020-03-22 18:07:36

Fabi0_Z
Member
Registered: 2019-02-05
Posts: 9

Re: Black screen on lid open

I've the same problem, I'm running a laptop with an AMD A9 APU and a dedicated AMD GPU, kernel 5.5.10-arch1-1

When I resume the laptop from suspension the screen remains black, but I'm still able to login and reboot my laptop from terminal, so I guess it's only a video issue. I've tried various boot parameters combination from the thread but non of them has worked, any suggestions?

Offline

#79 2020-03-22 19:35:41

davc0n
Member
Registered: 2020-02-01
Posts: 35

Re: Black screen on lid open

Hi Fabi0_Z,

Did you try the workaround written here ?

Offline

#80 2020-03-24 11:50:33

Fabi0_Z
Member
Registered: 2019-02-05
Posts: 9

Re: Black screen on lid open

davc0n wrote:

Hi Fabi0_Z,

Did you try the workaround written here ?

If you talk about the early KMS yes, but didn't change anything

I've added

amdgpu

to mkinitcpio.conf and then run

mkinitcpio -p linux

, rebooted but both resume after suspend and hibernation still doesn't work

Offline

#81 2020-03-25 17:48:30

davc0n
Member
Registered: 2020-02-01
Posts: 35

Re: Black screen on lid open

I am talking about switching to another tty before suspend (FYI: with CTRL+ALT+F2 for example). After resume, go back to the previous tty window (eg. CTRL+ALT+F1). It's just a workaround, but it's better than nothing. Dunno about hibernation, works fine here.

Offline

#82 2020-03-28 15:48:34

Fabi0_Z
Member
Registered: 2019-02-05
Posts: 9

Re: Black screen on lid open

davc0n wrote:

I am talking about switching to another tty before suspend (FYI: with CTRL+ALT+F2 for example). After resume, go back to the previous tty window (eg. CTRL+ALT+F1). It's just a workaround, but it's better than nothing. Dunno about hibernation, works fine here.

Tried today, doesn't change anything, same behavior as using the normal sleep button from a gnome session

Offline

#83 2020-04-11 10:22:32

Fabi0_Z
Member
Registered: 2019-02-05
Posts: 9

Re: Black screen on lid open

I've found out that there's a fix for my issue, but I've no idea on how to apply it

https://cgit.freedesktop.org/drm/drm/co … 98c59022a7

Offline

#84 2020-04-11 16:33:07

davc0n
Member
Registered: 2020-02-01
Posts: 35

Re: Black screen on lid open

Fabi0_Z wrote:

I've found out that there's a fix for my issue, but I've no idea on how to apply it

https://cgit.freedesktop.org/drm/drm/co … 98c59022a7

It's already available in linux kernel, no need to apply.

Last edited by davc0n (2020-04-19 17:08:40)

Offline

#85 2020-04-11 18:09:21

Fabi0_Z
Member
Registered: 2019-02-05
Posts: 9

Re: Black screen on lid open

Yeah, I've discovered the hard way, I've built a custom kernel from the linux PKGBUILD including the patch I've mentioned in the last message, everything was working fine, then I've tried to suspend on the stock kernel just to be proud of my hard work, and noticed that was working there too sad

Offline

#86 2020-04-23 12:07:46

Jolt
Member
Registered: 2020-04-23
Posts: 1

Re: Black screen on lid open

Pergravis wrote:

Yeah, thank you very much!

I've searched that for several weeks.
On my Honor MagicBook 14 (a.k.a. Huawei MateBook 14) on Ryzen 3500U works well.

I knew that problem in opengl visual effects, because suspension/hibernation worked well only on xrender. But on xrender i had visual artefacts on watching videos.
Now it's perfect!

Last edited by Jolt (2020-04-23 12:08:23)

Offline

#87 2020-04-29 15:34:00

jonny88
Member
Registered: 2020-04-28
Posts: 2

Re: Black screen on lid open

Hi, I followed this topic here 'cause I had the same problem (screen stays black after suspend / hibernate). After various attempts I was able to solve this issue. So I want to share it with you. My system is a ThinkPad T495 (details see below).

1. I added amdgpu to MODULES in /etc/mkinitcpio.conf to enable KMS
2. I created the xorg config file 20-amdgpu.conf with the following content

$ cat /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
        Identifier "AMDGPU"
        Driver "amdgpu"
        Option "DRI" "3"
        Option "TearFree" "true"
EndSection

With these settings suspend and hibernate works without problems. Maybe this helps you (please let me know if you need more informations).

Here now the details about my system:

$ uname -srm
Linux 5.6.6-arch1-1 x86_64

$ lspci -k |grep -EA3 'VGA|3D|Display'
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev d1)
        Subsystem: Lenovo Picasso
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

$ sudo dmidecode -t system
System Information
        Manufacturer: LENOVO
        Product Name: 20NJCTO1WW
        Version: ThinkPad T495

$ sudo dmidecode -s processor-version
AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx

Installed package versions:

amd-ucode 20200316.8eb0b28-1
glu 9.0.1-1
libva-mesa-driver 20.0.5-1
mesa 20.0.5-1
mesa-vdpau 20.0.5-1
xf86-video-amdgpu 19.1.0-1

Offline

#88 2020-05-08 19:12:16

plant67
Member
Registered: 2020-05-08
Posts: 1

Re: Black screen on lid open

jonny88 wrote:

Hi, I followed this topic here 'cause I had the same problem (screen stays black after suspend / hibernate). After various attempts I was able to solve this issue. So I want to share it with you. My system is a ThinkPad T495 (details see below).

1. I added amdgpu to MODULES in /etc/mkinitcpio.conf to enable KMS
2. I created the xorg config file 20-amdgpu.conf with the following content

$ cat /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
        Identifier "AMDGPU"
        Driver "amdgpu"
        Option "DRI" "3"
        Option "TearFree" "true"
EndSection

With these settings suspend and hibernate works without problems. Maybe this helps you (please let me know if you need more informations).

Can confirm that this solution works on my Ryzen 7 3700U E495 running the 5.6.11 kernel. Thank you!

Last edited by plant67 (2020-05-08 19:13:17)

Offline

#89 2020-05-13 20:04:59

jman6495
Member
Registered: 2011-06-10
Posts: 7

Re: Black screen on lid open

Although applying the above modifications does mean the screen actually turns on after resume, it doesn't fix the issue for me. I just get a black screen and cannot move to ttys

preresume i get :

[  165.074817] ACPI: EC: interrupt blocked
[  206.072725] ACPI: EC: interrupt unblocked
[  206.123640] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[  206.123678] [drm] PSP is resuming...
[  206.143707] [drm] reserve 0x400000 from 0xf47f800000 for PSP TMR
[  206.152597] [drm] psp command (0x5) failed and response status is (0xFFFF0007)
[  206.353058] amdgpu 0000:04:00.0: RAS: optional ras ta ucode is not available
[  206.613368] [drm] kiq ring mec 2 pipe 1 q 0
[  206.848351] amdgpu 0000:04:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring gfx test failed (-110)
[  206.848403] [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -110
[  206.848455] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-110).
[  206.848460] PM: dpm_run_callback(): pci_pm_resume+0x0/0x80 returns -110
[  206.848461] PM: Device 0000:04:00.0 failed to resume: error -110

meanwhile, on resume dmesg is spammed with :

[  229.515833] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22)
[  229.515844] amdgpu 0000:04:00.0: couldn't schedule ib on ring <sdma0>

On a HP Envy x360 13, Ryzen 3500U

Offline

#90 2020-05-16 18:56:02

aleixsr
Member
Registered: 2020-05-16
Posts: 1

Re: Black screen on lid open

I'm exactly on same situation. Also tried several linux versions and distros, still no luck

On a Redmibook Ryzen Edition.

jman6495 wrote:

Although applying the above modifications does mean the screen actually turns on after resume, it doesn't fix the issue for me. I just get a black screen and cannot move to ttys

preresume i get :

[  165.074817] ACPI: EC: interrupt blocked
[  206.072725] ACPI: EC: interrupt unblocked
[  206.123640] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[  206.123678] [drm] PSP is resuming...
[  206.143707] [drm] reserve 0x400000 from 0xf47f800000 for PSP TMR
[  206.152597] [drm] psp command (0x5) failed and response status is (0xFFFF0007)
[  206.353058] amdgpu 0000:04:00.0: RAS: optional ras ta ucode is not available
[  206.613368] [drm] kiq ring mec 2 pipe 1 q 0
[  206.848351] amdgpu 0000:04:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring gfx test failed (-110)
[  206.848403] [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -110
[  206.848455] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-110).
[  206.848460] PM: dpm_run_callback(): pci_pm_resume+0x0/0x80 returns -110
[  206.848461] PM: Device 0000:04:00.0 failed to resume: error -110

meanwhile, on resume dmesg is spammed with :

[  229.515833] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22)
[  229.515844] amdgpu 0000:04:00.0: couldn't schedule ib on ring <sdma0>

On a HP Envy x360 13, Ryzen 3500U

Offline

#91 2020-05-17 10:23:06

davc0n
Member
Registered: 2020-02-01
Posts: 35

Re: Black screen on lid open

As of today, on a thinkpad t495, both suspend and hibernate are working fine without any workaround (kernel 5.6.13-arch1-1).

EDIT: I'd rather stop this thread and open different ones for each issue reported.

Last edited by davc0n (2020-05-17 10:25:38)

Offline

#92 2020-08-30 12:18:48

PanodGO
Member
Registered: 2020-03-21
Posts: 14

Re: Black screen on lid open

plant67 wrote:
jonny88 wrote:

Hi, I followed this topic here 'cause I had the same problem (screen stays black after suspend / hibernate). After various attempts I was able to solve this issue. So I want to share it with you. My system is a ThinkPad T495 (details see below).

1. I added amdgpu to MODULES in /etc/mkinitcpio.conf to enable KMS
2. I created the xorg config file 20-amdgpu.conf with the following content

$ cat /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
        Identifier "AMDGPU"
        Driver "amdgpu"
        Option "DRI" "3"
        Option "TearFree" "true"
EndSection

With these settings suspend and hibernate works without problems. Maybe this helps you (please let me know if you need more informations).

Can confirm that this solution works on my Ryzen 7 3700U E495 running the 5.6.11 kernel. Thank you!

Yes I can confirm as well! My problem was even harder cos it wen't black just after boot on my Thinkpad t495s. There must be something due to graphics on latest kernel.

You solution worked like a charm though. Thanks a lot!!

Offline

Board footer

Powered by FluxBB