Author Topic: AA not working on PowerVR6250  (Read 2560 times)

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
AA not working on PowerVR6250
« on: March 09, 2021, 08:36:49 pm »
Hi Egon,
i tested AAConfigChooser.
with my mali450 device, my app works correctly, either using AAConfigChooser or the 'force 4x MSAA' option in OS.
but with my PowerVR6250 device, enabling AAConfigChooser makes the gfx to be very corrupted (no force 4x MSAA option on the device).
is it normal with 6250 hardware?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: AA not working on PowerVR6250
« Reply #1 on: March 09, 2021, 11:34:14 pm »
Let's put it this way: jPCT-AE's GL-Renderer has a method called isCrappyPowerVR(), which detect PowerVR chips >=6000 either via their code name or their number and in turn enables all kinds of workarounds to make these suckers work at least half decent.

How does it look with AA enabled? I assume as if some wireframe is drawn over everything? If not, can you post a screenshot?

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
Re: AA not working on PowerVR6250
« Reply #2 on: March 10, 2021, 10:10:32 am »
the 2 screenshots show the correct result and wrong result.


problem seems to be that, some part of the screen is not updated, but reverse to older buffered image. when i rotate the camera, part of image is jumping back and forth. the size of unupdated part is not constant.

my app has the machanism that the main scene is rendered into texture then blit the texture on screen. if this is on. AA works correctly. if the scene is rendered directly on screen. AA causes problem.
it is also related to my cloud effect. if the clouds are not drawn, no problem. the clouds are drawn with several passes at different time points and there are some gl state changes, it's quite complicated.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: AA not working on PowerVR6250
« Reply #3 on: March 11, 2021, 09:11:18 pm »
Yep, that's the exact same issue that I had with these PowerVR chips as well, regardless of using AA. That's why jPCT-AE now defaults to not use VBOs on these chips if detected. That was the only solution that I found that fixed it. Maybe you are enabling VBOs somehow again? Or maybe you are using an older version that doesn't include this fix...are you seeing some PowerVR related setting in Config?
« Last Edit: March 11, 2021, 09:35:37 pm by EgonOlsen »

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
Re: AA not working on PowerVR6250
« Reply #4 on: March 12, 2021, 05:02:56 am »
my version is 1.32 .
there is usePowerVRTweaks in Config, i don't change it. if it's false, my device crashes.
i don't change vbo setting.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: AA not working on PowerVR6250
« Reply #5 on: March 12, 2021, 05:41:39 pm »
Then it's the same problem that surfaces in some other circumstances (using AA in this case) as well. I don't see what you do about this. These chips suck. The funny thing is, that it actually renders the graphics somehow (I can't remember how I found out about it though), it just fails to display it.