[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

Michel Dänzer  changed:

   What|Removed |Added

Product|Mesa|xorg
 QA Contact|mesa-dev@lists.freedesktop. |xorg-t...@lists.x.org
   |org |
  Component|Drivers/Gallium/swr |Driver/AMDgpu
   Assignee|mesa-dev@lists.freedesktop. |xorg-driver-...@lists.x.org
   |org |
Version|18.2|git

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

Michel Dänzer  changed:

   What|Removed |Added

 Attachment #142083|text/x-log  |text/plain
  mime type||

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #9 from Hadrien Nilsson  ---
Created attachment 142083
  --> https://bugs.freedesktop.org/attachment.cgi?id=142083&action=edit
Xorg log with amdgpu_drv 18.1.0

I think you're right to be doubtful. I looked at the log and "amdgpu_drv.so"
18.1 was not loaded as it's not ABI compatible with the rest of my Xorg
installation. So when the bug disappeared I guess I was running in some kind of
fallback mode that does not have the mouse cursor bug :/

Ubuntu 18.10 will be released soon, so maybe I could wait for that version.
Xorg code will probably be updated then.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #8 from Michel Dänzer  ---
(In reply to Hadrien Nilsson from comment #7)
> amdgpu.dc=0 had no effect, but using xf86-video-amdgpu 18.1.0 indeed fixed
> the problem :) Thank you Michel.

Well, that's a surprising result though. Please attach a new Xorg log file from
xf86-video-amdgpu 18.1.0.


> I still do not know if the mouse cursor is displayed as intended (there is a
> shadow which seems to use additive blending instead of alpha blending) but
> at least there are no more artifacts.

For comparison, you can disable the HW cursor with

 Option "SWcursor"

in the /etc/X11/xorg.conf Section "Device".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

Hadrien Nilsson  changed:

   What|Removed |Added

  Component|Drivers/Gallium/softpipe|Drivers/Gallium/swr

--- Comment #7 from Hadrien Nilsson  ---
amdgpu.dc=0 had no effect, but using xf86-video-amdgpu 18.1.0 indeed fixed the
problem :) Thank you Michel.

Hopefully that new version we'll be released somehow for my Linux distribution.

I still do not know if the mouse cursor is displayed as intended (there is a
shadow which seems to use additive blending instead of alpha blending) but at
least there are no more artifacts.

I guess I should change the Bugzilla Product to "xorg"?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #6 from Michel Dänzer  ---
Does it still happen with xf86-video-amdgpu 18.1.0?

Does amdgpu.dc=0 on the kernel command line avoid the problem?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

Michel Dänzer  changed:

   What|Removed |Added

 Attachment #142059|text/x-log  |text/plain
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #5 from Hadrien Nilsson  ---
I tried to run the game under a Wayland session instead of X11 and the mouse
cursor is normal.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #4 from Hadrien Nilsson  ---
Created attachment 142059
  --> https://bugs.freedesktop.org/attachment.cgi?id=142059&action=edit
Xorg log after reboot and started briefly the game in windowed mode

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #3 from Hadrien Nilsson  ---
Created attachment 142058
  --> https://bugs.freedesktop.org/attachment.cgi?id=142058&action=edit
dmesg after reboot

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

--- Comment #2 from Michel Dänzer  ---
Please attach the corresponding Xorg log file and output of dmesg.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 108355] Civilization VI - Artifacts in mouse cursor

2018-10-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108355

Hadrien Nilsson  changed:

   What|Removed |Added

  Component|Drivers/Gallium/radeonsi|Drivers/Gallium/softpipe
   Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
   |.org|org
 QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
   |.org|org

--- Comment #1 from Hadrien Nilsson  ---
I start thinking I'm not in the right Bugzilla section as OpenGL does not
handle mouse cursors. Sorry if that the case, I would love to know the exact
faulting component in the graphics stack.

I do not know if this is a SDL, X11, drm, amdgpu or hardware problem, or the
game itself (some kind of surface corruption). But Gnome screenshot program is
able to correctly retrieve the cursor image as shown in the attachment.

I wrote a small SDL program that changes my mouse cursor, as this is what Civ6
seems to use, but everything works fine.

I contacted Aspyr support but their response was a dead-end : "AMD an Intel
GPUs aren't supported".

I tried to make the game use my own compiled SDL version with no luck. Steam
games seem to use some kind of sandbox, LD_PRELOAD seems to be ignored. Or the
game may not actually use SDL for the mouse cursor though the related symbols
are referenced in the executable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev