From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Screen does not wake up from suspend ("No signal") on a Radeon RX 580 Date: Sun, 27 Jan 2019 10:09:30 +0100 Message-ID: <87a7jmmppx.fsf@ambrevar.xyz> References: <87d0oj1z53.fsf@ambrevar.xyz> <871s4zdvu4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gngRj-0000up-SB for help-guix@gnu.org; Sun, 27 Jan 2019 04:09:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gngRh-0004Gu-SO for help-guix@gnu.org; Sun, 27 Jan 2019 04:09:43 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49711) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gngRh-000442-3P for help-guix@gnu.org; Sun, 27 Jan 2019 04:09:41 -0500 In-reply-to: <871s4zdvu4.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Maxim Cournoyer Cc: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I forgot to mention: the driver in use is ATI, not Radeon. > I don't know for sure, but that Radeon RX 580 card could be the > problem. I've set up a machine with Debian 9 and a Radeon R9 285 in the > past, and it was a pain to make it work -- it would not work at all > without the firmware blobs, and even then, I had to use a custom kernel > from AMD to get it working correctly... In my case the RX580 work very well Linux libre 4.20.4. Maybe you Debian 9 was too old (kernel + mesa). I'm still confused about the state of FOSS-ness with AMD. Is any blob requ= ired to run them at all? Are is it only specific to AMDGPU-PRO? > If you have a 2nd (old nVidia would be the best) card laying around, I'd > suggest trying that -- if it works, you'll know the problem is with the > amggpu driver. Well, everything seems to work, I can control it my computer over SSH, so i= t's most probably the RX 580 to blame. I have also tried connecting my screen both over HDMI and DisplayPort, shou= ld that make a difference. It doesn't. > Would it be possible for you to SSH into it to read the kernel messages d= uring wakeup? I did, and here is the relevant part of the dmesg output: =2D-8<---------------cut here---------------start------------->8--- [ 2976.265296] PM: suspend entry (deep) [ 2976.265299] PM: Syncing filesystems ... done. [ 2976.624270] Freezing user space processes ... (elapsed 0.001 seconds) do= ne. [ 2976.625607] OOM killer disabled. [ 2976.625656] Freezing remaining freezable tasks ... (elapsed 0.001 second= s) done. [ 2976.626804] printk: Suspending console(s) (use no_console_suspend to deb= ug) [ 2976.627367] serial 00:04: disabled [ 2976.627803] r8169 0000:07:00.0 enp7s0: Link is Down [ 2976.657161] sd 5:0:0:0: [sdb] Synchronizing SCSI cache [ 2976.657192] sd 4:0:0:0: [sda] Synchronizing SCSI cache [ 2976.657629] sd 4:0:0:0: [sda] Stopping disk [ 2976.657724] sd 5:0:0:0: [sdb] Stopping disk [ 2977.617490] ACPI: Preparing to enter system sleep state S3 [ 2977.941844] PM: Saving platform NVS memory [ 2977.941882] Disabling non-boot CPUs ... [ 2977.958842] smpboot: CPU 1 is now offline [ 2977.974825] smpboot: CPU 2 is now offline [ 2977.990581] smpboot: CPU 3 is now offline [ 2978.014817] smpboot: CPU 4 is now offline [ 2978.026540] smpboot: CPU 5 is now offline [ 2978.042508] smpboot: CPU 6 is now offline [ 2978.058498] smpboot: CPU 7 is now offline [ 2978.074474] smpboot: CPU 8 is now offline [ 2978.090460] smpboot: CPU 9 is now offline [ 2978.106384] smpboot: CPU 10 is now offline [ 2978.122308] smpboot: CPU 11 is now offline [ 2978.122935] ACPI: Low-level resume complete [ 2978.122976] PM: Restoring platform NVS memory [ 2978.123526] Enabling non-boot CPUs ... [ 2978.123607] x86: Booting SMP configuration: [ 2978.123608] smpboot: Booting Node 0 Processor 1 APIC 0x1 [ 2978.125878] cache: parent cpu1 should not be sleeping [ 2978.125952] microcode: CPU1: patch_level=3D0x08008206 [ 2978.126084] CPU1 is up [ 2978.126110] smpboot: Booting Node 0 Processor 2 APIC 0x2 [ 2978.128338] cache: parent cpu2 should not be sleeping [ 2978.128411] microcode: CPU2: patch_level=3D0x08008206 [ 2978.128491] CPU2 is up [ 2978.128500] smpboot: Booting Node 0 Processor 3 APIC 0x3 [ 2978.130727] cache: parent cpu3 should not be sleeping [ 2978.130792] microcode: CPU3: patch_level=3D0x08008206 [ 2978.130880] CPU3 is up [ 2978.130889] smpboot: Booting Node 0 Processor 4 APIC 0x4 [ 2978.133112] cache: parent cpu4 should not be sleeping [ 2978.133179] microcode: CPU4: patch_level=3D0x08008206 [ 2978.133269] CPU4 is up [ 2978.133279] smpboot: Booting Node 0 Processor 5 APIC 0x5 [ 2978.135516] cache: parent cpu5 should not be sleeping [ 2978.135579] microcode: CPU5: patch_level=3D0x08008206 [ 2978.135678] CPU5 is up [ 2978.135687] smpboot: Booting Node 0 Processor 6 APIC 0x8 [ 2978.137993] cache: parent cpu6 should not be sleeping [ 2978.138064] microcode: CPU6: patch_level=3D0x08008206 [ 2978.138219] CPU6 is up [ 2978.138230] smpboot: Booting Node 0 Processor 7 APIC 0x9 [ 2978.140518] cache: parent cpu7 should not be sleeping [ 2978.140589] microcode: CPU7: patch_level=3D0x08008206 [ 2978.140734] CPU7 is up [ 2978.140744] smpboot: Booting Node 0 Processor 8 APIC 0xa [ 2978.143023] cache: parent cpu8 should not be sleeping [ 2978.143094] microcode: CPU8: patch_level=3D0x08008206 [ 2978.143251] CPU8 is up [ 2978.143262] smpboot: Booting Node 0 Processor 9 APIC 0xb [ 2978.145540] cache: parent cpu9 should not be sleeping [ 2978.145610] microcode: CPU9: patch_level=3D0x08008206 [ 2978.145769] CPU9 is up [ 2978.145779] smpboot: Booting Node 0 Processor 10 APIC 0xc [ 2978.148060] cache: parent cpu10 should not be sleeping [ 2978.148132] microcode: CPU10: patch_level=3D0x08008206 [ 2978.148312] CPU10 is up [ 2978.148324] smpboot: Booting Node 0 Processor 11 APIC 0xd [ 2978.150602] cache: parent cpu11 should not be sleeping [ 2978.150673] microcode: CPU11: patch_level=3D0x08008206 [ 2978.150872] CPU11 is up [ 2978.152067] ACPI: Waking up from system sleep state S3 [ 2978.230420] usb usb1: root hub lost power or was reset [ 2978.230422] usb usb2: root hub lost power or was reset [ 2978.230633] sd 4:0:0:0: [sda] Starting disk [ 2978.230636] sd 5:0:0:0: [sdb] Starting disk [ 2978.231175] serial 00:04: activated [ 2978.544675] ata2: SATA link down (SStatus 0 SControl 330) [ 2978.545981] ata9: SATA link down (SStatus 0 SControl 300) [ 2978.545984] ata1: SATA link down (SStatus 0 SControl 330) [ 2978.638465] usb 1-9: reset full-speed USB device number 3 using xhci_hcd [ 2978.705962] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2978.706736] ata6.00: configured for UDMA/133 [ 2978.895739] r8169 0000:07:00.0 enp7s0: Link is Down [ 2979.134479] usb 1-8: reset low-speed USB device number 2 using xhci_hcd [ 2979.555278] OOM killer enabled. [ 2979.555329] Restarting tasks ... done. [ 2979.557153] PM: suspend exit [ 2979.773654] IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready [ 2979.773926] Generic PHY r8169-700:00: attached PHY driver [Generic PHY] = (mii_bus:phy_addr=3Dr8169-700:00, irq=3DIGNORE) [ 2979.876671] IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready [ 2981.488341] r8169 0000:07:00.0 enp7s0: Link is Up - 100Mbps/Full - flow = control rx/tx [ 2981.488353] IPv6: ADDRCONF(NETDEV_CHANGE): enp7s0: link becomes ready [ 2984.946005] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2984.947770] ata5.00: configured for UDMA/100 =2D-8<---------------cut here---------------end--------------->8--- No error, but no trace of ATI/RADEON either. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlxNdUoACgkQm9z0l6S7 zH81FAf+In6AVOMF9p27cIxd7I9cGSsoDUJMDtQG43m7MRkPa5ksU5i2+lT50/1e 41eKHvlkclTI58bVbTNMXIaqv5u7u4ILuDr7QvhFCDr+5pxhnWt6AGDnZ4qeQISI 0VfhTT9rhoayE18ueiUFV4x2TTfq95qjPBSge9cBrd9w5bh/x04uDnbSM3l1jqyM Ag4+M4fzAmX4XEjRgIuNDN9PVfpEWiBWaU/Kb4PMxGV/+af47aQj9tuNS5TgP37t mxyZV2YHu80EoZ5z+WJEGa1l4eP/T80UeQZx2hC1oUNryxQNa1v4KcNW8TdwaVEh gGgDjPvPXmhvF0FOxxZgIRfJ3wxe3A== =TMqS -----END PGP SIGNATURE----- --=-=-=--