ValveSoftware / SteamOS

SteamOS community tracker
1.52k stars 69 forks source link

After disconnecting from external monitor, Deck's internal screen stays off instead of switching display #1504

Open dangerousdonut opened 2 months ago

dangerousdonut commented 2 months ago

Your system information

Please describe your issue in as much detail as possible:

When unplugging the Steam Deck from a dock that connects it to an external monitor, I expect the primary display to switch back to the Deck's internal screen.

However, since updating to SteamOS 3.6 in the current Preview branch, what happens instead is that the Deck's screen stays off if you disconnect it from an external monitor. There is still sound though.

Putting the Deck to sleep and waking it will not turn the display back on. Only a reboot fixes it.

Conversely, plugging the Deck into a dock while it was on and an image was displayed on it will properly transfer primary display over to a monitor.

This issue is only present in game mode. In desktop mode the display switches without issue. The dock in use here is Valve's Steam Deck Docking Station. The external monitor is connected over Displayport.

After re-imaging the Deck, the issue was not present on the stable branch while the Dock was still on FW 0.13.15.124. It began again after the system was updated to SteamOS 3.6. This seems to point to 3.6 rather than the new Dock firmware as the source of the bug.

Steps for reproducing this issue:

  1. Connect Steam Deck to a dock and external monitor
  2. Ensure the Deck is in game mode
  3. Unplug the USB-C cable to the Deck while an image is being output to the display
Managor commented 1 month ago

I have this issue as well.

Grazgamer commented 1 month ago

And me

Managor commented 1 month ago

I pinpointed the issue (at least for me). In the manual external display resolutions if I select anything over 720p the internal screen won't turn on after disconnect but anything below that resolution works fine image

dangerousdonut commented 1 month ago

I pinpointed the issue (at least for me). In the manual external display resolutions if I select anything over 720p the internal screen won't turn on after disconnect but anything below that resolution works fine !

Nice find! I was also able to get it to switch primary display at 1280x720, and ever since it did that successfully, it now seemingly works with any other resolution and refresh rate combination. It continued to function as expected after a sleep and wakeup cycle and after a restart. Maybe re-check it on your end if you haven't.

Though a new wrinkle is that sometimes the Deck doesn't want to automatically connect to the external monitor when it's woken from sleep, and I need to unplug/replug the USB-C cable.

jbbandos commented 1 month ago

Same issue on Steam Deck OLED with 3.6.x (up until SteamOS 3.6.3 at least), and setting the external resolution to 1280x720@60 allows the inner screen to turn back on when the external is disconnected. However, I can't get it to work with any higher external resolution. And desktop mode works with both screens on, until now my workaround was to switch to desktop mode, disconnect the external screen, and switch back to gaming mode.

micsama commented 1 month ago

me too

matte-schwartz commented 1 week ago

You can recover from this with an external keyboard and switching to a TTY (terminal type) window with Ctrl + Alt + F6 and then switching back to your main session, usually on TTY 1, with Ctrl + Alt + F1.

drake90001 commented 3 days ago

I have the same issue. undocking at all results in a black screen.

I also cannot enable or disable HDR on my TV.