Intel iris xe blinking problem

Greetings everyone.

I have a laptop with intel iris xe graphics along with nvidia 3060.

Here is an inxi output:

System:
  Kernel: 5.15.72-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=625877de-1193-4e86-a951-3fa45cccfd36 rw quiet apparmor=1
    security=apparmor udev.log_priority=3 i915.enable_psr=0 i915.enable_dc=0
    i915.enable_fbc=0
  Desktop: i3 v: 4.21 info: i3bar dm: LightDM v: 1.32.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: GIGABYTE product: AORUS 17 KE4 v: N/A serial: <filter>
    Chassis: type: 10 v: y.y serial: N/A
  Mobo: GIGABYTE model: AORUS 17 KE4 v: WIN11 serial: N/A UEFI: American
    Megatrends LLC. v: FB08 date: 03/07/2022
Battery:
  ID-1: BAT1 charge: 99.0 Wh (100.0%) condition: 99.0/99.0 Wh (100.0%)
    volts: 16.9 min: 15.2 model: GIGABYTE Aorus 17 type: Li-ion serial: N/A
    status: full
Memory:
  RAM: total: 62.48 GiB used: 11.38 GiB (18.2%)
  Array-1: capacity: 64 GiB slots: 2 EC: None max-module-size: 32 GiB
    note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: DDR4 detail: synchronous
    size: 32 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Kingston
    part-no: KF3200C20S4/32GX serial: <filter>
  Device-2: Controller1-ChannelA-DIMM0 type: DDR4 detail: synchronous
    size: 32 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Kingston
    part-no: KF3200C20S4/32GX serial: <filter>
CPU:
  Info: model: 12th Gen Intel Core i7-12700H socket: U3E1 bits: 64
    type: MST AMCP arch: Alder Lake gen: core 12 level: v3 note: check
    built: 2021+ process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154)
    stepping: 3 microcode: 0x421
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 953 high: 1358 min/max: 400/4679:4700:3500
    base/boost: 4059/4700 scaling: driver: intel_pstate governor: powersave
    volts: 1.3 V ext-clock: 100 MHz cores: 1: 840 2: 1001 3: 1077 4: 1037
    5: 889 6: 849 7: 956 8: 795 9: 1019 10: 400 11: 889 12: 663 13: 977
    14: 1111 15: 1333 16: 1148 17: 886 18: 909 19: 939 20: 1358
    bogomips: 107560
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts cat_l2 cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid
    cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
    f16c flexpriority flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp
    hwp_act_window hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe movdir64b movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe
    pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdpid rdrand rdseed rdt_a rdtscp rep_good sdbg sep serialize sha_ni smap
    smep smx split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer tsc_known_freq
    umip vaes vme vmx vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec
    xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Gigabyte
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Gigabyte
    driver: nvidia v: 515.76 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-10) arch: Ampere code: GAxxx process: TSMC n7
    (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2520
    class-ID: 0300
  Device-3: Goodong USB Camera type: USB driver: uvcvideo bus-ID: 3-9:4
    chip-ID: 3252:0004 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: Compton driver: X: loaded: modesetting,nvidia
    alternate: fbdev,intel,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Sharp LQ173M1JW12 built: 2021 res: 1920x1080
    hz: 360 dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46")
    diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel bus-ID: 3-7.3:84 v: kernel chip-ID: 0951:173f
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 class-ID: 0300
    chip-ID: 8086:51c8 class-ID: 0403
  Device-2: NVIDIA GA106 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228e class-ID: 0403
  Device-3: Kingston HyperX Cloud Core Wireless type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k5.15.72-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 2e:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp46s0 state: down mac: <filter>
  IF-ID-1: br-60e570e8dadb state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: br-c911ebbe25bf state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-3: br-f4ce0ef17aa5 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-4: br-f9f07955bc22 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-5: docker0 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:6
    chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.87 TiB used: 169.87 GiB (8.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVL21T0HCLR-00B00 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: GXA7401Q temp: 33.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:5 vendor: Samsung model: SSD 980 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B4QFXO7 temp: 37.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Kingston
    model: DataTraveler 3.0 size: 28.9 GiB block-size: physical: 512 B
    logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 434.36 GiB size: 426.48 GiB (98.18%) used: 169.84 GiB
    (39.8%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 625877de-1193-4e86-a951-3fa45cccfd36
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 25.6 MiB
    (8.5%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: E0AA-2CC3
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p3 maj-min: 259:3 size: 16 MiB fs: N/A label: N/A
    uuid: N/A
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 519.2 GiB fs: ntfs
    label: Windows 10 uuid: A6C60943C60914E9
  ID-3: /dev/nvme1n1p1 maj-min: 259:6 size: 931.51 GiB fs: ntfs label: DATA
    uuid: C38080B63D247E4D
  ID-4: /dev/sda1 maj-min: 8:1 size: 3.09 GiB fs: iso9660
  ID-5: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: AC66-2FEF
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 20 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-6:2 info: Chu Yuen Enterprise USB-HID Keyboard
    type: Keyboard,HID driver: hid-generic,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 1044:7a3b class-ID: 0300
    serial: <filter>
  Hub-4: 3-7:82 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 3-7.1:86 info: Areson Corp 2.4G Wireless Receiver
    type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 98mA chip-ID: 25a7:fa7c class-ID: 0301
  Device-2: 3-7.2:83 info: Telink Wireless Gaming Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 400mA chip-ID: 320f:221d class-ID: 0301
  Device-3: 3-7.3:84 info: Kingston HyperX Cloud Core Wireless
    type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4
    rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 0951:173f class-ID: 0300
  Device-4: 3-7.4:85 info: Kingston DataTraveler 100 G3/G4/SE9 G2/50
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.1
    speed: 480 Mb/s power: 300mA chip-ID: 0951:1666 class-ID: 0806
    serial: <filter>
  Device-5: 3-8:112 info: Ergohaven Dactyl Manuform 5x6 type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: feed:9336 class-ID: 0300 serial: <filter>
  Device-6: 3-9:4 info: Goodong USB Camera type: Video driver: uvcvideo
    interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 3252:0004
    class-ID: fe01 serial: <filter>
  Device-7: 3-10:6 info: Intel type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0033 class-ID: e001
  Hub-5: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 506 Uptime: 12h 47m wakeups: 1 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 1655 libs: 475 tools: pamac,yay
  Shell: Bash (sudo) v: 5.1.16 running-in: guake inxi: 3.3.22

And here is xrandr output:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080    360.01*+  60.00 +  59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)

And here is the problem I am facing:
Actually it is similar, or the same as described in this topic: Monitor is blinking as crazy [Intel CPU + Intel Iris XE + 1TB NVME SSD]

It is the same “black blinking” problem involving intel iris xe.

And it suggests adding one boot parameter, which I added, and it helps, but not completely. It only mitigates the problem a little bit, but blinking haven’t went away. Just reduced by like 80%.

Tried many other options, including adding more boot parameters as they were suggested elsewhere, where I ended up with this line in the grub config:

GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 i915.enable_psr=0 i915.enable_dc=0 i915.enable_fbc=0"

Doesn’t help.

Also it was suggested to disable intel ucode image, and I see it being used, since I see this output of “update-grub”:

Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img

… but I fail to find it in the configs.
And maybe this is not the problem anymore with intel ucode, since two years have passed since the time of the post, so they might fixed something. If not, then please tell me where to look to disable usage of initrd in the grub configs or somewhere else.

Also tried to limiting the refresh rate to 60 fps, thinking that this might help, with no avail.
I thought that because it’s a laptop with 360 fps matrix, so maybe lowering the refresh rate might help, but no.

So yeah, I humbly request your help. Since I ran out of ideas and google search links and suggestions.

Still looking for the solution

Uninstall the package xf86-video-intel, then remove any custom configurations (i.e, .conf files that you created) under /etc/X11/xorg.conf.d/, then reboot? :person_shrugging:

@winnie
This package isn’t installed. And no custom conf files are in this folder.
'Sept mhwd one, which I believe I edited to add few lines in intel-related section in attempt to solve the topic problem.

Here is what it contents:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 515.76

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Device"
    Identifier     "Intel Graphics"
    ChipId          0x0
    ChipRev         0x0
    IRQ             0
    Option          "NoLogo" "1"
    Option          "TripleBuffer" "true"
    Option          "TearFree"     "true"
    Option          "DRI"          "false"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Intel Graphics"
    DefaultDepth    24
    Option         "Backlight" "intel_backlight"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Now I tried installing it instead to no avail.

I would leave it uninstalled, and make sure you’re not using custom confs under /etc/X11/ for your Intel graphics, in the meantime.

But perhaps it’s because you’re using hybrid graphics?

For my Intel Iris Xe laptop, I have no files under /etc/X11/mhwd.d/

Which means no settings for TripleBuffering, Backlight, TearFree, DRI, etc.

That’s why I wonder if using hybrid graphics might be an underlying cause to the “blinking” you’re seeing?


Is there a way to test this out by renaming the file under /etc/X11/mhwd.d/ to a .conf.disabled filename extension, and then rebooting? If you’re unable to reboot or login, you can rename it back to the proper .conf filename extension.

This assumes you have the package xf86-video-intel uninstalled.

Yes, it is the case. I use optimus now (optimus-manager --switch nvidia). But is there any other way? Since as I heard optimus is universally hated.