Bug 511827 - Black horizontal bars on Waydroid after Plasma 6.5 upgrade
Summary: Black horizontal bars on Waydroid after Plasma 6.5 upgrade
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 6.5.1
Platform: EndeavourOS Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-08 14:58 UTC by kdalias.njre2
Modified: 2026-01-21 21:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Visual glitches in the Android UI at 165Hz (1.90 MB, video/mp4)
2025-11-08 14:58 UTC, kdalias.njre2
Details
Visual glitches in the Android UI at 60Hz (1.10 MB, video/mp4)
2025-11-08 14:59 UTC, kdalias.njre2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdalias.njre2 2025-11-08 14:58:07 UTC
Created attachment 186616 [details]
Visual glitches in the Android UI at 165Hz

SUMMARY
(Sorry if this isn't the right category for the issue, please correct it if it's not)
After updating my PC and Plasma from 6.4 to 6.5.1, I started getting black horizontal bars jumping around the screen in Waydroid (UI and apps/games) that look like screen tearing. Lowering my monitor's refresh rate seems to make the situation a lot worse, but the issue goes entirely away when Night Light is on. Waydroid has been up to date before and after the update.

STEPS TO REPRODUCE
1. Start Waydroid or an Android app (preferably one with high CPU/GPU usage as it apparently makes the bars appear more often)
2. Move mouse around to trigger glitches

OBSERVED RESULT
Black bars jumping around on screen

EXPECTED RESULT
Waydroid and/or Android apps displayed normally without visual glitches as with up to Plasma 6.4

SOFTWARE/OS VERSIONS
  Operating System: EndeavourOS 
  KDE Plasma Version: 6.5.2
  KDE Frameworks Version: 6.19.0
  Qt Version: 6.10.0
  Kernel Version: 6.16.10-zen1-1-zen (64-bit) (Same behavior on 6.17.7-arch1-1 (64-bit) too)
  Graphics Platform: Wayland

ADDITIONAL INFORMATION
  Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor
  Memory: 32 GiB of RAM (30.9 GiB usable)
  Graphics Processor: AMD Radeon RX 6700 XT

The issue was not present until Plasma 6.4.5, or on KDE Neon 251030 Live ISO (Plasma 6.5.1) on the same system from a few quick checks, or my up-to-date laptop plugged to either of my monitors. It also does not appear in OBS.
Changing monitor settings besides refresh rate (Adaptive sync, Color Accuracy etc) does not resolve or affect the issue. Waydroid config files are the same stock ones between my laptop and PC if it helps. Unfortunately I don't have a spare disk to install EndeavourOS/Arch on to verify if it's an install-specific issue.

Laptop specs in case they matter:
  Operating System: EndeavourOS
  KDE Plasma Version: 6.5.2
  KDE Frameworks Version: 6.19.0
  Qt Version: 6.10.0
  Kernel Version: 6.17.7-arch1-1 (64-bit)
  Graphics Platform: Wayland
  Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
  Memory: 32 GiB of RAM (29.3 GiB usable)
  Graphics Processor: AMD Radeon Graphics
Comment 1 kdalias.njre2 2025-11-08 14:59:25 UTC
Created attachment 186617 [details]
Visual glitches in the Android UI at 60Hz

Interesting that there are 2 black bars at 60Hz
Comment 2 kdalias.njre2 2026-01-14 08:23:24 UTC
Any follow-up on this? The issue is still present. Up-to-date system info in case it is important:

KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.4-zen1-1-zen (64-bit) (also present on 6.18.4-arch1-1)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: AMD Radeon RX 6700 XT
Comment 3 Zamundaaa 2026-01-21 21:45:59 UTC
(In reply to kdalias.njre2 from comment #0)
> the issue goes entirely away when Night Light is on.
As Waydroid is fullscreen in your videos, that suggests it's limited to direct scanout. You can work around it with https://invent.kde.org/plasma/kwin/-/wikis/Environment-Variables#kwin_drm_no_direct_scanout

I can't think of any change that could be responsible for this. The best way to find out what's happening would be if you could do a git bisect between 6.4.0 and 6.5.0.