Posts: 11
Threads: 2
Joined: Jun 2012
I recently installed Ubuntu on my desktop and installed assault cube using software centre and it doesnt work. This is what i get in the terminal -
d@d-platform:~$ assaultcube
Using home directory: /home/d/.assaultcube_v1.104
current locale: en_IN
init: sdl
init: net
init: world
init: video: sdl
init: video: mode
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0xb3
Serial number of failed request: 131
Current serial number in output stream: 133
Posts: 1,436
Threads: 7
Joined: Jun 2010
Try installing the proprietary graphics drivers for your hardware. That might help.
Posts: 187
Threads: 4
Joined: Jun 2010
05 Jun 12, 12:13PM
(This post was last modified: 05 Jun 12, 12:39PM by RAMPAGE.)
I am running AC on 12.04 without any problems. I am using 2d unity though while playing, because my comp isn't that great. Did u install dependencies?
sudo apt-get install build-essential libsdl1.2debian libsdl1.2-dev libsdl-image1.2 libsdl-image1.2-dev libopenal1 libopenal-dev libvorbis-dev
P.S. Maybe it's better to:
1) Download the game from this site.
2) Untar it and place the content in the 'home/USERNAME/' folder.
3) No need for 'make install' just u need to add x (execute) permitions to one of the files in 'bin_unix/' folder. Depending on version ur using (32 or 64 bit) u will choose linux_client or linux_64_client. It should be something like this:
chmod +x 1.1.0.4/bin_unix/linux_client
or
chmod +x 1.1.0.4/bin_unix/linux_64_client
4) Give also exectuive permitions to 'assaultcube.sh'
chmod +x 1.1.0.4/assaultcube.sh
5) To start the game u run the 'assaultcube.sh', u can do it over the graphical interface.
NOTE: Don't forget the dependencies I mentioned before
Posts: 740
Threads: 61
Joined: Jun 2011
05 Jun 12, 06:02PM
(This post was last modified: 05 Jun 12, 06:04PM by Jg99.)
u can also donwload from ubuntu software center
or sudo apt-get install AssaultCube and that will install all the required libraries also
Posts: 9
Threads: 2
Joined: Oct 2011
Very likely a matter of video drivers, as tempest hinted.
Which driver are you using?
...should provide some info there.
SInce it was already installed via the USC dependencies should already be in place, no need to pull in those, and in particular, no need to pull in -dev versions since they would only be needed in the case of recompiling.
I don't think using the precompiled binary would make any difference, same code, just recompiled.
Posts: 11
Threads: 2
Joined: Jun 2012
06 Jun 12, 03:30PM
(This post was last modified: 06 Jun 12, 03:33PM by debashisp.)
I can play it on my laptop now but i still want to resolve the issue with my desktop. btw ^^ this is what i get
d@d-platform:~$ glxinfo | grep "string:"
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel® G33 x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 8.0.2
Posts: 187
Threads: 4
Joined: Jun 2010
06 Jun 12, 05:12PM
(This post was last modified: 06 Jun 12, 05:39PM by RAMPAGE.)
Can u pls show us output of:
Btw, if u don't mind, can u pls tell us what was the problem on ur laptop that u solved?
(06 Jun 12, 03:30PM)debashisp Wrote: d@d-platform:~$ glxinfo | grep "string:"
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel® G33 x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 8.0.2 It apears u dont have propietary driver installed as tempest and arand suggested.
Posts: 11
Threads: 2
Joined: Jun 2012
There was no problem on the laptop, it runs windows 7 and the windows version of AC worked as it should. But i still want it on my ubuntu.
Here you go :
d@d-platform:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
299 frames in 5.0 seconds = 59.708 FPS
299 frames in 5.0 seconds = 59.774 FPS
298 frames in 5.0 seconds = 59.575 FPS
296 frames in 5.0 seconds = 59.175 FPS
299 frames in 5.0 seconds = 59.776 FPS
299 frames in 5.0 seconds = 59.774 FPS
298 frames in 5.0 seconds = 59.575 FPS
and a window showing revolving gears!
Posts: 187
Threads: 4
Joined: Jun 2010
06 Jun 12, 05:55PM
(This post was last modified: 06 Jun 12, 05:55PM by RAMPAGE.)
The fps output is way too low. Do u know which graphic card u have cause u need to find right drivers for it?
Posts: 11
Threads: 2
Joined: Jun 2012
Intel Corporation 82G33/G31 Express Integrated Graphics
I searched here and there and i think intel cards dont have proprietary drivers. Whatever needed is preinstalled in ubuntu.
Posts: 1,162
Threads: 19
Joined: Jun 2010
You have Mesa 8.0.2 driver, there is a 8.0.3 driver out.
Mesa Home Page
This is a bug fix release.
I could never get AC to run with Mesa driver so i had to buy a cheap AMD card.
Posts: 11
Threads: 2
Joined: Jun 2012
i guess i cant run it with my mesa drivers either. nothing works.
Posts: 1,436
Threads: 7
Joined: Jun 2010
Hm. What happens if you run it in windowed mode (-t parameter on the command line)?
Posts: 11
Threads: 2
Joined: Jun 2012
(06 Jun 12, 07:55PM)tempest Wrote: Hm. What happens if you run it in windowed mode (-t parameter on the command line)?
omg it worked :0 thanks a lot, just when i had given up all hope. Any idea, why i can't run it in fullscreen?
Posts: 1,436
Threads: 7
Joined: Jun 2010
Not sure, but I think for some reason it's trying to set a video mode which is not supported. You could try playing around with different parameters for width and height (-w and -h parameters, e.g. -w800 -h600), try forcing vsync on (-v1), and more. It's hard to tell the exact reason. Can you play other games in fullscreen?
Posts: 11
Threads: 2
Joined: Jun 2012
(07 Jun 12, 01:12PM)tempest Wrote: Not sure, but I think for some reason it's trying to set a video mode which is not supported. You could try playing around with different parameters for width and height (-w and -h parameters, e.g. -w800 -h600), try forcing vsync on (-v1), and more. It's hard to tell the exact reason. Can you play other games in fullscreen?
Now that i think of it, i play minetest in a window too. besides that i have tried warsow and it opened for half a second and closed, so i thought maybe it is not supported. Now I'm thinking i should reinstall that too:0
There is option for fullscreen inside this game. It worked. Thanks everyone for the help. I declare this thread as resolved.
Posts: 625
Threads: 57
Joined: Oct 2010
24 Jun 12, 12:03AM
(This post was last modified: 24 Jun 12, 12:11AM by Boomhauer.)
(07 Jun 12, 03:26PM)debashisp Wrote: (07 Jun 12, 01:12PM)tempest Wrote: Not sure, but I think for some reason it's trying to set a video mode which is not supported. You could try playing around with different parameters for width and height (-w and -h parameters, e.g. -w800 -h600), try forcing vsync on (-v1), and more. It's hard to tell the exact reason. Can you play other games in fullscreen?
Now that i think of it, i play minetest in a window too. besides that i have tried warsow and it opened for half a second and closed, so i thought maybe it is not supported. Now I'm thinking i should reinstall that too:0
There is option for fullscreen inside this game. It worked. Thanks everyone for the help. I declare this thread as resolved.
ya don't bother with Warsow unless you want to waste some time figuring out what i can just tell you... it sucks balls.
*more on topic, you can always try the ppa repository for the very latest drivers for your shitty intel on-board graphics chip. https://launchpad.net/~ubuntu-x-swat/+ar...x-updates/ try x-swat first, but if you are brave enough you can go for more up-to-date but less stable drivers
lol "I declare this thread as resolved." Bahahahaha :P
Posts: 11
Threads: 2
Joined: Jun 2012
(24 Jun 12, 12:03AM)Boomhauer Wrote: ya don't bother with Warsow unless you want to waste some time figuring out what i can just tell you... it sucks balls.
*more on topic, you can always try the ppa repository for the very latest drivers for your shitty intel on-board graphics chip. https://launchpad.net/~ubuntu-x-swat/+ar...x-updates/ try x-swat first, but if you are brave enough you can go for more up-to-date but less stable drivers
lol "I declare this thread as resolved." Bahahahaha :P
I'm forever grateful with whatever graphics chip i have.It has seen me through times like GTA and RE4 on windows. Also, as I coudn't figure what to do at the link you have mentioned, i'll stick to whatever drivers i currently have. Warsow looks good. I'll still give it a try. And lastly, I declared the thread as resolved because i thought i won't be visiting again to reply to any comments :p I made an exception for you.
Posts: 156
Threads: 7
Joined: Jun 2010
14 Jul 12, 11:00AM
(This post was last modified: 14 Jul 12, 11:01AM by Billybob.)
(14 Jul 12, 04:53AM)debashisp Wrote: Also, as I coudn't figure what to do at the link you have mentioned, i'll stick to whatever drivers i currently have.
Adding this PPA to your system
You can update your system with unsupported packages from this untrusted PPA by adding ppa:ubuntu-x-swat/x-updates to your system's Software Sources.
Taken from https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
Just add the repo to to your sources.list
|