Coder Social home page Coder Social logo

Comments (4)

cgutman avatar cgutman commented on August 17, 2024

What is the resolution and DPI scaling value of your client display?

Moonlight will try to set the window size to be 1:1 with the video size, however it has limits to avoid exceeding the safe area (usable desktop area, excluding system UI) of the display.

For example, if you had a 1600x900 monitor and tried to stream 1600x900 in windowed mode, Moonlight will create a slightly smaller window than 1600x900 to avoid the window decorations and video content being obscured by the taskbar.

from moonlight-qt.

makedir avatar makedir commented on August 17, 2024

Normal 1920x1080 with 100% DPI. So this is a bug. The above examples I gave were for 1920x1080 with 100% DPI. It does not work for what ever reason for the example of 1600 x 900 and the video results in 1469 x 826. I noticed this because I wanted to set a fixed 1600 x 900 resolution but noticed the picture is blurry. I checked the size of the window frame and it showed the above size. With decoration the Moonlight window is for this example for 1600 x 900, 1471 x 858 in size, something totally bogus.

from moonlight-qt.

makedir avatar makedir commented on August 17, 2024

Moonlight_2024-06-16_05-30-23

Moonlight_2024-06-16_05-28-44

These are the two original sized window sizes Moonlight creates when starting with custom 1600 x 900

image

As you see it is some bogus value, 1471 x 858 and 1469 x 826

Also like I said before, it would be hanndy if possible, that Moonlight doesnt downscale for not flat divider, not sure what downscale algorithm Moonlight uses but it should always be crisp when down scaling, so no other than / 2 values, no 3d stuff over it like blurrying / smoothing out, mostly best would be integer scale.

Normal 1080p and 100% dpi

image

Also the entire GUI of Moonlight became a little bit too big since 6.0.0 and doesnt scale properly in my oppinion for 1080 with too big fonts.

from moonlight-qt.

makedir avatar makedir commented on August 17, 2024

@cgutman any chance you can implement these changes please, it would just be small changes capable to implement in short time:

  • optional setting different window size / video size sent to Sunshine => 1920 x 1080 host but different window size on client / downscale with proper integer downscale which wont be blurry
  • optional option to activate to foce ratio when resizing window, example like the video play MPC does
  • optional option to activate borderless window mode not fullscreen + in combination with window size, example: set borderless window + 1600 x 900 results in a borderless window (no border, no window decoration) and set video window to exact same size, 1600 x 900 in this case
  • optional x and y position you can set where the window will be put on the screen

from moonlight-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.