LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2009, 04:19 PM   #1
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Rep: Reputation: 21
Problem running Quake4 Linux


When executing quake4-demo I get this error

Code:
Verifying archive integrity... All good.                
Uncompressing Quake 4 (TM) demo.................................................................................
Removing existing quake4-demo symlink                                                                           
Installing symlink /usr/local/bin/quake4-demo -> /mnt/games-share//quake4-demo                                  
Removing existing quake4-demoded symlink                                                                        
Installing symlink /usr/local/bin/quake4-demoded -> /mnt/games-share//quake4-demoded                            
Quake4 Demo Final V1.0.0 linux-x86 Nov 28 2005                                                                  
found interface lo - loopback                                                                                   
found interface eth0:FWB1 - 192.168.0.1/255.255.255.0                                                           
found interface wlan0 - 192.168.1.100/255.255.255.0                                                             
CPU: AMD CPU with MMX & 3DNow! & SSE & SSE2 & SSE3                                                              
enabled Flush-To-Zero mode                                                                                      
--------- Initializing File System ----------                                                                   
Loaded pk4 /mnt/games-share/q4base/game000.pk4 with checksum 0xc01bb9a0                                         
Loaded pk4 /mnt/games-share/q4base/game100.pk4 with checksum 0xe71d2aa2                                         
Loaded pk4 /mnt/games-share/q4base/pak001.pk4 with checksum 0x4a4195c2                                          
Loaded pk4 /mnt/games-share/q4base/zpak_english.pk4 with checksum 0xab62ab5e                                    
Loaded pk4 /mnt/games-share/q4base/zpak_french.pk4 with checksum 0x88c09a6b                                     
Loaded pk4 /mnt/games-share/q4base/zpak_italian.pk4 with checksum 0xb7cf593a                                    
Loaded pk4 /mnt/games-share/q4base/zpak_spanish.pk4 with checksum 0x1dec3532                                    
Current search path:                                                                                            
/home/lhorace/.quake4-demo/q4base                                                                               
/mnt/games-share/q4base                                                                                         
/mnt/games-share/q4base/zpak_spanish.pk4 (864 files)                                                            
/mnt/games-share/q4base/zpak_italian.pk4 (822 files)                                                            
/mnt/games-share/q4base/zpak_french.pk4 (784 files)                                                             
/mnt/games-share/q4base/zpak_english.pk4 (779 files)                                                            
/mnt/games-share/q4base/pak001.pk4 (7663 files)                                                                 
/mnt/games-share/q4base/game100.pk4 (2 files)                                                                   
/mnt/games-share/q4base/game000.pk4 (2 files)                                                                   
game DLL: 0x0 in pak: 0x0                                                                                       
Addon pk4s:                                                                                                     
file system initialized.                                                                                        
---------------------------------------------                                                                   

Running in restricted demo mode.

------------ Initializing Decls -------------
Loading guides.... 59 loaded                 
405ms to load 1064k of material              
84ms to load 43k of skin                     
341ms to load 719k of sound                  
4ms to load 1k of materialType               
488ms to load 2078k of lipSync               
119ms to load 105k of playback               
2569ms to load 1666k of effect               
---------------------------------------------
/proc/cpuinfo CPU frequency: 2000 MHz        
detecting video ram ( set sys_videoRam to force ) ..
guess failed, return default low-end VRAM setting ( 64MB VRAM )
Detected                                                       
        2.00 GHz CPU                                           
        1744 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
641 strings read from strings/english_code.lang 
1669 strings read from strings/english_guis.lang
5631 strings read from strings/english_lips.lang
6100 strings read from strings/english_maps.lang
641 strings read from strings/french_code.lang  
1668 strings read from strings/french_guis.lang 
5630 strings read from strings/french_lips.lang 
6099 strings read from strings/french_maps.lang 
641 strings read from strings/italian_code.lang 
1668 strings read from strings/italian_guis.lang
5630 strings read from strings/italian_lips.lang
6099 strings read from strings/italian_maps.lang
641 strings read from strings/spanish_code.lang 
1668 strings read from strings/spanish_guis.lang
5630 strings read from strings/spanish_lips.lang
6099 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 'libGL.so.1' through SDL      
TODO: Sys_SetClipboardData                      
********************                            
ERROR: SDL_SetVideoMode failed: Couldn't find matching GLX visual
********************                                             
--------------- BSE Shutdown ----------------                    
---------------------------------------------                    
WARNING: rvServerScanGUI::Clear() - invalid scanGUI              

idRenderSystem::Shutdown()
Sys_Error: SDL_SetVideoMode failed: Couldn't find matching GLX visual
 
Old 10-18-2009, 04:21 PM   #2
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
here's the output of fglrxinfo and glxinfo

Code:
[lhorace@comp1 ~]$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 3100 Graphics
OpenGL version string: 2.1.8870

[lhorace@comp1 ~]$  glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: ATI Radeon 3100 Graphics
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_conditional_render,
[lhorace@comp1 ~]$
According to the Log Error above, it miss detects my video card with 64 MB instead of 256 MB
 
Old 10-18-2009, 05:15 PM   #3
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
It looks like you need to modify a line in your xorg.conf,the following links all point to the same solution:

http://www.mepis.org/node/11541
http://forums.opensuse.org/archives/...w-trouble.html
http://forums.gentoo.org/viewtopic-t...5-start-0.html

Let us know how you get on.
 
Old 10-18-2009, 08:02 PM   #4
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
I checked my xorg.conf file

Code:
[lhorace@comp1 quake4-newer]$ cat /etc/X11/xorg.conf
# Xorg configuration created by livna-config-display

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0   
EndSection                             

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules/extensions/catalyst"
        ModulePath   "/usr/lib64/xorg/modules/extensions"         
        ModulePath   "/usr/lib64/xorg/modules"                    
EndSection                                                        

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection                      

Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"
        Option      "OpenGLOverlay" "off"
        Option      "VideoOverlay" "on"
        #Option     "SWcursor" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
EndSection

Section "Extensions"
        Option      "Composite" "Enable"
EndSection

EDIT: here's my new xorg.conf

Code:
# Xorg con:figuration created by livna-config-display

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0   
EndSection                             

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules/extensions/catalyst"
        ModulePath   "/usr/lib64/xorg/modules/extensions"         
        ModulePath   "/usr/lib64/xorg/modules"                    
EndSection                                                        

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection                      

Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"     
        Option      "OpenGLOverlay" "off"
        Option      "VideoOverlay" "on"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x800" "1024x768" "1024x640" "800x600" "640x480"
        EndSubSection
EndSection

Section "Extensions"
        Option      "Composite" "Enable"
EndSection
to make sure DefualtDepth was already set to 24, it already is....

I seen I downloaded the 1.0 version, so I want and got the 1.4.2 version and I am getting a different error this time

Code:
---------------------------------------------      
--------------- R_InitOpenGL ----------------      
Initializing SDL subsystem                         
Loading GL driver 'libGL.so.1' through SDL         
SDL_ListModes:                                     
1280x800 1280x768 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
Initializing SDL subsystem                                                                         
Loading GL driver 'libGL.so.1' through SDL                                                         
SDL_ListModes:                                                                                     
1280x800 1280x768 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
Fatal Error: Unable to initialize OpenGL                                                           
--------------- BSE Shutdown ----------------                                                      
---------------------------------------------

Last edited by lhorace; 10-18-2009 at 09:36 PM.
 
Old 10-18-2009, 10:36 PM   #5
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
I also have tried
Code:
startx `which quake4-demo` -- :1 -depth 24
and

Code:
./quake4-demo +set r_useSDLModes 1
Code:
LD_PRELOAD=/usr/lib/libGL.so.1 quake4-demo
all commands as root or non-root, same error
 
Old 10-19-2009, 04:27 AM   #6
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Are you using a 64bit o/s by any chance?.
I run Q4 myself on my machine,and to run it i have to use the ia32-libs package,which lets me run 32bit applications like Q4.
Can you run any other games that use 3d acceleration?.
Have you tried running glxgears from a console,this should give you an indication if you have acceleration working.
 
Old 10-19-2009, 06:28 AM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
His drivers are definitely installed properly, but you are correct that if he's running a 64 bit distribution, he needs to install the 32 bit drivers to run 32 bit opengl applications such as quake4.
 
Old 10-19-2009, 01:33 PM   #8
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
Yes I am running Fedora KDE 64 Bit...

I don't known if this makes any different..

Code:
[lhorace@comp1 /]$ sudo find -iname libGL.so.1
./usr/lib/libGL.so.1
./usr/lib64/libGL.so.1
./usr/lib64/catalyst/libGL.so.1
[lhorace@comp1 /]$
what other 3D games should I try to see if it work

Note, if I 'yum install game' it will install a 64 Bit version...

glxgears with and without compositing.. I did try running Quake4 without compositing also

Code:
[lhorace@comp1 /]$ glxgears
2834 frames in 5.0 seconds = 566.793 FPS
2966 frames in 5.0 seconds = 593.025 FPS
2907 frames in 5.0 seconds = 581.397 FPS
2713 frames in 5.0 seconds = 542.553 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 41 requests (41 known processed) with 0 events remaining.
[lhorace@comp1 /]$ glxgears
13168 frames in 5.0 seconds = 2633.449 FPS
13491 frames in 5.0 seconds = 2698.023 FPS
13315 frames in 5.0 seconds = 2662.974 FPS
12072 frames in 5.0 seconds = 2414.172 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 41 requests (41 known processed) with 0 events remaining.
[lhorace@comp1 /]$

Last edited by lhorace; 10-19-2009 at 01:49 PM.
 
Old 10-19-2009, 02:16 PM   #9
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
I think we can rule out your graphics drivers,they appear to be working.
It would probably be a good idea asking at LQ's Fedora forum if there are any 32bit libraries you can install.
Or ask how do other Fedora users run Q4 on a 64bit machine.
Sorry i can't help further,it's been a number of years since i used Fedora myself.
Post back if you find the solution,i'd be interested to hear how it's done with Fedora.

Last edited by the trooper; 10-19-2009 at 02:18 PM.
 
Old 10-19-2009, 02:46 PM   #10
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
My Wine is 32 Bit, I check appdb.whinehq.org and Quake4 1.4.2 is in platium status, I'll give it a try and see if it works... I will check fedora forum, if nothing comes up.. I'll file a bug at redhat.com

Last edited by lhorace; 10-19-2009 at 02:49 PM.
 
Old 10-20-2009, 04:42 PM   #11
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
I'm getting somewhere now, I went to http://zerowing.idsoftware.com/linux...2582f7fc39ba5c and followed the section about reporting bugs and it was suggested that when I run the games... Issue this command..

Code:
quake4-demo +set developer 1 +set logfile 1
And I got a an error, unable to open $HOME/.quake4-demo/q4base/qconsole.log... I checked my home directory and notice that the folder was root root .quake4-demo. So chown the folder to user user, everything seems to work expect this time, I get a different error

Code:
---------------------------------------------                                                                                                
--------------- R_InitOpenGL ----------------                                                                                                
Initializing SDL subsystem                                                                                                                   
Loading GL driver 'libGL.so.1' through SDL                                                                                                   
SDL_ListModes:                                                                                                                               
1280x800 1280x768 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                                          
WARNING: SDL_SetVideoMode failed: Couldn't find matching GLX visual                                                                          
Initializing SDL subsystem                                                                                                                   
Loading GL driver 'libGL.so.1' through SDL                                                                                                   
SDL_ListModes:                                                                                                                               
1280x800 1280x768 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
WARNING: SDL_SetVideoMode failed: Couldn't find matching GLX visual
Fatal Error: Unable to initialize OpenGL
--------------- BSE Shutdown ----------------
---------------------------------------------
WARNING: rvServerScanGUI::Clear() - invalid scanGUI

idRenderSystem::Shutdown()
Sys_Error: Unable to initialize OpenGL
I think I'm getting somewhere
 
Old 10-27-2009, 07:34 PM   #12
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
SOLVRED

I was on a RPMFUSION channel on Freenode asking, an unrelated question about another video problem that I was having with OpenGL. I was told to install xorg-x11-drv-catalyst-libs.i586, that fix my initial issue and while at it fix my Quake4 *Unable to initialize OpenGL* issue.

The point is: 32 Bit apps needs 32 Bit openGL compatibility libraries.

Note: The 32 Bit openGL libraries (ATi catalyst Libs) can be installed along side with x86_64 Catalyst driver
 
Old 10-28-2009, 08:58 AM   #13
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Glad to hear you found the answer.
Thanks for coming back and posting the solution.
 
Old 10-29-2009, 01:20 PM   #14
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 21
They had to be tons of people out there who might be going through what I went throught
 
  


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
quake4 under linux fake root under solaris nexenta how?? plz help. onelife151 Solaris / OpenSolaris 2 01-29-2007 11:16 AM
Quake 4 / quake4-linux-1.3-2.x86.run infekt Linux - Games 16 01-26-2007 01:18 AM
Problem by quake4 DarkNeo Linux - Games 2 10-21-2006 06:32 AM
Quake4 GLX visual problem, 64bit fedora munthe Linux - Software 2 06-20-2006 12:48 PM
why input key everytime when run quake4 in linux? u2911 Linux - Games 3 11-27-2005 03:48 PM

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

All times are GMT -5. The time now is 09:55 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