Bug 97356 - No cursor on ARM, with llvmpipe
Summary: No cursor on ARM, with llvmpipe
Status: RESOLVED NOTOURBUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-15 17:33 UTC by Paul Kocialkowski
Modified: 2016-08-16 17:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Kocialkowski 2016-08-15 17:33:27 UTC
When running wayland on ARMv7 (tested both on a tegra124 nyan_big and an imx6q cubox-i), no cursor is shown on screen. This happens when running GDM and GNOME on Wayland. Both devices were using mesa with llvmpipe.

However, running the same setup (with llvmpipe) on Intel x86 hardware with LIBGL_ALWAYS_SOFTWARE=1 in /etc/environment doesn't trigger the issue.

Note that while the cursor is not shown, it can still be used (blindly) so it doesn't seem to be an input-related issue.

Wayland version is 1.11, GDM is 3.20. System in Parabola (Arch-derivative).

This may be a duplicate of #94776 and #94778.
Comment 1 Pekka Paalanen 2016-08-16 07:47:08 UTC
I think you may need to do a bit more investigation to determine which is at fault: the compositor or the drivers you use. I am quite sure the bug is not in Wayland, but either in the compositor, the drivers, or the combination of the two.

I do not know how gnome-shell (is that the compositor running?) implements cursors, so I cannot guess the cause.

You might get more attention filing a bug against GDM or GNOME's compositor, I believe.
Comment 2 Daniel Stone 2016-08-16 12:01:58 UTC
I'm entirely willing to bet that drmModeSetCursor is broken on tegra and imx-drm, due to not declaring discrete cursor planes. What happens if you press Windows - Shift - Space (release) then 'c'? That should force the cursors to go through the regular composition path.
Comment 3 Paul Kocialkowski 2016-08-16 13:25:42 UTC
I just tried two things:
* Super + Shift + Space (then release) c: didn't do anything particular, cursor didn't show up (on both tegra and imx)
* Running weston-launch does show a cursor normally (on both tegra and imx)

I also noted that the same behaviour happens with the (experimental) etnaviv driver on imx, in addition to llvmpipe.

Do you think I should bring it up with GNOME folks?
Comment 4 Daniel Stone 2016-08-16 14:46:14 UTC
Oh sorry, I didn't notice you were running GNOME. As Pekka says, this is not a generic 'Wayland' issue (especially as Weston works), but specific to GNOME's implementation. Can you please file a bug on Mutter at https://bugzilla.gnome.org so they can fix it?
Comment 5 Paul Kocialkowski 2016-08-16 17:43:01 UTC
Submitted at https://bugzilla.gnome.org/show_bug.cgi?id=770001


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.