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

MSAA crashes emulator on Google TV #2861

Open
dq6 opened this issue Jul 31, 2024 · 3 comments
Open

MSAA crashes emulator on Google TV #2861

dq6 opened this issue Jul 31, 2024 · 3 comments

Comments

@dq6
Copy link

dq6 commented Jul 31, 2024

@gonetz, @olivieryuyu, @fzurita,

I'm focusing on N64 emulation directly on Google TV/Android TV. One of the most needed features on this platform is MSAA!

Problem observed: any value for MSAA crashes the emulator.

On mobile Android (10, 11 and 12) this problem IS NOT present. However, I'm able to use MSAA only up to 4x. 8x and 16x returns a black image. But, well, at least a MSAA=4x on Google TV would be great for helping with the antialiasing needs. The only paliative for this, by now, is applying FXAA. It helps, and you get a nice near-authentic-N64-feeling image, but it too softens everything, even those elements NOT meant to be softened.

Devices:

Google TV:

  • Sony X90J, Google TV (Android TV 10)
  • TCL C728, Google TV (Android TV 10)

Emulators:

  • M64Plus FZ (Mupen64Plus)
  • RetroArch (Mupen64Plus-Next GLES3)

Mobile Android:

  • realme X3, Android 12, SnapDragon 855+

These screenshots were taken on the mobile Android:
1

2

3

4

@Squall-Leonhart
Copy link
Contributor

Squall-Leonhart commented Sep 8, 2024

use a gl viewer to check the capabilities of the X1, i do not believe the driver exposes msaa.

Nothing actually supports MSAA 16x, what is exposed on PC as 16x is a nvidia specific hybrid method that combines multisampling and super sampling (16xS)

@dq6
Copy link
Author

dq6 commented Sep 13, 2024

The processor inside the X90J is a XR, not a X1.

Using AIDA64, these are the multisample related GL extensions listed and other relevant info:

GPU: ARM Mali-G52

OpenGL ES 3.2

—GL_EXT_multisampled_render_to_texture
—GL_EXT_multisampled_render_to_texture2
—GL_OES_texture_storage_multisample_2d_array
—GL_OES_shader_multisample_interpolation
—GL_OVR_multiview_multisampled_render_to_texture

The official technical specifications of Mali-G52 lists:

—4x, 8x and 16x MSAA Anti-Aliasing
"4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop."

Greetings.

@Squall-Leonhart
Copy link
Contributor

Squall-Leonhart commented Sep 14, 2024

The TV has insufficient ram to use MSAA, unlike the phones which ship with 4+GB, the sony tv has roughly 3GB's which is partitioned 2|1 for system|video

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