Tearing with aurorae theme

Hi guys,

when I using any aurorae theme (aka Window decoration) other than default ones (which are based on Breeze) e.g. Monochrome KDE, or Nordic, I can’t smoothly maximize / restore to original size, it little bit expands horizontally and then jumps to maximized window. With Breeze it works fine.

Since I have Nvidia card with proprietary driver, I already tried set nvidia.conf and kwin.sh based on Choppy Plasma with nvidia, but it didn’t help.
I also tried turn off Vsync 433094 – No way to disable tearing prevention and https://invent.kde.org/plasma/kwin/-/commit/6d20d19fec29509103062a0f8606f7d54fd952a8, but no luck either.

System info

System:
  Kernel: 5.14.7-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64 
  root=UUID=a7090548-38ac-4ce2-8524-0ad1c32ac187 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 
  dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: Gigabyte product: Z390 AORUS MASTER v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: Z390 AORUS MASTER-CF v: x.x serial: <filter> 
  UEFI: American Megatrends v: F11n date: 01/19/2021 
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard 
  serial: <filter> charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
  Device-2: hidpp_battery_1 
  model: Logitech Wireless Mobile Mouse MX Anywhere 2S serial: <filter> 
  charge: 55% (should be ignored) rechargeable: yes status: Discharging 
Memory:
  RAM: total: 31.29 GiB used: 6.79 GiB (21.7%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: Intel Core i9-9900K bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: C (12) 
  microcode: EA cache: L2: 16 MiB bogomips: 115232 
  Speed: 900 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 900 2: 900 3: 892 
  4: 900 5: 900 6: 900 7: 900 8: 900 9: 900 10: 900 11: 900 12: 900 13: 900 
  14: 900 15: 900 16: 900 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc 
  cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand 
  rdseed rdtscp rep_good sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 
  ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme 
  vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown 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 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort mitigation: TSX disabled 
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080 Rev. A] vendor: Gigabyte 
  driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:1e87 class-ID: 0300 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 3840x2160 s-dpi: 162 s-size: 602x341mm (23.7x13.4") 
  s-diag: 692mm (27.2") 
  Monitor-1: USB-C-0 res: 3840x2160 hz: 60 dpi: 163 
  size: 597x336mm (23.5x13.2") diag: 685mm (27") 
  OpenGL: renderer: NVIDIA GeForce RTX 2080/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.63.01 direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Gigabyte driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 
  chip-ID: 8086:a348 class-ID: 0403 
  Device-2: NVIDIA TU104 HD Audio vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f8 class-ID: 0403 
  Sound Server-1: ALSA v: k5.14.7-2-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.37 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: wlo1 state: down mac: <filter> 
  Device-2: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel 
  port: efa0 bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200 
  IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
  driver: btusb v: 0.8 bus-ID: 1-14:7 chip-ID: 8087:0aaa 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: 2.75 TiB used: 25.14 GiB (0.9%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Samsung model: SSD 970 PRO 512GB 
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: 1B2QEXP7 temp: 26.9 C scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: 3B2QGXA7 temp: 39.9 C scheme: GPT 
  ID-3: /dev/sda maj-min: 8:0 vendor: Intel model: SSDSC2KW480H6 
  size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  type: SSD serial: <filter> rev: 043C scheme: GPT 
  ID-4: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EZEX-00BN5A0 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 7200 serial: <filter> rev: 1A01 scheme: GPT 
  ID-5: /dev/sdc maj-min: 8:32 type: USB vendor: Kingston 
  model: DataTraveler 3.0 size: 28.88 GiB block-size: physical: 512 B 
  logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 15.19 GiB (15.5%) 
  fs: ext4 dev: /dev/nvme1n1p2 maj-min: 259:2 label: N/A 
  uuid: a7090548-38ac-4ce2-8524-0ad1c32ac187 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: D9B3-D417 
  ID-3: /home raw-size: 831.22 GiB size: 817.1 GiB (98.30%) 
  used: 9.95 GiB (1.2%) fs: ext4 dev: /dev/nvme1n1p3 maj-min: 259:3 label: N/A 
  uuid: 684ba19f-1347-4749-9a61-c3c5d3489cfe 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:5 size: 100 MiB fs: vfat label: N/A 
  uuid: DC16-B70B 
  ID-2: /dev/nvme0n1p2 maj-min: 259:6 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-3: /dev/nvme0n1p3 maj-min: 259:7 size: 476.33 GiB fs: ntfs label: N/A 
  uuid: 0006175606174C52 
  ID-4: /dev/nvme0n1p4 maj-min: 259:8 size: 507 MiB fs: ntfs label: N/A 
  uuid: 3274759874755F91 
  ID-5: /dev/sda1 maj-min: 8:1 size: 446.82 GiB fs: ntfs label: N/A 
  uuid: 01D59A6271F19D30 
  ID-6: /dev/sdb1 maj-min: 8:17 size: 931.51 GiB fs: btrfs label: Data 
  uuid: b9f269d2-c977-45c3-bedf-ce61b021cbe1 
  ID-7: /dev/sdc1 maj-min: 8:33 size: 3.22 GiB fs: iso9660 
  ID-8: /dev/sdc2 maj-min: 8:34 size: 4 MiB fs: vfat label: MISO_EFI 
  uuid: E363-7F8B 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-8:2 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-2: 1-10:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c52b class-ID: 0300 
  Hub-2: 1-11:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900 
  Device-1: 1-12:5 info: Integrated Express IT8297 RGB LED Controller 
  type: Keyboard driver: hid-generic,usbhid interfaces: 1 rev: 2.0 
  speed: 12 Mb/s power: 100mA chip-ID: 048d:8297 class-ID: 0301 
  Hub-3: 1-13:6 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900 
  Device-1: 1-14:7 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 8087:0aaa class-ID: e001 
  Hub-4: 2-0:1 info: Full speed (or root) Hub ports: 10 rev: 3.1 
  speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-6: 3-2:2 info: Hitachi ports: 4 rev: 2.0 speed: 480 Mb/s 
  chip-ID: 045b:0209 class-ID: 0900 
  Device-1: 3-2.1:3 info: Cypress Billboard Device type: Billboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  chip-ID: 04b4:5210 class-ID: 0300 serial: <filter> 
  Device-2: 3-2.2:4 info: EIZO FlexScan EV2785 type: HID 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s 
  chip-ID: 056d:4036 class-ID: 0300 
  Hub-7: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: nvidia temp: 51 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:
  Processes: 339 Uptime: 18h 0m wakeups: 111 Init: systemd v: 249 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1285 lib: 341 
  flatpak: 0 Shell: Zsh v: 5.8 running-in: yakuake inxi: 3.3.06

Can anyone please throw a bit of light?

Hello,

You answered to your question already.

Either you contact the developers of

to update their themes, or drop them …

Thanks for reply. Hovewer I didn’t explain it clear enough, it seems. My apology.

If I use any theme that don’t use aurorae theme (they use default breeze Window Decoration) it’s ok. If I use any theme that has any aurora theme, animation is buggy.

So if I use Breeze as Global theme but I change Window decoration to any other than breeze default animation isn’t rendered correctly. Those two themes I’ve used just for example, I can provide maybe ten others I’ve tested and have this same problem.

EDIT: OS same as themes are recently installed on new drive

Thanks

You say you use proprietary nvidia driver. My experience is, to avoid tearing on nvidia drivers is to enable ‘Composition Pipeline’ for this driver.

For a try you can enable it in ‘Nvidia X Server Settings’.

X Server Display Configuration -> Advanced...(Button (for more options)) ->activate checkboxes at 'Force Composition Pipeline' and 'Force Full Composition Pipeline'

After that a klick on ‘Apply’ will give you a try. :wink:

This is not permament. After next reboot these settings are gone. If it helps you and you want to set this permament you have to add this settings to your x config.

To set it permament is not a big deal but not so quick explained. If you need help with that do not hesitate to ask. :yum:

Unfortunately, that didn’t help. I tried set it only in Nvidia utility app, also change it in config an restart OS, but no change for me.

Only thing, that kind of makes it little bit better, is to download Maximize ind Desktop effects, navigate to ~/.local/share/kwin/effects/kwin4_effect_maximize/contents/code/ and change animationTime(250); in maximize.js file to 300 or 350. It still screw render of window during start of the animation, but since animation is longer, it eventually catches up and plays rest of it at least.

With this config however, when restored to original (smaller) size, maybe 2cm thick border of previously maximized window starts randomly flickering.

I really don’t understand why is it happening, it’s not a big deal, but it’s annoying in otherwise smoothly running system.

Thanks anyway for help