LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-22-2005, 08:34 AM   #1
Cyber Maid
Member
 
Registered: Feb 2005
Location: The Netherlands
Distribution: Turbolinux FUJI
Posts: 114

Rep: Reputation: 15
quake 4 problems


I've googled like crazy and browsed forums and found many same errors, but none were any help.
I can't seem to get quake to run on FC4...i'm getting this error:

Code:
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
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
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
I have the Nvidia drivers installed, and it's in the list when i type lsmod.
I've done the usual stuff in xorg too:

Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor 1280x1024"
	DisplaySize  320	240
	HorizSync    31.5 - 79.0
	VertRefresh  50.0 - 90.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce FX (generic)"
	Option	    "NvAGP" "3"
	Option	    "TwinViewOrientation" "Clone"
	Option	    "MetaModes" "1280x1024,1280x1024;1024x768,1024x768"
	Option	    "SecondMonitorVertRefresh" "60"
	Option	    "TVStandard" "PAL-G"
	Option	    "NoLogo" "1"
	Option	    "TwinView" "1"
	Option	    "SecondMonitorHorizSync" "30-50"
	Option	    "TVOverScan" "0.6"
	Option	    "DigitalVibrance" "0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
EndSection
What am i doing wrong?
 
Old 11-22-2005, 06:21 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Just a wild guess, try commenting out the composite extension entry in your xorg.conf, I seem to remember reading somewhere that there were conflicts between GLX and the Composite extension, or optionally add the following

Option "AllowGLXWithComposite" "boolean"

to the device section

There should be documentation on this in /usr/share/doc/NVIDIA_GLX-1.0

HTH

Mad.

Last edited by madluther; 11-22-2005 at 06:22 PM.
 
Old 11-24-2005, 07:47 AM   #3
CrazyDoode
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Re: quake 4 problems

Quote:
Originally posted by Cyber Maid
I've googled like crazy and browsed forums and found many same errors, but none were any help.
I can't seem to get quake to run on FC4...i'm getting this error:

[
--------------- R_InitOpenGL ----------------
Initializing SDL subsystem
Loading GL driver 'libGL.so.1' through SDL
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
TODO: Sys_SetClipboardData
********************

What am i doing wrong?
You have not correctly installed the accelerated drivers
You should check that the correct extensions are present;
'xdpyinfo' should show the "GLX", "NV-GLX" and "NVIDIA-GLX" extensions
present. If these three extensions are not present, then there is most
likely a problem with the glx module.

http://www.nvidia.com/object/linux_readme_install.html
 
Old 11-30-2005, 09:32 AM   #4
wb4
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
I've got the same problem, running quake4-demo on Fedora Core 4. I'm using an nVidia GeForce MX 400 with the latest nVidia drivers.

Code:
--------------- 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
I've never encountered a problem like this with any other OpenGL application on this system. I'm curious what they're passing in as the 'flags' parameter to SDL_SetVideoMode().

My xorg.conf doesn't mention the Composite option anywhere. I'll post it if requested, but I'm omitting it for now to keep clutter out of this thread.

xdpyinfo does not list NVIDIA-GLX, but GLX and NV-GLX are included in its output.
 
Old 11-30-2005, 10:21 AM   #5
wb4
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Quake 4 Problem - SOLVED

This was my Screen section from xorg.conf:

Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1280x1024" "1024x768" "800x600" "640x480 320x240 320x200"
        EndSubSection
EndSection

I changed the DefaultDepth and Depth from 16 to 24:


Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1280x1024" "1024x768" "800x600" "640x480 320x240 320x200"
        EndSubSection
EndSection

Restarted X, and quake4-demo now runs without problem.


I don't know if this will help Cyber Maid though. That poster's screen section looks like this:

Code:
Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection
There are subsections both for 24 and for 16 bit, with the default specified as 24. Assuming the cause of his problem is the same as mine, it might be that his system doesn't support 24-bit colors and is failing over to the 16-bit section. I would suggest removing the section with Depth 16 and see if X runs, and then try to run quake4.
 
  


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
problems with quake 3 lameris Linux - Games 0 06-14-2004 03:08 PM
ld-linux.so.1 problems with Quake 2 superpico Linux - Newbie 1 04-16-2004 10:30 PM
Quake 3 problems czechknight93 Linux - Software 4 03-12-2004 11:31 PM
Problems running Quake II kierwind Linux - Software 1 11-18-2003 04:08 PM
2 problems with Quake 3 Seph64 Linux - Software 3 03-17-2003 01:54 PM

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

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