Bug 478445 - Cursor flickering upon state change in GTK3/4 applications using Wayland on Nvidia
Summary: Cursor flickering upon state change in GTK3/4 applications using Wayland on N...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-12 19:03 UTC by michaelsoftbinbows
Modified: 2023-12-14 11:38 UTC (History)
3 users (show)

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


Attachments
Cursor flickering on Firefox using Wayland (1.87 MB, video/mp4)
2023-12-12 19:03 UTC, michaelsoftbinbows
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michaelsoftbinbows 2023-12-12 19:03:21 UTC
Created attachment 164117 [details]
Cursor flickering on Firefox using Wayland

SUMMARY
Using an Nvidia driver on the Wayland session, the cursor at times flickers off centre when changing states on GTK3 and GTK4 applications like Firefox or LibreOffice. This does not occur on Qt 5 or Qt 6 applications.

STEPS TO REPRODUCE
1. Open a GTK3/4 application
2. Hover over a text entry or hyperlink
3. Repeat until cursor flickering is observed

OBSERVED RESULT
The cursor flickers

EXPECTED RESULT
The cursor does not flicker

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: EndeavourOS 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
Nvidia driver version: 545.29.06
Comment 1 Nate Graham 2023-12-12 20:15:38 UTC
Cannot reproduce the issue in LibreOffice or Firefox on Plasma 6 Wayland. I suspect an Nvidia driver issue. Or possibly a GTK issue?
Comment 2 Vlad Zahorodnii 2023-12-13 12:47:59 UTC
Can you put KWIN_FORCE_SW_CURSOR=1 in /etc/environment, reboot the computer, and check if the flickering is still present?
Comment 3 michaelsoftbinbows 2023-12-13 16:58:16 UTC
(In reply to Vlad Zahorodnii from comment #2)
> Can you put KWIN_FORCE_SW_CURSOR=1 in /etc/environment, reboot the computer,
> and check if the flickering is still present?

No flickering present when KWIN_FORCE_SW_CURSOR=1 is placed in /etc/environment.
Comment 4 Vlad Zahorodnii 2023-12-13 17:11:35 UTC
Then it sounds like a driver issue, and perhaps this issue should be reported to nvidia.
Comment 5 Vlad Zahorodnii 2023-12-14 11:38:29 UTC
Can you report this issue to NVIDIA please?