swetoast / steamlink-launcher

Steamlink launcher for OSMC
GNU General Public License v2.0
155 stars 19 forks source link

Blackscreen stream on 4K/UHD display #48

Closed sefsh closed 2 years ago

sefsh commented 2 years ago

I'm running OSMC on a Pi 4. When Steam Link with the launcher the display reports resolution 3840×2160p. It does not matter what resolution OSMC was set to use prior to launching Steam Link. It always switches to 2160p. The Steam Link client or host, whatever it is, doesn't like that and display a black screen instead. Sound comes through fine, and the stream stats looks good.

I tried Steam Link on Raspbian to troubleshoot and that it worked well (though that was Debian Bullseye).

I've also tried to limit the stream resolution in the streaming settings to no avail. Thus it really seems like the issue lies with the chosen 2160p resolution chosen by Steam Link.

Can the launcher force a maximum of 1080p somehow?

swetoast commented 2 years ago

go to steam forums with your issues the launcher cant control the program, only launch it

sorry cant be of anymore help here

sefsh commented 2 years ago

This was actually an issue with dtoverlay=vc4-kms-v3d in config.txt, that needed to be changed to dtoverlay=vc4-fkms-v3d,cma-512 (notice the f). 🙌

swetoast commented 2 years ago

added to readme, tnx for the followup

sefsh commented 2 years ago

the launcher cant control the program, only launch it

But can it launch it "within" the resolution set by OSMC? 😃

swetoast commented 2 years ago

https://discourse.osmc.tv/t/black-steam-link-stream-on-pi-4/93202

swetoast commented 2 years ago

ask away on the forums leaving osmc support for the os devs

swetoast commented 2 years ago

Doubt you can dual overlays etc since this is out of the scope for the project that is why i dont handle it

sefsh commented 2 years ago

Got it. Sorry 4 the spam. 😬 https://discourse.osmc.tv/t/how-to-limit-resolution-of-other-applications-steam-link/93262

swetoast commented 2 years ago

No worries :)