Game "Deadcore" missing font texture, and poor quality textures in game.
A native 32-bit Unity based game "Deadcore" ( https://store.steampowered.com/app/284460/DeadCore/ ) shows missing textures and fonts in menus, and in game textures are very low resolution.
- zink-wip @ a0c111ab
AMD Radeon R9 Fury X (FIJI, GFX8)
I think this is because of misreported VRAM or something, and game shrinks them to almost 1x1 pixel.
Log file (~/.config/unity3d/5 Bits Games/DeadCore/Player.log
) from the game confirms this: Player.log
glxinfo with and without zink:
user@debian:~$ MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo -B
name of display: :0
ZINK: USING EXPERIMENTAL LAZY DESCRIPTORS
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Collabora Ltd (0x1002)
Device: zink (AMD RADV FIJI (ACO)) (0x7300)
Version: 21.1.0
Accelerated: yes
Video memory: 4096MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Collabora Ltd
OpenGL renderer string: zink (AMD RADV FIJI (ACO))
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.0-devel (git-a0c111ab14)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
ZINK: USING EXPERIMENTAL LAZY DESCRIPTORS
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.0-devel (git-a0c111ab14)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
ZINK: USING EXPERIMENTAL LAZY DESCRIPTORS
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.1.0-devel (git-a0c111ab14)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
user@debian:~$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon (TM) R9 Fury Series (FIJI, DRM 3.40.0, 5.10.0-2-amd64, LLVM 11.0.1) (0x7300)
Version: 21.1.0
Accelerated: yes
Video memory: 4096MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 3497 MB, largest block: 3497 MB
VBO free aux. memory - total: 3980 MB, largest block: 3980 MB
Texture free memory - total: 3497 MB, largest block: 3497 MB
Texture free aux. memory - total: 3980 MB, largest block: 3980 MB
Renderbuffer free memory - total: 3497 MB, largest block: 3497 MB
Renderbuffer free aux. memory - total: 3980 MB, largest block: 3980 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4096 MB
Total available memory: 8192 MB
Currently available dedicated video memory: 3497 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon (TM) R9 Fury Series (FIJI, DRM 3.40.0, 5.10.0-2-amd64, LLVM 11.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.0-devel (git-a0c111ab14)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.0-devel (git-a0c111ab14)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.0-devel (git-a0c111ab14)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
The issue of memory reporting, also showed up in some other places before with zink, i.e. Serious Sam 3, can't detect VRAM. Also I believe Unigine Superposition thinks it is 256MB, etc. Which all could be due to a fallback and lack of GL_ATI_meminfo
and GL_NVX_gpu_memory_info
emulation / faking.