moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.96k stars 636 forks source link

Stream covering only 80% of the display when running without window manager #900

Open abusse opened 2 years ago

abusse commented 2 years ago

Describe the bug

Since release v4.3.0 the stream is only covering ~80% of the display instead the entire display and the rest is filled black. The particularity of my setup is that I don't use a window manager to run Moonlight. I was able to track down the issue to e0fb7dfd14d47d28b04a5e15049d53f494c7efdd. This commit removed a check if there is no Window: if (m_Window != nullptr). Restoring this check and making sure that the width and height is set to the usable bounds for this particular case seems to resolve the issue.

cgutman commented 2 years ago

What stream display mode are you using?

The window size calculated there should only apply in windowed mode, and I wouldn't imagine you'd run windowed mode without a window manager.

klattimer commented 1 year ago

I had the same issue, offset from the corner by about 100px or so - reversed the change set in the above mentioned comment and it works full screen again.

kpervin commented 1 year ago

I am also experiencing this issue. When using Moonlight v4.3.1 on the Steam Deck (in this case docked mode), I experience what almost looks like an underscanned image of the host. PXL_20230113_211738596 NIGHT Note the performance overlay to give you a sense of the bezels of the display.

Seems to occur in all display modes other than Windowed, though that ends up causing blurry text. Host PC is set to 1440p.

Settings

Basic Settings

Audio Settings

Ui Settings

Host Settings

Advanced Settings