LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 08-13-2006, 11:44 PM   #1
bobbyjoe
Member
 
Registered: Nov 2004
Posts: 46

Rep: Reputation: 15
[fixed] Quake4 crash after 1.3 update


Here I'm going crazy!

I don't understand why the original 1.2 version is working properly, and when I try to start the game after updating it fails with this:

Code:
--------------- R_InitOpenGL ----------------
Initializing SDL subsystem
Loading GL driver 'libGL.so.1' through SDL
SDL_ListModes:
1280x1024 1152x864 1024x768 832x624 800x600 640x480
SDL_ListModes are currently ignored for resolution filtering. Set r_useSDLModes to 1 if you want it
WARNING: SDL_SetVideoMode failed: Couldn't find matching GLX visual
Initializing SDL subsystem
Loading GL driver 'libGL.so.1' through SDL
SDL_ListModes:
1280x1024 1152x864 1024x768 832x624 800x600 640x480
SDL_ListModes are currently ignored for resolution filtering. Set r_useSDLModes to 1 if you want it
WARNING: SDL_SetVideoMode failed: Couldn't find matching GLX visual
--------------- BSE Shutdown ----------------
---------------------------------------------
WARNING: rvServerScanGUI::Clear() - invalid scanGUI

idRenderSystem::Shutdown()
Sys_Error: Unable to initialize OpenGL
I filtered the textures loadind process from the log and you see the last messages, revelant to the OpenGL part. Where it fails.

Also, I tried to link the libSDL-1.2.so.0 to the one present in the 1.3 quake 4 update package. But nothings change.

This is my config:

uname -r : 2.6.15-23-386

glxinfo:
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4

lspci:
VGA compatible controller: nVidia Corporation NV43 [GeForce 6600/GeForce 6600 GT] (rev a2)

ls /usr/lib/libGL.so.1 -al :
/usr/lib/libGL.so.1 -> libGL.so.1.0.8762

of course the library is present.
ls /usr/lib/libGL.so.1.0.8762 -al :
-rw-r--r-- 1 root root 540136 2006-05-29 14:51 /usr/lib/libGL.so.1.0.8762


I'm lost and I really don't know why it fails. Everywhere you will find on the web that the GLX error is caused by the ColorDepth. You must have 24 bits to get the game running.

Of course I have checked this.

cat /etc/X11/xorg.conf | grep Depth :
DefaultDepth 24

And as I must remind you, quake 1.2 works just fine. So I hope it's not Id software related... I must say I'm the only one facing this yet.

Last edited by bobbyjoe; 08-14-2006 at 06:10 PM.
 
Old 08-14-2006, 06:58 AM   #2
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
How did you patch? The 1.2 --> 1.3 patch or the full 1.3 installer?

I used the full installer and Q4 still works fine.
Also on a Nvidia card.

Maybe just a re-download and reinstall?

Also make sure you are using the 1.3.2 version and not the 1.3 version, if I remember correctly they had issues with it crashing. Hence the quick update.
 
Old 08-14-2006, 12:07 PM   #3
bobbyjoe
Member
 
Registered: Nov 2004
Posts: 46

Original Poster
Rep: Reputation: 15
I did the 1.2 to 1.3 patch update first. That didn't worked. So I downloaded the 1.3-2 full patch (quake4-linux-1.3-2.x86.run - 228,4 Mo) but again it didn't worked.

I also tried to delete everything, and reinstall from scratch. And nothing changed.


But I remember a change I've made to make the sound works properly. When I first installed Quake4, all sounds were weird. I read some forum and found that I must create a link and use it in the Quake4Config.cfg file.

seta s_alsa_lib "libasound.so.0"

And the link is /usr/lib/libasound.so.0 -> /usr/lib/libopenal.so.0


I'm telling this because the quake-1.2 version runs well but shows some messages about the sound initialisation just after the OpenGL initialisation. Maybe it is the sound that makes the 1.3 version crashing.


Here is the output from 1.2:
Code:
--------------- R_InitOpenGL ----------------
Initializing SDL subsystem
Loading GL driver 'libGL.so.1' through SDL
SDL_ListModes:
1280 x 1024
1152 x 864
1024 x 768
832 x 624
800 x 600
640 x 480
SDL_ListModes are currently ignored for resolution filtering. Set r_useSDLModes to 1 if you want it
8/8/8/8 RGBA bits, 24 depth bits, 8 stencil bits
dlopen(libasound.so.0)
dlsym("snd_asoundlib_version") failed: /usr/lib/libasound.so.0: undefined symbol: snd_asoundlib_version
WARNING: please consider upgrading alsa to a more recent version.
dlsym snd_pcm_avail_update failed: /usr/lib/libasound.so.0: undefined symbol: snd_pcm_avail_update, version ALSA_0.9
dlclose
Alsa is not available
----------- Alsa Shutdown ------------
--------------------------------------
------ OSS Sound Initialization ------
opened sound device '/dev/dsp'
ioctl SNDCTL_SYSINFO failed: Invalid argument
this ioctl is only available in OSS/Linux implementation. If you run OSS/Free, don't bother.
/dev/dsp - bit rate: 16, channels: 2, frequency: 44100
allocated a mix buffer of 16384 bytes
WARNING: ioctl SNDCTL_DSP_SETTRIGGER PCM_ENABLE_OUTPUT failed: Broken pipe
Update: I tried to set the sound to the old libasound.so.2 and nothing changed. So I think it's not related to the sound.

Last edited by bobbyjoe; 08-14-2006 at 12:15 PM.
 
Old 08-14-2006, 06:13 PM   #4
bobbyjoe
Member
 
Registered: Nov 2004
Posts: 46

Original Poster
Rep: Reputation: 15
I just reinstalled Ubuntu Dapper, copied the pk4 files again and then installed the 1.3-2 update.

It was working perfectly.

So I contacted someone by e-mail and get some more ideas. He tells me to check the libGL.so.1 (which is a link to libGL.so.1.0.8762 from nVidia).

I did compare the both libGL.so.1.0.8762 from the old install and the new, and they were exactly the same size. Anyway, I just copied the new file to the old install, and now it works just fine.

I also fixed some errors due to the libasound.so.0 -> libopenal.so.0 that is totally unecessary because quake doesn't use openal at all.

So here I am, playing the new Quake4 v1.3-2 for the first time.

Have a nice day, and thanks for your help!
 
  


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
apt-get dist-upgrade problem after crash (during first update) twinkers Debian 4 11-17-2005 10:49 AM
RH update causes crash? Darin Fedora 4 07-01-2005 05:33 AM
XFree crash after update (fonts) julian_s Linux - Software 2 07-23-2004 02:51 PM
Mandrake 10.0 Auto Update Crash billeyd0613 Mandriva 1 03-19-2004 06:31 PM
XawTV crash after RedHat Update! jpsrm Linux - Software 2 09-12-2003 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 02:20 PM.

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