iMac 10,1 with Ubuntu 16.04: black screen after suspend

Lukas Wunner lukas at wunner.de
Mon Jul 17 09:02:35 UTC 2017


On Fri, Jun 02, 2017 at 06:47:07PM +0200, Florian Echtler wrote:
> Regarding the SMC, there's actually only one key that consistently seems to have
> a different value whether the display is on or off:
> 
> --- blank	2017-05-05 08:40:53.694565045 +0200
> +++ non_blank	2017-05-05 08:40:53.702565066 +0200
> @@ -143,7 +143,7 @@
>    MSWR  [ui8 ]  0 (bytes 00)
>    MVBO  [hex_]  (bytes ff ff)
>    MVDC  [bin_]  (bytes 00)
> -  MVDS  [bin_]  (bytes 08)
> +  MVDS  [bin_]  (bytes 0a)
>    MVE1  [si8 ]  (bytes 0d)
>    MVE5  [si8 ]  (bytes 0b)
>    MVHR  [flag]  (bytes 01)
> 
> However, even with my modified SmcDumpKeys.c which I can use to enable TDM, I
> cannot write to that key. Since other MV__ keys control the display, too, it
> would make sense that that is related to the display state, but it seems to be a
> read-only key :-/
> 
> Running out of ideas again... any suggestions?

Sorry for the delay Florian.  Commit 564d8a2cf3ab by Mario Kleiner (+cc)
landed in Linus' tree last week and is included in 4.13-rc1.  It is
supposed to fix black screen issues with the iMac10,1 that you're also
using, though in Mario's case they seem to occur upon boot, rather than
on suspend, still might be worth a try:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=564d8a2cf3abf16575af48bdc3e86e92ee8a617d

Thanks,

Lukas


More information about the amd-gfx mailing list