LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux
User Name
Password
VectorLinux This forum is for the discussion of VectorLinux.

Notices


Reply
  Search this Thread
Old 09-05-2010, 10:04 PM   #1
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Rep: Reputation: 16
Unable to play Warzone 2100 SDL_SetVideoMode error


Hi, I just installed this OS on a computer of mine because I wanted to play the game Warzone 2100. Well, after getting everything compiled and installed, I try and run the game and this is what I get for an error message:

Code:
root:# warzone2100        
error   |09:57:38: [screenInitialise] SDL_SetVideoMode failed (Couldn't find matching GLX visual).
info    |09:57:38: [frameInitialise] Trying windowed mode now.
error   |09:57:38: [screenInitialise] SDL_SetVideoMode failed (Couldn't find matching GLX visual).
Any idea what the problem might be? I sure as hell don't.

~Steve
 
Old 09-06-2010, 12:41 AM   #2
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 634

Rep: Reputation: 174Reputation: 174
It seems to me that this could be a video driver issue.

As I only have sufficient experience with Debian and with Nvidia cards, this may or may not be of use to you.
I've given up on getting anything resembling good behavior on the FOSS Nvidia drivers (they can't even seem to handle the xscreensaver GL screensavers), and I use the proprietary Nvidia drivers (yes, I'm a freedom-hater).

If I do an update that effects xorg video stuff, I often need to reinstall the proprietary Nvidia driver or I get errors similar to what you've gotten.

So, what's up with your video driver?
If you have an Nvidia graphics chipset, then I would suggest that you don't even think about using the FOSS driver, and use the proprietary Nvidia driver.

If you are using a non-Nvidia chipset, then maybe someone else can help.... or you could make sure that your video drivers are the right one for your chipset.
 
Old 09-07-2010, 05:17 PM   #3
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Original Poster
Rep: Reputation: 16
Thanks for replying. I have an older computer that my friend gave me. It's a Pentium IV with 256 MB of RAM and the ProSavage8 128 MB video drivers. I've been told in the Warzone2100 forums that Savage is basically the bottom of the barrel. Though OpenGL works, glxgears runs at ~220 FPS. Heh.
 
Old 09-07-2010, 05:44 PM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Not only is the savage the bottom of the barrel, I doubt there's any 3D acceleration for it available on Linux.

Adam
 
Old 09-08-2010, 03:50 PM   #5
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Original Poster
Rep: Reputation: 16
Well, that's a bummer. I really wanted to play over LAN with my brother on some games :/
 
Old 08-27-2013, 12:07 AM   #6
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
Smile | later the "5.- point"| read well mayor linux | solving the glx stuff

WELCOME TO INSTALATION OF WARZONE2100 | COMPILING DEVELOPMENT UNSTABLE (STABLE VERSION )

|you have to be patient |
|many libraries to download |
|check you have rendering and free or propietary drivers installed, JUST ONE OF THEM... |
|Install step by step, DO NOT FORGET ANY STEP |
|DO NOT COPY ENTERING NUMBERS, JUST COMMANDS |

ENJOY:

0.- git clone https://github.com/Warzone2100/warzone2100.git
0.1.- cd warzone2100/
1.- apt-get install libcrypto++-utils libcryptokit-ocaml-dev libcrypto++-dev libcrypto++-utils libcrypto++9 libssl-dev hg-fast-export cmake automake kernel-package fakeroot libncurses5-dev zlib1g-dev build-essential libfribidi-dev asciidoc wkhtmltopdf spl-sdl libsdl-dev fle flex bison libpng12-dev libsdl1.2-dev libopenal-dev libphysfs-dev libvorbis-dev libtheora-dev libglc-dev libglew1.5-dev libxrandr-dev zip unzip libqt4-opengl-dev libqt4-network libqjson-dev

1.1.- apt-get build-dep warzone2100
2.- hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/
2.0.- cd physfs/
2.1.- mkdir build
2.2.- cd build/
2.3.- cmake ../
2.4.- make
2.5.- make install
3.- wget -c http://www.libsdl.org/tmp/release/SDL2-2.0.0.tar.gz
3.1.- cd SDL2-2.0.0/
3.2.- ./configure
3.3.- make
3.4.- make install
4.- cd ..
5.0.0.- ./autogen.sh

DO NOT COPY THIS, FIRST READ

./configure --with-distributor="YOUR LINUX DISTRIBUTION NAME, UPPERCASE, QUOTATION INCLUDED" | Example: ./configure --with-distributor="TRISQUEL"

NOW YOU ALREADY KNOW YOUR LINUX DISTRO, JUST PUT THE COMMAND, IN MY CASE IS TRISQUEL, IN YOUR CASE MAY BE ITS THE SAME, OR UBUNTU, SLACKWARE, DEBIAN, WHATEVER...:

NOW YOU CAN COPY MODIFIYNG YOUR LINUX DISTRO:

5.1.1.- ./configure --with-distributor="TRISQUEL"
5.1.2.- make
5.2.3.- make install

OPEN THE GAME

5.- ./src/warzone2100

SETTING THE RESOLUTION IN CASE OF SHORT WINDOW (inside the game you can do it too by clicking easily)

./src/warzone2100 --resolution=800x600
./src/warzone2100 --resolution=1024x768
./src/warzone2100 --resolution=1280x768
./src/warzone2100 --resolution=1280x800

you can also try full screen

./src/warzone2100/ --fullscreen

|||||SOLVING-SDL_SetVideoMode failed |||||

| ABOUT SDL | SIMPLE DIRECTMEDIA LAYER TROUBLESHOOTING |

A.- THERE IS A PAINFUL WARZONE2100 BUG ACCORDING TO DIRECT MEDIA LAYER. IT´S IMPORTANT FOR YOU TO INSTALL MANY SDL LIBRARIES AS YOU CAN, EVEN IF YOU DONT NEEDED, INSTALL EVEN SDL LIRARIES FOR PERL AND MORE.

B.- IF YOU CAN NOT SOLVE THIS PAINFUL FOLLOWING ISSUE:

error |12:26:42: [screenInitialise] SDL_SetVideoMode failed (Could find matching GLX visual).

C.- TRY THIS:

c.1.- Install warzone2100 from repositories or synaptic:
c.2.- apt-get install warzone2100

C.3.- If you keep the pain in the ass, just delete warzone2100 from repositories
c.4.- apt-get remove --purge warzone2100
c.5.- aptitude remove --purge warzone2100

REMEMBER TO CLEAN YOUR SYSTEM USING UBUNTU-TWEAK OR BLEACHBIT | also | aptitude autoclean | aptitude clean | apt-get clean | apt-get autoclean | apt-get -f install |

D.- IF YOU CAN NOT SOLVE THIS BY EDITING GRAPHICS CONFIGURATION FROM WARZONE FILES THE ONLY THING YOU CAN DO IS:

D.1.-Delete the .warzone master file on root directory

D.2.- cd /root/
D.3.- ls -a |----ťOPTIONAL COMMAND ||
D.4.- rm -rf .warzone2100-master/

D.5.-Execute again the game without "./"

warzone2100


E.- IF YOU WANT TO RUN WARZONE2100 AS NORMAL USER JUST DELETE THE SAME MASTER WARZONE FILE FROM /HOME/.YOUR-USER-NAME

E.1.- open a terminal
E.2.- rm -rf /home/USER/.warzone2100-master/

E.3.- Execute again the game without "./"

warzone2100

also remember to read carefully factory instructions:

http://developer.wz2100.net/wiki/CompileGuideLinux


allenlinux | http://allenlinux.wordpress.com

"with the same weapons to the enemy"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues Installing Warzone 2100 THCsphere Slackware 5 12-20-2009 11:01 PM
LXer: Expanding Warzone 2100 LXer Syndicated Linux News 0 06-05-2009 09:41 PM
gedit problem installing warzone jbumgar Linux - Newbie 4 09-07-2006 10:18 AM
how do you install warzone 2100 and snes jbumgar Linux - Games 0 08-31-2006 02:00 PM
Unable to play mp3. Error says: could not find plugin for mplayer2 sreeramabsc Red Hat 6 02-01-2006 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration