fvogt added a comment.
Not quite sure whether it's related to this change, but I tried to debug the
failure to init the primary plane and found this:
kwin_wayland_drm: Using Atomic Mode Setting.
kwin_wayland_drm: Number of planes: 2
kwin_wayland_drm: Atomic init for plane: 26
kwin_wayland_drm: 26: type' (id 6): 1
kwin_wayland_drm: "type" has enums: QVector("Primary", "Cursor", "Overlay")
kwin_wayland_drm: Test all 3 possible enums:
kwin_wayland_drm: Enum 'Overlay': runtime-value = 0
kwin_wayland_drm: Enum 'Primary': runtime-value = 1
kwin_wayland_drm: Enum 'Cursor': runtime-value = 2
kwin_wayland_drm: => "type" with mapped enum value "Primary"
[...]
kwin_wayland_drm: Atomic init for plane: 27
kwin_wayland_drm: 27: type' (id 6): 2
kwin_wayland_drm: "type" has enums: QVector("Primary", "Cursor", "Overlay")
kwin_wayland_drm: Test all 3 possible enums:
kwin_wayland_drm: Enum 'Overlay': runtime-value = 0
kwin_wayland_drm: Enum 'Primary': runtime-value = 1
kwin_wayland_drm: Enum 'Cursor': runtime-value = 2
kwin_wayland_drm: => "type" with mapped enum value "Cursor"
But then in initPrimaryPlane it is unable to find any plane with type ==
Primary.
If I set a breakpoint on KWin::DrmPlane::type(), every single call returns
::Overlay as m_props[0] is nullptr.
REPOSITORY
R108 KWin
BRANCH
drm-property-safety
REVISION DETAIL
https://phabricator.kde.org/D8752
To: graesslin, #kwin, #plasma, fvogt, subdiff
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, mart