HP Envy 15-ah150sa Black Screen After Hibernation

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

HP Envy 15-ah150sa Black Screen After Hibernation

Postby DiBosco » Aug 31st, '20, 19:11

Hi folks,

I have the above machine that has a Volcanic Islands ATI GPU and although you can suspend it once, and it comes out very nicely, the second time it just freezes with a black screen. You can't even CTL-ALT-BACSKPACE.

I've looked around lots of non-Magiea Linux forums, tried various things for amdgpu coming out of hibernation, but nothing helps.

Is there any information I could give that clever people might be able to make sense of to help debug what needs doing.

I appreciate it may be that it will soimply never work because of poor graphics drivers, but it's worth a try.

I did see people on Arch forum saying they had tried this for devices using amdgpu:

EDIT: I added two items to the default /etc/mkinitcpio.conf:

MODULES=(amdgpu)


What is our equivalent to that please? That night be worth a try.


Thanks
DiBosco
 
Posts: 281
Joined: Aug 31st, '11, 10:22

Re: HP Envy 15-ah150sa Black Screen After Hibernation

Postby doktor5000 » Sep 1st, '20, 00:38

That should be irrelevant to the running system, only if you need amdgpu early in the initrd. Would be more helpful if you could add the output of lspcidrake -v
and also journalctl -ab output of a fresh boot including hibernation and add a hint at what time you hibernated.

Easiest way to replicate that would be to add an additional dracut droplet as root via
Code: Select all
echo 'add-drivers+="amdgpu"' > /etc/dracut.conf.d/amdgpu.conf

and then recreate your initrd via dracut -f
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16225
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: HP Envy 15-ah150sa Black Screen After Hibernation

Postby DiBosco » Sep 1st, '20, 13:21

This is a fresh boot:

Code: Select all
lspcidrake -v
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 5 [BRIDGE_HOST] (vendor:1022 device:1575)
i2c_piix4       : Advanced Micro Devices, Inc. [AMD]|FCH SMBus Controller [SERIAL_SMBUS] (vendor:1022 device:790b subv:103c subd:80ba) (rev: 4a)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Host Bridge [BRIDGE_HOST] (vendor:1022 device:157b)
unknown         : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7904 subv:103c subd:80ba) (rev: 49)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Port [BRIDGE_PCI] (vendor:1022 device:157c)
unknown         : Advanced Micro Devices, Inc. [AMD]|Carrizo Audio Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:157d)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 0 [BRIDGE_HOST] (vendor:1022 device:1570)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Port [BRIDGE_PCI] (vendor:1022 device:157c)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:1022 device:157a subv:103c subd:80ba)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Kabini HDMI/DP Audio [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:9840 subv:103c subd:80ba)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 2 [BRIDGE_HOST] (vendor:1022 device:1572)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Host Bridge [BRIDGE_HOST] (vendor:1022 device:157b)
ehci_pci        : Advanced Micro Devices, Inc. [AMD]|FCH USB EHCI Controller [SERIAL_USB] (vendor:1022 device:7908 subv:103c subd:80ba) (rev: 49)
fam15h_power    : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 4 [BRIDGE_HOST] (vendor:1022 device:1574)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Complex [BRIDGE_HOST] (vendor:1022 device:1576 subv:103c subd:80ba)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) I/O Memory Management Unit (vendor:1022 device:1577 subv:103c subd:80ba)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:103c subd:80ba) (rev: 15)
unknown         : Advanced Micro Devices, Inc. [AMD]|FCH LPC Bridge [BRIDGE_ISA] (vendor:1022 device:790e subv:103c subd:80ba) (rev: 11)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Port [BRIDGE_PCI] (vendor:1022 device:157c)
Card:ATI Volcanic Islands and later (amdgpu/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Wani [Radeon R5/R6/R7 Graphics] [DISPLAY_VGA] (vendor:1002 device:9874 subv:103c subd:80ba) (rev: c5)
rtsx_pci        : Realtek Semiconductor Co., Ltd.|RTS5229 PCI Express Card Reader (vendor:10ec device:5229 subv:103c subd:80ba) (rev: 01)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 1 [BRIDGE_HOST] (vendor:1022 device:1571)
xhci_pci        : Advanced Micro Devices, Inc. [AMD]|FCH USB XHCI Controller [SERIAL_USB] (vendor:1022 device:7914 subv:103c subd:80ba) (rev: 20)
k10temp         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 3 [BRIDGE_HOST] (vendor:1022 device:1573)
unknown         : Advanced Micro Devices, Inc. [AMD]|Carrizo Platform Security Processor [CRYPT_OTHER] (vendor:1022 device:1578 subv:103c subd:80ba)
iwlwifi         : Intel Corporation|Wireless 3165 [NETWORK_OTHER] (vendor:8086 device:3165 subv:8086 subd:4010) (rev: 81)
hub             : Linux 5.7.14-desktop-1.mga7 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Advanced Micro Devices, Inc.|Root Hub [Hub|Unused|Full speed (or root) hub] (vendor:0438 device:7900)
uvcvideo        : SuYin|HP Truevision HD [Video|Video Control] (vendor:064e device:930a)
btusb           : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:0a2a)
hub             : Linux 5.7.14-desktop-1.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 5.7.14-desktop-1.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)


Journalctl is here as it's too big to paste:

http://www.apostrophe.co.uk/mageia/journalctl.txt

I'll do a boot from hibernation shortly. This was at about noon.
DiBosco
 
Posts: 281
Joined: Aug 31st, '11, 10:22

Re: HP Envy 15-ah150sa Black Screen After Hibernation

Postby DiBosco » Sep 1st, '20, 13:34

And after suspending and coming back at 12.21 (the first time I tried suspending it just hung the computer and I had to do a forced shut down).

Code: Select all
lspcidrake -v
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 5 [BRIDGE_HOST] (vendor:1022 device:1575)
i2c_piix4       : Advanced Micro Devices, Inc. [AMD]|FCH SMBus Controller [SERIAL_SMBUS] (vendor:1022 device:790b subv:103c subd:80ba) (rev: 4a)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Host Bridge [BRIDGE_HOST] (vendor:1022 device:157b)
unknown         : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7904 subv:103c subd:80ba) (rev: 49)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Port [BRIDGE_PCI] (vendor:1022 device:157c)
unknown         : Advanced Micro Devices, Inc. [AMD]|Carrizo Audio Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:157d)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 0 [BRIDGE_HOST] (vendor:1022 device:1570)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Port [BRIDGE_PCI] (vendor:1022 device:157c)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:1022 device:157a subv:103c subd:80ba)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Kabini HDMI/DP Audio [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:9840 subv:103c subd:80ba)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 2 [BRIDGE_HOST] (vendor:1022 device:1572)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Host Bridge [BRIDGE_HOST] (vendor:1022 device:157b)
ehci_pci        : Advanced Micro Devices, Inc. [AMD]|FCH USB EHCI Controller [SERIAL_USB] (vendor:1022 device:7908 subv:103c subd:80ba) (rev: 49)
fam15h_power    : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 4 [BRIDGE_HOST] (vendor:1022 device:1574)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Complex [BRIDGE_HOST] (vendor:1022 device:1576 subv:103c subd:80ba)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) I/O Memory Management Unit (vendor:1022 device:1577 subv:103c subd:80ba)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:103c subd:80ba) (rev: 15)
unknown         : Advanced Micro Devices, Inc. [AMD]|FCH LPC Bridge [BRIDGE_ISA] (vendor:1022 device:790e subv:103c subd:80ba) (rev: 11)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Root Port [BRIDGE_PCI] (vendor:1022 device:157c)
Card:ATI Volcanic Islands and later (amdgpu/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Wani [Radeon R5/R6/R7 Graphics] [DISPLAY_VGA] (vendor:1002 device:9874 subv:103c subd:80ba) (rev: c5)
rtsx_pci        : Realtek Semiconductor Co., Ltd.|RTS5229 PCI Express Card Reader (vendor:10ec device:5229 subv:103c subd:80ba) (rev: 01)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 1 [BRIDGE_HOST] (vendor:1022 device:1571)
xhci_pci        : Advanced Micro Devices, Inc. [AMD]|FCH USB XHCI Controller [SERIAL_USB] (vendor:1022 device:7914 subv:103c subd:80ba) (rev: 20)
k10temp         : Advanced Micro Devices, Inc. [AMD]|Family 15h (Models 60h-6fh) Processor Function 3 [BRIDGE_HOST] (vendor:1022 device:1573)
unknown         : Advanced Micro Devices, Inc. [AMD]|Carrizo Platform Security Processor [CRYPT_OTHER] (vendor:1022 device:1578 subv:103c subd:80ba)
iwlwifi         : Intel Corporation|Wireless 3165 [NETWORK_OTHER] (vendor:8086 device:3165 subv:8086 subd:4010) (rev: 81)
hub             : Linux 5.7.14-desktop-1.mga7 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Advanced Micro Devices, Inc.|Root Hub [Hub|Unused|Full speed (or root) hub] (vendor:0438 device:7900)
uvcvideo        : SuYin|HP Truevision HD [Video|Video Control] (vendor:064e device:930a)
btusb           : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:0a2a)
hub             : Linux 5.7.14-desktop-1.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 5.7.14-desktop-1.mga7 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)


http://www.apostrophe.co.uk/mageia/jour ... uspend.txt

Many thanks
DiBosco
 
Posts: 281
Joined: Aug 31st, '11, 10:22

Re: HP Envy 15-ah150sa Black Screen After Hibernation

Postby doktor5000 » Sep 1st, '20, 18:14

Your system seems to resume just fine, apart from the AMD GPU:

Code: Select all
Sep 01 12:21:05 linux.local kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x1ee3bb6a0 flags=0x0070]
Sep 01 12:21:05 linux.local kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x1ee3bb740 flags=0x0070]
Sep 01 12:21:05 linux.local kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x1ee3bb750 flags=0x0070]
Sep 01 12:21:05 linux.local kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x1ee3bb6b0 flags=0x0070]


I guess you may need to try out some kernel options, cf.
https://www.phoronix.com/forums/forum/l ... nt-kernels
https://forums.gentoo.org/viewtopic-t-1 ... art-0.html

Some options to try:
iommu=soft
iommu=pt

This seems to have also been already reported upstream
https://bugs.freedesktop.org/show_bug.cgi?id=106447 / https://gitlab.freedesktop.org/drm/amd/issues/380 / https://bugzilla.kernel.org/show_bug.cgi?id=199693
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16225
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: Google [Bot] and 1 guest