Re: RPI3: vc4/drm crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jan-Simon and all,

I installed Funky Flounder v6.0.0 to Raspberry Pi3 and uninstalled majority portion of APPs only to have the following four APPs.

```
Automotive Grade Linux 6.0.0 raspberrypi3 ttyS0
raspberrypi3:~# afm-install list|grep "id\""
    "id":"settings@0.1",
    "id":"launcher@0.1",
    "id":"homescreen@0.1",
    "id":"hvac@0.1”,
```

However, we still see the same error messages. 

```
[  106.214311] vc4-drm soc:gpu: failed to allocate buffer with size 6426624
[  106.221339] vc4-drm soc:gpu: failed to allocate buffer with size 6426624
[  106.228238] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  106.235296] [drm]                         kernel:   8100kb BOs (1)
[  106.241608] [drm]                            V3D: 222900kb BOs (139)
[  106.248056] [drm]                     V3D shader:    276kb BOs (69)
[  106.254458] [drm]                           dumb:     32kb BOs (2)
[  106.263330] vc4-drm soc:gpu: failed to allocate buffer with size 6426624
[  106.270286] vc4-drm soc:gpu: failed to allocate buffer with size 6426624
[  106.277278] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  106.284333] [drm]                         kernel:   8100kb BOs (1)
[  106.290653] [drm]                            V3D: 222900kb BOs (139)
[  106.297102] [drm]                     V3D shader:    276kb BOs (69)
[  106.303495] [drm]                           dumb:     32kb BOs (2)
[  106.312309] vc4-drm soc:gpu: failed to allocate buffer with size 6426624
[  106.319261] vc4-drm soc:gpu: failed to allocate buffer with size 6426624
[  106.326232] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  106.333277] [drm]                         kernel:   8100kb BOs (1)
[  106.339553] [drm]                            V3D: 222900kb BOs (139)
[  106.346054] [drm]                     V3D shader:    276kb BOs (69)
[  106.352461] [drm]                           dumb:     32kb BOs (2)
[  106.362979] vc4-drm soc:gpu: failed to allocate buffer with size 6430720
[  106.369946] vc4-drm soc:gpu: failed to allocate buffer with size 6430720
[  106.377003] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  106.384053] [drm]                         kernel:   8100kb BOs (1)
[  106.390325] [drm]                            V3D: 222912kb BOs (141)
[  106.396845] [drm]                     V3D shader:    276kb BOs (69)
[  106.403232] [drm]                           dumb:     32kb BOs (2)
```

Do you any suggestion regarding how to deal with this?

Thanks! Regards, Kangkook


On Sep 19, 2018, at 7:22 AM, Jan-Simon Moeller <jsmoeller@xxxxxxxxxxxxxxxxxxx> wrote:

Hi!

If you go with flounder and reduce the apps to the minimum (e.g. max 3-4) apps running you will be fine.
Note that there no sound with the built-in soundcard on the pi (driver issue); you need to use USB Sound and adjust the config for that.

Other platforms: minnorboard Turbot, upsquare Board, renesas rcar-m3 or h3.

Worst case find a cheap Laptop with Touchscreen.



Js

Kangkook Jee <kangkook.jee@xxxxxxxxx> schrieb am Mi., 19. Sep. 2018, 13:03:
Dear Jan-Simon and all, 

Thanks a lot for your reply. 

Since we are preparing for demo with AGL. The short-term priority for us is to find a platform that we can run our demo in a stable and reproducible manner.
We still prefer run our demo from RPi3 as it is cheap and easy to find commodity.

Is there anyway that we can fine-tune RPi3 for the demo besides upgrading to Flounder release? For instance, removing some APPs or adjusting kernel parameters from config.txt and so on.
If not, what hardware platform is verified as a most stable one and would you like to recommend?

Thanks for your help!

Regards, Kangkook


On Sep 19, 2018, at 1:56 AM, Jan-Simon Moeller <jsmoeller@xxxxxxxxxxxxxxxxxxx> wrote:

Hi!

This is a know limitation of the rpi3. Try the flounder branch where we mitigate it somewhat.

Js


Kangkook Jee <kangkook.jee@xxxxxxxxx> schrieb am Mi., 19. Sep. 2018, 04:56:
Hi all,

I installed AGL 5.1.0 on Raspberry Pi 3 board and testing with number of Homescreen App.
However, I soon get the following error message and the whole GUI freezes.

[  222.034184] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
[  222.041476] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  222.048470] [drm]                         kernel:   8100kb BOs (1)
[  222.054816] [drm]                            V3D: 198344kb BOs (186)
[  222.061314] [drm]                     V3D shader:    240kb BOs (60)
[  222.067688] [drm]                           dumb:     32kb BOs (2)
[  222.074023] vc4_v3d 3fc00000.v3d: Failed to allocate memory for tile binning: -12. You may need to enable CMA or give it more memory.

I saw the previous JIRA ticket about the similar issues and those are now close.

https://jira.automotivelinux.org/browse/SPEC-390

https://jira.automotivelinux.org/browse/SPEC-410

Can anyone help me with this? Thanks a lot!

Regards, Kangkook
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions


_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux