Bug 77531 - radeonsi: kaveri: mouse cursor corruption on wayland/weston session
Summary: radeonsi: kaveri: mouse cursor corruption on wayland/weston session
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 low
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 21:23 UTC by Alvaro Fernando García
Modified: 2014-06-09 03:56 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.11+
Subsystem:
Regression: No
Bisected commit-id:


Attachments
issue-photo-01 (4.12 MB, image/jpeg)
2014-06-08 21:23 UTC, Alvaro Fernando García
Details
dmesg kernel 3.14 (80.85 KB, text/plain)
2014-06-08 21:27 UTC, Alvaro Fernando García
Details
weston 1.5 output (6.39 KB, text/plain)
2014-06-08 21:31 UTC, Alvaro Fernando García
Details
issue photo 01 (283.53 KB, image/jpeg)
2014-06-08 21:37 UTC, Alvaro Fernando García
Details
issue photo 02 (147.25 KB, image/jpeg)
2014-06-08 21:37 UTC, Alvaro Fernando García
Details

Description Alvaro Fernando García 2014-06-08 21:23:03 UTC
Created attachment 138501 [details]
issue-photo-01

Kernel: 3.11+ (tested with 3.11.6, 3.12.9 and 3.14.5)
Distribution: Arch Linux
Hardware: AMD A10-7850K Kaveri APU

Description: After launching a new weston session, mouse cursor gets corrupted. 

Steps to reproduce:
- Start Linux with kernel 3.11+.
- Launch weston session (tested with 1.4+).
- Mouse cursor gets corrupted.
Comment 1 Alvaro Fernando García 2014-06-08 21:27:00 UTC
Created attachment 138511 [details]
dmesg kernel 3.14
Comment 2 Alvaro Fernando García 2014-06-08 21:31:49 UTC
Created attachment 138521 [details]
weston 1.5 output
Comment 3 Alvaro Fernando García 2014-06-08 21:37:06 UTC
Created attachment 138531 [details]
issue photo 01
Comment 4 Alvaro Fernando García 2014-06-08 21:37:39 UTC
Created attachment 138541 [details]
issue photo 02
Comment 5 Alex Deucher 2014-06-09 01:21:39 UTC
This isn't a driver bug.  It's a weston bug.  Weston assumes all hardware cursors are 64x64 pixels, but newer radeon hardware only supports 128x128 pixel cursors. Weston should be updated to query the kernel kms driver and see what size cursors it supports.  See this patch I wrote for xf86-video-modesetting:
http://cgit.freedesktop.org/xorg/driver/xf86-video-modesetting/commit/?id=677935b2d20f54f21c645b5eb386b6c9485fee5f
Comment 6 Alvaro Fernando García 2014-06-09 02:16:22 UTC
I've repoerted the bug to weston bugzilla.

Link: https://bugs.freedesktop.org/show_bug.cgi?id=79809

Thanks for answering!
Comment 7 Alvaro Fernando García 2014-06-09 03:56:43 UTC
I've uploaded a patch to weston bugtracker, so I think the bug can be closed here as invalid.

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