LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-12-2004, 08:27 PM   #1
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
DRI on the Voodo3 card


DRI isnt working on my voodo 3 card even tho the voodo and dri drivers are boath in the kernel. (gentoo 2.6.8.1-ck3)

glxgears works, opengl is installed,
glxinfo | grep rendering returns
direct rendering : no

taken from xorg.conf
Code:
Section "Device"
    Identifier  "voodo3 right"
    # glide vga dri glx
    Driver "glx"

    #Driver      "tdfx"
    #VideoRam    16384
    # Insert Clocks lines here if appropriate
EndSection
...
Section "DRI"

    Group 60
    Mode 0660
    #Mode 0666
    #remove grtoup tov reset
 EndSection
more after i reboot
 
Old 11-12-2004, 08:36 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Load "glx"
 
Old 11-12-2004, 08:52 PM   #3
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
thanks!!

but where dose that go?
 
Old 11-12-2004, 09:10 PM   #4
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
erm...
Load "glx"
and
Load "dri"
boath appear further up the file

Last edited by crm; 11-12-2004 at 09:16 PM.
 
Old 11-13-2004, 01:14 AM   #5
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
here's my module section

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"

########### Load "glx" # 3D layer
#Load "dri" # direct rendering
Load "glx"
########### Load "/usr/X11R6/lib/modules/extensions/libglx.a"
EndSection

im running a geforce fx card with the latest nvidia driver, not sure if it'll help.
but worth a shot

linux_terror
 
Old 11-13-2004, 06:26 AM   #6
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
*sigh* no luck.....
am i missing anything?

direct rendering manager is in the curent kernel...
as are the drivers for the voodo3

glx and dri are enabled in my xorg.conf
and i KNOW my card suports them....
 
Old 11-13-2004, 03:24 PM   #7
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
with NVIDIA, it said explicitly to disable "dri" and to enable "glx" other wise it wouldn't work, notice my dri is commented out, dunno, maybe that's the problem.

linux_terror
 
Old 11-13-2004, 05:17 PM   #8
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
no joy.... also some ofg the other xorg modificartions crashed my server ,i have commented the offending lines out.

the entirity of my xorg.conf followes (minus comments for the sake of sanity)

Code:
Section "Module"


    Load        "dbe"   # Double buffer extension



    SubSection  "extmod"

      Option    "omit xfree86-dga"   
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
   # Load       "dri"

EndSection

Section "Files"


    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"


EndSection


Section "ServerFlags"


EndSection

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"



    Option "AutoRepeat" "500 30"




    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "gb"

EndSection



Section "InputDevice"


    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/psaux"


    Option "Emulate3Buttons"


EndSection



Section "Monitor"

    Identifier  "guess2"


    HorizSync   48.363


    VertRefresh 50-70

EndSection



Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"


    Driver     "vesa"


EndSection


Section "Device"
    Identifier  "voodo3 right"

    Driver "vga"

    Driver      "tdfx"
    VideoRam    16384

EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "voodo3 right"
    Monitor     "guess2"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "1024x768" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "1024x768" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "1024x768" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection



Section "ServerLayout"


    Identifier  "Simple Layout"


    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


Section "DRI"

    Group 60
    Mode 0660
     
 EndSection

Last edited by crm; 11-13-2004 at 05:33 PM.
 
Old 11-14-2004, 11:06 AM   #9
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
open GL isnt working right either

when trying to run quake3 i get the following error:

Code:
bash-2.05b$ quake3
Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/home/crm/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak8.pk3 (9 files)
/usr/local/games/quake3/baseq3/pak7.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3

----------------------
4073 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
Xlib:  extension "XFree86-DGA" missing on display ":0.0".
Failed to detect XF86DGA Mouse
XFree86-VidModeExtension Activated at 1024x768
Using 8/8/8 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
 You are using software Mesa (no hardware acceleration)!
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
i figured that if GLX gears was woring then OpenGL would also work fine, but i appear to be wrong

Last edited by crm; 11-14-2004 at 11:14 AM.
 
Old 11-14-2004, 12:18 PM   #10
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
Okay, i have traced the xorf log files ad apparentally i am in 32bpp and need to be in 16bpp
how do i swich modes?

Code:
(EE) TDFX(0): [dri] tdfx DRI not supported in 32 bpp mode, disabling DRI.
(II) TDFX(0): [dri] To use DRI, invoke the server using 16 bpp
        (-depth 15 or -depth 16).
*sigh* google isnt helping here :*(
 
Old 11-14-2004, 06:17 PM   #11
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
last error i hope

from the xorg logs i get this:
(EE) TDFX(0): [dri] DRIScreenInit failed, disabling DRI.

from glxgears i get this

Code:
bash-2.05b$ glxinfo | grep rendering
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
libGL warning: 3D driver claims to not support visual 0x35
libGL warning: 3D driver claims to not support visual 0x36
libGL warning: 3D driver claims to not support visual 0x39
libGL warning: 3D driver claims to not support visual 0x3a
libGL warning: 3D driver claims to not support visual 0x3d
libGL warning: 3D driver claims to not support visual 0x3e
libGL warning: 3D driver claims to not support visual 0x41
libGL warning: 3D driver claims to not support visual 0x42
direct rendering: No
dri still clames to be off but glxgears is returning at about 4-700 fips (along with hte error stated above) so somthing is goi ng rite

still no 3d in any games.
im so close i can almost taste those floating points... please help!!

Last edited by crm; 11-14-2004 at 06:19 PM.
 
Old 11-16-2004, 06:01 AM   #12
lipo
LQ Newbie
 
Registered: Oct 2004
Location: Czech Republic
Posts: 8

Rep: Reputation: 0
You have two video cards ?

Code:
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vesa"
EndSection

Section "Device"
    Identifier  "voodo3 right"
    Driver "vga"
    Driver      "tdfx"
    VideoRam    16384
EndSection
Set only nothing more.

Section "Device"
Identifier "voodo3" # Type your card
VendorName "3dfx" # Manufacturer
Driver "tdfx" # Driver for your card
EndSection

Section "Screen"
Identifier "Screen 1"
Device "Voodoo3" # !!! == how Identifier "voodo3"
Monitor "My monitor" #

Your mistake is that you set two drivers for two cards tdfx and vga.
Check this and good luck.

--> this is my config http://rabbit.phorum.cz/config with functional HW accel

Last edited by lipo; 11-16-2004 at 06:03 AM.
 
Old 11-17-2004, 05:25 AM   #13
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
after attempting that, and a few other solutions i gave up and bought a second hand Nvida GeForcec 5000 (ish)
it installed and is running nicley.... YERY nicley:

Code:
bash-2.05b$ glxgears
7292 frames in 5.0 seconds = 1458.400 FPS
6891 frames in 5.0 seconds = 1378.200 FPS
7695 frames in 5.0 seconds = 1539.000 FPS
7668 frames in 5.0 seconds = 1533.600 FPS
7715 frames in 5.0 seconds = 1543.000 FPS
 
Old 11-17-2004, 06:16 AM   #14
lipo
LQ Newbie
 
Registered: Oct 2004
Location: Czech Republic
Posts: 8

Rep: Reputation: 0
Nice i have Voodoo 3 and my score is:

Code:
bash-2.05b$ glxgears 
6082 frames in 5.0 seconds = 1216.400 FPS
6662 frames in 5.0 seconds = 1332.400 FPS
7160 frames in 5.0 seconds = 1432.000 FPS
7160 frames in 5.0 seconds = 1432.000 FPS
7161 frames in 5.0 seconds = 1432.200 FPS
almost same score voodoo has better view.
 
Old 11-17-2004, 06:33 AM   #15
png
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
IIRC, you need to have the Glide3 libs installed. The Xfree voodoo3 driver uses these to make DRI work.
 
  


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
DRI enabled, but not used, even though card supports it. Gold Yo Linux - Hardware 4 07-30-2005 11:59 PM
missing /dev/dri/card* EdoardoC Linux - Hardware 0 05-19-2005 11:41 AM
some help getting my video card working with dri please maq Linux - Software 1 05-09-2005 08:36 PM
Problems enabling DRI - card not found jenna_h Linux - Software 2 12-07-2003 11:09 AM
Does a Rage Mobility Graphics Card support DRI? falcon56215 Linux - Software 9 11-16-2003 08:48 PM

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

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