Unexpected flags for DRM properties when using Wayland

Apologies for filing a bit too many issues at once… this issue prevents launching the Gnome Shell w/ Wayland.

This is not applicable to the release initially shipped with Ubuntu 20.04.

Apr 11 17:00:33 nova gnome-shell[3760]: Running GNOME Shell (using mutter 42.0) as a Wayland display server
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'MODE_ID' (10000) had unexpected flags (0x0), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'ACTIVE' (10001) had unexpected flags (0x0), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'MODE_ID' (10007) had unexpected flags (0x0), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'ACTIVE' (10008) had unexpected flags (0x0), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'MODE_ID' (10014) had unexpected flags (0x0), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'ACTIVE' (10015) had unexpected flags (0x0), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40006) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40007) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40023) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40024) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40040) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40041) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40057) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40058) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40074) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40075) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40091) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40092) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40108) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40109) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40125) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40126) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_X' (40142) had unexpected flags (0x2), ignoring
Apr 11 17:00:33 nova gnome-shell[3760]: DRM property 'CRTC_Y' (40143) had unexpected flags (0x2), ignoring

followed by

Apr 11 17:00:37 nova gnome-shell[3760]: Page flip discarded: Connector property 'CRTC_ID' not found
Apr 11 17:00:37 nova gnome-shell[3760]: Failed to post KMS update: Plane property (CRTC_X) not found on 4001
Apr 11 17:00:37 nova gnome-shell[3760]: Page flip discarded: Plane property (CRTC_X) not found on 4001

On top of this, I’d like to remind that libdrm_nvdc has some missing functions, it should have symbol parity at worst to ensure that runtime linking works. Please consider that for a fix too.

These are respectively those functions:

drmCloseBufferHandle
drmGetDeviceFromDevId
drmGetFormatModifierName
drmGetFormatModifierVendor
drmIsKMS
drmModeFormatModifierBlobIterNext

(JetPack 5.0 DP)

Hi,
We have a demo sample for DRM:
Jetson Linux API Reference: 08_video_dec_drm (Direct Rendering Manager) | NVIDIA Docs

Before running it the default X11 has to be disabled. So in your use-case, it may not work properly if you run DRM with Wayland enabled.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.