white cursor with planetary annihilation
https://bugs.freedesktop.org/show_bug.cgi?id=91641
Bug ID: 91641
Summary: white cursor with planetary annihilation
Product: Mesa
Version: 10.6
Hardware: Other
OS: All
Status: NEW
Severity: minor
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 117696
--> https://bugs.freedesktop.org/attachment.cgi?id=117696&action=edit
screenshot in the PA menu
the cursor is a big white square in planetary annihilation. (see screenshot attached).
only the blue arrow should be seen, the white square should be transparent.
HW is radeon HD 7950 with radeonsi driver
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TAHITI OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.4 OpenGL core profile shading language version string: 3.30
thread on uber forum :
https://forums.uberent.com/threads/state-of-the-cursor-fix.69376/
tried to add Option "SWCursor" "True" to xorg.conf, but doesn't have any
visible effect.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
Ilia Mirkin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117696|text/plain |image/jpeg
mime type| |Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #1 from Alex Deucher <[email protected]> --- Does the app use the hw cursor or draw it's own?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #2 from [email protected] ---
according to the last post of this thread :
https://forums.uberent.com/threads/reproduction-of-cursor-bug.50898/page-2
the post is a bit old, so I'm not sure it's still 100% accurate :
one of the dev said:"For the cursor we use the standard XCursor library with calls like XcursorImageLoadCursor. We could hide the system cursor and compose the cursor image ourselves but that has a couple of downsides, primarily that it adds more lag between when the mouse moves and when the cursor moves."
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #3 from [email protected] ---
by the way, there was a mod that fixed the cursor issue with mesa drivers. but it's not working with recent build.
also it's working with nvidia binary driver. So I'm still unsure if this bug is in the driver or in the game, or in a lib between them.
on a side note, I tried to record a trace with apitrace, but it doesn't record the cursor.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #4 from [email protected] ---
Created attachment 117701
--> https://bugs.freedesktop.org/attachment.cgi?id=117701&action=edit
cursor fixed
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #5 from [email protected] ---
I found a good workaround. the issue is with cursor.png.
I edited the cursor.png with gimp, and paint the "transparent square" with black and then save with "save color of transparent pixel" checked and now it works !
attached the modified cursor.png
just copy it to SteamApps/common/Planetary Annihilation/media/ui/main/game/live_game/img/cursors/cursor.png and voila
so for some reason mesa/xcursor or radeonsi think transparent pixels with white color are not transparent. (red are partialy transparent, and black are completely transparent).
I attached the two cursor.png file, so it can be tested/reproduced easily.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #6 from [email protected] ---
Created attachment 117702
--> https://bugs.freedesktop.org/attachment.cgi?id=117702&action=edit
original cursor from PA
this png has white transparent pixels, which are not transparent with xorg.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
--- Comment #7 from Michel Dänzer <[email protected]> --- Sounds like it may be a Planetary Annihilation bug, the cursor data it's feeding to the XCursor library may not use proper pre-multiplied alpha as expected.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #8 from [email protected] ---
Fixed in latest Planetary Annihilation update.
release note include :
"Fix some cursors on certain Linux drivers"
http://steamcommunity.com/games/233250/announcements/detail/125327186128569099
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91641
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |NOTOURBUG
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel