Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Linux - Games This forum is for all discussion relating to gaming in Linux.


  Search this Thread
Old 07-15-2009, 12:18 PM   #1
LQ Newbie
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Quake 4 - Segmentation Fault - OpenSuse 64-bit, ATI HD4870

Hi there
I was trying to make quake4 working natively under linux.
Firstly, I tried quake4-demo... it worked, however, I got pretty low fps. So I tested performance by running glxgears where I had only 300fps when I used to had around 10.7Kfps.
So I went and reinstalled the fglrx which I am using (I uninstalled them in graphical yast, then I rebooted to runlevel 3, removed /etc/ati/amdpcsdb then installed fglrx in text version of yast and then rebooted to runlevel 5.
After that I got back my fps in glxgears however I was not successful in running quake4, not even quake4-demo. Here is the output for quake4 (no matter if I run it as root or not...).

Both glxgears and fgl_glxgears run arter several reinstallation of my graphic card drivers 'fine'. fgl_glxgears does work only under root and in glxgears I got much lower fps when I am do not run it as root.

Quake4  V1.4.2 linux-x86 Jun 15 2007                                                                
found interface lo - loopback                                                                       
found interface lo -                                                            
found interface eth0 -                                                  
CPU: Intel CPU with MMX & SSE & SSE2 & SSE3                                                         
enabled Flush-To-Zero mode                                                                          
--------- Initializing File System ----------                                                       
Loaded pk4 /usr/local/games/quake4/q4base/game000.pk4 with checksum 0xb3abe28c                      
Loaded pk4 /usr/local/games/quake4/q4base/game100.pk4 with checksum 0x74b379d9                      
Loaded pk4 /usr/local/games/quake4/q4base/game200.pk4 with checksum 0xa3c810d9                      
Loaded pk4 /usr/local/games/quake4/q4base/pak001.pk4 with checksum 0xf2cbc998                       
Loaded pk4 /usr/local/games/quake4/q4base/pak002.pk4 with checksum 0x7f8d80d1                       
Loaded pk4 /usr/local/games/quake4/q4base/pak003.pk4 with checksum 0x1b57b207                       
Loaded pk4 /usr/local/games/quake4/q4base/pak004.pk4 with checksum 0x385aa578                       
Loaded pk4 /usr/local/games/quake4/q4base/pak005.pk4 with checksum 0x60d50a1d                       
Loaded pk4 /usr/local/games/quake4/q4base/pak006.pk4 with checksum 0x9099ed11                       
Loaded pk4 /usr/local/games/quake4/q4base/pak007.pk4 with checksum 0xaf301fff                       
Loaded pk4 /usr/local/games/quake4/q4base/pak008.pk4 with checksum 0x4ac6f6d9                       
Loaded pk4 /usr/local/games/quake4/q4base/pak009.pk4 with checksum 0x36030c7d                       
Loaded pk4 /usr/local/games/quake4/q4base/pak010.pk4 with checksum 0x4b80fbda                       
Loaded pk4 /usr/local/games/quake4/q4base/pak011.pk4 with checksum 0x8acf4cfa                       
Loaded pk4 /usr/local/games/quake4/q4base/pak012.pk4 with checksum 0xbe4120b0                       
Loaded pk4 /usr/local/games/quake4/q4base/pak013.pk4 with checksum 0x6ad67f40                       
Loaded pk4 /usr/local/games/quake4/q4base/pak014.pk4 with checksum 0xee51cd59                       
Loaded pk4 /usr/local/games/quake4/q4base/pak015.pk4 with checksum 0xf5bf4e0c                       
Loaded pk4 /usr/local/games/quake4/q4base/pak016.pk4 with checksum 0x2196f58c                       
Loaded pk4 /usr/local/games/quake4/q4base/pak017.pk4 with checksum 0x91118a35                       
Loaded pk4 /usr/local/games/quake4/q4base/pak018.pk4 with checksum 0x98a14f03                       
Loaded pk4 /usr/local/games/quake4/q4base/pak019.pk4 with checksum 0xbc82ac79                       
Loaded pk4 /usr/local/games/quake4/q4base/pak020.pk4 with checksum 0xce74cda5                       
Loaded pk4 /usr/local/games/quake4/q4base/pak021.pk4 with checksum 0x2ba6e70c                       
Loaded pk4 /usr/local/games/quake4/q4base/pak022.pk4 with checksum 0x4e390eec                       
Loaded pk4 /usr/local/games/quake4/q4base/q4cmp_pak001.pk4 with checksum 0xd0813943                 
Loaded pk4 /usr/local/games/quake4/q4base/zpak_english.pk4 with checksum 0x5868f530                 
Loaded pk4 /usr/local/games/quake4/q4base/zpak_english_01.pk4 with checksum 0xd9f04b8b              
Loaded pk4 /usr/local/games/quake4/q4base/zpak_english_02.pk4 with checksum 0x9dbd91fd              
Loaded pk4 /usr/local/games/quake4/q4base/zpak_english_03.pk4 with checksum 0x2eb6ad8               
Loaded pk4 /usr/local/games/quake4/q4base/zpak_english_04.pk4 with checksum 0xd3fefaa1              
Loaded pk4 /usr/local/games/quake4/q4base/zpak_french.pk4 with checksum 0xbec7cb4                   
Loaded pk4 /usr/local/games/quake4/q4base/zpak_italian.pk4 with checksum 0x1e3aa0f                  
Loaded pk4 /usr/local/games/quake4/q4base/zpak_spanish.pk4 with checksum 0xb706e2b8                 
Addon pk4 /usr/local/games/quake4/q4base/q4cmp_pak001.pk4 with checksum 0xd0813943 is on addon list 
Current search path:                                                                                
/usr/local/games/quake4/q4base/zpak_spanish.pk4 (3542 files)                                        
/usr/local/games/quake4/q4base/zpak_italian.pk4 (3500 files)                                        
/usr/local/games/quake4/q4base/zpak_french.pk4 (3462 files)                                         
/usr/local/games/quake4/q4base/zpak_english_04.pk4 (3 files)                                        
/usr/local/games/quake4/q4base/zpak_english_03.pk4 (4 files)                                        
/usr/local/games/quake4/q4base/zpak_english_02.pk4 (21 files)                                       
/usr/local/games/quake4/q4base/zpak_english_01.pk4 (1 files)                                        
/usr/local/games/quake4/q4base/zpak_english.pk4 (3457 files)                                        
/usr/local/games/quake4/q4base/pak022.pk4 (14 files)                                                
/usr/local/games/quake4/q4base/pak021.pk4 (89 files)                                                
/usr/local/games/quake4/q4base/pak020.pk4 (11 files)                                                
/usr/local/games/quake4/q4base/pak019.pk4 (1206 files)                                              
/usr/local/games/quake4/q4base/pak018.pk4 (3 files)                                                 
/usr/local/games/quake4/q4base/pak017.pk4 (3 files)                                                 
/usr/local/games/quake4/q4base/pak016.pk4 (193 files)                                               
/usr/local/games/quake4/q4base/pak015.pk4 (34 files)                                                
/usr/local/games/quake4/q4base/pak014.pk4 (552 files)                                               
/usr/local/games/quake4/q4base/pak013.pk4 (239 files)                                               
/usr/local/games/quake4/q4base/pak012.pk4 (1081 files)                                              
/usr/local/games/quake4/q4base/pak011.pk4 (5620 files)                                              
/usr/local/games/quake4/q4base/pak010.pk4 (5539 files)                                              
/usr/local/games/quake4/q4base/pak009.pk4 (1284 files)                                              
/usr/local/games/quake4/q4base/pak008.pk4 (1289 files)                                              
/usr/local/games/quake4/q4base/pak007.pk4 (1330 files)                                              
/usr/local/games/quake4/q4base/pak006.pk4 (1343 files)                                              
/usr/local/games/quake4/q4base/pak005.pk4 (1395 files)                                              
/usr/local/games/quake4/q4base/pak004.pk4 (2249 files)                                              
/usr/local/games/quake4/q4base/pak003.pk4 (1281 files)                                              
/usr/local/games/quake4/q4base/pak002.pk4 (313 files)                                               
/usr/local/games/quake4/q4base/pak001.pk4 (5837 files)                                              
/usr/local/games/quake4/q4base/game200.pk4 (9 files)                                                
/usr/local/games/quake4/q4base/game100.pk4 (2 files)                                                
/usr/local/games/quake4/q4base/game000.pk4 (2 files)                                                
game DLL: 0x0 in pak: 0x0                                                                           
Addon pk4s:                                                                                         
/usr/local/games/quake4/q4base/q4cmp_pak001.pk4 (119 files)                                         
file system initialized.                                                                            
------------ Initializing Decls -------------                                                       
Loading guides.... 64 loaded                                                                        
128ms to load 1125k of material                                                                     
32ms to load 43k of skin                                                                            
80ms to load 723k of sound                                                                          
3ms to load 1k of materialType                                                                      
195ms to load 2889k of lipSync                                                                      
31ms to load 105k of playback                                                                       
475ms to load 1690k of effect                                                                       
/proc/cpuinfo CPU frequency: 3000 MHz                                                               
detecting video ram ( set sys_videoRam to force ) ..                                                
guess failed, return default low-end VRAM setting ( 64MB VRAM )                                     
        3.00 GHz CPU                                                                                
        3952 MB of System memory                                                                    
        64 MB of Video memory on an optimal video architecture                                      

This system qualifies for Low quality.
-------- Initializing renderSystem ----------
using ARB renderSystem                       
renderSystem initialized.                    
Found default language English with VO       
.... found additional language 'french' with VO
.... found additional language 'italian' with VO
.... found additional language 'spanish' with VO
696 strings read from strings/english_code.lang 
1794 strings read from strings/english_guis.lang
5756 strings read from strings/english_lips.lang
5759 strings read from strings/english_mappack.lang
6235 strings read from strings/english_maps.lang   
632 strings read from strings/french_code.lang     
1654 strings read from strings/french_guis.lang    
5616 strings read from strings/french_lips.lang    
5619 strings read from strings/french_mappack.lang 
6088 strings read from strings/french_maps.lang    
632 strings read from strings/italian_code.lang    
1654 strings read from strings/italian_guis.lang   
5616 strings read from strings/italian_lips.lang   
5619 strings read from strings/italian_mappack.lang
6088 strings read from strings/italian_maps.lang   
632 strings read from strings/spanish_code.lang    
1654 strings read from strings/spanish_guis.lang   
5616 strings read from strings/spanish_lips.lang   
5619 strings read from strings/spanish_mappack.lang
6088 strings read from strings/spanish_maps.lang   
Couldn't open journal files                        
execing default.cfg                                
"ALT" isn't a valid key                            
"CTRL" isn't a valid key                           
couldn't exec editor.cfg                           
couldn't exec Quake4Config.cfg                     
couldn't exec autoexec.cfg                         
-------- Initializing Sound System ----------      
sound system initialized.                          
--------------- R_InitOpenGL ----------------      
Initializing SDL subsystem                         
Loading GL driver '' through SDL         
1680x1050 1440x900 1400x1050 1280x1024 1280x960 1280x768 1280x720 1152x864 1024x768 800x600 640x480 
640x400 512x384 400x300 320x240 320x200                                                             
SDL_ListModes are currently ignored for resolution filtering. Set r_useSDLModes to 1 if you want it 
signal caught: Segmentation fault                                                                   
si_code 1                                                                                           
Trying to exit gracefully..                                                                         
--------------- BSE Shutdown ----------------                                                       
Only one thing (besides that it is not working ) is that quake was not able to guess my vram which is in real 512MB, but I do not think it would make it not working (it just generated config for low quality)

Here are some other things you might want to know.

OS: OpenSuse 11.1 64-bit
CPU: Intel E8400 dual-core (3.0GHz)
Graphic Card: ATI HD4870 (512MB version)

> glxinfo | grep direct
> direct rendering: Yes
> fglrxinfo
> display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4800 Series
OpenGL version string: 2.1.8494 Release
> uname -a
> Linux dhcppc0 #1 SMP 2009-05-26 17:02:05 -0400 x86_64 x86_64 x86_64 GNU/Linux
Old 07-15-2009, 03:18 PM   #2
the trooper
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
I run Q4 myself on a x64 machine,to run the x86 installer with Debian i needed to install the ia32-libs package.
Is there a similar 32bit library package for Suse?
Old 07-16-2009, 03:25 AM   #3
LQ Newbie
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Well... Maybe it is but I have not found any
Another strange thing started to appear. When I run anything from wine (even as root), or when the X server is initializing (when you see a splashscreen with a progress bar) the monit starts blinking (or better - glimmering - you can see black background fow few milliseconds in some parts of the screen, that it goes back to normal, thank goes black again etc...). It looks like OpenGL problem to me, bet everything besides this (and that I can not run fgl_glxgears as normal user, because it geves me some errors) looks normal. I am afraid that I changed some PATH or whatever and that it will not be never OK again :/
Old 08-06-2009, 10:41 AM   #4
Registered: Apr 2009
Distribution: Fedora 16, Arch
Posts: 136

Rep: Reputation: 18
Yeah I had the same problem. Unlike Ubuntu, openSUSE has specific 32bit libs that need to be installed. If you go online and especially on google you can find the names of them and just type them into yast. This is also a openGL problem I believe, openSUSE does not have the best ATI drivers which is a problem for most.


fault, quake, quake4, segmentation fault

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pthread segmentation fault 64-bit only rushmanw Programming 12 04-23-2009 02:02 PM
pthread segmentation fault 64-bit only rushmanw Programming 1 04-22-2009 04:35 PM
ATI Catalyst Segmentation Fault forum1793 Linux - Hardware 4 08-10-2008 01:24 PM
ATI Segmentation Fault jimmy512 Linux - Software 2 07-05-2007 05:37 AM
SDL-Quake, Segmentation fault, Fullscreen and LAN-problems... Jonthebest Linux - Software 0 09-13-2003 10:45 AM > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 12:45 PM.

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