Th3Ya0vi / vdrift-ogre

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

Segmentation fault with Optimus and NVidia card #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Launch StuntRally with optirun ./stuntrally

What is the expected output? What do you see instead?
Expected normally running game. I see white window for a very small moment.

What version are you using? On what operating system?
StuntRally 1.5 64-bit on Ubuntu 12.04beta2 64-bit

Please provide any additional information below.
The game works great with Intel graphics card. On Linux I have to use bumblebee 
to enable Optimus and NVidia card. Command optirun will launch application and 
enable NVidia card. Optirun with other 3d applications works fine.

Original issue reported on code.google.com by odam...@gmail.com on 14 Apr 2012 at 7:20

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, wrong file. Here's the right one.

Original comment by odam...@gmail.com on 14 Apr 2012 at 7:22

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 18 Apr 2012 at 3:47

GoogleCodeExporter commented 8 years ago
I don't know anything about Optimus, but this card looks like way below minimal 
requiremets.
I can only advice testing with minimal settings: 
http://code.google.com/p/vdrift-ogre/issues/detail?id=132#c7

Original comment by Cry...@gmail.com on 19 Apr 2012 at 9:44

GoogleCodeExporter commented 8 years ago
So optimus laptops have two graphic cards: NVidia and integrated Intel. However 
optimus isn't officially supported by NVidia on Linux but there is this 3rd 
party project bumblebee. It works pretty well but for some reason not with your 
game.

On Windows the game runs fine with Medium/High graphics presets on the same 
computer. But on the whole hardware support is much worse in Linux. This might 
be part of my issue. In the end I think that the problem is caused either Ogre 
itself or something in your game.

Original comment by odam...@gmail.com on 20 Apr 2012 at 4:17

GoogleCodeExporter commented 8 years ago
Have you tried to modify the stuntrally startup script to run "optirun 
bin/stuntrally" instead of "bin/stuntrally"? Maybe the optirun script only 
works with binaries, and not with launch scripts?

Original comment by scrawl...@gmail.com on 20 Apr 2012 at 10:44

GoogleCodeExporter commented 8 years ago
Hey, it works now perfectly when I added optirun inside the script! Thanks!
It's strange but optirun has worked for me in different launch scripts like the 
one in Xonotic. But it isn't such a big problem anymore. Anyway big thanks to 
you for your help and of course for the great game!

Original comment by odam...@gmail.com on 21 Apr 2012 at 9:20

GoogleCodeExporter commented 8 years ago
Cool. Closing then.

Original comment by Cry...@gmail.com on 21 Apr 2012 at 11:50

GoogleCodeExporter commented 8 years ago
How did you add "optirun" inside the script ?

Original comment by valerio....@gmail.com on 4 Sep 2012 at 2:48

GoogleCodeExporter commented 8 years ago
1. Press Alt+F2
2. gksu gedit /usr/games/stuntrally
3. Insert optirun before ./stuntrally $@
4. Save file

Do the same with /usr/games/sr-editor

Original comment by aris...@gmail.com on 20 Nov 2012 at 9:37