Skip to content

Pinephone might need larger cma size for some things #201

@Thra11

Description

@Thra11

Tried running sway wayland compositor. Sway runs ok. However, when I tried to launch some applications, I get:

DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory

Same problem for several applications (I think all the ones I tried were Qt quick applications).
I tried adding "cma=256M" to boot.kernelParams, rebuilt and reflashed the boot partition. Now the applications work fine.
Don't know for sure if it's a sway-specific issue: I suspect it might affect all wayland compositors. X (and applications running under X) seem to be ok with the default "cma=32M".
Not sure if limited to pinephone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3. topic: deviceChanges specific to a device, but not itself "a port" contribution3. topic: stage-1stage-1, boot, init

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions