Skip to content

could not enable drm planes on Asahi (Mac Studio m2) #91

Description

@markand

Hello,

I'm trying to start the example wm using swc-launch on my mac studio m2 max, I get the error in drm.c:261

Could not enable DRM universal planes

According to drm_info, the driver is supposedly supporting universal planes:

$ drm_info | grep -C5 -i  plane
drmModeGetPropertyBlob: No such file or directory
drmModeGetResources: Operation not supported
Failed to retrieve information from /dev/dri/card0
Node: /dev/dri/card2
├───Driver: apple (Apple display controller DRM driver) version 1.0.0
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
│   ├───DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not supported

I'm not really used to the drm stuff so I can't really provide more information. Don't hesitate to ask me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions