[Mesa-dev] [RFC] mesa: drop current draw/read buffer when ctx is released

Rob Clark robdclark at gmail.com
Tue Nov 1 22:05:49 UTC 2016


On Tue, Nov 1, 2016 at 5:42 PM, Mauro Rossi <issor.oruam at gmail.com> wrote:
>> Mauro or Chih-Wei should be able to answer this (being do static
>> wallpapers work in i965?).
>>
>> Rob
>
> Hi, I've perfomed tests with mesa
> https://github.com/maurossi/mesa/commits/13.0.0_nougat-x86
> and the deafult pink wallpaper of nougat-x86 is working on i965
>
> NOTE: I have cherry-picked android-ia "Add the RGBA8888 and RGBX8888
> back to Intel screen config",
> which solved some black rendering issue in Basemark ES2 Taiji 3d
> render and in OpenGL ES Examples (last two demos)
> but Android wallpaper was working also without it.

fwiw, we have that patch as well..  the issue is not an egl/gl error,
but it happens by chance.  Ie. it requires the egl surface to be
destroyed, and then re-allocated as a different type (such as from
pbuffer to window), and get the idential pointer address as the
previous surface.

In other words, I think the cases where it is working is only by luck.

BR,
-R

> Androdi wallpapers are also working on gallium drivers and swrast
> llvmppipe (Wu Zhen implementation).
>
> I've also re-checked what is rendered black with gallium drivers as we speak
> and all cases (Rajawali app background, Basemark ES2 app background,
> Gears black surface)
> seem directly related to pixel format 2 (RGBX).
>
> There are no segfaults or other crash signals in dmesg,
> here are logcat traces of the common issue collected on Radeon RV630:
>
> 11-01 21:36:57.321  1498  1528 I ActivityManager: Displayed
> com.monyetmabuk.rajawali.tutorials/.RajawaliExamplesActivity: +159ms
> 11-01 21:36:57.324  1229  1229 E GLConsumer: error creating EGLImage: 0x3003
> 11-01 21:36:57.324  1229  1229 E GLConsumer: Failed to create image.
> size=1024x720 st=1024 usage=0x933 fmt=2
> 11-01 21:36:57.324  1229  1229 W GLConsumer:
> [com.monyetmabuk.rajawali.tutorials/com.monyetmabuk.rajawali.tutorials.RajawaliExamplesActivity]
> updateAndRelease: unable to createImage on display=0x1 slot=0
> ...
> 11-01 21:37:13.500  1498  2552 I ActivityManager: START u0
> {act=SPLASH_BASEMARK cmp=com.rightware.tdmm2v10jnifree/.SplashView}
> from uid 10070 on display 0
> 11-01 21:37:13.573  1229  1229 E GLConsumer: error creating EGLImage: 0x3003
> 11-01 21:37:13.573  1229  1229 E GLConsumer: Failed to create image.
> size=1024x720 st=1024 usage=0x933 fmt=2
> 11-01 21:37:13.573  1229  1229 W GLConsumer: [Starting
> com.rightware.tdmm2v10jnifree] updateAndRelease: unable to createImage
> on display=0x1 slot=0
> ...
> 11-01 21:58:37.205  1498  2051 I ActivityManager: Start proc
> 5579:com.jeffboody.GearsES2eclair/u0a74 for activity
> com.jeffboody.GearsES2eclair/.GearsES2eclair
> 11-01 21:58:28.508  1229  1229 E GLConsumer: error creating EGLImage: 0x3003
> 11-01 21:58:28.508  1229  1229 E GLConsumer: Failed to create image.
> size=1024x720 st=1024 usage=0x933 fmt=2
> 11-01 21:58:28.508  1229  1229 W GLConsumer: [Starting
> com.jeffboody.GearsES2eclair] updateAndRelease: unable to createImage
> on display=0x1 slot=0
>
> Mauro


More information about the mesa-dev mailing list