Skip to contentSkip to conversation

Civilization VI - Artifacts in mouse cursor

Bug 108355 [email protected] 1 participant 2 messages Oct 13, 2018 – Oct 16, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 108355
Summary: Civilization VI - Artifacts in mouse cursor
Product: Mesa
Version: 18.2
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 142017
--> https://bugs.freedesktop.org/attachment.cgi?id=142017&action=edit
expected and actual cursor texture

I'm on Ubuntu 18.04.1 with a RX 480 and Mesa 18.2.2

The mouse cursor texture is not correctly displayed. There are several artifacts, like a left vertical missing line, bright magenta, green and cyan pixels (see the attached image).

uname -a:

Linux c18 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

glxinfo -B:

name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):

    Vendor: X.Org (0x1002)
    Device: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.23.0,

4.15.0-36-generic, LLVM 7.0.0) (0x67df)
Version: 18.2.2
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.4
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 7781 MB, largest block: 7781 MB
VBO free aux. memory - total: 8176 MB, largest block: 8176 MB Texture free memory - total: 7781 MB, largest block: 7781 MB Texture free aux. memory - total: 8176 MB, largest block: 8176 MB Renderbuffer free memory - total: 7781 MB, largest block: 7781 MB Renderbuffer free aux. memory - total: 8176 MB, largest block: 8176 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 16384 MB
Currently available dedicated video memory: 7781 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.23.0, 4.15.0-36-generic, LLVM 7.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.2 - padoka PPA OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.2.2 - padoka PPA OpenGL shading language version string: 4.40
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.2.2 - padoka PPA OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Hadrien Nilsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Drivers/Gallium/radeonsi    |Drivers/Gallium/softpipe
           Assignee|[email protected] |[email protected].
                   |.org                        |org
         QA Contact|[email protected] |[email protected].
                   |.org                        |org

--- Comment #1 from Hadrien Nilsson <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel