Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
110.24k stars 10.57k forks source link

Low Quality Display #1743

Open sagarcyber-hw4 opened 4 years ago

sagarcyber-hw4 commented 4 years ago

I am getting a low quality display. I am using samsung galaxy m21 dependencies:

rom1v commented 4 years ago

Screenshot? Platform?

40?

sagarcyber-hw4 commented 4 years ago

how do I share screenshot? I am unable to find an option

sagarcyber-hw4 commented 4 years ago
Annotation 2020-09-07 184731

See the quality

sagarcyber-hw4 commented 4 years ago

My platform is Windows 10

sagarcyber-hw4 commented 4 years ago

Please sent me a complete video on how to fix this

rom1v commented 4 years ago

OK, so it's exactly #40: your device definition is waaaayyyy bigger than your computer screen definition (the rendering is done on your device, then captured/resized to a tiny grid, so it's ugly). Btw, if you resize to "pixel-perfect" (Alt+g), the rendering should be perfect (but it's too big).

The real solution is to use a computer screen with a better definition :trollface:

To mitigate the issue, mipmapping has been implemented, but only for OpenGL, so you could try:

scrcpy --render-driver=opengl

However, on Windows, OpenGL drivers are not always ok, so it may be better (in quality) but worse (in performance or stability).

Manu99it commented 4 years ago

probably this has to do with windows hidpi settings. On .exe property go to compatibility-> settings for hidpi -> set to application.

@rom1v your app comes with hidpi support built in. Unexperienced windows users may not know how to handle this sort of bad scaling so you should advise what I told on readme/faq

rom1v commented 4 years ago

@sagarcyber-hw4 As @Manu99it suggested, try to change the "scaling behavior": https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#the-quality-is-low

@Manu99it However, given the screenshot, it really looks like linear downscaling issue (#40).

Manu99it commented 4 years ago

@rom1v didn't see that you already added that to FAQ, excuse me 😅. However actually the linear downscaling issue could be also because when windows is used on hidpi screens, size of things (like apps, buttons etc.) is set 150/200% or even more. Then, windows scale down apps to have 100% size but that won't be pixel perfect anymore. To me this is always been a windows bad behavior to manage hidpi. Having hidpi "application" managed as default is not the best thing because many apps doesn't have hidpi support. "System" managed most likely breaks apps that support hidpi and "advanced system" sometimes does a good work sometimes not. So one have to always manage that behavior per each app :/

Also I'm unsure it's like #40, screenshot quality isn't that great so who knows, we will know when op reads :D

TheMissionary commented 3 years ago

@sagarcyber-hw4 As @Manu99it suggested, try to change the "scaling behavior": https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#the-quality-is-low

@Manu99it However, given the screenshot, it really looks like linear downscaling issue (#40).

Outstanding!!!! Been using scrcpy for 2 years, was convinced it was #40 , I was just stuck with it. Nope. Caught @Manu99it's suggestion, regarding the scaling. the hidpi issue...done.

Feels like I'm on scrcpy 2.oh! It's beautiful. Thanks!