emersion / emersion/drm-playground

Can't enable a CRTC without enabling the primary plane Ubuntu20.04 kernel:5.15.0-117-generic

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi Simon,

I'm trying to run your drm_playground on my Ubuntu machine. But atomic driver check failed with the error code -22. Can you suggest me a solution?

Thanks.

[ 2909.030238] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030253] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030268] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030283] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030298] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030314] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030329] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030344] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030359] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[ 2909.030394] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_DESTROYPROPBLOB
[ 2909.030409] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 99 (2)
[ 2909.030423] [drm:drm_ioctl [drm]] comm="drm_playground", pid=3533, ret=-1
[ 2909.030438] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATEPROPBLOB
[ 2909.030514] [drm:drm_ioctl [drm]] comm="drm_playground" pid=3533, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[ 2909.030530] [drm:drm_atomic_state_init [drm]] Allocated atomic state 0000000092712331
[ 2909.030549] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:40:plane-0] 00000000602fad45 state to 0000000092712331
[ 2909.030566] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:40:plane-0] state 00000000602fad45
[ 2909.030583] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:42:plane-1] 00000000f8c28a25 state to 0000000092712331
[ 2909.030598] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:42:plane-1] state 00000000f8c28a25
[ 2909.030614] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:44:plane-2] 0000000056b63160 state to 0000000092712331
[ 2909.030629] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:44:plane-2] state 0000000056b63160
[ 2909.030644] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:46:plane-3] 00000000f43da493 state to 0000000092712331
[ 2909.030658] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:46:plane-3] state 00000000f43da493
[ 2909.030674] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:48:plane-4] 000000008a6743a0 state to 0000000092712331
[ 2909.030688] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:48:plane-4] state 000000008a6743a0
[ 2909.030703] [drm:drm_mode_object_get [drm]] OBJ ID: 96 (2)
[ 2909.030718] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:50:plane-5] 0000000003d348c7 state to 0000000092712331
[ 2909.030733] [drm:drm_mode_object_get [drm]] OBJ ID: 99 (1)
[ 2909.030747] [drm:drm_mode_object_get [drm]] OBJ ID: 97 (1)
[ 2909.030761] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:53:crtc-0] 00000000f705a944 state to 0000000092712331
[ 2909.030776] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_crtc_for_plane [drm]] Link [PLANE:50:plane-5] state 0000000003d348c7 to [NOCRTC]
[ 2909.030791] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:50:plane-5] state 0000000003d348c7
[ 2909.030806] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 96 (3)
[ 2909.030820] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:52:plane-6] 00000000fa07efe9 state to 0000000092712331
[ 2909.030835] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:52:plane-6] state 00000000fa07efe9
[ 2909.030851] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 99 (2)
[ 2909.030865] [drm:drm_mode_object_get [drm]] OBJ ID: 98 (3)
[ 2909.030878] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_mode_prop_for_crtc [drm]] Set [MODE:1024x768] for [CRTC:53:crtc-0] state 00000000f705a944
[ 2909.030893] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 98 (4)
[ 2909.030907] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 98 (3)
[ 2909.030921] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:54:plane-7] 00000000cf5dc70e state to 0000000092712331
[ 2909.030936] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:54:plane-7] state 00000000cf5dc70e
[ 2909.030952] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:55:crtc-1] 00000000188b840b state to 0000000092712331
[ 2909.030967] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:56:plane-8] 00000000dd4f45b1 state to 0000000092712331
[ 2909.030981] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:56:plane-8] state 00000000dd4f45b1
[ 2909.030996] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:57:crtc-2] 00000000ee01a261 state to 0000000092712331
[ 2909.031011] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:58:plane-9] 000000003a0816d4 state to 0000000092712331
[ 2909.031026] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:58:plane-9] state 000000003a0816d4
[ 2909.031041] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:59:crtc-3] 000000000ad211bf state to 0000000092712331
[ 2909.031055] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:60:plane-10] 00000000743f27d5 state to 0000000092712331
[ 2909.031070] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:60:plane-10] state 00000000743f27d5
[ 2909.031085] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:61:crtc-4] 0000000086521e0a state to 0000000092712331
[ 2909.031099] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:62:plane-11] 000000000020c7aa state to 0000000092712331
[ 2909.031114] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:62:plane-11] state 000000000020c7aa
[ 2909.031129] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:63:crtc-5] 000000009867eb90 state to 0000000092712331
[ 2909.031144] [drm:drm_mode_object_get [drm]] OBJ ID: 65 (2)
[ 2909.031158] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:65:DP-1] 000000003a3b1baa state to 0000000092712331
[ 2909.031173] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 65 (3)
[ 2909.031188] [drm:drm_mode_object_get [drm]] OBJ ID: 70 (2)
[ 2909.031202] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:70:DP-2] 00000000cb57db03 state to 0000000092712331
[ 2909.031216] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 70 (3)
[ 2909.031231] [drm:drm_mode_object_get [drm]] OBJ ID: 74 (2)
[ 2909.031244] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:74:DP-3] 000000000a6c3718 state to 0000000092712331
[ 2909.031258] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 74 (3)
[ 2909.031272] [drm:drm_mode_object_get [drm]] OBJ ID: 78 (2)
[ 2909.031286] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:78:DP-4] 0000000010f991d0 state to 0000000092712331
[ 2909.031300] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 78 (3)
[ 2909.031314] [drm:drm_mode_object_get [drm]] OBJ ID: 82 (2)
[ 2909.031328] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:82:DP-5] 0000000076ff94e9 state to 0000000092712331
[ 2909.031342] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 82 (3)
[ 2909.031356] [drm:drm_mode_object_get [drm]] OBJ ID: 86 (4)
[ 2909.031370] [drm:drm_mode_object_get [drm]] OBJ ID: 86 (5)
[ 2909.031383] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:86:DP-6] 000000003855ec1d state to 0000000092712331
[ 2909.031397] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 86 (6)
[ 2909.031411] [drm:drm_atomic_check_only [drm]] checking 0000000092712331
[ 2909.031426] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:53:crtc-0] mode changed
[ 2909.031439] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:65:DP-1]
[ 2909.031449] [drm:update_connector_routing [drm_kms_helper]] Disabling [CONNECTOR:65:DP-1]
[ 2909.031458] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:70:DP-2]
[ 2909.031467] [drm:update_connector_routing [drm_kms_helper]] Disabling [CONNECTOR:70:DP-2]
[ 2909.031476] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:74:DP-3]
[ 2909.031485] [drm:update_connector_routing [drm_kms_helper]] Disabling [CONNECTOR:74:DP-3]
[ 2909.031494] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:78:DP-4]
[ 2909.031503] [drm:update_connector_routing [drm_kms_helper]] Disabling [CONNECTOR:78:DP-4]
[ 2909.031511] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:82:DP-5]
[ 2909.031520] [drm:update_connector_routing [drm_kms_helper]] Disabling [CONNECTOR:82:DP-5]
[ 2909.031529] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:86:DP-6]
[ 2909.031538] [drm:update_connector_routing [drm_kms_helper]] [CONNECTOR:86:DP-6] keeps [ENCODER:85:TMDS-85], now on [CRTC:53:crtc-0]
[ 2909.031548] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:53:crtc-0] needs all connectors, enable: y, active: y
[ 2909.031557] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:53:crtc-0] to 0000000092712331
[ 2909.031572] [drm:drm_atomic_add_affected_planes [drm]] Adding all current planes for [CRTC:53:crtc-0] to 0000000092712331
[ 2909.031587] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:85:TMDS-85] to 0000000092712331
[ 2909.031601] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:85:TMDS-85] to 0000000092712331
[ 2909.031616] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:53:crtc-0] to 0000000092712331
[ 2909.031630] [drm:drm_atomic_add_affected_planes [drm]] Adding all current planes for [CRTC:53:crtc-0] to 0000000092712331
[ 2909.031644] [drm:drm_atomic_normalize_zpos [drm]] [CRTC:53:crtc-0] calculating normalized zpos values
[ 2909.031660] [drm:dm_update_plane_state [amdgpu]] Disabling DRM plane: 50 on DRM crtc 53
[ 2909.031815] [drm:drm_atomic_get_private_obj_state [drm]] Added new private object 000000000104f8c2 state 00000000df1e1e30 to 0000000092712331
[ 2909.031833] [drm:dm_update_crtc_state [amdgpu]] amdgpu_crtc id:0 crtc_state_flags: enable:1, active:1, planes_changed:0, mode_changed:1,active_changed:0,connectors_changed:0
[ 2909.031962] [drm:dm_update_crtc_state [amdgpu]] Disabling DRM crtc: 53
[ 2909.032111] [drm:update_stream_scaling_settings [amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
[ 2909.032235] [drm:dm_update_crtc_state [amdgpu]] amdgpu_crtc id:0 crtc_state_flags: enable:1, active:1, planes_changed:0, mode_changed:1,active_changed:0,connectors_changed:0
[ 2909.032359] [drm:dm_update_crtc_state [amdgpu]] Enabling DRM crtc: 53
[ 2909.032484] [drm:update_stream_scaling_settings [amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
[ 2909.033341] [drm:dm_crtc_helper_atomic_check [amdgpu]] Can't enable a CRTC without enabling the primary plane
[ 2909.033473] [drm:drm_atomic_helper_check_planes [drm_kms_helper]] [CRTC:53:crtc-0] atomic driver check failed
[ 2909.033484] [drm:amdgpu_dm_atomic_check [amdgpu]] Atomic check failed with err: -22
[ 2909.033611] [drm:drm_atomic_check_only [drm]] atomic driver check for 0000000092712331 failed: -22
[ 2909.033629] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 0000000092712331
[ 2909.033644] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 65 (2)
[ 2909.033660] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 70 (2)
[ 2909.033675] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 74 (2)
[ 2909.033688] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 78 (2)
[ 2909.033702] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 82 (2)
[ 2909.033716] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 86 (5)
[ 2909.033729] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 86 (4)
[ 2909.033743] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 98 (2)
[ 2909.033756] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 97 (2)
[ 2909.033773] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 0000000092712331
[ 2909.033789] [drm:drm_ioctl [drm]] comm="drm_playground", pid=3533, ret=-22
[ 2909.033926] [drm:drm_release [drm]] open_count = 1
[ 2909.033941] [drm:drm_file_free.part.0 [drm]] comm="drm_playground", pid=3533, dev=0xe200, open_count=1
[ 2909.033955] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 98 (1)
[ 2909.033970] [drm:_drm_lease_revoke [drm]] revoke leases for 0000000052091ada 0
[ 2909.033985] [drm:drm_lease_destroy [drm]] drm_lease_destroy 0
[ 2909.034000] [drm:drm_lease_destroy [drm]] drm_lease_destroy done 0
[ 2909.034823] [drm:drm_lastclose [drm]]
[ 2909.034839] [drm:drm_atomic_state_init [drm]] Allocated atomic state 000000009bde1bb8
[ 2909.034853] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:40:plane-0] 0000000052091ada state to 000000009bde1bb8
[ 2909.034869] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:42:plane-1] 000000008d3afa62 state to 000000009bde1bb8
[ 2909.034883] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:44:plane-2] 000000000020c7aa state to 000000009bde1bb8
[ 2909.034897] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:46:plane-3] 00000000743f27d5 state to 000000009bde1bb8
[ 2909.034911] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:48:plane-4] 000000003a0816d4 state to 000000009bde1bb8
[ 2909.034925] [drm:drm_mode_object_get [drm]] OBJ ID: 96 (2)
[ 2909.034940] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:50:plane-5] 00000000dd4f45b1 state to 000000009bde1bb8
[ 2909.034954] [drm:drm_mode_object_get [drm]] OBJ ID: 99 (1)
[ 2909.034968] [drm:drm_mode_object_get [drm]] OBJ ID: 97 (1)
[ 2909.034981] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:53:crtc-0] 000000009634197c state to 000000009bde1bb8
[ 2909.034995] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:52:plane-6] 00000000cf5dc70e state to 000000009bde1bb8
[ 2909.035010] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:52:plane-6] state 00000000cf5dc70e
[ 2909.035025] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:54:plane-7] 00000000fa07efe9 state to 000000009bde1bb8
[ 2909.035039] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:54:plane-7] state 00000000fa07efe9
[ 2909.035054] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:56:plane-8] 0000000003d348c7 state to 000000009bde1bb8
[ 2909.035068] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:56:plane-8] state 0000000003d348c7
[ 2909.035083] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:58:plane-9] 000000008a6743a0 state to 000000009bde1bb8
[ 2909.035097] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:58:plane-9] state 000000008a6743a0
[ 2909.035112] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:60:plane-10] 00000000f43da493 state to 000000009bde1bb8
[ 2909.035126] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:60:plane-10] state 00000000f43da493
[ 2909.035141] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:62:plane-11] 0000000056b63160 state to 000000009bde1bb8
[ 2909.035155] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:62:plane-11] state 0000000056b63160
[ 2909.035170] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [FB:96] for [PLANE:50:plane-5] state 00000000dd4f45b1
[ 2909.035184] [drm:drm_mode_object_get [drm]] OBJ ID: 96 (3)
[ 2909.035198] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 96 (4)
[ 2909.035212] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:53:crtc-0] to 000000009bde1bb8
[ 2909.035227] [drm:drm_mode_object_get [drm]] OBJ ID: 86 (4)
[ 2909.035241] [drm:drm_mode_object_get [drm]] OBJ ID: 86 (5)
[ 2909.035254] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:86:DP-6] 00000000f8c28a25 state to 000000009bde1bb8
[ 2909.035269] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 86 (5)
[ 2909.035282] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:86:DP-6] state 00000000f8c28a25 to [NOCRTC]
[ 2909.035297] [drm:drm_mode_object_get [drm]] OBJ ID: 86 (4)
[ 2909.035311] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:86:DP-6] state 00000000f8c28a25 to [CRTC:53:crtc-0]
[ 2909.035326] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:55:crtc-1] 000000009a36e62a state to 000000009bde1bb8
[ 2909.035341] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:55:crtc-1] state 000000009a36e62a
[ 2909.035356] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:48:plane-4] state 000000003a0816d4
[ 2909.035371] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:55:crtc-1] to 000000009bde1bb8
[ 2909.035386] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:57:crtc-2] 000000009867eb90 state to 000000009bde1bb8
[ 2909.035400] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:57:crtc-2] state 000000009867eb90
[ 2909.035415] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:46:plane-3] state 00000000743f27d5
[ 2909.035429] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:57:crtc-2] to 000000009bde1bb8
[ 2909.035443] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:59:crtc-3] 0000000086521e0a state to 000000009bde1bb8
[ 2909.035457] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:59:crtc-3] state 0000000086521e0a
[ 2909.035472] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:44:plane-2] state 000000000020c7aa
[ 2909.035486] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:59:crtc-3] to 000000009bde1bb8
[ 2909.035501] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:61:crtc-4] 000000000ad211bf state to 000000009bde1bb8
[ 2909.035515] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:61:crtc-4] state 000000000ad211bf
[ 2909.035529] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:42:plane-1] state 000000008d3afa62
[ 2909.035543] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:61:crtc-4] to 000000009bde1bb8
[ 2909.035558] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:63:crtc-5] 00000000ee01a261 state to 000000009bde1bb8
[ 2909.035572] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:63:crtc-5] state 00000000ee01a261
[ 2909.035586] amdgpu 0000:0d:00.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:40:plane-0] state 0000000052091ada
[ 2909.035601] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:63:crtc-5] to 000000009bde1bb8
[ 2909.035615] [drm:drm_atomic_check_only [drm]] checking 000000009bde1bb8
[ 2909.035630] [drm:update_connector_routing [drm_kms_helper]] Updating routing for [CONNECTOR:86:DP-6]
[ 2909.035642] [drm:update_connector_routing [drm_kms_helper]] [CONNECTOR:86:DP-6] keeps [ENCODER:85:TMDS-85], now on [CRTC:53:crtc-0]
[ 2909.035652] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:85:TMDS-85] to 000000009bde1bb8
[ 2909.035667] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:85:TMDS-85] to 000000009bde1bb8
[ 2909.035682] [drm:dm_update_plane_state [amdgpu]] Disabling DRM plane: 50 on DRM crtc 53
[ 2909.035828] [drm:drm_atomic_get_private_obj_state [drm]] Added new private object 000000000104f8c2 state 00000000df1e1e30 to 000000009bde1bb8
[ 2909.035853] [drm:dm_update_plane_state [amdgpu]] Enabling DRM plane: 50 on DRM crtc 53
[ 2909.036215] [drm:drm_atomic_commit [drm]] committing 000000009bde1bb8
[ 2909.036234] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.036364] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.036488] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.036612] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.036734] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.036858] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.036981] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.037104] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.037226] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.037348] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.037470] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
[ 2909.037597] amdgpu 0000:0d:00.0: [drm:drm_calc_timestamping_constants [drm]] crtc 53: hwmode: htotal 2200, vtotal 1125, vdisplay 1080
[ 2909.037616] amdgpu 0000:0d:00.0: [drm:drm_calc_timestamping_constants [drm]] crtc 53: clock 148500 kHz framedur 16666666 linedur 14814
[ 2909.037631] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] amdgpu_crtc id:0 crtc_state_flags: enable:1, active:1, planes_changed:1, mode_changed:0,active_changed:0,connectors_changed:0
[ 2909.037757] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] amdgpu_crtc id:1 crtc_state_flags: enable:0, active:0, planes_changed:0, mode_changed:0,active_changed:0,connectors_changed:0
[ 2909.037881] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] amdgpu_crtc id:2 crtc_state_flags: enable:0, active:0, planes_changed:0, mode_changed:0,active_changed:0,connectors_changed:0
[ 2909.038005] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] amdgpu_crtc id:3 crtc_state_flags: enable:0, active:0, planes_changed:0, mode_changed:0,active_changed:0,connectors_changed:0
[ 2909.038129] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] amdgpu_crtc id:4 crtc_state_flags: enable:0, active:0, planes_changed:0, mode_changed:0,active_changed:0,connectors_changed:0
[ 2909.038252] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] amdgpu_crtc id:5 crtc_state_flags: enable:0, active:0, planes_changed:0, mode_changed:0,active_changed:0,connectors_changed:0
[ 2909.038379] [drm:amdgpu_dm_commit_planes.constprop.0 [amdgpu]] plane: id=5 dcc_en=0
[ 2909.038502] [drm:amdgpu_dm_commit_planes.constprop.0 [amdgpu]] amdgpu_dm_commit_planes Flipping to hi: 0xf4, low: 0x530000
[ 2909.038757] amdgpu 0000:0d:00.0: [drm:drm_vblank_enable [drm]] enabling vblank on crtc 0, ret: 0
[ 2909.038787] [drm:vblank_control_worker [amdgpu]] Allow idle optimizations (MALL): 0
[ 2909.054562] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13808, wptr 13840
[ 2909.054846] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 000000009bde1bb8
[ 2909.054868] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 86 (5)
[ 2909.054888] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 86 (4)
[ 2909.054905] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 99 (2)
[ 2909.054922] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 97 (2)
[ 2909.054941] [drm:drm_mode_object_put.part.0 [drm]] OBJ ID: 96 (3)
[ 2909.054961] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 000000009bde1bb8
[ 2909.054981] [drm:drm_lastclose [drm]] driver lastclose completed
[ 2909.071255] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13840, wptr 13856
[ 2909.087908] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13856, wptr 13872
[ 2909.104591] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13872, wptr 13888
[ 2909.121257] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13888, wptr 13904
[ 2909.137910] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13904, wptr 13920
[ 2909.154589] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13920, wptr 13936
[ 2909.171256] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13936, wptr 13952
[ 2909.187923] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13952, wptr 13968
[ 2909.204591] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13968, wptr 13984
[ 2909.221232] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 13984, wptr 14000
[ 2909.237899] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 14000, wptr 14016
[ 2909.254566] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 14016, wptr 14032
[ 2909.271245] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 14032, wptr 14048
[ 2909.288370] [drm:amdgpu_ih_process [amdgpu]] amdgpu_ih_process: rptr 14048, wptr 14064

Contributor guide

Open the contributing guide

Research direction

Start by reproducing drm_playground on Ubuntu 20.04 with kernel 5.15.0-117-generic and inspect the atomic setup associated with the reported DRM log. Done means identifying a reproducible cause and documenting or implementing a verified resolution for the atomic driver check failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.