Weird Mouse Flickering and Windows sometimes flicker black

So, in brief what happens is that my cursor flickers when there’s any load on the GPU
(happens on games, and specially when recording with OBS or things like that)

and windows can sometimes flicker black in some parts (happens in the same scenarios)

this all seems to be client-side since this flickering is not reflected in VNCs or in screen recordings

this affects even cursors on things like remote desktops or remote VNCs

this ONLY happens if my external monitor is active, if I use only my laptop’s integrated display these problems do not exist

my xrandr -q looks like this

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   1366x768      60.01 +
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.0`5  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768      59.79*+
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   1368x768_60.00  60.00  
HDMI-2 disconnected (normal left inverted right x axis y axis)
  1366_768_60 (0x1d2) 85.860MHz -HSync +VSync
        h: width  1368 start 1440 end 1584 total 1800 skew    0 clock  47.70KHz
        v: height  768 start  769 end  772 total  795           clock  60.00Hz

My specs:

Intel Celeron N3060; Intel HD Graphics 400 (Braswell, using modesetting DRI driver)
4GB of RAM
(basically a potato)

inxi -Gxxx output (may be useful)

Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
    Integrated Graphics
    vendor: Hewlett-Packard driver: i915 v: kernel bus-ID: 00:02.0
    chip-ID: 8086:22b1 class-ID: 0300
  Device-2: Cheng Uei Precision Industry (Foxlink) HP TrueVision HD Camera
    type: USB driver: uvcvideo bus-ID: 1-4.2:6 chip-ID: 05c8:03ac
    class-ID: 0e02 serial: 0001
  Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
    loaded: modesetting alternate: fbdev,intel,vesa resolution: 1366x768~60Hz
    s-dpi: 96
  OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (BSW) v: 4.6 Mesa 21.3.5
    compat-v: 3.0 direct render: Yes

Not enough info. What about DE/DM and others? Post inxi -Faz

The internal monitor seems not active. How do you disable it? Do you only use external during this issue?
Archwiki has several Troubleshooting advice like this and others. You should try some that look relevant to see any difference.

Change external mode to 60, if possible, to test.

inxi -Faz

System:
  Kernel: 5.16.8-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=b6b1465d-64af-4921-8357-b9d0b21167cc rw splash
    vt.global_cursor_default=0 loglevel=3 nowatchdog nvme_load=YES
    intel_iommu=on iommu=pt i915.enable_guc=0 i915.enable_psr=0
  Desktop: KDE Plasma 5.24.0 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP 240 G6 Notebook PC
    v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 8320 v: 19.16 serial: <superuser required> UEFI: Insyde
    v: F.10 date: 05/10/2017
Battery:
  ID-1: BAT0 charge: 28.3 Wh (100.0%) condition: 28.3/28.3 Wh (100.0%)
    volts: 12.1 min: 10.9 model: Hewlett-Packard Primary type: Li-ion
    serial: N/A status: Full
CPU:
  Info: model: Intel Celeron N3060 bits: 64 type: MCP arch: Airmont family: 6
    model-id: 0x4C (76) stepping: 4 microcode: 0x411
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 112 KiB
    desc: d-2x24 KiB; i-2x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 1147 high: 1194 min/max: 480/2480 scaling:
    driver: intel_cpufreq governor: performance cores: 1: 1100 2: 1194
    bogomips: 6402
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
    Integrated Graphics
    vendor: Hewlett-Packard driver: i915 v: kernel bus-ID: 00:02.0
    chip-ID: 8086:22b1 class-ID: 0300
  Device-2: Cheng Uei Precision Industry (Foxlink) HP TrueVision HD Camera
    type: USB driver: uvcvideo bus-ID: 1-4.2:6 chip-ID: 05c8:03ac
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
    loaded: modesetting alternate: fbdev,intel,vesa display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
    s-diag: 414mm (16.3")
  Monitor-1: DP-2 res: 1366x768 hz: 60 dpi: 85 size: 410x230mm (16.1x9.1")
    diag: 470mm (18.5")
  OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (BSW) v: 4.6 Mesa 21.3.5
    compat-v: 3.0 direct render: Yes
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
    High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:2284 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.8-arch1-1 running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.45 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus-ID: 01:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter
    vendor: Hewlett-Packard driver: rtw_8723de v: N/A modules: rtw88_8723de
    port: 1000 bus-ID: 02:00.0 chip-ID: 10ec:d723 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: ham0 state: unknown speed: 10 Mbps duplex: full mac: <filter>
  IF-ID-2: virbr0 state: down mac: <filter>
  IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-4: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb
    v: 0.8 bus-ID: 1-4.1:5 chip-ID: 0bda:b009 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 238.47 GiB used: 147.84 GiB (62.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD8SBAT256G1122
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1000 scheme: GPT
Partition:
  ID-1: / raw-size: 116.5 GiB size: 114.17 GiB (98.00%)
    used: 67.83 GiB (59.4%) fs: ext4 dev: /dev/sda5 maj-min: 8:5
  ID-2: /boot/efi raw-size: 100 MiB size: 98.4 MiB (98.42%)
    used: 707 KiB (0.7%) fs: vfat dev: /dev/sda6 maj-min: 8:6
Swap:
  Kernel: swappiness: 20 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 881.2 MiB (21.5%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 200 Uptime: 15h 54m wakeups: 1 Memory: 3.74 GiB
  used: 2.44 GiB (65.1%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.1 Packages: 1410 pacman: 1403 lib: 459 flatpak: 7
  Shell: Zsh v: 5.8 running-in: konsole inxi: 3.3.12

my Desktop Enviroment is KDE Plasma 5 v5.24.0
pretty much vanilla using kwin

Already checked the archwiki in the intel graphics sections (the same one you sent) didn’t work, I’m not exactly a newbie but I don’t know where to post this either

I disable the internal monitor using the settings in KDE
image

Activada = Active
Primaria = Primary

Already tried to change it to 60hz forced, didn’t work, couldn’t make it 1366x768 either since xrandr only liked to report 1368x768

so I think I managed to fix it by forcing it to 60hz 1366x768

everything seems to work fine (except that the cursor stops moving at the far left of the screen, only visually, the cursor is still actually moving)

this is what I did, in case someone also haves this issue to know what they can try:

1 Like

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