LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (http://www.linuxquestions.org/questions/linux-games-33/)
-   -   Americas Army (http://www.linuxquestions.org/questions/linux-games-33/americas-army-107647/)

henry_s 10-23-2003 01:47 PM

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?

kasperhans 10-23-2003 02:05 PM

look if you have xfree86-dri installed on your pc

tk31337 10-23-2003 02:05 PM

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.

henry_s 10-23-2003 05:15 PM

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


:Pengy: :newbie:

tk31337 10-23-2003 10:18 PM

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)

henry_s 10-26-2003 06:00 PM

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

LavaDevil94 10-26-2003 07:42 PM

henry_s, can you run glxinfo and post it here?

henry_s 10-26-2003 08:07 PM

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


init 10-26-2003 08:23 PM

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.

LavaDevil94 10-26-2003 08:27 PM

so, henry_s, what video card do you have? download the drivers and install and see if that works.

henry_s 10-27-2003 01:31 PM

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.


All times are GMT -5. The time now is 08:15 PM.