Etnaviv issues on i.MX8M-Mini

Schrempf Frieder frieder.schrempf at kontron.de
Thu Feb 20 18:25:32 UTC 2020


Hi Chris,

On 20.02.20 18:19, Chris Healy wrote:
> Hi Frieder,
> 
> For your #1, can you provide more detail on your configuration?  What
> is your display resolution?  Are you running Qt with egl_fs or are you
> running on top of a compositor?  If you are running on top of a
> compositor, is the 3D GPU being used for compositing?

Sure. The display resolution I'm testing with is 1024x600 and I'm using 
the eglfs/KMS backend without compositor.

I'm passing this simple config to Qt via QT_QPA_EGLFS_KMS_CONFIG:

{
     "device": "/dev/dri/card1"
}

> 
> For your #2, at least in the case of the GC2000, the GPU cannot deal
> with shaders that have more than 512 instructions.  The terrain demo
> has a shader that is typically larger than 512 instructions.  I've
> always seen the terrain demo fail on the GC2000.  With the GC3000 and
> GC7000L, this 512 instruction limit does not exist and the terrain
> demo has always worked.  Likely the GC600 has this 512 instruction
> limit.

Ok, that's likely the reason for this. Thanks for explaining.

Best regards,
Frieder

> 
> Regards,
> 
> Chris
> 
> On Thu, Feb 20, 2020 at 8:56 AM Schrempf Frieder
> <frieder.schrempf at kontron.de> wrote:
>>
>> Hi,
>>
>> according to the documents, the i.MX8M-Mini features a GC320 and a
>> GCNanoUltra. I tried to run the etnaviv drivers and the following GPUs
>> are detected:
>>
>>          etnaviv-gpu 38000000.gpu: model: GC600, revision: 4653
>>          etnaviv-gpu 38008000.gpu: model: GC520, revision: 5341
>>
>> Running some demos and tests with mesa 19.1.6 most things seem to work.
>> Still I currently have two issues, while the first one is kind of a
>> show-stopper and the second one is not really important as it seems to
>> affect shaders only.
>>
>> 1. When running any QtQuick applications, all transformations like
>> moving elements are really jerky and not smooth at all as it should be.
>> Any ideas what the reason could be, or how to get more information about
>> this problem?
>>
>> 2. With some demos (e.g. with 'glmark2-es2-drm -b terrain') I get:
>>
>>          error: compile failed!
>>          etna_draw_vbo:222: compiled shaders are not okay
>>
>> Can this be fixed somehow, or is this due to the limitations of the GPU?
>>
>> Thanks,
>> Frieder
>> _______________________________________________
>> etnaviv mailing list
>> etnaviv at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/etnaviv


More information about the etnaviv mailing list