Window rendering gets broken when I extend to second monitor

Hello,

I am having a very strange issue.
Whenever I turn on my second monitor and extend my desktop to it Latte-dock gets broken and needs to be killed and started again. Additionally to this some of my windows are getting broken for example the one responsible for Password prompt when I need to do something with root privileges doesn't render correctly at all.
I noticed this is happening only when I extend my desktop to a second monitor if I boot my laptop to a single display output all seems to be fine.
Additionally to this the close, minimize and maximize buttons to my windows are being rendered to my panel instead of my windows as I have configured them.
If I press Alt + F3 the menu for the configuration also is not rendered properly and it doesn't display any names just icons.

My garuda-inxi output is :

garuda-inx
System:
Kernel: 6.0.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@_backup_20220309001323181/boot/vmlinuz-linux-zen
root=UUID=bd24341e-38b9-4ca0-8b3e-fa78da82f50f rw
rootflags=subvol=@_backup_20220309001323181 quiet quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.26.0 tk: Qt v: 5.15.6 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP EliteBook 1050 G1 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 84E9 v: KBC Version 16.4D.00 serial: <superuser required>
UEFI: HP v: Q72 Ver. 01.17.00 date: 08/05/2021
Battery:
ID-1: BAT0 charge: 72.3 Wh (98.8%) condition: 73.2/96.4 Wh (76.0%)
volts: 12.3 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
serial: <filter> status: not charging cycles: 87
CPU:
Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 9 MiB desc: 1x9 MiB
Speed (MHz): avg: 1008 high: 2200 min/max: 800/4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 900 2: 900 3: 900 4: 900
5: 900 6: 900 7: 2200 8: 900 9: 900 10: 900 11: 900 12: 900
bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
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: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Hewlett-Packard
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard
driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-10) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s ports: active: none off: DP-5
empty: DP-3,DP-4,HDMI-A-4 bus-ID: 01:00.0 chip-ID: 10de:1c8d
class-ID: 0300
Device-3: Chicony HP HD Camera type: USB driver: uvcvideo bus-ID: 1-7:4
chip-ID: 04f2:b5e7 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: iris
gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.92x11.22")
s-diag: 581mm (22.86")
Monitor-1: DP-5 mapped: DP-1-0.1 note: disabled model: Dell P2419H
serial: <filter> built: 2020 res: N/A dpi: 93 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
Monitor-2: eDP-1 pos: primary model: InfoVision Optronics/Kunshan 0x061c
built: 2017 res: 1920x1080 hz: 120 dpi: 142 gamma: 1.2
size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
modes: 1920x1080
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa
22.2.1 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 3-1.2:3 chip-ID: 047f:02ee
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
class-ID: 0300 serial: <filter> chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
v: kernel pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s
bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Device-3: Plantronics BT600 type: USB
driver: plantronics,snd-usb-audio,usbhid
Device-4: HP USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid
bus-ID: 3-1.3.5:8 chip-ID: 03f0:0269 class-ID: 0300 serial: <filter>
Sound API: ALSA v: k6.0.2-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
driver: r8152 bus-ID: 4-1.3.3:4 chip-ID: 0bda:8153 class-ID: 0000
serial: <filter>
IF: enp10s0u1u3u3 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0aaa class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 506.05 GiB used: 368.43 GiB (72.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: N/A
size: 476.94 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: AAHA4102
temp: 37.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 type: USB vendor: SanDisk
model: Cruzer Switch size: 29.11 GiB block-size: physical: 512 B
logical: 512 B type: N/A serial: <filter> rev: 1.27 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 368.43 GiB
(77.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 592 KiB
(0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 368.43
GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 368.43
GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 368.43
GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 30.7 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 48.0 C pch: 61.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 351 Uptime: 2m wakeups: 1 Memory: 30.7 GiB used: 5.86 GiB
(19.1%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 1841
libs: 507 tools: octopi,paru Shell: fish v: 3.5.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.22
Garuda (2.6.8-1):
System install date:     2022-06-11
Last full system update: 2022-10-17
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

Maybe check if this wiki page can help:

3 Likes

No not really it doesn't help with the ongoing issues I got.

Another very strange I discovered is as following.
If I boot my laptop with my external monitor as a primary and only monitor, and then I extend to my build in laptop monitor I don't experience any kind of issues as described above.
If I boot to my build in monitor as a single monitor setup again I have no problems, however if I extend to my external monitor the issue is happening again, latte-dock brakes down and window rendering on certain windows gets totally broken.

Try adding a delay to Latte’s startup and see if it helps.

1 Like

Tried it and it doesn't help.
I even tried removing latte-dock completely from starting up and I started manually after boot, the result is the same.
Again the only think that helps is to boot with primary monitor my external one, and then extend to my build in one.
Any other ideas or suggestions ?

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