Re: RPI3: vc4/drm crashes

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

 



Dear Tanikawa, 

Thanks a lot for your reply. What configuration do I have update to change the resolution?
The following is from /etc/xdg/weston/weston.ini which is default configuration and my monitor’s default resolution is 1920 X 1080.

```
[core]
shell=ivi-shell.so
backend=drm-backend.so
require-input=false

# Support the Raspberry Pi Foundation 7" tablet which uses the DSI connector
# rather than HDMI.
[output]
name=DSI-1
transform=270

# A display is connected to HDMI-A-1 and needs to be rotated 270 degrees
# to have a proper orientation of the homescreen.  For example the various sizes
# of the GeChic display or the Dell display.
[output]
name=HDMI-A-1
transform=270

[id-agent]
default-id-offset=1000

[ivi-shell]
ivi-input-module=ivi-input-controller.so
ivi-module=ivi-controller.so
id-agent-module=simple-id-agent.so

[shell]
locking=true
panel-location=none
```

On Sep 24, 2018, at 6:28 PM, tanikawa.tadao@xxxxxxxxxxxxxxxx wrote:

Which resolution of screen are you using ?
 
If it is HD 1080p, only 1 or 2 apps can run.
If it is smaller like 720p or XGA, it will become much better.
 
Regards,
Tadao Tanikawa
 
From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kangkook Jee
Sent: Tuesday, September 25, 2018 3:09 AM
To: Jan-Simon Moeller
Cc: AGL ml
Subject: Re: RPI3: vc4/drm crashes
 
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