Open Bug 1791129 Opened 2 years ago Updated 4 months ago

Custom mouse cursor display artifacts on Wayland

Categories

(Core :: Graphics, defect)

Firefox 104
defect

Tracking

()

UNCONFIRMED

People

(Reporter: vinceying113, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image Image.jpeg

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

Open a Google Doc
Click on the "Paint format" icon
The mouse cursor will change

Window Protocol wayland
Desktop Environment gnome
Target Frame Rate 60
GPU #1
Active Yes
Description Mesa Intel(R) Xe Graphics (TGL GT2)
Vendor ID 0x8086
Device ID 0x9a49
Driver Vendor mesa/iris
Driver Version 22.0.5.0

Actual results:

The mouse cursor has display artifacts. See image

Expected results:

No artifacts. Using X11 resolves the issue

The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics
Product: Firefox → Core
Blocks: wayland
Severity: -- → S3

Could not reproduce using:

  • Firefox 104.0 (clean profile)
  • Intel TigerLake-LP GT2 Iris Xe Graphics
  • Mesa 24.2.2

And any of the following:

  • kwin_wayland 6.1.4 with AMS
  • kwin_wayland 6.1.4 without AMS
  • Sway 1.9 with wlroots 0.18.0
  • Mutter 46.4
  • Weston 13.0.1

Judging by the visual of the bug this looks more like a driver or compositor problem than a Wayland client problem anyway, I used to have similar problems with other software entirely. Mesa regularly gets patches to fix bad math or GPU state tracking/concurrency issues that typically leads to this.

I've attached a test page with Google Docs' style painter cursor rule if anybody wants to test out without opening Docs/having a Google account.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: