We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5452 - [KMS/DRM] Latest v2.0.15 Chgs Break RPi4
Summary: [KMS/DRM] Latest v2.0.15 Chgs Break RPi4
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.15
Hardware: ARM Linux
: P2 major
Assignee: Manuel Alfayate Corchete
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-08 21:05 UTC by bluestang2006
Modified: 2021-01-08 23:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bluestang2006 2021-01-08 21:05:10 UTC
Hello,

The latest KMS/DRM changes have broken the video for my RPi4. Here is a snippet of dmesg:

[   18.567586] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[   18.567618] vc4-drm gpu: [drm]                           dumb: 247068kb BOs (32)
[   18.584884] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[   18.584903] vc4-drm gpu: [drm]                           dumb: 247068kb BOs (32)
[   18.585098] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[   18.585104] vc4-drm gpu: [drm]                           dumb: 247068kb BOs (32)

This is for both OpenGLES and Vulkan, although I couldn't get Vulkan to work outside of RetroArch - which is a separate issue altogether.

I am using kernel 5.10.5 (rpi-update) and a recent build of the latest MESA drivers for the RPi4.
Comment 1 Sam Lantinga 2021-01-08 22:01:15 UTC
Is this happening with the very latest changes?
http://www.libsdl.org/tmp/SDL-2.0.zip
Comment 2 bluestang2006 2021-01-08 22:59:46 UTC
Looks like 352407eb17cb has fixed the issue.
Comment 3 Sam Lantinga 2021-01-08 23:55:10 UTC
Great, thanks!