Th3Ya0vi / vdrift-ogre

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

Game crashes with multiple different joysticks #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. plug 3 logitech joysticks
2. run the game

What is the expected output? What do you see instead?
play the game

What version are you using? On what operating system?
PPA

Please pick any relevant labels like Component or OpSys related to problem.
* If game crashed please include log files: game.cfg, log.txt, ogre.log,
MyGUI.log (editor.cfg, ogre_ed.log for Editor) right after crash, found in
game's user folder (see section Config in Wiki page Paths).

Please provide any additional information below.

I get this error:
terminate called after throwing an instance of 'OIS::Exception'
  what():  Device with name 'Logitech Logitech Dual Action' already exists!
Aborted

lsusb:
$ lsusb | grep "Logi"
Bus 004 Device 014: ID 046d:c216 Logitech, Inc. Dual Action Gamepad
Bus 004 Device 012: ID 046d:c227 Logitech, Inc. G15 Refresh Keyboard
Bus 004 Device 011: ID 046d:c20d Logitech, Inc. WingMan Attack 2
Bus 004 Device 009: ID 046d:c226 Logitech, Inc. G15 Refresh Keyboard
Bus 004 Device 008: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 003 Device 004: ID 046d:c218 Logitech, Inc. Logitech RumblePad 2 USB
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver

Original issue reported on code.google.com by meduzapat on 19 Nov 2011 at 4:59

Attachments:

GoogleCodeExporter commented 8 years ago
Hmm looks bad, OIS exception, I don't know if we are able to fix it, but
Just to be sure: Is this version 1.3 ?
Did you try different configurations of plugged in devices ? E.g. starting from 
1 keyboard and then plugging in more gamepads, to see which does crash. Do I 
see this right you have 3 keyboards ? What devices go through this Unifying 
Receiver ? Maybe those get detected as one.

Original comment by Cry...@gmail.com on 20 Nov 2011 at 10:07

GoogleCodeExporter commented 8 years ago
yes It is ver 1.3!!

yes I tried different configuration, 2 pads (crash), 2 pads + 1 joystick, and 
mix of them also crash, only when we connect one alone (any of them), the game 
works fine!
the problem is when we connect more of one device.

the game only detects the joysticks / pads at start-up, I have only one 
keyboard (but is a gamer keyboard with extra keys, so is detected as 3 or 4 
devices, keyboard, extra keys, receiver, and LCD display) but is only one 
keyboard.

The unifying receiver is an Antenna because is wireless

Original comment by meduzapat on 20 Nov 2011 at 2:39

GoogleCodeExporter commented 8 years ago
Ok we've found that the code will always crash for more than 1 device 
(joy/gamepad etc). We need to fix it, but no one from us has 2 or more 
controllers.

Original comment by Cry...@gmail.com on 20 Nov 2011 at 4:39

GoogleCodeExporter commented 8 years ago
We believe we have found the cause for your problem and commited a fix 
(hopefully) to the git repository. Could you compile the latest version from 
git and see if it's fixed for you?

Refer to this page how to compile from git: 
http://code.google.com/p/vdrift-ogre/wiki/Compiling

If you have trouble compiling, feel free to stop by at #stuntrally on freenode, 
and we'll help you.

Original comment by scrawl...@gmail.com on 20 Nov 2011 at 5:05

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 20 Nov 2011 at 10:52

GoogleCodeExporter commented 8 years ago
I will download the code from git and compile it, and  I can help you as a 
multiple controller tester :)

Original comment by meduzapat on 21 Nov 2011 at 12:25

GoogleCodeExporter commented 8 years ago
meduzapat, any testing progress on this one?

Original comment by scrawl...@gmail.com on 28 Nov 2011 at 9:01

GoogleCodeExporter commented 8 years ago
I will test it soon, I finally fixed my PC (something broke) and now I testing 
if everything works, If the PC is OK, I will test the game late today, or 
tomorrow.

Original comment by meduzapat on 29 Nov 2011 at 6:50

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 29 Nov 2011 at 8:09

GoogleCodeExporter commented 8 years ago
Ok we are waiting for meduzapat or someone else to test it.

Original comment by Cry...@gmail.com on 16 Dec 2011 at 7:05

GoogleCodeExporter commented 8 years ago
after my sound card died, my motherboard did a week ago :(
I build a PC with old parts just to access internet, I don't know if I can test 
the game on this "crappy" pc

I installed the game from the PPA (I running on Ubuntu) I like to know if the 
code there is updated or no.

Thanks.

Original comment by meduzapat on 16 Dec 2011 at 7:55

GoogleCodeExporter commented 8 years ago
Aww, that sucks. But i think with a very old PC you should still get (at least) 
to the menu.

> I installed the game from the PPA (I running on Ubuntu) I like to know if the 
code there is updated or no.

Nope, you'll still have to build from source. 

Original comment by scrawl...@gmail.com on 16 Dec 2011 at 10:02

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I get this error when making:

[ 49%] Built target bullet
Scanning dependencies of target sr-editor
[ 50%] Building CXX object 
source/CMakeFiles/sr-editor.dir/editor/Render2tex.cpp.o
In file included from 
/home/meduza/Projects/stunrally/stuntrally/source/editor/../ogre/common/MessageB
ox/MessageBox.h:13:0,
                 from /home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:9,
                 from /home/meduza/Projects/stunrally/stuntrally/source/editor/Render2tex.cpp:3:
/home/meduza/Projects/stunrally/stuntrally/source/editor/../ogre/common/MessageB
ox/MessageBoxStyle.h:16:9: error: redefinition of ‘struct 
MyGUI::MessageBoxStyle’
/usr/include/MYGUI/MyGUI_MessageStyle.h:33:2: error: previous definition of 
‘struct MyGUI::MessageBoxStyle’
In file included from 
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:9:0,
                 from /home/meduza/Projects/stunrally/stuntrally/source/editor/Render2tex.cpp:3:
/home/meduza/Projects/stunrally/stuntrally/source/editor/../ogre/common/MessageB
ox/MessageBox.h:22:8: error: redefinition of ‘class MyGUI::Message’
/usr/include/MYGUI/MyGUI_Message.h:40:2: error: previous definition of ‘class 
MyGUI::Message’
In file included from 
/home/meduza/Projects/stunrally/stuntrally/source/editor/Render2tex.cpp:3:0:
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:194:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:194:20: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:194:36: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:194:53: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:194:68: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:195:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:195:17: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:196:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:196:15: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:196:28: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:196:45: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:197:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:197:17: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:197:35: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:197:54: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:197:72: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:197:92: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:198:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:258:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:258:20: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:258:36: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:259:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:259:16: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:259:33: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:266:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:266:19: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:267:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:267:18: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:267:32: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:267:48: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:285:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:285:21: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:285:39: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:286:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:286:20: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:286:37: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:286:55: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:289:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:289:20: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:296:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:296:20: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:296:36: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:297:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:297:20: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:297:36: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:298:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:324:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:324:16: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:325:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:325:17: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:325:32: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:325:48: 
error: ‘MyGUI::ScrollBar’ has not been declared
/home/meduza/Projects/stunrally/stuntrally/source/editor/OgreApp.h:326:2: 
error: ‘MyGUI::ScrollBar’ has not been declared
make[2]: *** [source/CMakeFiles/sr-editor.dir/editor/Render2tex.cpp.o] Error 1
make[1]: *** [source/CMakeFiles/sr-editor.dir/all] Error 2
make: *** [all] Error 2

Original comment by meduzapat on 18 Dec 2011 at 2:52

GoogleCodeExporter commented 8 years ago
Do you have MyGUI 3.2 ? We changed to it, 3.0 won't work anymore.

Original comment by Cry...@gmail.com on 18 Dec 2011 at 6:39

GoogleCodeExporter commented 8 years ago
Since MyGUI 3.2 is not in most repos, a while back I made a script (for 
installing it) I can pass to people I'd like to test something. Maybe you can 
find it useful too: http://pastebin.com/PTT0dPRp

Original comment by tapiovie...@gmail.com on 18 Dec 2011 at 9:45

GoogleCodeExporter commented 8 years ago
Make sure to uninstall 3.0 first, there will definitely be problems if you have 
both installed at once.

Original comment by scrawl...@gmail.com on 18 Dec 2011 at 12:49

GoogleCodeExporter commented 8 years ago
I using 3.0.1, I looking for a PPA or somewhere in the web with a .DEB to 
install...

Original comment by meduzapat on 19 Dec 2011 at 2:27

GoogleCodeExporter commented 8 years ago
Use the script tapiovierros posted, just make it executable and run it. Not 
harder than installing a .deb.

Original comment by scrawl...@gmail.com on 19 Dec 2011 at 10:23

GoogleCodeExporter commented 8 years ago
I need to modify it, remember, I using a single core Celeron piece of history 
hardware, until my replacement parts arrive :(
I need to remove the -j2 xD this crappy is single core

Original comment by meduzapat on 19 Dec 2011 at 5:03

GoogleCodeExporter commented 8 years ago
I still see the same issue with stuntrally v1.4

Original comment by berger.j...@gmail.com on 7 Jan 2012 at 9:50

GoogleCodeExporter commented 8 years ago
Could you post the logfiles, and the error message you see

Original comment by scrawl...@gmail.com on 7 Jan 2012 at 7:05

GoogleCodeExporter commented 8 years ago
This should now be fixed in git (by commit: http://git.io/RITl4Q)

Original comment by tapiovie...@gmail.com on 28 Feb 2012 at 10:24