Resize problem, pixelated quality
Environment
- OS: Windows
- scrcpy version: 2.3.1
- installation method: Windows release
- device model: One Plus Nord 2
- Android version: 13
Describe the bug My screen is "pixelated", as if it wasn't using the correct resize method.
Of course, I've tested (almost, I think) everything that's been said in the previous issues
- Resize directly with -m950 instead of resizing the window
- alt+g to get the real size
- ALL the encoders available with --list-encoders
- the various render drivers available (tested: direct3d, opengl, opengles2, opengles, metal,software)
- I also tested --no-mipmaps.
- And finally I also did the "Override high DPI scaling behavior".
But I still get this. Any solution?
Screenshot:
And the result I want If possible
Another example :
What is the device resolution? (it is printed in the console, for example INFO: Texture: 1080x2400)
alt+g to get the real size
Is the rendering better? (even if it's too big)
If you record (scrcpy --record=file.mp4) and play the file, how is the result?
My guess is that the resolution is several times bigger than your computer screen (your screenshot is only 420x899).
Downscaling on Windows may not use mipmapping, so it uses "nearest pixel", which is not great (resizing on the device with -m does the same). I guess that it is a bit better in fullscreen landscape (because there is less to downscale).
If my hypothesis is true, then I have no real solution (get a better computer screen, or try on Linux to get mipmapping on scrcpy).
[server] INFO: Device: [OnePlus] OnePlus DN2103 (Android 13)
INFO: Renderer: direct3d
INFO: Texture: 400x896
My screenshot is when I have set -m900 and the information gived by the console looks right. And also I have test on different monitors and the problem is the same.
I might get my hands on a Linux tomorrow at the earliest, no idea if the issue can stay open that time but I'll come back to say If it changes something.
INFO: Texture: 400x896
My screenshot is when I have set -m900 and the information gived by the console looks right.
The question was the resolution when you don't pass -m900 (in which case the video is already downscaled).
Oh sorry.
Yes, even if it's too big, quality is perfect when I alt + g & don't set a size
And the console output is:
INFO: Texture: 1080x2400