Cursor in Pathfinder:Kingmaker has artifacts, in Hands of Fate 2 is invisible, and in Gremlins is barely visible.
I have R9 Fury X with 2 monitors and I'm using mesa-19.0.0 from git ( 5c0cff868a48202df1ddb30d1dca848101063cb6 ), xorg-server 18.104.22.168 from git ( c901adc327bce4c0d19caf350cbcb0cd5254f306 ), libdrm from git ( 0be850441f24c55cf5a2f1ce3b33457add685b96 ), kernel-4.19.0 ( 5f21585384a4a69b8bfdd2cae7e3648ae805f57d ) and xf86-video-amdgpu from git ( 1cb338253af9c539fc1f13fc12b255ed6303f8b1 ).
I saw there was patch 2 weeks ago that tried to fix cursor in the Civilization VI ( ad6dfb0124860cf67730bde85867f81d9258c84d, "Detect and fix up non-premultiplied cursor data" ) and I tried to revert it but this didn't fix issue with the games mentioned above.
Does reverting https://gitlab.freedesktop.org/xorg/xserver/commit/b45c74f0f2868689e7ed695b33e8c60cd378df0b as well help?
Please attach the corresponding Xorg log file and the output of dmesg.
Yes, reverting both patches fixes the issue in these 3 games.
Tomorrow I can also check Civilization VI (have to install it first, but its late today).
Do you still need Xorg.log and dmesg ?
(In reply to Mariusz Ceier from comment #3)
> Do you still need Xorg.log and dmesg ?
Merge requests addressing this issue:
So cursor in Civilization VI also doesn't have artifacts when both patches (ad6dfb0124860cf67730bde85867f81d9258c84d in xf86-video-amdgpu and b45c74f0f2868689e7ed695b33e8c60cd378df0b in xserver) are reverted.
I also tried patches from merge requests (that is revert of b45c74f0f2868689e7ed695b33e8c60cd378df0b in xserver and ad6dfb0124860cf67730bde85867f81d9258c84d with new patch in xf86-video-amdgpu) and cursor is displayed properly in these 4 games I tried - so these MRs fix the issue for me.
Thanks for the report, fixed in Git master:
Author: Michel Dänzer <firstname.lastname@example.org>
Date: Tue Nov 6 12:06:20 2018 +0100
Relax detection of non-premultiplied alpha cursor data