LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-23-2003, 12:47 PM   #1
henry_s
LQ Newbie
 
Registered: Oct 2003
Location: Lodon, UK
Distribution: Redhat 9
Posts: 11

Rep: Reputation: 0
Angry Americas Army


Hi,

I just installed Americas Army and when I try to run it I get "Xlib: extension "XFree86-DRI" missing on display ":0.0"." in the command pormpt. Any ideas?
 
Old 10-23-2003, 01:05 PM   #2
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
look if you have xfree86-dri installed on your pc
 
Old 10-23-2003, 01:05 PM   #3
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Mandrake 10.0 Official
Posts: 193

Rep: Reputation: 31
You may not have --> Option "dri" <-- In /etc/X11/XF86Config (or /etc/X11/XF86Config-4). In order to be of further assistance, I'd suggest posting your system specs, and the contents of the mentioned file.
 
Old 10-23-2003, 04:15 PM   #4
henry_s
LQ Newbie
 
Registered: Oct 2003
Location: Lodon, UK
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by tk31337
You may not have --> Option "dri" <-- In /etc/X11/XF86Config (or /etc/X11/XF86Config-4). In order to be of further assistance, I'd suggest posting your system specs, and the contents of the mentioned file.
The file reads..

Code:
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
	Identifier     "Default Layout"
	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      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"
EndSection

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

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Sony Multiscan 17sf"
	HorizSync    31.0 - 64.0
	VertRefresh  50.0 - 120.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "vesa"
	VendorName  "Videocard vendor"
	BoardName   "VESA driver (generic)"
EndSection

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

Section "DRI"
	Group        0
	Mode         0666
EndSection
1Ghz AMD Athlon
~384MB RAM
S3 ProSavage something-or-other - I'm using the default VESA (I think that's what it's called) graphics driver
Sony Multiscan 17sf monitor


 
Old 10-23-2003, 09:18 PM   #5
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Mandrake 10.0 Official
Posts: 193

Rep: Reputation: 31
hmm

You might want to try adding this to Section "Module":

Load "dri"
Load "GLcore"

Also, as noted above, you may need to install the XFree86-dri package (if you have installed XFree86 by package, i.e RPM or DEB). The other thing is to check out if your video card manufacturer has native drivers. Not sure what model your card is, but I've found drivers for S3 cards online. This page for instance --> http://www.probo.com/timr/savage40.html. If your card is a S3 Savage, then you'd need to change "vesa" to "savage" as well.

Hope it works out. Remember, www.google.com/linux is a great resource for finding information (search for "S3" returns 57,000 results)
 
Old 10-26-2003, 05:00 PM   #6
henry_s
LQ Newbie
 
Registered: Oct 2003
Location: Lodon, UK
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
This seems to be a common error, but with others it seems the game loads up whereas mine doesn't. I've added the above two lines lines to the config file and now I get a different error message (as well as the orginal):

Xlib: extension "XFree86-DRI" missing on display ":0.0".
Couldn't set video mode: Couldn't find matching GLX visual


History:

Exiting due to error
 
Old 10-26-2003, 06:42 PM   #7
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
henry_s, can you run glxinfo and post it here?
 
Old 10-26-2003, 07:07 PM   #8
henry_s
LQ Newbie
 
Registered: Oct 2003
Location: Lodon, UK
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
Here goes

Sure:

Code:
[henry@oemcomputer henry]$ glxinfo
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
 
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x22 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x23 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x25 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
 
Old 10-26-2003, 07:23 PM   #9
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
It looks to me like you dont not even have you video card drivers installed what do you have for a video card ? AAO needs direct rendering.. I just installed my ATI drivers and AAO still wont work... Unreal 2003 runs great...

AAO Error...

Developer Backtrace:
[ 1] ./armyops-bin [0x846ffd1]
[ 2] /lib/i686/libpthread.so.0 [0x4002ff05]
[ 3] ./armyops-bin [0x42029188]
[ 4] ./armyops-bin(SetShaderBitmap__22FOpenGLRenderInterfaceR25FOpenGLMaterialStateStageP15UBitmapMaterial+0xe8) [0x850ab24]
[ 5] ./armyops-bin(HandleCombinedMaterial__22FOpenGLRenderInterfaceP9UMaterialRiT2G19FOpenGLModifierInfoiP7FStringP P9UMaterial+0x603) [0x850b313]
[ 6] ./armyops-bin(SetSimpleMaterial__22FOpenGLRenderInterfaceP9UMaterialG19FOpenGLModifierInfoP7FStringPP9UMateria l+0x12a) [0x851181e]
[ 7] ./armyops-bin(SetMaterial__22FOpenGLRenderInterfaceP9UMaterialP7FStringPP9UMaterialPi+0x6ab) [0x8503f37]
[ 8] ./armyops-bin(Render__12FBspDrawListP15FLevelSceneNodeP16FRenderInterface+0x394) [0x83e9890]
[ 9] ./armyops-bin(RenderLevel__FP15FLevelSceneNodeP16FRenderInterface+0x22dc) [0x8241970]
[10] ./armyops-bin(Render__15FLevelSceneNodeP16FRenderInterface+0x835) [0x8226785]
[11] ./armyops-bin(Render__16FPlayerSceneNodeP16FRenderInterface+0x378) [0x822aa3c]
[12] ./armyops-bin(Draw__11UGameEngineP9UViewportiPUcPi+0x7dc) [0x8171d88]
[13] ./armyops-bin(Repaint__12USDLViewporti+0x27) [0x84faa9f]
[14] ./armyops-bin(Tick__10USDLClient+0x79) [0x84f85d5]
[15] ./armyops-bin(Tick__11UGameEnginef+0x261d) [0x8176ffd]
[16] ./armyops-bin(SDL_SetVideoMode+0x851) [0x810541d]
[17] ./armyops-bin(main+0x57a7) [0x810e8c7]
[18] ./armyops-bin(__libc_start_main+0x95) [0x42017589]
[19] ./armyops-bin(SDL_SetVideoMode+0xe5) [0x8104cb1]
Signal: SIGSEGV [segmentation fault]
Aborting.
 
Old 10-26-2003, 07:27 PM   #10
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
so, henry_s, what video card do you have? download the drivers and install and see if that works.
 
Old 10-27-2003, 12:31 PM   #11
henry_s
LQ Newbie
 
Registered: Oct 2003
Location: Lodon, UK
Distribution: Redhat 9
Posts: 11

Original Poster
Rep: Reputation: 0
I've tried - It's a no-go. I'm thinking of getting a new graphics card, the one I've got at the moment doesn't support DirectX 9 (Dual boot with XP) and has had problems with all the linux games I have downloaded.
 
  


Reply


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
Americas Army carlosinfl Linux - Games 6 07-23-2005 08:17 PM
americas army Gollum78 Linux - General 3 03-04-2005 04:45 AM
Americas-Army Robert0380 Linux - Games 18 12-01-2003 03:09 PM
americas army bm1 Linux - Games 1 11-25-2003 05:28 PM
Americas Army MrJBot Linux - Newbie 1 10-25-2003 10:58 PM


All times are GMT -5. The time now is 12:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration