Author Topic: [Solved] Warzone 2100 wont start  (Read 5381 times)

Offline iMoron

  • Full Member
  • ***
  • Posts: 95
[Solved] Warzone 2100 wont start
« on: May 20, 2010, 03:34:06 PM »
Well, I have tried to start it from the menu and from the konsole, only getting this on the konsole:

[me@localhost ~]$ warzone2100
which: no gdb in (/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/kde4/libexec:sbin:/usr/sbin:/usr/lib/qt4/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/home/me/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin)
error   |05:07:57: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).

Anyone else had this problem? Does anyone knows how to set the resolution at the konsole, I think that might help with this little problem?

Mmmm check this out:

I just install the "gdb" and manage to get a shorter error:

[me@localhost ~]$ warzone2100
error   |05:24:45: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).

Don't know why but apparently the "gdb" package is needed by warzone2100. Now am still unable to get it to start but am down to "Error: SDL_SetVideoMode failed"...

Am searching to see if I manage to find the solution...
« Last Edit: May 23, 2010, 11:18:41 PM by Texstar »
MSI AM2 Motherboard ~ AMD Athlon Processor LE-1640 ~ 3 GB RAM ~ 160 - 100 - 80 GB HDD
GeForce 6150 SG Integrated Videocard 256MB ~ VIZIO 42" 1080p TV

Offline Nameless

  • Full Member
  • ***
  • Posts: 105
  • I'm in your computer, okay?
Re: Warzone 2100 wont start!!
« Reply #1 on: May 20, 2010, 04:12:01 PM »
Did you get WZ from synaptic or did you compile it from source?
Klaatu Barata Nikto

**deus ex machina**

Offline iMoron

  • Full Member
  • ***
  • Posts: 95
Re: Warzone 2100 wont start!!
« Reply #2 on: May 20, 2010, 04:14:45 PM »

Synaptic!!
MSI AM2 Motherboard ~ AMD Athlon Processor LE-1640 ~ 3 GB RAM ~ 160 - 100 - 80 GB HDD
GeForce 6150 SG Integrated Videocard 256MB ~ VIZIO 42" 1080p TV

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: Warzone 2100 wont start!!
« Reply #3 on: May 20, 2010, 04:17:59 PM »
It works with standard xorg drivers.

Thanks to everyone who donates. You keep the servers running.

Offline iMoron

  • Full Member
  • ***
  • Posts: 95
Re: Warzone 2100 wont start!!
« Reply #4 on: May 20, 2010, 04:24:05 PM »
Well... I have not install external drivers.

I have the 2010.0 installed... no hacks.

My machine is amd athlon with integrated nvidia 256mb max video memory shared, out of 3GB

Maybe something to do with my display resolution of 1080p... excessive for the game perhaps.

If I could start it in windowed mode at a lower resolution, do you know the command for that?
MSI AM2 Motherboard ~ AMD Athlon Processor LE-1640 ~ 3 GB RAM ~ 160 - 100 - 80 GB HDD
GeForce 6150 SG Integrated Videocard 256MB ~ VIZIO 42" 1080p TV

Offline Rob

  • Full Member
  • ***
  • Posts: 121
  • Where no penguin has gone before
Re: Warzone 2100 wont start!!
« Reply #5 on: May 20, 2010, 04:29:56 PM »
try installing libSDL_mixer-1.2 from the repositories . I had trouble launching some games ,worked for me

Offline Nameless

  • Full Member
  • ***
  • Posts: 105
  • I'm in your computer, okay?
Re: Warzone 2100 wont start!!
« Reply #6 on: May 20, 2010, 04:33:55 PM »
I don't know if it'll work but try;

Code: [Select]
warzone2100 --window

from the terminal.
Klaatu Barata Nikto

**deus ex machina**

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: Warzone 2100 wont start!!
« Reply #7 on: May 20, 2010, 04:54:03 PM »
I don't know if it'll work but try;

Code: [Select]
warzone2100 --window

from the terminal.


Yeh that works too.




Thanks to everyone who donates. You keep the servers running.

Offline Nameless

  • Full Member
  • ***
  • Posts: 105
  • I'm in your computer, okay?
Re: Warzone 2100 wont start!!
« Reply #8 on: May 20, 2010, 05:04:36 PM »
iMoron, if that doesn't work try;

Code: [Select]
warzone2100 --resolution=WIDTHxHEIGHT

and specify the resolution to which your monitor is set at.

Yeh that works too.

Texstar, couldn't help but notice that you're running WZ 2.3; perhaps a newly updated WZ for the repo's is the works?   ;) ;)
Klaatu Barata Nikto

**deus ex machina**

Offline iMoron

  • Full Member
  • ***
  • Posts: 95
Re: Warzone 2100 wont start!!
« Reply #9 on: May 20, 2010, 05:12:21 PM »
rob0917, I have it installed I still get the:

error   |06:51:52: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).

Not even the --window option makes it start... I found the commands at:

http://svn.gna.org/svn/warzone/trunk/doc/Readme.en.xhtml

The debug option shows the same error at the end... [screeninitilize] Error:...

I already tried them commands... no good still complains:

error   |06:51:52: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).

MSI AM2 Motherboard ~ AMD Athlon Processor LE-1640 ~ 3 GB RAM ~ 160 - 100 - 80 GB HDD
GeForce 6150 SG Integrated Videocard 256MB ~ VIZIO 42" 1080p TV

Offline Nameless

  • Full Member
  • ***
  • Posts: 105
  • I'm in your computer, okay?
Re: Warzone 2100 wont start!!
« Reply #10 on: May 20, 2010, 05:35:04 PM »
How are your xorg drivers? (Meaning have you done anything out of the ordinary to them)

rob0917, I have it installed I still get the:

error   |06:51:52: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).

Not even the --window option makes it start... I found the commands at:

http://svn.gna.org/svn/warzone/trunk/doc/Readme.en.xhtml

The debug option shows the same error at the end... [screeninitilize] Error:...

I already tried them commands... no good still complains:

error   |06:51:52: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).



By any chance, did you mean;

Code: [Select]
warzone2100 --debug all

If so, perhaps you could post the full output ;)
Klaatu Barata Nikto

**deus ex machina**

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: Warzone 2100 wont start!!
« Reply #11 on: May 20, 2010, 05:39:13 PM »
When I said it works with xorg drivers I meant standard xorg drivers like ati, nv, intel. It appears it does not work with nvidia or fglrx proprietary drivers or it is looking in the wrong place for libGL.so.1.

Thanks to everyone who donates. You keep the servers running.

Offline iMoron

  • Full Member
  • ***
  • Posts: 95
Re: Warzone 2100 wont start!!
« Reply #12 on: May 20, 2010, 05:43:30 PM »
Well I think there is something in this thread:

http://forums.wz2100.net/viewtopic.php?f=4&t=5157

As for the debug all:

Code: [Select]
wz      |07:40:11: [main] Using language:
wz      |07:40:11: [initialize_ConfigDir] Write dir: /home/me/.warzone2100-2.3/
wz      |07:40:11: [initialize_ConfigDir] Base dir: /usr/games/
wz      |07:40:11: [main] Warzone 2100 - Version 2.3.0
fog     |07:40:11: [war_SetFog] Visual fog turned OFF
fog     |07:40:11: [setRevealStatus] avSetRevealStatus: Setting reveal to ON
main    |07:40:11: [main] initializing
wz      |07:40:11: [registry_load] Loading the registry from [directory: /home/me/.warzone2100-2.3/] config
wz      |07:40:11: [openLoadFile] Reading...[directory: /home/me/.warzone2100-2.3/] config
wz      |07:40:11: [registry_load] Parsing the registry from [directory: /home/me/.warzone2100-2.3/] config
wz      |07:40:11: [setLanguage] Setting language to "System locale" ()
wz      |07:40:11: [setLocaleUnix] Requested locale "", got "en_US.UTF-8" instead
fog     |07:40:11: [avSetStatus] avSetStatus: Setting fog of war OFF
fog     |07:40:11: [war_SetFog] Visual fog turned ON
fog     |07:40:11: [setRevealStatus] avSetRevealStatus: Setting reveal to OFF
texture |07:40:11: [setTextureSize] texture size set to 256
wz      |07:40:11: [registry_save] Saving the registry to [directory: /home/me/.warzone2100-2.3/] config
wz      |07:40:11: [saveFile] We are to write (config) of size 721
wz      |07:40:11: [saveFile] Successfully wrote to /home/me/.warzone2100-2.3//config with 721 bytes
wz      |07:40:11: [registry_save] Saving the registry to [directory: /home/me/.warzone2100-2.3/] config
wz      |07:40:11: [saveFile] We are to write (config) of size 721
wz      |07:40:11: [saveFile] Successfully wrote to /home/me/.warzone2100-2.3//config with 721 bytes
net     |07:40:11: [NETinit] NETinit
net     |07:40:11: [NET_InitPlayers] Players initialized
net     |07:40:11: [NETinit] NETPLAY: Init called, MORNIN'
wz      |07:40:11: [saveConfig] Writing prefs to registry
wz      |07:40:11: [registry_save] Saving the registry to [directory: /home/me/.warzone2100-2.3/] config
wz      |07:40:11: [saveFile] We are to write (config) of size 721
wz      |07:40:11: [saveFile] Successfully wrote to /home/me/.warzone2100-2.3//config with 721 bytes
wz      |07:40:11: [registerSearchPath] registerSearchPath: Registering /home/me/.warzone2100-2.3/ at priority 2
wz      |07:40:11: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |07:40:11: [registerSearchPath] registerSearchPath: Registering /usr/data/ at priority 3
wz      |07:40:11: [rebuildSearchPath] Cleaning up
wz      |07:40:11: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |07:40:11: [registerSearchPath] registerSearchPath: Registering /usr/share/warzone2100/ at priority 4
wz      |07:40:11: [rebuildSearchPath] Cleaning up
wz      |07:40:11: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |07:40:11: [registerSearchPath] registerSearchPath: Registering /usr/games/ at priority 5
wz      |07:40:11: [rebuildSearchPath] Cleaning up
wz      |07:40:11: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |07:40:11: [registerSearchPath] registerSearchPath: Registering /usr/share/games/warzone2100 at priority 6
wz      |07:40:11: [rebuildSearchPath] Cleaning up
wz      |07:40:11: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |07:40:11: [printSearchPath] Search paths:
wz      |07:40:11: [printSearchPath]     [/home/me/.warzone2100-2.3/]
wz      |07:40:11: [printSearchPath]     [/usr/games/]
wz      |07:40:11: [printSearchPath]     [/usr/share/games/warzone2100/mp.wz]
wz      |07:40:11: [printSearchPath]     [/usr/share/games/warzone2100/]
wz      |07:40:11: [printSearchPath]     [/usr/share/games/warzone2100/base.wz]
wz      |07:40:11: [scanDataDirs] gamedesc.lev found at /usr/share/games/warzone2100/base.wz
error   |07:40:12: [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).
MSI AM2 Motherboard ~ AMD Athlon Processor LE-1640 ~ 3 GB RAM ~ 160 - 100 - 80 GB HDD
GeForce 6150 SG Integrated Videocard 256MB ~ VIZIO 42" 1080p TV

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: Warzone 2100 wont start!!
« Reply #13 on: May 20, 2010, 05:53:26 PM »
When I said it works with xorg drivers I meant standard xorg drivers like ati, nv, intel. It appears it does not work with nvidia or fglrx proprietary drivers or it is looking in the wrong place for libGL.so.1.

Ah ha! I copied libGL.so.1 and libGL.so.1.2 from /usr/lib/fglrx folder to /usr/lib folder overwriting the exiting libGL.so.1 and libGL.so.1.2 and it works now as well as Chromium-bsu using the ATI fglrx driver. woo hoo. I suspect the same would be needed for Nvidia.

Thanks to everyone who donates. You keep the servers running.

Offline iMoron

  • Full Member
  • ***
  • Posts: 95
Re: Warzone 2100 wont start!!
« Reply #14 on: May 20, 2010, 06:01:15 PM »
OK Texstar...

So... what should I do now? Wait for a fix to hit the repos?
Try what you did?

« Last Edit: May 20, 2010, 06:13:53 PM by iMoron »
MSI AM2 Motherboard ~ AMD Athlon Processor LE-1640 ~ 3 GB RAM ~ 160 - 100 - 80 GB HDD
GeForce 6150 SG Integrated Videocard 256MB ~ VIZIO 42" 1080p TV