https://bugs.freedesktop.org/show_bug.cgi?id=95346
Bug ID: 95346 Summary: Stellaris - Black/super dark planets Product: Mesa Version: git Hardware: x86 (IA32) OS: Linux (All) Status: NEW Severity: minor Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: mordocai@mordocai.net QA Contact: dri-devel@lists.freedesktop.org
Created attachment 123613 --> https://bugs.freedesktop.org/attachment.cgi?id=123613&action=edit Visual glitch of planet in stellaris
Stellaris is 32-bit only. This was tested on debian testing x86_64 with compiled for 32-bit and installed git master radeonsi driver and libGL.
I confirmed stellaris was using the correct libGL and radeonsi_dri via /proc/pid/maps.
I compiled mesa with:
CC="gcc -m32" CXX="g++ -m32" ./autogen.sh --with-gallium-drivers=radeonsi --with-egl-platforms=drm,x11 --enable-texture-float --enable-glx-tls --enable-shared-glapi --enable-glx --enable-driglx-direct --enable-gles1 --enable-gles2 --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu
It ouputs: prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: no
DRI platform: drm DRI drivers: i915 i965 nouveau r200 radeon swrast DRI driver dir: ${libdir}/dri GLX: DRI-based
EGL: yes EGL platforms: drm x11 EGL drivers: builtin:egl_dri2 builtin:egl_dri3
Vulkan drivers: no
llvm: yes llvm-config: /usr/bin/llvm-config llvm-version: 3.6.2
Gallium drivers: radeonsi Gallium st: mesa vdpau
Shader cache: no
Shared libs: yes Static libs: no Shared-glapi: yes
CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp Macros: -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0306 -DMESA_LLVM_VERSION_PATCH=2
LLVM_CFLAGS: -I/usr/lib/llvm-3.6/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_CXXFLAGS: -I/usr/lib/llvm-3.6/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=c++11 LLVM_CPPFLAGS: -I/usr/lib/llvm-3.6/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_LDFLAGS: -L/usr/lib/llvm-3.6/lib
PYTHON2: python2.7 PYTHON3: python3.5
Run 'make' to build Mesa
My graphics card shows up as:
Advanced Micro Devices [AMD/ATI] Curacao XT [Radeon R7 370 / R9 270X/370 OEM]
I have attached a picture with this description. I don't see a way to add multiple attachments so I will attach a picture of what it should look like as well as the apitrace after I submit.
I'm new to all this so sorry if I missed anything! I have a vested interest in fixing this and am a programmer(though super inexperienced with graphics) so feel free to give me technical instructions.