With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Pre SG 1.0 archive

SA crashes my X server

Postby Chainsaw » Tue Mar 27, 2007 2:15 am

I'm not sure how much info you want, but when running the SA version I get the following messages:
execing default.cfg
Unknown command ""
execing q3config.cfg
Unknown command ""

Shortly after that, I get this message:
...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf or current dir: /home/eric/downloads/Games/Quake/Westernquake3/opengl32: cannot open shared object file: No such file or directory failed

It crashes a few lines later. I googled the error and it appears not to be the video card, but some interplay between the baseq3/pak0.pk3 and the default.cfg and q3config.cfg files. Here is a link to someone troubleshooting quake3 on linux with the same issues. (His fix, didn't seem to help me though). Skip down to the "The problem was the baseq3 folder..." part to skip the misdiagnoses. http://www.linuxquestions.org/questions ... p?t=475110

Sorry to be a PitA in my first day as a tester. I ran it with both stdout and errout to a file if you want me to post the whole thing.
User avatar
Chainsaw
Quick Draw
 
Posts: 71
Joined: Sun Mar 18, 2007 7:37 pm
Location: MN, USA



Postby sig11 » Tue Mar 27, 2007 10:38 am

First some similar diagnostics as in the thread you mentioned:
do you get 3D acceleration? I.e. does glxgears work (fast) and does glxinfo report "direct rendering: Yes"

Then, can you give the output of the follwoing command:
Code: Select all
ldd wquake3

I have some idea what it could be. It might be your X setup after all (you may have a different set of libraries than I have). What distribution are you running? Can you give a list of all X related packages which you have installed?

Also, can you paste the full console output?
In-game name: =SG= Django (yes, it's cliché :-) )
User avatar
sig11
SG Team
 
Posts: 616
Joined: Sun Mar 30, 2003 1:00 pm
Location: Germany



SA crashes my X server

Postby Chainsaw » Tue Mar 27, 2007 3:48 pm

Not sure what "fast" glxgears is, but here is my output:
14036 frames in 5.0 seconds = 2807.041 FPS
13905 frames in 5.0 seconds = 2780.859 FPS
13916 frames in 5.0 seconds = 2783.098 FPS
13879 frames in 5.0 seconds = 2781.764 FPS

glxinfo does state "direct rendering: Yes" here is a small snippet that may prove useful:
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4

ldd wquake3 reports:
linux-gate.so.1 => (0xb7fc4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7ed7000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7ec9000)
libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1 (0xb7ec3000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb7ebe000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7eba000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7e97000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7d67000)
/lib/ld-linux.so.2 (0xb7fc5000)

Finally, the entire output from running ./wquake3 > debug.txt 2>&1 is as follows:
wqQ3 1.33w03 linux-i386 Jun 30 2006
----- FS_Startup -----
pak0 has checksum 554035716
Detected pak0 - pretending it to be the retail version.
backwater has checksum 1623748367
br_haunted has checksum 1075699580
coyotebluff has checksum 2953459640
lake has checksum 465789212
train has checksum 2721494609
wq3brelimaps001 has checksum 1750168083
wq3_maps0 has checksum 1536923698
wq3_maps02_r has checksum 3947476630
wq3_maps03_r has checksum 2133511759
wq3_maps1 has checksum 3849958775
wq3_pak0 has checksum 1624030397
wq3_pak1 has checksum 1942163816
wq3_pak2 has checksum 3525732908
wq3_pak3 has checksum 1881361774
wq3_pakZ_current has checksum 1112421242
wq3_sounds0 has checksum 3278800843
wq3_sounds1 has checksum 2605991739
wq3_textures0 has checksum 1279901149
wq3_textures1 has checksum 920604252
wq_hangemhigh has checksum 462480225
wq_NightFort has checksum 1795779001
wq_town has checksum 3996463325
Current search path:
/home/eric/.wq3/westernq3
./westernq3/wq_town.pk3 (8 files)
./westernq3/wq_NightFort.pk3 (10 files)
./westernq3/wq_hangemhigh.pk3 (40 files)
./westernq3/wq3_textures1.pk3 (47 files)
./westernq3/wq3_textures0.pk3 (628 files)
./westernq3/wq3_sounds1.pk3 (28 files)
./westernq3/wq3_sounds0.pk3 (30 files)
./westernq3/wq3_pakZ_current.pk3 (6 files)
./westernq3/wq3_pak3.pk3 (55 files)
./westernq3/wq3_pak2.pk3 (14 files)
./westernq3/wq3_pak1.pk3 (2 files)
./westernq3/wq3_pak0.pk3 (934 files)
./westernq3/wq3_maps1.pk3 (8 files)
./westernq3/wq3_maps03_r.pk3 (32 files)
./westernq3/wq3_maps02_r.pk3 (90 files)
./westernq3/wq3_maps0.pk3 (80 files)
./westernq3/wq3brelimaps001.pk3 (194 files)
./westernq3/train.pk3 (60 files)
./westernq3/lake.pk3 (103 files)
./westernq3/coyotebluff.pk3 (110 files)
./westernq3/br_haunted.pk3 (24 files)
./westernq3/backwater.pk3 (120 files)
./westernq3
/home/eric/.q3a/westernq3
/home/eric/.wq3/baseq3
./baseq3/pak0.pk3 (102 files)
./baseq3

----------------------
2725 files in pk3 files
execing default.cfg
Unknown command ""
execing q3config.cfg
Unknown command ""
execing autoexec.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf or current dir: /home/eric/downloads/Games/Quake/Westernquake3/opengl32: cannot open shared object file: No such file or directory
failed
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 800x600
X connection to :0.0 broken (explicit kill or server shutdown).

I just noticed that the current search path is set to /home/eric/.wq3/westernquake3. I do have a ~/.wq3 folder, but it is empty. Is it possible the SA games is trying to exec config files in that search path?

Finally, I'm running Slackware 11.0 (please no jokes). I'm willing to post the xorg.conf too if necessary. Here are the X11 packages I've installed:
x11-6.9.0-i486-12_slack11.0
x11-devel-6.9.0-i486-11
x11-docs-6.9.0-noarch-5
x11-fonts-100dpi-6.9.0-noarch-5
x11-fonts-cyrillic-6.9.0-noarch-5
x11-fonts-misc-6.9.0-noarch-5
x11-fonts-scale-6.9.0-noarch-5

My system is an HP, P4 Hyperthread, 2.8 GHz, 1GB RAM, 256MB NVidia Geforce FX 5200. Runs well for everything I need (except SA WQ3). I might be willing to test on another distro, if I can scrounge up a machine worth running the game on, but I don't want to mess with this system because I do a lot of work/research on it.
User avatar
Chainsaw
Quick Draw
 
Posts: 71
Joined: Sun Mar 18, 2007 7:37 pm
Location: MN, USA



Re: SA crashes my X server

Postby Chainsaw » Tue Mar 27, 2007 3:52 pm

Chainsaw wrote:I might be willing to test on another distro, if I can scrounge up a machine worth running the game on, but I don't want to mess with this system because I do a lot of work/research on it.


Let me clarify. I'm certainly willing to load new libraries or other software. What I meant was I don't want to wipe and install another distro and spend who knows how much time tracking down and installing all my little tools again.
User avatar
Chainsaw
Quick Draw
 
Posts: 71
Joined: Sun Mar 18, 2007 7:37 pm
Location: MN, USA



Postby sig11 » Tue Mar 27, 2007 4:15 pm

Thanks for all the info. Your libraries and 3D setup look all just fine. With "fast" glxgears I meant 3D accelerated - which it is. Also, your search path looks just fine, too. BTW, Slackware is a great distro.

I will have to compare some of your outout with my setup later tonight.

Posting your xorg.conf might help indeed. Currently I'm wondering if the game can't switch to 800x600 or if it has problems with the color depth. You can try a higher resolution with starting it with
./wquake3 +set r_mode 6
or some higher number. 6 corresponds to 1024x768
In-game name: =SG= Django (yes, it's cliché :-) )
User avatar
sig11
SG Team
 
Posts: 616
Joined: Sun Mar 30, 2003 1:00 pm
Location: Germany



Postby sig11 » Tue Mar 27, 2007 11:20 pm

All right. After further investigations, I can at least say that
"...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf or current dir: /home/eric/downloads/Games/Quake/Westernquake3/opengl32: cannot open shared object file: No such file or directory
failed "
is harmless. It stems from the fact the deep down some config file wants opengl32 as the default driver. This would change, once you would actually suceed in exiting the game cleanly once :-). The following line:
"...loading libGL.so.1: Initializing OpenGL display"
tells you it actually did find an OpenGL driver.

Also, just before the crash, the game seems to have actually set the resolution - so my suspicion was wrong. The next step would be to set the "visual" which includes the color depth. This also includes querying the 3D driver.

Now, do you have the NVidia binary driver? Note, that I have no experience with NVidia cards. Maybe you can try different drivers?

Another angle would be to still check your xorg.conf file and check if you have anything about color depths there.

And finally, the only similarity to the topic you linked to whould be if you have something inside /home/eric/.q3a/westernq3 (assuming /home/eric/.wq3 is really empty) which would have weird graphic settings.

I hope one of these things helps.
In-game name: =SG= Django (yes, it's cliché :-) )
User avatar
sig11
SG Team
 
Posts: 616
Joined: Sun Mar 30, 2003 1:00 pm
Location: Germany



SA crashes my X server -- SUCCESS!!!

Postby Chainsaw » Wed Mar 28, 2007 6:10 am

sig11 wrote: BTW, Slackware is a great distro.

Well I certainly like it. I've used it a long time and I'm happy with it. Unfortunately, a lot of developers will brush off Slack users and say something like "We only support Fedora Core or Debian based distros."

sig11 wrote:You can try a higher resolution with starting it with ./wquake3 +set r_mode 6 or some higher number. 6 corresponds to 1024x768


YEAH!!! This solved the problem! I don't know why, but it did. I suspect that it was my xorg.conf which only had a section for 24-bit depth and no other option. I actually ended up using r_mode 8 (1280x1024) with 32-bit depth and it ran great (local games).

If there is anything more you'd like me to provide to add to your knowledgebase/memory let me know; like xorg.conf, etc. Oh, and I am using the NVidia binary drivers. They've always been fantastic for me going way back to the 8MB cards.

Thank you very much for the prompt help. Now, if I get used to the new keybindings and the sort of zippy movement, I'll join up some servers and be a target for y'all.
User avatar
Chainsaw
Quick Draw
 
Posts: 71
Joined: Sun Mar 18, 2007 7:37 pm
Location: MN, USA



Re: SA crashes my X server -- SUCCESS!!!

Postby sig11 » Wed Mar 28, 2007 10:41 am

Chainsaw wrote:Well I certainly like it. I've used it a long time and I'm happy with it. Unfortunately, a lot of developers will brush off Slack users and say something like "We only support Fedora Core or Debian based distros."

Slackware has been my first distro. Currently I use something different. But everytime I need to set up new computers, I still do consider Slackware.

Chainsaw wrote:YEAH!!! This solved the problem! I don't know why, but it did. I suspect that it was my xorg.conf which only had a section for 24-bit depth and no other option. I actually ended up using r_mode 8 (1280x1024) with 32-bit depth and it ran great (local games).

If there is anything more you'd like me to provide to add to your knowledgebase/memory let me know; like xorg.conf, etc. Oh, and I am using the NVidia binary drivers. They've always been fantastic for me going way back to the 8MB cards.


Great ! I guess it was a combination of color depth and resolution. At that point, I don't think xorg.conf is necessary any more. But I'll keep in mind that changing the resolution might be necesarry when strange crashes occur.

Chainsaw wrote:Thank you very much for the prompt help. Now, if I get used to the new keybindings and the sort of zippy movement, I'll join up some servers and be a target for y'all.

Have fun :D !
In-game name: =SG= Django (yes, it's cliché :-) )
User avatar
sig11
SG Team
 
Posts: 616
Joined: Sun Mar 30, 2003 1:00 pm
Location: Germany




Return to Stand-alone Testing

Show Sidebar
Show Sidebar

User Control Panel

cron