Skip to contentSkip to conversation

New: [radeonsi]Black screen in unigine-tropics

Bug 68389 [email protected] 1 participant 10 messages Aug 21, 2013 – Aug 22, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 68389
Assignee: [email protected]
Summary: [radeonsi]Black screen in unigine-tropics
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa

Created attachment 84399
--> https://bugs.freedesktop.org/attachment.cgi?id=84399&action=edit
Black screen in unigine-tropics

Subj!

ArchLinux x32; kernel 3.10; llvm - svn; mesa - git; Radeon HD 7950.

behem0th@ArchLinux ~ $ unigine-tropics_1024x768_windowed.sh Loading "/home/behem0th/.Unigine Tropics/unigine.cfg"... Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 1024x768 windowed video mode
Set 1.00 gamma value
Unigine engine http://unigine.com/
Binary: Linux 32bit GCC 4.3.2 Release May 20 2010 App path: /opt/unigine-tropics/bin/
Data path: /opt/unigine-tropics/data/
Save path: /home/behem0th/.Unigine Tropics/

---- System ----
System: Linux 3.10.0-1-ARCH i686
CPU: AMD Phenom(tm) 9550 Quad-Core Processor 2200MHz MMX+ 3DNow!+ SSE SSE2 SSE3 SSE4A HTT
GPU: Gallium 0.4 on AMD TAHITI 2.1 Mesa 9.3.0-devel (git-10aa367) System memory: 8095 Mb
Video memory: 256 Mb

---- MathLib ----
Set SSE3 simd processor

---- Sound ----

Renderer: OpenAL Soft
OpenAL vendor:   OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version:  1.1 ALSOFT 1.15.1

Found AL_EXT_LINEAR_DISTANCE
Found AL_EXT_OFFSET
Found ALC_EXT_EFX
Found EFX Filter
Found EFX Reverb
Found EAX Reverb
Found QUAD16 format
Found 51CHN16 format
Found 61CHN16 format
Found 71CHN16 format

Maximum sources:         256
Maximum effect slots:    4
Maximum auxiliary sends: 2

---- Render ----
GLRender::GLRender(): Unknown GPU

OpenGL vendor:   X.Org
OpenGL renderer: Gallium 0.4 on AMD TAHITI
OpenGL version:  2.1 Mesa 9.3.0-devel (git-10aa367)

Found required GL_ARB_map_buffer_range
Found required GL_ARB_vertex_array_object
Found required GL_ARB_vertex_buffer_object
Found required GL_ARB_half_float_vertex
Found required GL_ARB_half_float_pixel
Found required GL_ARB_occlusion_query
Found required GL_EXT_texture3D
Found required GL_EXT_texture_cube_map
Found required GL_EXT_texture_sRGB
Found required GL_EXT_texture_swizzle
Found required GL_ARB_shader_object
Found required GL_ARB_vertex_shader
Found required GL_ARB_fragment_shader
Found required GL_ARB_draw_buffers
Found required GL_ARB_framebuffer_object
Found required GL_EXT_framebuffer_blit
Found required GL_EXT_framebuffer_multisample
Found optional GL_ARB_draw_instanced
Found optional GL_ARB_draw_elements_base_vertex
Found optional GL_ARB_texture_rg
Found optional GL_EXT_texture_array
Found optional GL_ARB_texture_multisample
Found optional GL_ARB_texture_compression
Found optional GL_ARB_texture_compression_rgtc
Found optional GL_ARB_seamless_cube_map

Shading language:      1.30
Maximum texture size:  16384
Maximum texture units: 32
Maximum draw buffers:  8

---- Physics ----
Physics: Multi-threaded

---- Interpreter ----
Version: 2.31

Loading "tropics/unigine.cpp" 126ms
Loading "demos/tropics/locale/unigine.ru" dictionary
Loading "core/materials/unigine_post.mat" 12 materials 12 shaders 0ms
Loading "core/materials/unigine_render.mat" 34 materials 77 shaders 13ms
Loading "core/materials/unigine_meshes.mat" 16 materials 9350 shaders 99ms
Loading "core/materials/unigine_terrains.mat" 1 material 293 shaders 5ms
Loading "core/materials/unigine_grass.mat" 1 material 81 shaders 8ms
Loading "core/materials/unigine_particles.mat" 1 material 43 shaders 7ms
Loading "core/materials/unigine_billboards.mat" 1 material 33 shaders 8ms
Loading "core/materials/unigine_volumes.mat" 5 materials 29 shaders 15ms
Loading "core/materials/unigine_guis.mat" 1 material 24 shaders 2ms
Loading "core/materials/unigine_water.mat" 1 material 63 shaders 20ms
Loading "core/materials/unigine_skies.mat" 1 material 19 shaders 25ms
Loading "core/materials/unigine_decals.mat" 1 material 69 shaders 11ms
Loading "core/properties/unigine.prop" 2 properties 1ms
Unigine~# world_load tropics
Loading "tropics.cpp" 320ms
Loading "demos/tropics/tropics.mat" 40 materials 812ms
Loading "tropics.world" 15813ms
Unigine~# render_hdr 1 && render_srgb 0 && render_restart
Release
GLShader::loadFragment(): error in
"core/shaders/render/fragment_occlusion_blur.shader" file
defines:
UNKNOWN,QUALITY_LOW,QUALITY_MEDIUM,QUALITY_HIGH,MULTISAMPLE_0,USE_INSTANCING,USE_TEXTURE_ARRAY,USE_DEFERRED,USE_OCCLUSION,USE_REFLECTION,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,USE_ARB_TEXTURE_MULTISAMPLE,HAS_ARB_DRAW_INSTANCED 0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D,
ivec2, int, ivec2)'
Unigine~# quit
Close "libopenal.so.1"
Close "libGL.so.1"

Memory usage: 64b
Allocations:  1

Shutdown

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

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

#1 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

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

--- Comment #1 from Vladimir Ysikov <[email protected]> --- Created attachment 84403
--> https://bugs.freedesktop.org/attachment.cgi?id=84403&action=edit
Shader dump from unigine-tropics

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

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

#2 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

Vladimir Ysikov <[email protected]> changed:

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

  Attachment #84399|text/plain                  |image/png
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#3 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

--- Comment #2 from Hohahiu <[email protected]> ---
I can confirm the bug as in the case of unigine-sanctuary. My hardware is Intel 4000+ AMD 7750M. I ran unigine-sanctuary with DRI_PRIME.
My software:
openSUSE 12.3 x86_64
kernel 3.11.rc-6
Mesa-git
llvm-svn
radeon-git

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

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

#4 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

--- Comment #3 from Laurent carlier <[email protected]> --- Got a different backtrace with:
* OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
* OpenGL version string: 2.1 Mesa 9.3.0-devel (git-f53b634)
* LLVM-3.4svn r188604

[lordh@archMain tropics]$ ./1024x768_windowed.sh
Loading "/home/lordh/Desktop/tropics/bin/../data/unigine.cfg"... Engine::init(): clear video settings for "Gallium 0.4 on AMD PITCAIRN 2.1 Mesa 9.3.0-devel (git-f53b634)"
Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 1024x768 windowed video mode
Set 1.00 gamma value
Unigine engine http://unigine.com/
Binary: Linux 32bit GCC 4.3.2 Release May 20 2010
App path: /home/lordh/Desktop/tropics/bin/
Data path: /home/lordh/Desktop/tropics/data/
Save path: /home/lordh/.Unigine Tropics/

---- System ----
System: Linux 3.11.0-17-agd5f x86_64
CPU: AMD Phenom(tm) II X6 1055T Processor 2812MHz MMX+ 3DNow!+ SSE SSE2 SSE3 SSE4A HTT
GPU: Gallium 0.4 on AMD PITCAIRN 2.1 Mesa 9.3.0-devel (git-f53b634) System memory: 7986 Mb
Video memory: 256 Mb

---- MathLib ----
Set SSE3 simd processor

---- Sound ----

Renderer: OpenAL Soft
OpenAL vendor:   OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version:  1.1 ALSOFT 1.15.1

Found AL_EXT_LINEAR_DISTANCE
Found AL_EXT_OFFSET
Found ALC_EXT_EFX
Found EFX Filter
Found EFX Reverb
Found EAX Reverb
Found QUAD16 format
Found 51CHN16 format
Found 61CHN16 format
Found 71CHN16 format

Maximum sources:         256                                                    
Maximum effect slots:    4                                                      
Maximum auxiliary sends: 2                                                      

---- Render ----
GLRender::GLRender(): Unknown GPU

OpenGL vendor:   X.Org                                                          
OpenGL renderer: Gallium 0.4 on AMD PITCAIRN                                    
OpenGL version:  2.1 Mesa 9.3.0-devel (git-f53b634)                             

Found required GL_ARB_map_buffer_range
Found required GL_ARB_vertex_array_object
Found required GL_ARB_vertex_buffer_object
Found required GL_ARB_half_float_vertex
Found required GL_ARB_half_float_pixel
Found required GL_ARB_occlusion_query
Found required GL_EXT_texture3D
Found required GL_EXT_texture_cube_map
Found required GL_EXT_texture_sRGB
Found required GL_EXT_texture_swizzle
Found required GL_ARB_shader_object
Found required GL_ARB_vertex_shader
Found required GL_ARB_fragment_shader
Found required GL_ARB_draw_buffers
Found required GL_ARB_framebuffer_object
Found required GL_EXT_framebuffer_blit
Found required GL_EXT_framebuffer_multisample
Found optional GL_ARB_draw_instanced
Found optional GL_ARB_draw_elements_base_vertex
Found optional GL_ARB_texture_rg
Found optional GL_EXT_texture_array
Found optional GL_ARB_texture_multisample
Found optional GL_ARB_texture_compression
Found optional GL_ARB_texture_compression_rgtc
Found optional GL_ARB_seamless_cube_map

Shading language:      1.30
Maximum texture size:  16384
Maximum texture units: 32
Maximum draw buffers:  8

---- Physics ----
Physics: Multi-threaded

---- Interpreter ----
Version: 2.31

Loading "tropics/unigine.cpp" 89ms
Loading "demos/tropics/locale/unigine.en" dictionary
Loading "core/materials/unigine_post.mat" 12 materials 12 shaders 0ms Loading "core/materials/unigine_render.mat" 34 materials 77 shaders 10ms Loading "core/materials/unigine_meshes.mat" 16 materials 9350 shaders 69ms Loading "core/materials/unigine_terrains.mat" 1 material 293 shaders 2ms Loading "core/materials/unigine_grass.mat" 1 material 81 shaders 5ms Loading "core/materials/unigine_particles.mat" 1 material 43 shaders 4ms Loading "core/materials/unigine_billboards.mat" 1 material 33 shaders 5ms Loading "core/materials/unigine_volumes.mat" 5 materials 29 shaders 11ms Loading "core/materials/unigine_guis.mat" 1 material 24 shaders 2ms Loading "core/materials/unigine_water.mat" 1 material 63 shaders 25ms Loading "core/materials/unigine_skies.mat" 1 material 19 shaders 19ms Loading "core/materials/unigine_decals.mat" 1 material 69 shaders 7ms Loading "core/properties/unigine.prop" 2 properties 0ms
Unigine~# world_load tropics
Loading "tropics.cpp" 219ms
Loading "demos/tropics/tropics.mat" 40 materials 769ms
Loading "tropics.world" 10461ms
Unigine~# render_hdr 1 && render_srgb 0 && render_restart
Release
Unigine~# render_stereo 0 && render_restart
Tropics: SIInstrInfo.cpp:94: virtual void llvm::SIInstrInfo::copyPhysReg(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, llvm::DebugLoc, unsigned int, unsigned int, bool) const: Assertion `AMDGPU::SReg_32RegClass.contains(SrcReg)' failed. Stack dump:
0. Running pass 'Function Pass Manager' on module 'tgsi'.
1. Running pass 'Post-RA pseudo instruction expansion pass' on function
'@main'
./1024x768_windowed.sh : ligne 13 : 9548 Abandon (core
dumped)./bin/Tropics -video_app opengl -sound_app openal -extern_define RELEASE -system_script tropics/unigine.cpp -engine_config ../data/unigine.cfg -data_path ../ -video_fullscreen 0 -video_mode -1 -video_width 1024 -video_height 768

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

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

#5 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

--- Comment #4 from Tom Stellard <[email protected]> --- (In reply to comment #3)

Quoted 5 lines

Got a different backtrace with:
* OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
* OpenGL version string: 2.1 Mesa 9.3.0-devel (git-f53b634)
* LLVM-3.4svn r188604

This should be fixed by:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130819/185162.html

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

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

#6 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

--- Comment #5 from Vladimir Ysikov <[email protected]> --- Nothing has changed with this patch.

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

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

#7 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

--- Comment #6 from Michel Dänzer <[email protected]> ---

Quoted 2 lines

0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'

I was seeing these errors before, but I no longer am. Does it help if you launch Tropics something like:

force_glsl_extensions_warn=true disable_blend_func_extended=true
./1024x768_windowed.sh

(In reply to comment #3)

Quoted 5 lines

Tropics: SIInstrInfo.cpp:94: virtual void llvm::SIInstrInfo::copyPhysReg(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, llvm::DebugLoc, unsigned int, unsigned int, bool) const: Assertion `AMDGPU::SReg_32RegClass.contains(SrcReg)' failed.

Tom's LLVM patch fixes this.

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

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

#8 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

--- Comment #7 from Vladimir Ysikov <[email protected]> ---

Quoted 1 line

Nothing has changed with this patch.

Sorry guys, i forget rebuild mesa after rebuild patched llvm.

With Tom's patch unigine-tropics show normal picture.

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

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

#9 lore raw

[Bug 68389] [radeonsi]Black screen in unigine-tropics

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Tom Stellard <[email protected]> --- I've committed the fix.

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

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