Bug 501638 - Screen flashes/brightens when clicking non-ui elements in Final Fantasy XIV
Summary: Screen flashes/brightens when clicking non-ui elements in Final Fantasy XIV
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 6.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-03-17 12:46 UTC by cylinderhead
Modified: 2025-05-26 15:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cylinderhead 2025-03-17 12:46:31 UTC
SUMMARY

Screen flashes white/brighter when clicking on non-screen elements of Final Fantasy XIV when running versions KWin newer than 6.3.0-3.fc41 or newer, downgrading to Kwin 6.3.0-3.fc41 resolves the issue.

Game is in full screen or borderless windowed. this issue does not occur when playing the game in windowed mode.

Have already tried running latest-git versions of mesa, downgrading, etc., the only thing that resolves it is downgrading to kwin 6.3.0-3.fc41


STEPS TO REPRODUCE
1.  Install kwin.86_64 6.3.0-3.fc41
2.  Launch Final Fantasy XIV
3.  Screen flashes white/brightens when clicking mouse

OBSERVED RESULT
Screen flashes white/brightens when clicking mouse

EXPECTED RESULT
Screen doesn't flash white/brightens when clicking mouse, same as kwin 6.3.0-3-fc41

SOFTWARE/OS VERSIONS
Linux: Nobara 41 (Fedora base)

ADDITIONAL INFORMATION
Attached are my system specs and a video of it. I've recorded using my phone as that seems to show the issue more clearly than a screen recording.

Here is a link to a video of the bug: https://drive.proton.me/urls/N25816JHMR#orBvySoJGX8I

Let me know if you want it uploaded anywhere else.

··• neofetch
⢀⣤⣴⣶⣶⣶⣦⣤⡀⠀⣀⣠⣤⣴⣶⣶⣶⣶⣶⣶⣶⣶⣤⣤⣀⡀                sus@nobara-pc
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀           -----------------
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄         OS: Nobara Linux 41 (KDE Plasma) x86_64
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄       Kernel: Linux 6.13.7-200.nobara.fc41.x86_64
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧      Uptime: 12 mins
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠋⠉⠁⠀⠀⠉⠉⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧     Packages: 3118 (rpm), 13 (flatpak-system), 49 (flatpak-user)
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⠀⢀⣀⣀⡀⠀⠀⠀⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇    Shell: bash 5.2.32
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠀⠀⠀⢠⣾⣿⣿⣿⣿⣷⡄⠀⠀⠀⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿    Display (27A2QR): 2560x1440 @ 120 Hz in 27" [External] *
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⣀⣀⣬⣽⣿⣿⣿⣿⣿⣿    Display (27A2QR): 2560x1440 @ 120 Hz in 27" [External]
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠈⠻⢿⣿⣿⡿⠟⠁⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿    DE: KDE Plasma 6.3.2
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿    WM: KWin (Wayland)
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣤⣤⣄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿    WM Theme: Breeze
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿    Theme: Fusion (Nobara) [Qt], Nobara [GTK2], adw-gtk3-dark [GTK3/4]
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿    Icons: Papirus-Dark [Qt], Papirus-Dark [GTK3/4]
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠛⠉⠉⠛⠛⢿⣿⣿⠀⠀⠀⠀⠀⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿    Font: Noto Sans (11pt) [Qt], Noto Sans (11pt) [GTK3/4]
⠘⢿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⠟⠁    Cursor: breeze (24px)
  ⠈⠙⠛⠛⠛⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠛⠛⠛⠉⠁      Terminal: konsole 24.12.3
                                          CPU: AMD Ryzen 5 5600 (12) @ 4.47 GHz
                                          GPU: AMD Radeon RX 7800 XT [Discrete]
                                          Memory: 4.25 GiB / 31.25 GiB (14%)
                                          Swap: 0 B / 42.38 GiB (0%)
                                          Disk (/): 14.75 GiB / 895.55 GiB (2%) - btrfs
                                          Disk (/home): 1.05 TiB / 1.86 TiB (56%) - btrfs
                                          Disk (/media/Storage): 2.83 TiB / 3.64 TiB (78%) - fuseblk
                                          Disk (/media/Storage2): 292.82 GiB / 1.82 TiB (16%) - btrfs
Comment 1 Zamundaaa 2025-03-17 17:47:33 UTC
It's almost certainly direct scanout kicking in when the cursor is hidden, but just to make sure, please set https://invent.kde.org/plasma/kwin/-/wikis/Environment-Variables#kwin_drm_no_direct_scanout and check if it still happens with that
Comment 2 cylinderhead 2025-03-18 08:33:21 UTC
(In reply to Zamundaaa from comment #1)
> It's almost certainly direct scanout kicking in when the cursor is hidden,
> but just to make sure, please set
> https://invent.kde.org/plasma/kwin/-/wikis/Environment-
> Variables#kwin_drm_no_direct_scanout and check if it still happens with that

Hey Zamundaaa,

I enabled KWIN_DRM_NO_DIRECT_SCANOUT=1 in /etc/environment and the problem is now resolved.

I am now back to kwin 6.3.3-1.fc41

Is this something that can be fixed so I don't need to have this environment variable?
Comment 3 Bug Janitor Service 2025-04-02 03:46:50 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Zamundaaa 2025-05-26 15:05:26 UTC
Turns out that this is a driver bug: https://gitlab.freedesktop.org/drm/amd/-/issues/4148