Graphical Glitches

My whole screen is having graphical glitches and I cannot seem to find anything in dmesg or journalctl. It started in the evening all of a sudden. There wasn't any problem with pacman updates. I had to restart lib-input-gestures as instructed in pacman but nothing else stood out during update. I checked compositor in KDE settings and nothing seems wrong there.

Searching the forum I only foudn this unresolved post. However in my case my specs are well above the requirements.

I have also tried to take screen shots of the glitches but the screen becomes fine whenever I tap print screen and flameshot opens up. It seems teh glitches only happen whenever something changes on screen. It seems to be happening as I am typing atm and the letters are appearing well after I press them. My cpu usage is maxing out at 30% according to system monitor.

inxi -Fxxxza

System:    Kernel: 5.10.39-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0 
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=6bffdc79-d9cf-4de9-a3aa-58bbfb0e7a9c rw 
[email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
systemd.unified_cgroup_hierarchy=1 loglevel=3 intel_iommu=on i915.enable_gvt=1 kvm.ignore_msrs=1 
intel_pstate=disable 
Console: tty pts/1 wm: kwin_x11 DM: SDDM Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Laptop System: Dell product: G3 3590 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
Mobo: Dell model: 0DKM3T v: A00 serial: <filter> UEFI: Dell v: 1.8.0 date: 11/11/2019 
Battery:   ID-1: BAT0 charge: 42.2 Wh (100.0%) condition: 42.2/51.0 Wh (82.8%) volts: 12.5 min: 11.4 model: BYD DELL M4GWP98 
type: Li-poly serial: <filter> status: Full 
CPU:       Info: 6-Core model: Intel Core i7-9750H socket: BGA1440 (U3E1) note: check bits: 64 type: MT MCP arch: Kaby Lake 
note: check family: 6 model-id: 9E (158) stepping: A (10) microcode: DE cache: L1: 384 KiB L2: 12 MiB L3: 12 MiB 
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
Speed: 800 MHz min/max: 800/2601 MHz base/boost: 2600/2600 boost: enabled volts: 1.2 V ext-clock: 100 MHz 
Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
Type: meltdown mitigation: PTI 
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 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
Type: srbds mitigation: Microcode 
Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3e9b 
class-ID: 0300 
Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Dell driver: nvidia v: 465.27 
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300 
Device-3: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-5:2 chip-ID: 0bda:5521 class-ID: 0e02 
serial: <filter> 
Display: server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: modesetting,nvidia display-ID: :0 screens: 1 
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 21.1.1 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: sof-audio-pci 
alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0401 
Device-2: NVIDIA TU116 High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
chip-ID: 10de:1aeb class-ID: 0403 
Sound Server-1: ALSA v: k5.10.39-1-lts running: yes 
Sound Server-2: JACK v: 0.125.0 running: no 
Sound Server-3: PulseAudio v: 14.2 running: yes 
Sound Server-4: PipeWire v: 0.3.28 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 v: kernel port: 3000 
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 
IF: enp3s0 state: down mac: <filter> 
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell driver: ath10k_pci v: kernel 
port: 3000 bus-ID: 04:00.0 chip-ID: 168c:0042 class-ID: 0280 
IF: wlp4s0 state: up mac: <filter> 
IF-ID-1: virbr0 state: down mac: <filter> 
Bluetooth: Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-14:3 chip-ID: 0cf3:e009 class-ID: e001 
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter> 
Drives:    Local Storage: total: 1.38 TiB used: 1.1 TiB (79.7%) 
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN520 NVMe WDC 512GB size: 476.94 GiB 
block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 rotation: SSD serial: <filter> rev: 20220012 
temp: 44.9 C scheme: MBR 
SMART: yes health: PASSED on: 162d 9h cycles: 1,308 read-units: 51,439,966 [26.3 TB] 
written-units: 85,327,916 [43.6 TB] 
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172 family: Mobile HDD size: 931.51 GiB 
block-size: physical: 4096 B logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: ACM1 
temp: 34 C scheme: GPT 
SMART: yes state: enabled health: PASSED on: 2y 58d 10h cycles: 3360 read: 52.39 TiB written: 38.52 TiB Old-Age: 
g-sense error rate: 330 Pre-Fail: attribute: Spin_Retry_Count value: 100 worst: 100 threshold: 97 
Partition: ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 425.48 GiB (89.3%) fs: btrfs block-size: 4096 B 
dev: /dev/nvme0n1p2 maj-min: 259:2 
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 568 KiB (0.2%) fs: vfat block-size: 512 B 
dev: /dev/nvme0n1p1 maj-min: 259:1 
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 425.48 GiB (89.3%) fs: btrfs block-size: 4096 B 
dev: /dev/nvme0n1p2 maj-min: 259:2 
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 425.48 GiB (89.3%) fs: btrfs
block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 425.48 GiB (89.3%) fs: btrfs
block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:      Alert: No swap data was found.
Sensors:   System Temperatures: cpu: 58.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:      Processes: 347 Uptime: 8h 52m wakeups: 10667 Memory: 15.43 GiB used: 7.36 GiB (47.7%) Init: systemd v: 248
tool: systemctl Compilers: gcc: 11.1.0 clang: 11.1.0 Packages: pacman: 1793 lib: 552 Shell: fish (sudo) v: 3.2.2
default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.04

sudo dmesg | grep i915

[    0.000000] Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=6bffdc79-d9cf-4de9-a3aa-58bbfb0e7a9c rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 intel_iommu=on i915.enable_gvt=1 kvm.ignore_msrs=1 intel_pstate=disable
[    0.032103] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=6bffdc79-d9cf-4de9-a3aa-58bbfb0e7a9c rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 intel_iommu=on i915.enable_gvt=1 kvm.ignore_msrs=1 intel_pstate=disable
[    1.654404] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    1.654490] i915 0000:00:02.0: vgaarb: deactivate vga console
[    1.654762] i915 0000:00:02.0: Direct firmware load for i915/gvt/vid_0x8086_did_0x3e9b_rid_0x00.golden_hw_state failed with error -2
[    1.671309] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    1.672715] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    1.705458] i915 0000:00:02.0: [drm] GuC firmware i915/kbl_guc_33.0.0.bin version 33.0 submission:disabled
[    1.705459] i915 0000:00:02.0: [drm] HuC firmware i915/kbl_huc_4.0.0.bin version 4.0 authenticated:yes
[    1.712828] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0
[    1.723282] fbcon: i915drmfb (fb0) is primary device
[    1.723284] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    6.029450] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]

sudo dmesg | grep 00:02.0 (iGPU bus id)

[    0.253188] pci 0000:00:02.0: [8086:3e9b] type 00 class 0x030000
[    0.253194] pci 0000:00:02.0: reg 0x10: [mem 0xa4000000-0xa4ffffff 64bit]
[    0.253198] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff 64bit pref]
[    0.253201] pci 0000:00:02.0: reg 0x20: [io  0x5000-0x503f]
[    0.253212] pci 0000:00:02.0: BAR 2: assigned to efifb
[    0.268906] pci 0000:02:00.0: [15b7:5004] type 00 class 0x010802
[    0.268939] pci 0000:02:00.0: reg 0x10: [mem 0xa5400000-0xa5403fff 64bit]
[    0.290327] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.290327] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.290327] pci 0000:00:02.0: vgaarb: no bridge control possible
[    0.395917] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.553238] pci 0000:00:02.0: Adding to iommu group 2
[    0.553395] pci 0000:02:00.0: Adding to iommu group 15
[    0.710054] nvme nvme0: pci function 0000:02:00.0
[    1.654404] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    1.654490] i915 0000:00:02.0: vgaarb: deactivate vga console
[    1.654762] i915 0000:00:02.0: Direct firmware load for i915/gvt/vid_0x8086_did_0x3e9b_rid_0x00.golden_hw_state failed with error -2
[    1.671309] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    1.672715] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    1.705458] i915 0000:00:02.0: [drm] GuC firmware i915/kbl_guc_33.0.0.bin version 33.0 submission:disabled
[    1.705459] i915 0000:00:02.0: [drm] HuC firmware i915/kbl_huc_4.0.0.bin version 4.0 authenticated:yes
[    1.712828] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0
[    1.723284] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    6.029450] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

If you haven't made any other changes then it's possible this is a hardware issue. I've seen laptop displays fail (whether an internal component or an external connection) which manifests in flickering, and this can also cause system crashes and freezes.

1 Like

Well I've had this exact same issue on manjaro and Arco Linux before. Its never been permanent. However back then I just reinstalled or distro hopped and never tried to address it.

I'm not sure how that changes things?

2 Likes

How did you search?

journalctl -b -p3 --no-pager --no-hostname
bash -c 'for Xlog in $(ls /var/log/Xorg.?.log); do echo -e "\n" $Xlog ; grep -E "(EE)|(WW)|failed|Time" $Xlog ; done'
2 Likes

Whatever I searched is on the top post. I have yet to fully grasp journalctl searching. However I can say that after rebooting the glitching went away. However since the same thing has happened I'd like to at least be aware of whats going on.

I ran the command and :

journalctlrnalctl -b -p3 --no-pager --no-hostname --since="yesterday"
bash -c 'for Xlog in $(ls /var/log/Xorg.?.log); do echo -e "\n" $Xlog ; grep -E "(EE)|(WW)|failed|Time"$Xlog ; done'
-- Journal begins at Mon 2021-03-29 12:06:53 +06, ends at Fri 2021-05-28 11:36:46 +06. --
May 28 10:39:23 systemd[1]: Failed to start Apply Kernel Variables.
May 28 10:39:23 systemd-modules-load[307]: Failed to find module 'acpi_call'
May 28 10:39:23 systemd-sysctl[323]: Couldn't write '2048Kb' to 'vm/nr_overcommit_hugepages': Invalid argument
May 28 10:39:24 systemd-sysctl[481]: Couldn't write '2048Kb' to 'vm/nr_overcommit_hugepages': Invalid argument
May 28 10:39:24 systemd[1]: Failed to start Apply Kernel Variables.
May 28 10:39:24 bluetoothd[499]: profiles/audio/avctp.c:avctp_server_socket() setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:24 bluetoothd[499]: avrcp-controller: Protocol not supported (93)
May 28 10:39:24 bluetoothd[499]: profiles/audio/avctp.c:avctp_server_socket() setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:24 bluetoothd[499]: audio-avrcp-target: Protocol not supported (93)
May 28 10:39:25 kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
May 28 10:39:25 kernel: ucsi_ccg 6-0008: i2c_transfer failed -110
May 28 10:39:25 kernel: ucsi_ccg 6-0008: ucsi_ccg_init failed - -110
May 28 10:39:25 kernel: msr: Write to unrecognized MSR 0x150 by intel-undervolt (pid: 858). Please report to [email protected]
May 28 10:39:27 kernel: 
May 28 10:39:39 sddm-helper[1615]: gkr-pam: unable to locate daemon control file
May 28 10:39:47 bluetoothd[499]: src/profile.c:ext_start_servers() L2CAP server failed for Message Notification: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:47 bluetoothd[499]: src/profile.c:ext_start_servers() L2CAP server failed for Message Access: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:47 bluetoothd[499]: src/profile.c:ext_start_servers() L2CAP server failed for Phone Book Access: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:47 bluetoothd[499]: src/profile.c:ext_start_servers() L2CAP server failed for File Transfer: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:47 bluetoothd[499]: src/profile.c:ext_start_servers() L2CAP server failed for Object Push: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
May 28 10:39:54 bluetoothd[499]: src/profile.c:record_cb() Unable to get Headset Voice gateway SDP record: Host is down

/var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.775] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 28 10:39:29 2021
[     9.779] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[     9.780] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[     9.780] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     9.780] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     9.780] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     9.780] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     9.851] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    10.509] (WW) NVIDIA(G0): Unable to get display device for DPI computation.
[    10.644] (WW) modeset(0): Option "DRI" is not used
[    10.660] (II) NVIDIA(G0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    10.737] (WW) NVIDIA(G0): Option "Coolbits" is not used
[    10.742] (II) Initializing extension MIT-SCREEN-SAVER
[   970.409] (EE) event17 - DELL0949:00 04F3:30CB Touchpad: kernel bug: Touch jump detected and discarded.
[  2896.447] (EE) event17 - DELL0949:00 04F3:30CB Touchpad: kernel bug: Touch jump detected and discarded.
[  3064.925] (EE) event17 - DELL0949:00 04F3:30CB Touchpad: kernel bug: Touch jump detected and discarded.
[  3439.479] (EE) event17 - DELL0949:00 04F3:30CB Touchpad: kernel bug: Touch jump detected and discarded.

/var/log/Xorg.1.log
[ 37194.106] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[ 37194.107] Current Operating System: Linux Igneel-G3-3590 5.11.8-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 21 Mar 2021 01:55:54 +0000 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 37194.108] (==) Log file: "/var/log/Xorg.1.log", Time: Fri Mar 26 13:32:14 2021
[ 37194.110] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 37194.110] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 37194.110] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 37194.110] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 37194.110] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 37194.110] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 37194.112] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 37194.115] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 37194.120] (WW) Falling back to old probe method for modesetting
[ 37198.555] (EE) Screen 0 deleted because of no matching config section.
[ 37198.555] (EE)
[ 37198.555] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[ 37198.555] (EE)
[ 37198.555] (EE)
[ 37198.555] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 37198.555] (EE)
[ 37198.555] (EE) Server terminated with error (1). Closing log file.

How often do you reboot/shutdown your PC?
If you don't want to shutdown/reboot for long times, you should not update system packages.

1 Like

I turn it on in the morning. Shut it down at night. I don't like keeping my laptop running for long hours.

What is the hard problem for filtering arguments you don't grasp?
You can't do any serious troubleshooting without journal inspection.

This could be explained because of new installed packages/libraries needing reloading.
If this glitching lasted only one boot, then it is not considered an issue.

Maybe it's time for one more hop?... :stuck_out_tongue_closed_eyes:

2 Likes

Its not hard. Its just something I haven't dabbled too much in because it requires a bit of time to get through. There's a lot of filtering arguments and so far I can only use `since=

Yeah but there is a lot to filter out.

:stuck_out_tongue:
It wouldn't really help since I'd just go back to ArcoLinux or something since I can't linux without arch.

I hear yer angst! :wink:

And it is distributions such as Garuda and Arco that put the icing on the cake. :happy_dance: :slight_smile:

You've got Intel & nVidia. Have you thought about removing the Intel driver...xf86-video-intel? Since I do not have nVidia I don't know what the impact will be, so I've held off mentioning that until now.

regards

2 Likes

I don't think it will work anymore without the intel driver. Since the dgpu is not directly connected to my laptop's screen. It needs teh iGPU to work.

1 Like

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