ayoub05 / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Problem when starting a game #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Another openSUSE user who just installed my package reported a crash when 
pressing the "start game" button in menu.

The output is as follows:

GLSL link result : 
GLSL link result : 
stuntrally: 
/usr/src/packages/BUILD/ogre_src_v1-7-1/RenderSystems/GL/src/GLSL/src/OgreGLSLLi
nkProgramManager.cpp:381: void 
Ogre::GLSLLinkProgramManager::extractUniforms(GLhandleARB, const 
Ogre::GpuConstantDefinitionMap*, const Ogre::GpuConstantDefinitionMap*, const 
Ogre::GpuConstantDefinitionMap*, Ogre::GLUniformReferenceList&): Assertion 
`size_t (arraySize) == newGLUniformReference.mConstantDef->arraySize && "GL 
doesn't agree with our array size!"' failed.
Аварийный останов
andrew@linux-asus:~>

Original issue reported on code.google.com by neptu...@mail.ru on 9 Apr 2011 at 4:23

GoogleCodeExporter commented 9 years ago
The crash happens after the map loads and blue sky appears.

Original comment by neptu...@mail.ru on 9 Apr 2011 at 4:56

GoogleCodeExporter commented 9 years ago
This looks somewhat similar to issue #41 which should be fixed however. I think 
the whole log would be useful here, as well as the GPU and driver versions.

It is possible that shaders are again causing trouble, so this (from issue 41) 
should be tested: Try disabling special effects by editing the config file at 
~/.config/stuntrally/game.cfg:
Under the "[ video ]" section, change bloom, hrd and motionblur keys to off 
instead of on.

Original comment by tapiovie...@gmail.com on 9 Apr 2011 at 6:48

GoogleCodeExporter commented 9 years ago
He tried to disable all special effects through the menu. This does not help. 
Can editing the cfg file help in this case?

Original comment by neptu...@mail.ru on 9 Apr 2011 at 7:09

GoogleCodeExporter commented 9 years ago
No, I overlooked the fact that GUI worked. But more information would be 
helpful, e.g. was there any GLSL compilation errors earlier in the log?

Original comment by tapiovie...@gmail.com on 10 Apr 2011 at 9:05

GoogleCodeExporter commented 9 years ago
Hi, i am "Another openSUSE"
Yes, GUI worked. I tried disable bloom, hrd and motionblur. And this don't help.
Attachment log files and config.
It is notebook, 00:02.0 VGA compatible controller: Intel Corporation Mobile 
GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
driver xorg-x11-driver-video-intel-legacy 2.9.1

Original comment by gankov...@gmail.com on 10 Apr 2011 at 9:34

Attachments:

GoogleCodeExporter commented 9 years ago
It looks like the same error. GLSL link, shaders couldn't compile.
I have to say i cant imagine running the game on laptops (had to be new and 
with great gpu, not integrated).
How old is it ? How much gpu ram is there ? Are you able to start Ogre Terrain 
demo ?

* Supported Shader Profiles: arbfp1 arbvp1 glsl
No can't do. I guess shader profile 3.0 is needed for terrain and 2.0 is 
minimum. Even if the game started I'm guessing below 10 Fps.

Here is what I have there (on my 3yr old gpu GeForce 8800 GT 512MB, 60-100 fps):
* Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl gp4gp gpu_gp 
nvgp4 vp30 vp40

An older yet GeForce 7600 GS/AGP/SSE2 (30-40 fps, low but playable)
* Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl vp30 vp40

Original comment by Cry...@gmail.com on 10 Apr 2011 at 10:26

GoogleCodeExporter commented 9 years ago
The key here is not how many Direct3D or Cg shader profiles are supported. GLSL 
should be all that is needed, and the ogre.log reports OpenGL 2.1, which should 
be fine. Then again Intel drivers are rather crappy and on notebooks they might 
implement some features in software, which will be very slow or not working at 
all.

Original comment by tapiovie...@gmail.com on 10 Apr 2011 at 1:10

GoogleCodeExporter commented 9 years ago
I´m tried Stunt Rally 1.0 on Geforce FX 5200, which is better than this. 
Works, but with 5 fps with lowest settings. Heck, new version doesn´t work at 
all, just like Crysis, CTD.

Original comment by ive...@gmail.com on 13 Apr 2011 at 7:02

GoogleCodeExporter commented 9 years ago
Yeah, you guys really need to start reading minimal requirements and stop 
complaining. And 5 fps is a slideshow not a game. I'm closing this.

Original comment by Cry...@gmail.com on 13 Apr 2011 at 7:08

GoogleCodeExporter commented 9 years ago
 newGLUniformReference.mConstantDef->arraySize && "GL doesn't agree with our array size!

i got this error too with:
- 01:00.0 VGA compatible controller: ATI Technologies Inc M76 [Radeon Mobility 
HD 2600 Series]
- xorg-edgers PPA

Original comment by gabriele...@gmail.com on 19 Apr 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Are you using the latest proprietary drivers from ATI?

Original comment by tapiovie...@gmail.com on 19 Apr 2011 at 9:48

GoogleCodeExporter commented 9 years ago
ubuntu 11.04 intel video card. same error.

Original comment by faust....@gmail.com on 5 Jun 2011 at 12:29

GoogleCodeExporter commented 9 years ago
include logs

Original comment by Cry...@gmail.com on 5 Jun 2011 at 12:42