[Intel-gfx] adding CRTC not allowed without modesets

Greg Stark stark at mit.edu
Wed Dec 22 00:35:28 UTC 2021


FYI. I recently added a thunderbolt hub and it's basically working ok
but I my log gets spammed with logs like this:

adding CRTC not allowed without modesets: requested 0x2, affected 0xf

Looking at the list it seems this is a known issue and there's work
afoot in this area but I get the impression people that it was seen as
features for the future and for improved security and resource
management. Not that it was understood to be causing user pain. In
this case the screen flickers to black and sometimes parts of it stay
black. It seems to be correlated with the log messages.

-- 
greg
-------------- next part --------------
Dec 21 19:21:56 hatter kernel: [   23.775774] i915 0000:00:02.0: [drm] *ERROR* mstb 0000000072522189 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
Dec 21 19:21:56 hatter kernel: [   23.784105] i915 0000:00:02.0: [drm] *ERROR* mstb 0000000072522189 port 2: DPCD read on addr 0x4b0 for 1 bytes NAKed
Dec 21 19:21:56 hatter kernel: [   23.791802] i915 0000:00:02.0: [drm] *ERROR* mstb 0000000072522189 port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
Dec 21 19:21:56 hatter kernel: [   23.900638] logitech-hidpp-device 0003:046D:405E.000A: HID++ 4.5 device connected.
Dec 21 19:21:56 hatter kernel: [   24.246701] ------------[ cut here ]------------
Dec 21 19:21:56 hatter kernel: [   24.246703] adding CRTC not allowed without modesets: requested 0x2, affected 0xf
Dec 21 19:21:56 hatter kernel: [   24.246769] WARNING: CPU: 0 PID: 1942 at drivers/gpu/drm/drm_atomic.c:1379 drm_atomic_check_only+0x7cd/0x8e0 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246792] Modules linked in: ctr(E) ccm(E) snd_seq_dummy(E) snd_hrtimer(E) snd_seq(E) snd_hda_codec_hdmi(E) rfcomm(E) cmac(E) algif_hash(E) algif_skcipher(E) af_alg(E) bnep(E) mei_hdcp(E) intel_rapl_msr(E) binfmt_misc(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) coretemp(E) kvm_intel(E) snd_sof_pci_intel_tgl(E) kvm(E) snd_sof_intel_hda_common(E) soundwire_intel(E) irqbypass(E) soundwire_generic_allocation(E) iwlmvm(E) intel_cstate(E) soundwire_cadence(E) snd_sof_intel_hda(E) intel_uncore(E) snd_sof_pci(E) snd_sof_xtensa_dsp(E) pcspkr(E) snd_sof(E) mac80211(E) snd_soc_hdac_hda(E) snd_hda_codec_realtek(E) snd_hda_ext_core(E) iTCO_wdt(E) snd_soc_acpi_intel_match(E) intel_pmc_bxt(E) serio_raw(E) efi_pstore(E) iTCO_vendor_support(E) snd_hda_codec_generic(E) wmi_bmof(E) libarc4(E) ee1004(E) snd_soc_acpi(E) watchdog(E) snd_soc_core(E) snd_compress(E) soundwire_bus(E) ledtrig_audio(E) btusb(E) snd_hda_intel(E) iwlwifi(E) btrtl(E) uvcvideo(E) snd_intel_dspcfg(E) btbcm(E)
Dec 21 19:21:56 hatter kernel: [   24.246828]  snd_intel_sdw_acpi(E) videobuf2_vmalloc(E) btintel(E) videobuf2_memops(E) snd_hda_codec(E) mei_me(E) videobuf2_v4l2(E) snd_hda_core(E) videobuf2_common(E) cfg80211(E) bluetooth(E) mei(E) hid_multitouch(E) videodev(E) jitterentropy_rng(E) sha512_ssse3(E) sha512_generic(E) snd_usb_audio(E) snd_usbmidi_lib(E) drbg(E) snd_hwdep(E) snd_rawmidi(E) joydev(E) snd_seq_device(E) mc(E) ansi_cprng(E) cdc_ether(E) snd_pcm(E) usbnet(E) nls_ascii(E) hid_sensor_als(E) snd_timer(E) hid_sensor_trigger(E) nls_cp437(E) ecdh_generic(E) hid_sensor_iio_common(E) r8152(E) rfkill(E) industrialio_triggered_buffer(E) snd(E) kfifo_buf(E) vfat(E) fat(E) soundcore(E) sg(E) mii(E) ecc(E) industrialio(E) processor_thermal_device_pci_legacy(E) processor_thermal_device(E) processor_thermal_rfim(E) processor_thermal_mbox(E) ucsi_acpi(E) processor_thermal_rapl(E) intel_rapl_common(E) typec_ucsi(E) intel_soc_dts_iosf(E) roles(E) typec(E) int3403_thermal(E) int340x_thermal_zone(E) ac(E) evdev(E)
Dec 21 19:21:56 hatter kernel: [   24.246850]  intel_pmc_core(E) int3400_thermal(E) acpi_thermal_rel(E) acpi_pad(E) msr(E) parport_pc(E) ppdev(E) lp(E) parport(E) fuse(E) configfs(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) hid_logitech_hidpp(E) hid_logitech_dj(E) sd_mod(E) dm_crypt(E) dm_mod(E) usbhid(E) uas(E) usb_storage(E) scsi_mod(E) scsi_common(E) hid_sensor_custom(E) hid_sensor_hub(E) intel_ishtp_hid(E) hid_generic(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) i915(E) aesni_intel(E) crypto_simd(E) cryptd(E) xhci_pci(E) i2c_algo_bit(E) psmouse(E) ttm(E) i2c_i801(E) intel_lpss_pci(E) xhci_hcd(E) i2c_smbus(E) intel_lpss(E) nvme(E) intel_ish_ipc(E) idma64(E) usbcore(E) drm_kms_helper(E) intel_ishtp(E) thunderbolt(E) usb_common(E) cec(E) nvme_core(E) t10_pi(E) rc_core(E) crc_t10dif(E) crct10dif_generic(E) i2c_hid_acpi(E) i2c_hid(E) crct10dif_pclmul(E) drm(E) crct10dif_common(E) wmi(E) hid(E) battery(E) button(E) video(E)
Dec 21 19:21:56 hatter kernel: [   24.246883] CPU: 0 PID: 1942 Comm: gnome-shell Tainted: G            E     5.16.0-rc5-amd64 #1  Debian 5.16~rc5-1~exp1
Dec 21 19:21:56 hatter kernel: [   24.246885] Hardware name: Framework Laptop/FRANBMCP06, BIOS 03.02 07/01/2021
Dec 21 19:21:56 hatter kernel: [   24.246885] RIP: 0010:drm_atomic_check_only+0x7cd/0x8e0 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246897] Code: 46 c0 89 04 24 bf 10 00 00 00 e8 1e bf 00 00 8b 04 24 e9 ac fa ff ff 8b 74 24 14 44 89 e2 48 c7 c7 f0 b0 46 c0 e8 ec cc 8b ce <0f> 0b 31 c0 e9 ae fd ff ff 49 8b 4d 18 41 8b 55 58 bf 10 00 00 00
Dec 21 19:21:56 hatter kernel: [   24.246898] RSP: 0018:ffffb57ac1f53c58 EFLAGS: 00010282
Dec 21 19:21:56 hatter kernel: [   24.246901] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000000
Dec 21 19:21:56 hatter kernel: [   24.246902] RDX: 0000000000000001 RSI: ffffffff8f54d616 RDI: 00000000ffffffff
Dec 21 19:21:56 hatter kernel: [   24.246902] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb57ac1f53a88
Dec 21 19:21:56 hatter kernel: [   24.246903] R10: ffffb57ac1f53a80 R11: ffffffff8fad2468 R12: 000000000000000f
Dec 21 19:21:56 hatter kernel: [   24.246903] R13: 0000000000000008 R14: ffff95888640c000 R15: 0000000000000000
Dec 21 19:21:56 hatter kernel: [   24.246904] FS:  00007f3e809de3c0(0000) GS:ffff9597efa00000(0000) knlGS:0000000000000000
Dec 21 19:21:56 hatter kernel: [   24.246905] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 21 19:21:56 hatter kernel: [   24.246905] CR2: 00007f3e7b973000 CR3: 000000010899c004 CR4: 0000000000770ef0
Dec 21 19:21:56 hatter kernel: [   24.246906] PKRU: 55555554
Dec 21 19:21:56 hatter kernel: [   24.246907] Call Trace:
Dec 21 19:21:56 hatter kernel: [   24.246909]  <TASK>
Dec 21 19:21:56 hatter kernel: [   24.246910]  drm_atomic_nonblocking_commit+0x13/0x50 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246921]  drm_mode_atomic_ioctl+0x940/0xaf0 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246933]  ? drm_plane_get_damage_clips.cold+0x1c/0x1c [drm]
Dec 21 19:21:56 hatter kernel: [   24.246944]  ? drm_atomic_set_property+0xb50/0xb50 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246955]  drm_ioctl_kernel+0xae/0x140 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246965]  drm_ioctl+0x220/0x3e0 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246975]  ? drm_atomic_set_property+0xb50/0xb50 [drm]
Dec 21 19:21:56 hatter kernel: [   24.246986]  __x64_sys_ioctl+0x7f/0xb0
Dec 21 19:21:56 hatter kernel: [   24.246990]  do_syscall_64+0x38/0xc0
Dec 21 19:21:56 hatter kernel: [   24.246992]  entry_SYSCALL_64_after_hwframe+0x44/0xae
Dec 21 19:21:56 hatter kernel: [   24.246994] RIP: 0033:0x7f3e863c1867
Dec 21 19:21:56 hatter kernel: [   24.246995] Code: 3c 1c 48 f7 d8 4c 39 e0 77 b9 e8 24 ff ff ff 85 c0 78 be 4c 89 e0 5b 5d 41 5c c3 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d1 95 0c 00 f7 d8 64 89 01 48
Dec 21 19:21:56 hatter kernel: [   24.246996] RSP: 002b:00007ffd8e8fce58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Dec 21 19:21:56 hatter kernel: [   24.246998] RAX: ffffffffffffffda RBX: 00007ffd8e8fcea0 RCX: 00007f3e863c1867
Dec 21 19:21:56 hatter kernel: [   24.246998] RDX: 00007ffd8e8fcea0 RSI: 00000000c03864bc RDI: 0000000000000009
Dec 21 19:21:56 hatter kernel: [   24.246999] RBP: 00000000c03864bc R08: 0000000000000001 R09: 0000000000000001
Dec 21 19:21:56 hatter kernel: [   24.246999] R10: 0000000000008000 R11: 0000000000000246 R12: 000056491551eb30
Dec 21 19:21:56 hatter kernel: [   24.247000] R13: 0000000000000009 R14: 0000564915f4b7b0 R15: 0000564916949530
Dec 21 19:21:56 hatter kernel: [   24.247001]  </TASK>
Dec 21 19:21:56 hatter kernel: [   24.247002] ---[ end trace 99bd0e92637a9d24 ]---
Dec 21 19:21:58 hatter kernel: [   25.793900] ------------[ cut here ]------------
Dec 21 19:21:58 hatter kernel: [   25.793902] adding CRTC not allowed without modesets: requested 0x2, affected 0xf


More information about the Intel-gfx mailing list