Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No anti aliasing for software renderer #5048

Closed
JijaProGamer opened this issue Jul 2, 2024 · 4 comments
Closed

No anti aliasing for software renderer #5048

JijaProGamer opened this issue Jul 2, 2024 · 4 comments

Comments

@JijaProGamer
Copy link

Environment

  • OS: Windows 11
  • scrcpy version: 2.5
  • installation method: Windows Release
  • device model: Motorola G72
  • Android version: 13

When using the software renderer (--render-driver=software) all anti aliasing is disabled, making low resolutions such as 300 be extremely jagged, looking very poor and not being ideal for a computer vision project.

From what I see online other renderer types do have anti aliasing, but they cannot be recorded by FFmpeg as I need.

From the documentation, there is no option to make anti aliasing work, so I believe this is a bug with the software renderer.

@rom1v
Copy link
Collaborator

rom1v commented Jul 2, 2024

The renderer driver is just forwarded to SDL. The SDL software renderer does not support antialiasing. Anyway, it would be costly (see #40 (comment)).

@rom1v rom1v closed this as completed Jul 2, 2024
@JijaProGamer
Copy link
Author

The renderer driver is just forwarded to SDL. The SDL software renderer does not support antialiasing. Anyway, it would be costly (see #40 (comment)).

Which renderer types do have anti aliasing then?

@rom1v
Copy link
Collaborator

rom1v commented Jul 2, 2024

With OpenGL (>= 3), mipmaps are enabled by default: bea7658.

I had opened a feature request to support mipmaps with other renderers: libsdl-org/SDL#4156

@JijaProGamer
Copy link
Author

With OpenGL (>= 3), mipmaps are enabled by default: bea7658.

I had opened a feature request to support mipmaps with other renderers: libsdl-org/SDL#4156

Thanks, you're a life saver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants