LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 11-13-2013, 04:19 PM   #1
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Rep: Reputation: 1
Shaders not working in Second Life with Mesa + Radeon


I'm a user of the Second Life virtual space platform. So far the SL viewer worked flawlessly for me under Linux. Yesterday however, I decided to dump the proprietary ATI driver (fglrx) and let Linux switch back to the free Radeon driver and Mesa. This completely broke GLSL shaders for the Second Life viewer, although Mesa is clearly capable to support them. fglrx is problematic and I'm not going back to it, and I really need to get SL working properly again. Can anyone help and tell me what I should do?

My Linux distribution is openSUSE 13.1, KDE 4.11.2. X11 1.6.2, MESA 9.2.2, Radeon 7.2.0 (xf86-video-ati) supporting OpenGL <= 3.1. My video card is a Radeon HD 6870. The viewer I use is Firestorm LGPL version 4.5.2. Here is the console output I get when I try to enable shaders while in-world: http://pastebin.com/raw.php?i=z4P1bu91

Code:
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(107) : addstandard: Adding standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/llviewershadermgr.cpp(438) : setShaders: 
~~~~~~~~~~~~~~~~~~
 Loading Shaders:
~~~~~~~~~~~~~~~~~~
2013-11-13T13:20:12Z INFO: newview/llviewershadermgr.cpp(439) : setShaders: Using GLSL 1.30
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsVarsV.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsVarsWaterV.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsHelpersV.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFuncV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class3/lighting/sumLightsV.glsl (Want class 3)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFuncSpecularV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class3/lighting/sumLightsSpecularV.glsl (Want class 3)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightSpecularV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsV.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/avatar/avatarSkinV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/avatar/objectSkinV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/objects/indexedTextureV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/objects/nonindexedTextureV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsVarsF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsVarsWaterF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/gammaF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/atmosphericsF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/transportF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/waterFogF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightAlphaMaskNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightNonIndexedAlphaMaskF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightWaterNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightWaterAlphaMaskNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightWaterNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightWaterNonIndexedAlphaMaskF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightShinyNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightShinyNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightShinyWaterNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightShinyWaterNonIndexedF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightAlphaMaskF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightWaterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightWaterAlphaMaskF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightWaterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightWaterAlphaMaskF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightShinyF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightShinyF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightShinyWaterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFullbrightShinyWaterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/terrainV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/terrainF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/waterV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/waterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/waterV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/underWaterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/terrainV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/environment/terrainWaterF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/skyV.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/skyF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/cloudsV.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class2/windlight/cloudsF.glsl (Want class 2)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/effects/glowV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/effects/glowF.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/effects/glowExtractV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/effects/glowExtractF.glsl (Want class 1)
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(842) : loadShaderFile: GLSL Compilation Error: (0) in effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(515) : dumpObjectLog: 0:39(1): error: syntax error, unexpected EXTENSION, expecting $end

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(869) : loadShaderFile: #version 130

2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/effects/glowExtractF.glsl (Want class 1)
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(842) : loadShaderFile: GLSL Compilation Error: (0) in effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(515) : dumpObjectLog: 0:39(1): error: syntax error, unexpected EXTENSION, expecting $end

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(869) : loadShaderFile: #version 130

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(905) : loadShaderFile: Failed to load effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llglslshader.cpp(432) : createShader: Failed to link shader: Glow Extract Shader (Post)
2013-11-13T13:20:12Z WARNING: llrender/llglslshader.cpp(437) : createShader: Failed to link using shader level 1 trying again using shader level 0
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(576) : loadShaderFile: GLSL Shader file not found: effects/glowExtractV.glsl
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(576) : loadShaderFile: GLSL Shader file not found: effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llglslshader.cpp(432) : createShader: Failed to link shader: Glow Extract Shader (Post)
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(107) : addstandard: Adding standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/llviewershadermgr.cpp(438) : setShaders: 
~~~~~~~~~~~~~~~~~~
 Loading Shaders:
~~~~~~~~~~~~~~~~~~
2013-11-13T13:20:12Z INFO: newview/llviewershadermgr.cpp(439) : setShaders: Using GLSL 1.30
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/windlight/atmosphericsVarsV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/windlight/atmosphericsVarsWaterV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/windlight/atmosphericsHelpersV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFuncV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class3/lighting/sumLightsV.glsl (Want class 3)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightFuncSpecularV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class3/lighting/sumLightsSpecularV.glsl (Want class 3)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/lighting/lightSpecularV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/windlight/atmosphericsV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/avatar/avatarSkinV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/avatar/objectSkinV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/objects/indexedTextureV.glsl (Want class 1)
2013-11-13T13:20:12Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/objects/nonindexedTextureV.glsl (Want class 1)
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(842) : loadShaderFile: GLSL Compilation Error: (0) in effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(515) : dumpObjectLog: 0:39(1): error: syntax error, unexpected EXTENSION, expecting $end

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(869) : loadShaderFile: #version 130

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(842) : loadShaderFile: GLSL Compilation Error: (0) in effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(515) : dumpObjectLog: 0:39(1): error: syntax error, unexpected EXTENSION, expecting $end

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(869) : loadShaderFile: #version 130

2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(905) : loadShaderFile: Failed to load effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llglslshader.cpp(432) : createShader: Failed to link shader: Glow Extract Shader (Post)
2013-11-13T13:20:12Z WARNING: llrender/llglslshader.cpp(437) : createShader: Failed to link using shader level 1 trying again using shader level 0
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(576) : loadShaderFile: GLSL Shader file not found: effects/glowExtractV.glsl
2013-11-13T13:20:12Z WARNING: llrender/llshadermgr.cpp(576) : loadShaderFile: GLSL Shader file not found: effects/glowExtractF.glsl
2013-11-13T13:20:12Z WARNING: llrender/llglslshader.cpp(432) : createShader: Failed to link shader: Glow Extract Shader (Post)
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(107) : addstandard: Adding standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/llviewershadermgr.cpp(438) : setShaders: 
~~~~~~~~~~~~~~~~~~
 Loading Shaders:
~~~~~~~~~~~~~~~~~~
2013-11-13T13:20:12Z INFO: newview/llviewershadermgr.cpp(439) : setShaders: Using GLSL 1.30
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-13T13:20:12Z INFO: newview/lldrawpoolbump.cpp(107) : addstandard: Adding standard bumpmaps.
2013-11-13T13:20:12Z WARNING: newview/llviewertexturelist.cpp(1321) : LLViewerTextureList::getMaxVideoRamSetting: VRAM amount not detected, defaulting to 512 MB
2013-11-13T13:20:12Z WARNING: newview/llviewertexturelist.cpp(1321) : LLViewerTextureList::getMaxVideoRamSetting: VRAM amount not detected, defaulting to 512 MB
2013-11-13T13:20:12Z INFO: newview/llvowlsky.cpp(355) : updateGeometry: WL Skydome strips in 1 batches.
2013-11-13T13:20:12Z INFO: newview/llvowlsky.cpp(404) : updateGeometry: completed in 0.00seconds
2013-11-13T13:20:17Z WARNING: newview/llviewertexturelist.cpp(1321) : LLViewerTextureList::getMaxVideoRamSetting: VRAM amount not detected, defaulting to 512 MB

Last edited by MirceaKitsune; 11-13-2013 at 04:21 PM.
 
Old 11-13-2013, 07:12 PM   #2
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Update: Someone on IRC asked me to take a full GLSL dump output, to see exactly what's failing in shader compilation. It didn't help clarify the issue, but I thought to post the detailed error here as well in case it might help: http://pastebin.com/raw.php?i=CsHgM1gV

Code:
GLSL source for fragment shader 68:
#version 130
precision mediump int;
precision highp float;
#define DEFINE_GL_FRAGCOLOR 1
#define FXAA_GLSL_130 1
#define ATTRIBUTE in
#define VARYING in
#define VARYING_FLAT flat in
#define texture2D texture
#define textureCube texture
#define texture2DLod textureLod
#define	shadow2D(a,b) vec2(texture(a,b))
#define HAS_DIFFUSE_LOOKUP 0
/** 
 * @file glowExtractF.glsl
 *
 * $LicenseInfo:firstyear=2007&license=viewerlgpl$
 * Second Life Viewer Source Code
 * Copyright (C) 2007, Linden Research, Inc.
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation;
 * version 2.1 of the License only.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 * 
 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
 * $/LicenseInfo$
 */
 
#extension GL_ARB_texture_rectangle : enable

#ifdef DEFINE_GL_FRAGCOLOR
out vec4 frag_color;
#else
#define frag_color gl_FragColor
#endif

uniform sampler2DRect diffuseMap;
uniform float minLuminance;
uniform float maxExtractAlpha;
uniform vec3 lumWeights;
uniform vec3 warmthWeights;
uniform float warmthAmount;

VARYING vec2 vary_texcoord0;

void main()
{
	vec4 col = texture2DRect(diffuseMap, vary_texcoord0.xy);	
	/// CALCULATING LUMINANCE (Using NTSC lum weights)
	/// http://en.wikipedia.org/wiki/Luma_%28video2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(842) : loadShaderFile: GLSL Compilation Error: (0) in effects/glowExtractF.glsl
2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(515) : dumpObjectLog: 0:39(1): error: syntax error, unexpected EXTENSION, expecting $end

2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(869) : loadShaderFile: #version 130

2013-11-14T00:40:35Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/effects/glowExtractF.glsl (Want class 1)
2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(842) : loadShaderFile: GLSL Compilation Error: (0) in effects/glowExtractF.glsl
2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(515) : dumpObjectLog: 0:39(1): error: syntax error, unexpected EXTENSION, expecting $end

2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(869) : loadShaderFile: #version 130

2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(905) : loadShaderFile: Failed to load effects/glowExtractF.glsl
2013-11-14T00:40:35Z WARNING: llrender/llglslshader.cpp(432) : createShader: Failed to link shader: Glow Extract Shader (Post)
2013-11-14T00:40:35Z WARNING: llrender/llglslshader.cpp(437) : createShader: Failed to link using shader level 1 trying again using shader level 0
2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(576) : loadShaderFile: GLSL Shader file not found: effects/glowExtractV.glsl
2013-11-14T00:40:35Z WARNING: llrender/llshadermgr.cpp(576) : loadShaderFile: GLSL Shader file not found: effects/glowExtractF.glsl
2013-11-14T00:40:35Z WARNING: llrender/llglslshader.cpp(432) : createShader: Failed to link shader: Glow Extract Shader (Post)
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(107) : addstandard: Adding standard bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(940) : clear: Clearing dynamic bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-14T00:40:35Z INFO: newview/lldrawpoolbump.cpp(168) : clear: Clearing standard bumpmaps.
2013-11-14T00:40:35Z INFO: newview/llviewershadermgr.cpp(438) : setShaders: 
~~~~~~~~~~~~~~~~~~
 Loading Shaders:
~~~~~~~~~~~~~~~~~~
2013-11-14T00:40:35Z INFO: newview/llviewershadermgr.cpp(439) : setShaders: Using GLSL 1.30
2013-11-14T00:40:35Z INFO: llrender/llshadermgr.cpp(569) : loadShaderFile: Loading file: shaders/class1/windlight/atmosphericsVarsV.glsl (Want class 1)
%29
	float lum = smoothstep(minLuminance, minLuminance+1.0, dot(col.rgb, lumWeights ) );
	float warmth = smoothstep(minLuminance, minLuminance+1.0, max(col.r * warmthWeights.r, max(col.g * warmthWeights.g, col.b * warmthWeights.b)) ); 
	
	frag_color.rgb = col.rgb; 
	frag_color.a = max(col.a, mix(lum, warmth, warmthAmount) * maxExtractAlpha);
	
}

GLSL shader 68 failed to compile.
GLSL shader 68 info log:
0:39(1): error: syntax error, unexpected EXTENSION, expecting $end
 
Old 11-15-2013, 05:11 AM   #3
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Another important update: I found a simple way to temporarily fix most of the shaders. I can now enable Basic Shaders followed by Atmospheric Shaders, but Advanced Lighting Model will still not work. Seemingly due to the same issue, but in a form that's not as easy to fix. I would be grateful if someone could use the knowledge I posted up to this point to figure out how to solve those as well.

What fixes the primary shaders is commenting out all #extension lines the from glsl files. To make it easy for everyone to apply the fix, I created a bash script that does it automatically. Create an empty file in SecondLife/app_settings/shaders and paste the code below inside, then save and execute it. Make sure to backup your shaders folder first, this will permanently edit your glsl files!

Code:
#!/bin/bash
files=$(find ./* -type f -name *.glsl)
for f in ${files}
do
    echo "Fixing shader file ${f}"
    sed -i 's/#extension/\/\/ #extension/g' ${f}
done
 
Old 11-16-2013, 02:16 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you know i had this problem with another card went into settings and set it to use my settings. Instead of the programs settings.
you like to try my builds of SL I keep on bitbucket you are welcome to. The flash on a prim has been broken in the LL code for Linux since 12-8-2012
this caused me to roll back rebuild it under the my prebuilts.

Right now I have the latest builds of Firestorm 32 and 64 bit they work with slackware 13.37 14.0 14.1
the latest beta of firestorm is very sad but the latest builds are pretty good.

the 64 bit requires alien Bob's Multilib for voice. Or your distros multi arch for the 32 bit vivox voice. these are opensim builds.
here is my bucket. https://bitbucket.org/Drakeo/
I keep the latest SL build in 32 bit I hve to do this for video and html5 on a prim.
since your using 4.5.2 you are also building your own viewer ?
you really want to look at the latest beta driver out if your using the latest kernels.
always contact me inworld when I am testing.

I also keep the Latest SL client to test also. you may want to try it because firestorm is about 6 months behind Linden Labs.
I really don't think the latest mesa stuff handles shaders. good news is AMD added some nice firmware to the kernel to help the drivers along. 3.12 kernel
Quote:
Also when switching back you should always reinstall mesa
here is the latest work on the shaders in mesa 9.2 for the new kernels

Last edited by Drakeo; 11-16-2013 at 03:58 AM. Reason: more info shaders
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware64-current mesa changes Sep 25 (radeon-dpm working!) lanir Slackware 4 10-16-2013 06:52 PM
LXer: Mesa 8.1-devel On Radeon Gallium3D LXer Syndicated Linux News 0 02-24-2012 12:20 PM
Mesa, get out of my life Nielssonnich Slackware 7 06-29-2008 06:08 AM
ATI Radeon 9800 and mesa fahad Linux - Hardware 1 07-06-2006 04:55 PM
Still getting Mesa as OpenGL on ATI Radeon 9000 adamc91115 Linux - Hardware 11 05-08-2004 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration