Bug 71212

Summary: [RadeonSI]: Unigine Heaven fails to launch with X error
Product: Mesa Reporter: samit vats <hysvats>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium CC: alexander, grantipak, mike
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg.log
dmesg.txt

Description samit vats 2013-11-04 10:36:55 UTC
Created attachment 88589 [details]
Xorg.log

Driver Stack Details:
=====================

1)    Kernel-3.11.0-12-generic
2)    drm-2.4.46
3)    Mesa-10.0.0-devel  
4)    Xorg-server-1.14.3
5)    xf86-video-ati- git
6)    glamor-0.5.1
7)    LLVM-3.3

System Configuration:
=====================

Asic         : Cape Veede Pro-683F
O.S.         : Ubuntu-13.10 (64 bit)

Steps to Reproduce :
=====================

1) Install Unigine Heaven with Phoronix-test-suite

2) phoronix-test-suite run unigine-heaven

Observed:
==========

Loading "/home/atitest/.phoronix-test-suite/installed-tests/pts/unigine-heaven-1.5.2/Unigine_Heaven-4.0/bin/../data/heaven_4.0.cfg"...
Loading "libGPUMonitor_x64.so"...
Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 1920x1200 windowed video mode
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  55
  Current serial number in output stream:  54
Comment 1 samit vats 2013-11-04 10:38:21 UTC
Created attachment 88590 [details]
dmesg.txt
Comment 2 Arek Ruśniak 2013-11-06 12:28:27 UTC
As far i know Heaven4.0 needs ogl 3.2 or higher for work. BTW your "llvm" is a little bit old for ogl 3.1
Comment 3 Mike Lothian 2013-11-06 13:53:38 UTC
Launching it with MESA_GL_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=150 should be enough to get it running - antialiasing won't work properly as Mesa doesn't support EXT_gpu_shader4 from Nvidia
Comment 4 Arek Ruśniak 2013-11-06 14:21:53 UTC
Indeed, thx M. for tip. It run but slow as hell ;)
Comment 5 samit vats 2013-11-12 11:04:31 UTC
Running heaven with MESA_GL_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=150 hard hangs the system
after few minutes of launch
Comment 6 Stepan Bakshaev 2014-01-20 18:29:26 UTC
(In reply to comment #5)
> Running heaven with MESA_GL_VERSION_OVERRIDE=3.2
> MESA_GLSL_VERSION_OVERRIDE=150 hard hangs the system
> after few minutes of launch

OS: Ubuntu 14.04 (dev, updated to present state)
Device:	Cape Verde XT [Radeon HD 7770 GHz Edition] [683d]

Bench finished success with results:

Time:	188.999
Frames:	2666
FPS:	14.1059
Min FPS:	8.78678
Max FPS:	26.3573
Score:	590.19
Comment 7 Stepan Bakshaev 2014-01-20 18:31:11 UTC
(In reply to comment #6)
> OS: Ubuntu 14.04 (dev, updated to present state)
> Device:	Cape Verde XT [Radeon HD 7770 GHz Edition] [683d]
> 
> Bench finished success with results:
> 
> Time:	188.999
> Frames:	2666
> FPS:	14.1059
> Min FPS:	8.78678
> Max FPS:	26.3573
> Score:	590.19

It was about valley.
Comment 8 Stepan Bakshaev 2014-01-20 18:37:46 UTC
Heaven's 4.0 results:

Time:	260.509
Frames:	3949
FPS:	15.1588
Min FPS:	5.87158
Max FPS:	27.4029
Score:	381.85


OS: Ubuntu 14.04 (dev, updated to present state)
Device:	Cape Verde XT [Radeon HD 7770 GHz Edition] [683d]
Comment 9 Vladimir Usikov 2014-01-31 13:10:32 UTC
Radeonsi in master mesa now support OpenGL 3.3 and GLSL 3.30. This is enough to run unigine-heaven, unigine-valley and oilrush normaly. Bug may be closed?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.