Bug 111087 - SteamOS boots to black screen
Summary: SteamOS boots to black screen
Status: RESOLVED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-08 12:20 UTC by Ludovico de Nittis
Modified: 2019-07-19 08:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
basic configuration details (293 bytes, text/plain)
2019-07-08 12:20 UTC, Ludovico de Nittis
no flags Details
Xorg.0.log (72.77 KB, text/plain)
2019-07-08 12:20 UTC, Ludovico de Nittis
no flags Details
modinfo.amdgpu.log (27.06 KB, text/plain)
2019-07-08 12:21 UTC, Ludovico de Nittis
no flags Details
lspci.vnn.log (10.40 KB, text/plain)
2019-07-08 12:22 UTC, Ludovico de Nittis
no flags Details
dmesg.log (68.80 KB, text/plain)
2019-07-08 12:23 UTC, Ludovico de Nittis
no flags Details
dkms.status.log (284 bytes, text/plain)
2019-07-08 12:24 UTC, Ludovico de Nittis
no flags Details
lsmod.amdgpu.log (298 bytes, text/plain)
2019-07-08 12:25 UTC, Ludovico de Nittis
no flags Details
package.log (175.83 KB, text/plain)
2019-07-08 12:25 UTC, Ludovico de Nittis
no flags Details
dmesg with kernel option amdgpu.dc=0 (68.79 KB, text/plain)
2019-07-08 15:36 UTC, Ludovico de Nittis
no flags Details
Xorg log with kernel option amdgpu.dc=0 (72.94 KB, text/plain)
2019-07-08 15:36 UTC, Ludovico de Nittis
no flags Details
Xorg.0.log.old (73.47 KB, text/plain)
2019-07-09 06:54 UTC, Ludovico de Nittis
no flags Details

Description Ludovico de Nittis 2019-07-08 12:20:17 UTC
Created attachment 144719 [details]
basic configuration details

When I try to boot SteamOS I end up with just a black screen.

Xorg.0.log contains this error but I'm not completely sure if it is the cause:
(EE) AMDGPU(0): drmmode_do_crtc_dpms cannot get last vblank counter

I also tried installing debian kernel 5.0.2-1~exp1, mesa 19.1.1 and all the relevant xserver-xorg-video-* 19.0.1 but the problem persisted.
Comment 1 Ludovico de Nittis 2019-07-08 12:20:49 UTC
Created attachment 144720 [details]
Xorg.0.log
Comment 2 Ludovico de Nittis 2019-07-08 12:21:31 UTC
Created attachment 144721 [details]
modinfo.amdgpu.log
Comment 3 Ludovico de Nittis 2019-07-08 12:22:20 UTC
Created attachment 144722 [details]
lspci.vnn.log
Comment 4 Ludovico de Nittis 2019-07-08 12:23:17 UTC
Created attachment 144723 [details]
dmesg.log
Comment 5 Ludovico de Nittis 2019-07-08 12:24:09 UTC
Created attachment 144724 [details]
dkms.status.log
Comment 6 Ludovico de Nittis 2019-07-08 12:25:08 UTC
Created attachment 144725 [details]
lsmod.amdgpu.log
Comment 7 Ludovico de Nittis 2019-07-08 12:25:43 UTC
Created attachment 144726 [details]
package.log
Comment 8 Michel Dänzer 2019-07-08 14:30:19 UTC
(In reply to Ludovico de Nittis from comment #0)
> When I try to boot SteamOS I end up with just a black screen.

The Xorg log file indicates that Xorg starts up in 2560x1440, then an X client switches to 1920x1080 about 0.25s later (~23s after the kernel starts booting). Do you notice anything on the monitor around that time, e.g. some kind of flicker? What does the monitor say about the input signal when the black screen is shown?

Does amdgpu.dc=0 on the kernel command line make any difference?


> Xorg.0.log contains this error but I'm not completely sure if it is the
> cause:
> (EE) AMDGPU(0): drmmode_do_crtc_dpms cannot get last vblank counter

It's probably not related to that.
Comment 9 Ludovico de Nittis 2019-07-08 15:22:18 UTC
(In reply to Michel Dänzer from comment #8)
> The Xorg log file indicates that Xorg starts up in 2560x1440, then an X
> client switches to 1920x1080 about 0.25s later (~23s after the kernel starts
> booting). Do you notice anything on the monitor around that time, e.g. some
> kind of flicker? What does the monitor say about the input signal when the
> black screen is shown?

After trying one more time I realized that the timing reported by the Xorg log was really too high.
So I tried to leave the PC in this black screen for a couple of minutes and I saw that the Xorg log entries were all starting at 140s+

Apparently it is not a static black screen but instead an endless loop? And the Xorg log is only about the last boot attempt.

With a video it will be easier to show exactly what happens:  https://youtu.be/YipyPIcP0lA

Moreover as you can see if I move the mouse I'm able to see the SteamOS cursor for a fraction of a second before the monitor turns completely black again.

> Does amdgpu.dc=0 on the kernel command line make any difference?

No difference. I'll upload the Xorg log and the dmesg of it anyway, just in case it could be of any help.
Comment 10 Ludovico de Nittis 2019-07-08 15:36:33 UTC
Created attachment 144727 [details]
dmesg with kernel option amdgpu.dc=0
Comment 11 Ludovico de Nittis 2019-07-08 15:36:57 UTC
Created attachment 144728 [details]
Xorg log with kernel option amdgpu.dc=0
Comment 12 Michel Dänzer 2019-07-08 17:08:23 UTC
Sounds like Xorg keeps crashing, please attach the Xorg.0.log.old file.
Comment 13 Ludovico de Nittis 2019-07-09 06:54:39 UTC
Created attachment 144731 [details]
Xorg.0.log.old
Comment 14 Ludovico de Nittis 2019-07-09 06:59:20 UTC
(In reply to Michel Dänzer from comment #12)
> Sounds like Xorg keeps crashing, please attach the Xorg.0.log.old file.

Yes apparently Xorg keeps rebooting. In the latest Xorg.0.log.old file that I attached the entry "Server terminated successfully (0)" is at [44.281], while the Xorg.0.log (like the one already attached) was starting right after it at [44.565].
Comment 15 Michel Dänzer 2019-07-09 07:26:31 UTC
"Server terminated successfully" means Xorg doesn't crash, indicating the problem is on the client side. You should probably get in touch with SteamOS folks about how to get diagnostics on that.
Comment 16 Ludovico de Nittis 2019-07-19 08:28:10 UTC
Michel as you correctly guessed this wasn't an Xorg issue after all.
FTR it was caused by a Steam Runtime audio bug that has been fixed with the latest beta release.
Comment 17 Michel Dänzer 2019-07-19 08:30:48 UTC
Thanks for the follow-up, glad it's been fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.