I tried to use both kernels in my Latitude 5440:
linux-image-6.8.0-51-generic
linux-image-6.11.0-1010-oem

Both have the flickering problem.

The option intel_iommu=igfx_off make the flickering less often but do not solve 
the problem.
intel_idle.max_cstate=2 i915.enable_dc=0 make it worse.

lspci
0000:00:00.0 Host bridge: Intel Corporation Raptor Lake-P/U 2p+8e cores Host 
Bridge/DRAM Controller (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [UHD 
Graphics] (rev 04)
0000:00:04.0 Signal processing controller: Intel Corporation Raptor Lake 
Dynamic Platform and Thermal Framework Processor Participant (rev 01)
0000:00:06.0 System peripheral: Intel Corporation RST VMD Managed Controller
0000:00:07.0 PCI bridge: Intel Corporation Raptor Lake-P Thunderbolt 4 PCI 
Express Root Port #0 (rev 01)
0000:00:07.1 PCI bridge: Intel Corporation Device a73f (rev 01)
0000:00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator 
module (rev 01)
0000:00:0a.0 Signal processing controller: Intel Corporation Raptor Lake 
Crashlog and Telemetry (rev 01)
0000:00:0d.0 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 USB 
Controller (rev 01)
0000:00:0d.2 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI 
#0 (rev 01)
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device 
NVMe RAID Controller Intel Corporation
0000:00:12.0 Serial controller: Intel Corporation Alder Lake-P Integrated 
Sensor Hub (rev 01)
0000:00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host 
Controller (rev 01)
0000:00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
0000:00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi 
(rev 01)
0000:00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO 
I2C Controller #0 (rev 01)
0000:00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO 
I2C Controller #1 (rev 01)
0000:00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI 
Controller (rev 01)
0000:00:1f.0 ISA bridge: Intel Corporation Raptor Lake LPC/eSPI Controller (rev 
01)
0000:00:1f.3 Audio device: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
0000:00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller 
(rev 01)
0000:00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI 
Controller (rev 01)
0000:00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (23) 
I219-LM (rev 01)
10000:e0:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port 
(rev 01)
10000:e1:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe 
SSD Controller PM9B1 (DRAM-less) (rev 02)

lsmod
Module                  Size  Used by
ccm                    20480  6
rfcomm                102400  4
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
qrtr                   53248  2
cmac                   12288  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   32768  2
snd_hda_codec_hdmi     98304  1
xe                   3141632  0
snd_hda_codec_realtek   212992  1
snd_hda_codec_generic   122880  1 snd_hda_codec_realtek
snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
drm_gpuvm              45056  1 xe
drm_exec               12288  2 drm_gpuvm,xe
gpu_sched              61440  1 xe
drm_suballoc_helper    20480  1 xe
drm_ttm_helper         16384  1 xe
snd_sof_pci_intel_tgl    12288  0
snd_sof_pci_intel_cnl    20480  1 snd_sof_pci_intel_tgl
snd_sof_intel_hda_generic    36864  2 
snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
soundwire_intel        77824  1 snd_sof_intel_hda_generic
soundwire_cadence      40960  1 soundwire_intel
snd_sof_intel_hda_common   184320  3 
snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_sof_intel_hda_mlink    45056  3 
soundwire_intel,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_intel_hda      24576  2 
snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_pci            24576  3 
snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     12288  1 snd_sof_intel_hda_generic
snd_sof               385024  5 
snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda_generic,snd_sof_intel_hda,snd_sof_pci_intel_cnl
dell_pc                12288  0
platform_profile       12288  1 dell_pc
snd_sof_utils          16384  1 snd_sof
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_ctl_led            24576  0
snd_soc_acpi_intel_match   114688  3 
snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
soundwire_generic_allocation    12288  1 soundwire_intel
snd_soc_acpi           16384  2 
snd_soc_acpi_intel_match,snd_sof_intel_hda_generic
soundwire_bus         122880  3 
soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_avs           196608  0
snd_soc_hda_codec      24576  1 snd_soc_avs
snd_hda_ext_core       32768  6 
snd_soc_avs,snd_soc_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_soc_core          434176  6 
snd_soc_avs,snd_soc_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_compress           28672  2 snd_soc_avs,snd_soc_core
ac97_bus               12288  1 snd_soc_core
binfmt_misc            24576  1
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          61440  1
intel_uncore_frequency    12288  0
intel_uncore_frequency_common    16384  1 intel_uncore_frequency
snd_intel_dspcfg       45056  5 
snd_soc_avs,snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_intel_sdw_acpi     16384  2 snd_intel_dspcfg,snd_sof_intel_hda_generic
snd_hda_codec         204800  8 
snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_usb_audio         524288  2
nls_iso8859_1          12288  1
dell_rbtn              20480  0
snd_hda_core          143360  11 
snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_usbmidi_lib        53248  1 snd_usb_audio
snd_ump                45056  1 snd_usb_audio
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
iwlmvm                909312  0
snd_pcm               196608  13 
snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
cmdlinepart            16384  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       24576  0
spi_nor               163840  0
snd_seq_midi           24576  0
coretemp               24576  0
dell_laptop            32768  0
mei_hdcp               28672  0
mei_pxp                16384  0
ee1004                 16384  0
mtd                    98304  4 spi_nor,cmdlinepart
mac80211             1757184  1 iwlmvm
kvm_intel             487424  0
snd_seq_midi_event     16384  1 snd_seq_midi
uvcvideo              143360  0
snd_rawmidi            57344  3 snd_seq_midi,snd_usbmidi_lib,snd_ump
intel_rapl_msr         20480  0
i915                 4558848  10
libarc4                12288  1 mac80211
dell_wmi               28672  1 dell_laptop
kvm                  1421312  1 kvm_intel
btusb                  69632  0
snd_seq               122880  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
videobuf2_vmalloc      20480  1 uvcvideo
uvc                    12288  1 uvcvideo
iwlwifi               634880  1 iwlmvm
btrtl                  36864  1 btusb
dell_smbios            36864  3 dell_wmi,dell_pc,dell_laptop
hid_sensor_custom_intel_hinge    12288  0
hid_sensor_als         16384  1
hid_sensor_accel_3d    16384  0
btintel                69632  1 btusb
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         36864  1 uvcvideo
btbcm                  24576  1 btusb
dcdbas                 20480  1 dell_smbios
hid_sensor_trigger     20480  6 
hid_sensor_custom_intel_hinge,hid_sensor_als,hid_sensor_accel_3d
snd_seq_device         16384  4 snd_seq,snd_seq_midi,snd_ump,snd_rawmidi
rapl                   20480  0
intel_cstate           24576  0
videodev              360448  2 videobuf2_v4l2,uvcvideo
dell_wmi_ddv           24576  0
dell_wmi_sysman        49152  0
dell_smm_hwmon         36864  0
btmtk                  36864  1 btusb
drm_buddy              24576  2 xe,i915
processor_thermal_device_pci    16384  0
industrialio_triggered_buffer    12288  1 hid_sensor_trigger
firmware_attributes_class    12288  1 dell_wmi_sysman
i2c_i801               36864  0
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
wmi_bmof               12288  0
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
videobuf2_common       86016  4 
videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
mei_me                 53248  2
kfifo_buf              12288  1 industrialio_triggered_buffer
processor_thermal_device    20480  1 processor_thermal_device_pci
ttm                   110592  3 drm_ttm_helper,xe,i915
i2c_mux                16384  1 i2c_i801
hid_sensor_iio_common    24576  4 
hid_sensor_trigger,hid_sensor_custom_intel_hinge,hid_sensor_als,hid_sensor_accel_3d
spi_intel_pci          12288  0
cfg80211             1351680  3 iwlmvm,iwlwifi,mac80211
mei                   172032  5 mei_hdcp,mei_pxp,mei_me
spi_intel              32768  1 spi_intel_pci
i2c_smbus              16384  1 i2c_i801
mc                     81920  5 
videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
snd                   143360  26 
snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_ump,snd_pcm,snd_rawmidi
industrialio          135168  7 
industrialio_triggered_buffer,hid_sensor_trigger,hid_sensor_custom_intel_hinge,kfifo_buf,hid_sensor_als,hid_sensor_accel_3d
processor_thermal_wt_hint    16384  2 
processor_thermal_device_pci,processor_thermal_device
drm_display_helper    278528  2 xe,i915
bluetooth            1007616  34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
processor_thermal_rfim    36864  1 processor_thermal_device
soundcore              16384  2 snd_ctl_led,snd
processor_thermal_rapl    16384  1 processor_thermal_device
cec                    94208  3 drm_display_helper,xe,i915
intel_rapl_common      53248  2 intel_rapl_msr,processor_thermal_rapl
rc_core                73728  1 cec
processor_thermal_wt_req    12288  1 processor_thermal_device
processor_thermal_power_floor    12288  2 
processor_thermal_device_pci,processor_thermal_device
i2c_algo_bit           16384  2 xe,i915
processor_thermal_mbox    12288  4 
processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint
igen6_edac             24576  0
int3403_thermal        16384  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
intel_pmc_core        122880  0
intel_hid              28672  0
intel_vsec             20480  1 intel_pmc_core
sparse_keymap          12288  2 intel_hid,dell_wmi
int3400_thermal        24576  0
dptf_pch_fivr          12288  0
pmt_telemetry          16384  1 intel_pmc_core
acpi_tad               20480  0
pmt_class              16384  1 pmt_telemetry
acpi_thermal_rel       20480  1 int3400_thermal
acpi_pad              184320  0
input_leds             12288  0
joydev                 32768  0
mac_hid                12288  0
serio_raw              20480  0
sch_fq_codel           24576  2
msr                    12288  0
parport_pc             53248  0
ppdev                  24576  0
lp                     28672  0
parport                73728  3 parport_pc,lp,ppdev
efi_pstore             12288  0
nfnetlink              20480  1
dmi_sysfs              24576  0
ip_tables              32768  0
x_tables               65536  1 ip_tables
autofs4                57344  2
dm_crypt               65536  1
hid_sensor_custom      28672  0
hid_sensor_hub         28672  6 
hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_custom_intel_hinge,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_custom
intel_ishtp_hid        32768  0
usbhid                 77824  0
nvme                   61440  3
nvme_core             221184  4 nvme
nvme_auth              28672  1 nvme_core
hid_multitouch         36864  0
ahci                   49152  0
hid_generic            12288  0
libahci                53248  1 ahci
crct10dif_pclmul       12288  1
crc32_pclmul           12288  0
polyval_clmulni        12288  0
polyval_generic        12288  1 polyval_clmulni
ghash_clmulni_intel    16384  0
sha256_ssse3           32768  0
video                  77824  4 dell_wmi,dell_laptop,xe,i915
sha1_ssse3             32768  0
psmouse               217088  0
intel_lpss_pci         24576  0
intel_lpss             12288  1 intel_lpss_pci
ucsi_acpi              12288  0
e1000e                356352  0
intel_ish_ipc          32768  0
i2c_hid_acpi           12288  0
thunderbolt           536576  0
idma64                 20480  0
typec_ucsi             61440  1 ucsi_acpi
xhci_pci               24576  0
intel_ishtp            73728  2 intel_ishtp_hid,intel_ish_ipc
i2c_hid                40960  1 i2c_hid_acpi
vmd                    28672  0
xhci_pci_renesas       20480  1 xhci_pci
typec                 110592  1 typec_ucsi
hid                   262144  6 
i2c_hid,usbhid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
wmi                    28672  8 
dell_wmi_sysman,video,dell_wmi_ddv,dell_wmi,wmi_bmof,dell_smm_hwmon,dell_smbios,dell_wmi_descriptor
pinctrl_tigerlake      28672  1
aesni_intel           118784  10
crypto_simd            16384  1 aesni_intel
cryptd                 24576  4 crypto_simd,ghash_clmulni_intel

Anyone has any other idea to mitigate this problem?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-6.8 in Ubuntu.
https://bugs.launchpad.net/bugs/2062951

Title:
  Random flickering with Intel i915 (Gen4+ GPUs) on Linux

Status in Linux:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-hwe-6.8 package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Confirmed
Status in linux-hwe-6.8 source package in Jammy:
  Fix Released
Status in linux source package in Noble:
  Fix Released
Status in linux-hwe-6.8 source package in Noble:
  Confirmed
Status in linux source package in Oracular:
  Fix Released
Status in linux-hwe-6.8 source package in Oracular:
  Confirmed

Bug description:
  SRU Justification

  [Impact]
  The flickering predominantly occurs when the mouse cursor is in the bottom 
quarter of the screen and stops when the cursor leaves this area.
  Extensive testing across various kernel versions revealed that the issue 
became apparent from kernel version 6.8.0 onward, correlating with the 
mentioned configuration changes, CONFIG_INTEL_IOMMU_DEFAULT_ON and 
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON.
  The problem persists in the latest drm tip.

  [Fix]
  As an immediate workaround, adding 'intel_iommu=igfx_off' to the kernel 
command line has been found to effectively eliminate the flickering issue. 
  This patch proposes the same behavior as 'intel_iommu=igfx_off' and apply the 
rule to all Intel SKL GPU IDs.

  [Test]
  1. Boot up to desktop with 6.8.0-x kernels
  2. Moving cursor around the desktop
  3. There should be no flicker while cursor is moving

  [Where problems could occur]
  For virtualized environments using hardware-assisted virtualization for 
graphics (such as VFIO or mediated pass-through), disabling IOMMU for graphics 
could either disable these features or reduce their security and efficiency.
  Usually, users pass the 'intel_iommu=on' by themselves when they are using 
related features. So, the impact of this change is minimal.

  ===========

  After migrating Mantic 23.10 install to Linux 6.8.0, I am experiencing heavy 
flickering at random.
  It happens after a moderate to heavy on screen activity like window 
switching, scrolling etc.
  It never happens when playing video or when there is no interaction using 
keyboard/pointer.

  It tend to happen when the mouse cursor is in the bottom quarter of the 
screen and stops immediately when the cursor leaves that screen region.
  Around the same time the following appears in kernel log:
  kernel: i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun

  Happens on both X11 and Wayland on both KDE plasma and Mate (though
  less).

  I first encountered the issue with Linux 6.8.0-11 and it still happens with 
Ubunutu's 6.8.0-28 and Mainline 6.8.7.
  Kernels 6.6, 6.5, 6.1 and older did not have that issue.

  Hardware is: Dell XPS 9350, Vendor Intel, Driver i915, Skylake GT2 [HD 
Graphics 520]
  Software: Ubuntu 23.10, KDE Plasma 5.27.10 / Mate 1.26

  Attaching kernel log for 6.8.0-28

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2062951/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to