From: bugzilla-daemon@bugs.freedesktop.org
Subject: [Bug 95346] Stellaris - Black/super dark planets
Date: Wed, 11 May 2016 02:29:07 +0000
Message-ID:
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 att=
achment 123613 [details]
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.=20
I confirmed stellaris was using the correct libGL and radeonsi_dri via
/proc/pid/maps.
I compiled mesa with:
CC=3D"gcc -m32" CXX=3D"g++ -m32" ./autogen.sh --with-ga=
llium-drivers=3Dradeonsi
--with-egl-platforms=3Ddrm,x11 --enable-texture-float --enable-glx-tls
--enable-shared-glapi --enable-glx --enable-driglx-direct --enable-gles1
--enable-gles2 --build=3Dx86_64-pc-linux-gnu --host=3Di686-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=20
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=3Dc99
-Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes
-fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp
CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-mem=
cmp
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=3D0x0306
-DMESA_LLVM_VERSION_PATCH=3D2
LLVM_CFLAGS: -I/usr/lib/llvm-3.6/include -D__STDC_CONSTANT_MA=
CROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_CXXFLAGS: -I/usr/lib/llvm-3.6/include -D__STDC_CONSTANT_MA=
CROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=3Dc++11=20=20=20=20=20=
=20
LLVM_CPPFLAGS: -I/usr/lib/llvm-3.6/include -D__STDC_CONSTANT_MA=
CROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_LDFLAGS: -L/usr/lib/llvm-3.6/lib=20
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 OE=
M]
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.