https://bugs.kde.org/show_bug.cgi?id=455684

            Bug ID: 455684
           Summary: The cursor was inverted and the selected region was
                    above the cursor position in VMs with 3D acceleration
                    enabled
           Product: kwin
           Version: 5.25.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: kwin-bugs-n...@kde.org
          Reporter: matt.fagn...@bell.net
  Target Milestone: ---

SUMMARY

The cursor in Plasma 5.25.0 was inverted so that it pointed down and to the
left instead of up and to the right in Fedora Rawhide/37 GNOME Boxes QEMU-KVM
VMs using with 3D acceleration enabled using the virgl driver from mesa 22.1.2
and virtio gpu. The selected region was above the cursor by about 1-2 times the
height of the cursor every time. In order to select and open the Application
Launcher menu, the cursor had to be moved below the bottom-left of the screen.
When trying to select menu items or other things in the Application Launcher
menu, Firefox, Konsole, System Settings, kinfocenter, I needed to put the
cursor about 1-2 cursor heights below the item to be selected.

STEPS TO REPRODUCE
1.  Boot a Fedora 36 KDE Plasma installation 
2.  Log in to Plasma on Wayland
3.  install GNOME Boxes if it isn't already with sudo dnf install gnome-boxes
4.  Download Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso from
https://koji.fedoraproject.org/koji/buildinfo?buildID=1986249
5. Start GNOME Boxes
6. Start a QEMU-KVM VM with Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso in
GNOME Boxes with 3 GB RAM, 3D acceleration enabled, and EFI enabled
7. Move the cursor around in Plasma with the mouse. The cursor is inverted.
8. Try to select the Application Launcher menu button at the bottom-left of the
screen normally. The cursor must be moved below the bottom-left of the screen
to select Application Launcher menu button to open it.
9. Try to select the menu items or icons normally in the Application launcher
menu. The cursor only selects the menu items or icons when it's 1-2 cursor
heights below them.
9. Start Konsole
10. Try to select the menus in Konsole normally. The cursor only selects the
menus when it's 1-2 cursor heights below them.

OBSERVED RESULT
The cursor was inverted and the selected region was above the cursor position
in VMs with 3D acceleration enabled

EXPECTED RESULT
The cursor would appear normally and it would select things as usual.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide/37
(available in About System)
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
This problem didn't happen when using the same Fedora Rawhide KDE Plasma image
on bare metal with the radeonsi mesa driver and amdgpu kernel driver with an
integrated Radeon R5 GPU or in a GNOME Boxes QEMU-KVM VM with 3D acceleration
disabled using the llvmpipe driver and virtio gpu. The problem might involve
the virgl driver.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to