Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-390

RPI3: vc4/drm crashes after starting multiple apps

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • master/chinook 1.1.2017
      rpi3

      We've changed gpu_mem to 512 already. Still when cycling through all the apps, the pi3 fails to display some apps / or crashes weston:

      [ 392.203866] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.211916] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.218997] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.226115] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.233070] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 392.239523] [drm] num bos allocated: 533
      [ 392.243530] [drm] size bos allocated: 455872kb
      [ 392.248044] [drm] num bos used: 531
      [ 392.251613] [drm] size bos used: 423104kb
      [ 392.255686] [drm] num bos cached: 2
      [ 392.259221] [drm] size bos cached: 32768kb
      [ 392.263789] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.270978] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.278067] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.285220] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.292181] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 392.298630] [drm] num bos allocated: 532
      [ 392.302642] [drm] size bos allocated: 455868kb
      [ 392.307156] [drm] num bos used: 530
      [ 392.310760] [drm] size bos used: 423100kb
      [ 392.314828] [drm] num bos cached: 2
      [ 392.318363] [drm] size bos cached: 32768kb
      [ 392.335974] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.343322] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.350394] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.357504] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 392.364464] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 392.370951] [drm] num bos allocated: 532
      [ 392.374931] [drm] size bos allocated: 455868kb
      [ 392.379435] [drm] num bos used: 530
      [ 392.383007] [drm] size bos used: 423100kb
      [ 392.387081] [drm] num bos cached: 2
      [ 392.390648] [drm] size bos cached: 32768kb
      [ 392.461742] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.468992] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.476183] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.477269] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.477513] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.482529] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.482720] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.482737] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 392.482741] [drm] num bos allocated: 544
      [ 392.482744] [drm] size bos allocated: 448592kb
      [ 392.482747] [drm] num bos used: 542
      [ 392.482750] [drm] size bos used: 435808kb
      [ 392.482752] [drm] num bos cached: 2
      [ 392.482755] [drm] size bos cached: 12784kb
      [ 392.483018] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.547670] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.554535] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 392.561029] [drm] num bos allocated: 550
      [ 392.565011] [drm] size bos allocated: 442528kb
      [ 392.569515] [drm] num bos used: 541
      [ 392.573081] [drm] size bos used: 427648kb
      [ 392.577154] [drm] num bos cached: 9
      [ 392.580722] [drm] size bos cached: 14880kb
      [ 392.585239] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.592807] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.599813] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.606891] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 392.613776] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 392.620228] [drm] num bos allocated: 543
      [ 392.624254] [drm] size bos allocated: 440432kb
      [ 392.628765] [drm] num bos used: 541
      [ 392.632343] [drm] size bos used: 427648kb
      [ 392.636413] [drm] num bos cached: 2
      [ 392.639948] [drm] size bos cached: 12784kb
      [ 497.667928] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.675857] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.686560] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.695632] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.704293] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 497.710749] [drm] num bos allocated: 540
      [ 497.714790] [drm] size bos allocated: 455900kb
      [ 497.719299] [drm] num bos used: 538
      [ 497.722904] [drm] size bos used: 423132kb
      [ 497.726971] [drm] num bos cached: 2
      [ 497.730510] [drm] size bos cached: 32768kb
      [ 497.735173] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.742368] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.749462] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.756599] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.763549] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 497.769999] [drm] num bos allocated: 539
      [ 497.774010] [drm] size bos allocated: 455896kb
      [ 497.778518] [drm] num bos used: 537
      [ 497.782090] [drm] size bos used: 423128kb
      [ 497.786170] [drm] num bos cached: 2
      [ 497.789705] [drm] size bos cached: 32768kb
      [ 497.807473] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.814854] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.821978] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.829070] vc4-drm soc:gpu: failed to allocate buffer with size 16777216
      [ 497.836041] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 497.842526] [drm] num bos allocated: 539
      [ 497.846508] [drm] size bos allocated: 455896kb
      [ 497.851012] [drm] num bos used: 537
      [ 497.854572] [drm] size bos used: 423128kb
      [ 497.858640] [drm] num bos cached: 2
      [ 497.862219] [drm] size bos cached: 32768kb
      [ 497.933367] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.940644] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.947751] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.954931] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.955388] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.955606] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.969769] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.969969] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 497.969985] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 497.969989] [drm] num bos allocated: 551
      [ 497.969992] [drm] size bos allocated: 448620kb
      [ 497.969995] [drm] num bos used: 549
      [ 497.969998] [drm] size bos used: 435836kb
      [ 497.970000] [drm] num bos cached: 2
      [ 497.970003] [drm] size bos cached: 12784kb
      [ 497.970288] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 498.026187] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 498.032674] [drm] num bos allocated: 556
      [ 498.036653] [drm] size bos allocated: 436164kb
      [ 498.041189] [drm] num bos used: 548
      [ 498.044730] [drm] size bos used: 427676kb
      [ 498.048794] [drm] num bos cached: 8
      [ 498.052358] [drm] size bos cached: 8488kb
      [ 498.056790] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 498.064497] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 498.071562] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 498.078563] vc4-drm soc:gpu: failed to allocate buffer with size 6545408
      [ 498.085435] [drm:vc4_bo_create] ERROR Failed to allocate from CMA:
      [ 498.091924] [drm] num bos allocated: 550
      [ 498.095904] [drm] size bos allocated: 440460kb
      [ 498.100410] [drm] num bos used: 548
      [ 498.103975] [drm] size bos used: 427676kb
      [ 498.108051] [drm] num bos cached: 2
      [ 498.111631] [drm] size bos cached: 12784kb

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mranostay Matt Ranostay
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: