Bug 5108 - Cant see anything in the game window.
Status: RESOLVED DUPLICATE of bug 5102
Alias: None
Product: Cogs
Classification: Unclassified
Component: Everything
Version: unspecified
Hardware: PC Linux
: P3 blocker
Assignee: Ryan C. Gordon
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2011-07-26 23:11 EDT by Gregg
Modified: 2011-07-28 02:51:04 EDT
3 users (show)

See Also:


Attachments
A bit of random clicking got me into the game - but its not really working (104.89 KB, image/png)
2011-07-27 18:21 EDT, Graeme Mathieson

Description Gregg 2011-07-26 23:11:51 EDT
I cant see the game.  I can hear the music, and when I run the game from the command line I get flooded with this:  (goes on until I close the game window)

OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.


I am in Ubuntu 11.04, 64bit.  My computer is

CPU0: AMD Phenom(tm) II X6 1100T Processor stepping 00

16 gigs of ddr3 ram

and I have dual matching amd graphics cards running two monitors:

fglrx(0): Chipset: "AMD Radeon HD 6700 Series" (Chipset = 0x68
ba)
[    36.524] (II) fglrx(0): Output DFP2 using initial mode 1920x1080
[    36.524] (II) fglrx(0): Output DFP3 using initial mode 1680x1050
[    36.524] (II) fglrx(0): DPI set to (96, 96)
[    36.524] (II) fglrx(0): Eyefinity capable adapter detected.
[    36.524] (II) fglrx(0): Adapter AMD Radeon HD 6700 Series has 3 configurable
 heads and 2 displays connected.

Crossfire is working too:


[    36.549] (II) fglrx(0): Enable CrossFire successfully!
Comment 1 serge.yquel 2011-07-27 11:35:58 EDT
same error here with a hd 6950 (no crossfire,no dual screen)
Comment 2 compositum 2011-07-27 14:10:42 EDT
I get the same bug. I use linux mint, no dual screen with Radeon grafix.
Comment 3 Graeme Mathieson 2011-07-27 18:21:28 EDT
Created attachment 2867 [details]
A bit of random clicking got me into the game - but its not really working

I'm having exactly the same problem with my Sony Laptop

mathieg2@mathieg2-sony32:~$ fglrxinfo 
display: :0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 3.3.10750 Compatibility Profile Context

mathieg2@mathieg2-sony32:~$ 
 
Will Add a full log later
Comment 4 Graeme Mathieson 2011-07-27 18:31:04 EDT
write me: /home/icculus/projects/cogs-linux/src/main.cpp:972Shader compile log for data/effects/TextureBumpCubemap.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/TextureBumpCubemap.fsh:
Fragment shader failed to compile with the following errors:
ERROR: 0:41: error(#132) Syntax error: 'smooth' parse error
ERROR: error(#273) 1 compilation errors.  No code generated

Failed to compile fragment shader data/effects/TextureBumpCubemap.fsh
Shader compile log for data/effects/TextureAlpha.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/TextureAlpha.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/ShadowMap.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/ShadowMap.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Texture.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Texture.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_Copy.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_Copy.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_Combine.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_Combine.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_DownFilter4.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_DownFilter4.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_BlurHorizontal.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_BlurHorizontal.fsh:
Fragment shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_BlurVertical.vsh:
Vertex shader was successfully compiled to run on hardware.

Shader compile log for data/effects/Screen_BlurVertical.fsh:
Fragment shader was successfully compiled to run on hardware.

OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
OpenGL error 0x0502 at Material::useEffect 1.
Comment 5 Graeme Mathieson 2011-07-27 18:36:25 EDT
fixed it!

Edited data/effects/TextureBumpCubemap.fsh

Changed the word smooth to smoth. The problem is fixed now
Comment 6 Gregg 2011-07-27 18:49:25 EDT
(In reply to comment #5)
> fixed it!
> 
> Edited data/effects/TextureBumpCubemap.fsh
> 
> Changed the word smooth to smoth. The problem is fixed now

Are you saying you edited that file and replaced all instances of the word "smooth" with "smoth" ?
Comment 7 Graeme Mathieson 2011-07-27 19:04:50 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > fixed it!
> > 
> > Edited data/effects/TextureBumpCubemap.fsh
> > 
> > Changed the word smooth to smoth. The problem is fixed now
> 
> Are you saying you edited that file and replaced all instances of the word
> "smooth" with "smoth" ?

Exactly - there were three ocurrences
Comment 8 Ryan C. Gordon 2011-07-28 02:51:04 EDT
(Marking bug as a duplicate. We're going to push an updated bundle build, but the fix listed here is 100% correct.)

--ryan.

*** This bug has been marked as a duplicate of bug 5102 ***