Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Direct rendering (DRI) using X11-DRM HOWTO

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
180 posts
  • Page 1 of 8
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 8
  • Next
Author
Message
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

Direct rendering (DRI) using X11-DRM HOWTO

  • Quote

Post by dberkholz » Wed Apr 09, 2003 9:09 pm

An updated version of this guide is available at http://www.gentoo.org/doc/en/dri-howto.xml.
Please continue to post problems to this thread.

Purpose: This guide is for people for whom direct rendering does not work with just XOrg. X11-DRM works for 3dfx, gamma, i8x0, matrox, rage128, radeon, sis (sis 650 does NOT work), mach64, savage, and via unichrome. Don't read any further if you can't use any of those. See the DRI homepage for more info and documentation.

X11-DRM will NOT work with anything higher than a Radeon 9200, as ATI hasn't released specs and no one has sponsored development for the r300 chipset, which the Radeon 9500 and up use.

What is X11-DRM and how does it relate to regular X11? Due to a little confusion about what XFree-DRM really is and how it's different from XFree: XFree-DRM is an enhancement to XFree that adds 3D acceleration for cards that XFree doesn't give acceleration.

I have now turned this into a troubleshooting/updates post, since the real guide is in the official Gentoo Docs.

Troubleshooting
  • Install with VIDEO_CARDS="yourcard" emerge x11-drm.
  • It used to work, but stopped? If you switched kernels or recompiled your kernel, you need to remerge x11-drm.
  • If you have a PCI card, you may also need Option "ForcePCIMode" "True" in Section "Device."
  • For those of you using 2.5 or 2.6 kernels, x11-drm isn't working yet, but the XOrg 6.8 and older DRM is included in the kernel.
  • This doesn't work for the sis315 series, just the 300 series. see http://www.winischhofer.net/sisdri.shtml. You need sisfb built into the kernel, too.
  • For voodoo3's, you need to emerge XOrg with TDFX_RISKY="yes" emerge xorg-x11 to get video better than 1024x768x16.
  • The Radeon IGP's should work in XOrg 6.8 and newer.
  • The Rage Mobility P/M does not work, from all reports I have heard.
  • Again, make sure you DO NOT have Direct Rendering enabled in any way in the kernel.
  • Issues with unresolved symbol cpmxchg? Make sure your CPU is set as greater than 386 in the kernel.
  • Other unresolved symbols? Try a newer kernel.
  • Set DefaultDepth 16 in XF86Config.
  • One user reported needing the case of Load "dri" and Section "dri" to match in xorg.conf. If one was dri and the other was DRI, it didn't work.
  • Build agpgart as a module. That way dmesg will be more informative, and if it won't load you can get error messages.
  • Check your logs to see what information you can get, and other places for common errors.

    Code: Select all

    # grep -e '(EE)' -e '(WW)' /var/log/Xorg.0.log
    # glxinfo | grep render
    # dmesg | grep -i agp
    # lsmod | grep agp
    # modprobe agpgart
    # ls -l /dev/dri/card0
    # ls -ld /dev/dri
    If /dev/dri isn't rwxrwxrwx, change it with chmod.
    If /dev/dri/card0 isn't rw-rw-rw-, you forgot Section "DRI" in xorg.conf.
    If you can't load agpgart, make sure your AGP chipset is in your kernel. If it isn't available, try loading with 'modprobe agpgart agp_try_unsupported=1'.
  • Look at these:
    http://people.freebsd.org/~anholt/dri/faq.html
    http://people.freebsd.org/~anholt/dri/t ... oting.html
Last edited by dberkholz on Sat Oct 23, 2004 5:51 pm, edited 34 times in total.
Top
xmit
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Wed Apr 02, 2003 10:45 pm
Location: Hamburg, Germany

No speed increase

  • Quote

Post by xmit » Thu Apr 17, 2003 4:09 pm

Hi spyderous,

thanks for this useful guide. It worked immediatly, but I have absolutly no speed increase. Glxgears gives me around 380fps wich is a few frames less than I had with the 2.4.20 kernel driver and xfree 4.2.1. I have a IBM Thinkpad X24 here: P3 1.1Ghz, Radeon Mobility M6 with only 8MB Video RAM. Strange. Now I switched back to stable.

Martin
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

Re: No speed increase

  • Quote

Post by dberkholz » Thu Apr 17, 2003 4:48 pm

xmit wrote:Hi spyderous,

thanks for this useful guide. It worked immediatly, but I have absolutly no speed increase. Glxgears gives me around 380fps wich is a few frames less than I had with the 2.4.20 kernel driver and xfree 4.2.1. I have a IBM Thinkpad X24 here: P3 1.1Ghz, Radeon Mobility M6 with only 8MB Video RAM. Strange. Now I switched back to stable.

Martin
Direct rendering was off beforehand and on after, yet you saw no increase in FPS? That's odd. However, I have heard that 8MB of memory isn't enough to support DRI in some cases.
Top
ebrostig
Bodhisattva
Bodhisattva
User avatar
Posts: 3152
Joined: Sat Jul 20, 2002 12:44 am
Location: Orlando, Fl

  • Quote

Post by ebrostig » Thu Apr 17, 2003 7:22 pm

Why emerge the xfree-drm in addition?

I have an i810 graphics chip and is running stock Xfree 4.3.0 and have DRI working just fine.
glxgears give me about 700-800 fps. What would be the benefit of xfree-drm?

Erik
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Thu Apr 17, 2003 11:37 pm

ebrostig wrote:Why emerge the xfree-drm in addition?

I have an i810 graphics chip and is running stock Xfree 4.3.0 and have DRI working just fine.
glxgears give me about 700-800 fps. What would be the benefit of xfree-drm?

Erik
Erik,
I emerged xfree-drm because the direct rendering would not work with standard Xfree drivers. If direct rendering works perfectly for you, there's no reason to do anything more.
Top
hanzotutu
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Thu Apr 10, 2003 12:16 am

Re: No speed increase

  • Quote

Post by hanzotutu » Fri Apr 18, 2003 12:50 am

spyderous wrote: Direct rendering was off beforehand and on after, yet you saw no increase in FPS? That's odd. However, I have heard that 8MB of memory isn't enough to support DRI in some cases.
My 8M ATI M3 AGP doesn't work either.
From my XF86Config.log file, it's said that it needs at least
~9M. The glxgears give only 103 FPS for my card. :?
Top
xmit
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Wed Apr 02, 2003 10:45 pm
Location: Hamburg, Germany

Re: No speed increase

  • Quote

Post by xmit » Fri Apr 18, 2003 8:55 am

spyderous wrote:Direct rendering was off beforehand and on after, yet you saw no increase in FPS? That's odd. However, I have heard that 8MB of memory isn't enough to support DRI in some cases.
No, it is on in both cases, at least glxinfo says so. What makes you think that only xfree 4.3.0 supports DRI? It is an available option in good old kernel 2.4.20.

When I switch to 24bit color depth, I lose 200fps because DRI is not available in that mode. So glxgears definitively profits from DRI, regardless if kernel or latest xfree drivers are used.

I still wonder why I only get 388fps max with DRI enabled. Is it conceivable that glxgears is slowed down by the small amount of 8MB video ram? I know from a benchmark under windows (3DMark2001SE: 1658), that the thinkpad X24 performs quite well compared to shared memory solutions (i830/Thinkpad X30: 667).

When I installed xfree 4.3.0 there was one detail in glxinfo, that mades me wondering: The OpenGL vendor string was not "Precision Insight" as stated in the DRI user manual. I don't remember exactly the name, it started with T like Tucson, Tranton or so.
Top
no2bl
n00b
n00b
Posts: 10
Joined: Sat Oct 26, 2002 12:50 am

  • Quote

Post by no2bl » Fri Apr 18, 2003 9:54 am

ebrostig wrote: I have an i810 graphics chip and is running stock Xfree 4.3.0 and have DRI working just fine. glxgears give me about 700-800 fps.
Erik
My embeded graphic has 8mb shared ram allocated and I use 16 bits color. I understand that 845G graphic use i810 driver. But I could not get X to run properly in gentoo. On redhat9 DRI is not going with i810 loaded either. However, it clock 330+ on glxgears without DRI.

Question is what is your video ram size? Can you share your config? and procedure to get it going? or 8mb video ram has no chance? Thanks.

.no2bl.
Top
UclaBob
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Oct 22, 2002 4:23 pm

  • Quote

Post by UclaBob » Tue Apr 22, 2003 6:40 pm

Great Guide...boosted me from 100 fps, to 700 :)

Bob
Top
mpsii
l33t
l33t
User avatar
Posts: 653
Joined: Tue Mar 11, 2003 8:44 pm
Location: Jackson, TN

  • Quote

Post by mpsii » Tue Apr 22, 2003 8:41 pm

Can someone please explain the difference between the latest Xfree 4.3 build and Xfree DRM. On xfree's site, there is no explanation. I looked at the Xfree-DRM ebuild, and it does not seem to be doing much more than the Xfree ebuild. (Of course, I am a n00b with ebuilds...)

I am confused since the Xfree team says they already support 3dfx (I have a Voodoo3 2000).
-----------------------------------------
Michael
Top
zojas
Veteran
Veteran
User avatar
Posts: 1136
Joined: Mon Apr 22, 2002 11:29 pm
Location: Phoenix, AZ
Contact:
Contact zojas
Website

  • Quote

Post by zojas » Tue Apr 22, 2003 9:07 pm

I have an older ati rage 128.

when I was using xfree-4.2, installing xfree didn't install the dri kernel modules for me. the dri modules in the kernel source are for xfree86 4.1 so they don't work. I used to 'emerge -u xfree' then after it was done I would use 'ebuild fetch unpack' to get the xfree86 source tree in /var/tmp/portage, then I would have to go in there to the correct directory, compile the kernel module r128.o, and copy it to the /lib/modules directory, then modprobe it to get dri to work.

now, I can just emerge xfree and xfree-drm. much easier.
Top
zojas
Veteran
Veteran
User avatar
Posts: 1136
Joined: Mon Apr 22, 2002 11:29 pm
Location: Phoenix, AZ
Contact:
Contact zojas
Website

  • Quote

Post by zojas » Tue Apr 22, 2003 9:10 pm

here's what gets installed when I emerge xfree-drm:

Code: Select all

qpkg -l xfree-drm
x11-base/xfree-drm-4.3.0 *
CONTENTS:
/lib
/lib/modules
/lib/modules/2.4.20
/lib/modules/2.4.20/kernel
/lib/modules/2.4.20/kernel/drivers
/lib/modules/2.4.20/kernel/drivers/char
/lib/modules/2.4.20/kernel/drivers/char/drm
/lib/modules/2.4.20/kernel/drivers/char/drm/gamma.o
/lib/modules/2.4.20/kernel/drivers/char/drm/tdfx.o
/lib/modules/2.4.20/kernel/drivers/char/drm/r128.o
/lib/modules/2.4.20/kernel/drivers/char/drm/radeon.o
/lib/modules/2.4.20/kernel/drivers/char/drm/mga.o
/lib/modules/2.4.20/kernel/drivers/char/drm/i810.o
/lib/modules/2.4.20/kernel/drivers/char/drm/i830.o
/lib/modules/2.4.20/kernel/drivers/char/drm/sis.o
/usr
/usr/share
/usr/share/doc
/usr/share/doc/xfree-drm-4.3.0
/usr/share/doc/xfree-drm-4.3.0/README.drm.gz
pretty much just the kernel modules.
Top
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Wed Apr 23, 2003 5:40 am

tuxer root # glxgears
13800 frames in 5.0 seconds = 2760.000 FPS
14775 frames in 5.0 seconds = 2955.000 FPS
14851 frames in 5.0 seconds = 2970.200 FPS
14834 frames in 5.0 seconds = 2966.800 FPS
14837 frames in 5.0 seconds = 2967.400 FPS


You rule 8) :lol:

-Robert
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Wed Apr 23, 2003 9:58 am

yeah so i did all this, and glxinfo still shows my dri to be off, and my FPS is around 280-300...any ideas? can you maybe post us your XF86Config file for reference? thanks
Top
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Wed Apr 23, 2003 12:04 pm

Here you go!

Code: Select all

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  FontPath      "/usr/X11R6/lib/X11/fonts/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath      "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/CID"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi"
#  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30-95
        VertRefresh  50-160
        Option       "dpms"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "ForcePCIMode"              # [<bool>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        Option     "AGPMode"             "4"
        Option     "AGPFastWrite"        "true"
        #Option     "AGPSize"                   # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        Option     "EnableDepthMoves"    "true"
        Option     "EnablePageFlip"      "true"
        Option     "NoBackBuffer"        "false"
        #Option     "PanelOff"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "CloneDisplay"              # <i>
        #Option     "CloneMode"                 # [<str>]
        #Option     "CloneHSync"                # [<str>]
        #Option     "CloneVRefresh"             # [<str>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        BusID       "1:0:0"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "Generic"
        BoardName   "ati"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    16
#       SubSection "Display"
#               Depth     1
#       EndSubSection
#       SubSection "Display"
#               Depth     4
#       EndSubSection
#       SubSection "Display"
#               Depth     8
#       EndSubSection
#       SubSection "Display"
#               Depth     15
#       EndSubSection
        SubSection "Display"
                Depth     16
                Modes   "1600x1200" "1280x1024" "1600x1280"
#               Virtual 1280 1024
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes   "1600x1200" "1280x1024" "1600x1200"
#               Virtual 1280 1024
        EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "ServerFlags"

EndSection
-Robert
Top
Lovechild
Advocate
Advocate
User avatar
Posts: 2858
Joined: Fri May 17, 2002 12:00 pm
Location: Århus, Denmark

  • Quote

Post by Lovechild » Wed Apr 23, 2003 12:11 pm

Getting 1900-2000 in glxgears now with my Radeon 7500 - not earth shattering, but nice enough for general usage.
Don't listen to sparc developers....
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Wed Apr 23, 2003 12:21 pm

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "type1"
Load "speedo"
Load "drm"
Load "freetype"
Load "type1"
Load "extmod"
Load "v4l"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" [False]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "4"
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "CrtScreen" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "UseFBDev" # [<bool>]
Identifier "ATI Radeon Mobility M6"
Driver "radeon"
VendorName "ATI Radeon Mobility M6"
BoardName "ATI Radeon Mobility M6"
Option "EnablePageFlip" "true"
Option "EnableDepthMoves" "true"
Option "AGPFastWrite" "true"
Option "X-KXCONFIG-VideoRam" "16000"
# Option "X-KXCONFIG-MaxClock" "0"
EndSection


Section "DRI"
Mode 0666
EndSection


Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/ghostscript"
EndSection


Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection


Section "InputDevice"
Driver "keyboard"
Identifier "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "mouse"

Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
EndSection


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


Section "ServerLayout"
Identifier "Default layout"
Screen 0 "Screen0" 0 0
InputDevice "mouse" "CorePointer"
InputDevice "usbmice" "SendCoreEvents"
InputDevice "keyboard" "CoreKeyboard"
EndSection


Section "Monitor"
Identifier "Generic Monitor"
VendorName "Typical Monitors"
ModelName "1024x768, 70Hz"
ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
VertRefresh 50-90
HorizSync 31-57

ModeLine "1024x768/70Hz" 75 1024 1048 1184 1328 768 771 777 806 -HSync -VSync
EndSection


Section "Screen"
Identifier "Screen0"
Device "ATI Radeon Mobility M6"
Monitor "Generic Monitor"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768/70Hz" "640x480"
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768/70Hz" "640x480"
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768/70Hz" "640x480"
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768/70Hz" "640x480"
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 4
Modes "1024x768/70Hz" "640x480"
Virtual 1024 768
EndSubsection
EndSection
there is mine...it looks damn near the same as yours...yet glxinfo is still telling me DRI is off.
name of 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
----------------------------------------------------------------------
0x23 16 tc 1 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x24 16 tc 1 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None
0x25 16 tc 1 16 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
0x26 16 tc 1 16 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
0x27 16 dc 1 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x28 16 dc 1 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None
0x29 16 dc 1 16 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
0x2a 16 dc 1 16 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
anything anyone sees there that will be a clue as to why dri wont come on? im still getting only like 300 FPS...did the driver not get installed properly from xfree-drm or something? because when i did insmod radeon it said "no module by that name found"...
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Wed Apr 23, 2003 12:31 pm

Lovechild wrote:Getting 1900-2000 in glxgears now...not earth shattering, but nice enough for general usage.
you mock me with your high frame rate
Top
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Wed Apr 23, 2003 12:33 pm

this is what i did:

remove all your previous modules
cd /usr/src/linux && make menuconfig
enable into kernel /dev/apgart and remove Xfree-dri && drm from the kernel
then emerge xfree-drm, removed 2 modules that gave me odd warnings when running modules-update
reboot with kernel and f*ck around with you XF86Config a little( that did it for me :wink: )
kdm/gdm/whatever and type glxinfo

-Robert
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Wed Apr 23, 2003 2:10 pm

whats the command to remove all previous modules?
Top
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Wed Apr 23, 2003 3:13 pm

rm -f /usr/lib/linux-version/ or something like that.

-Robert
Top
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Wed Apr 23, 2003 5:16 pm

well it just relapsed on me, i reboot, and no dri, when i check the modules...they're gone.

i've just did an emerge xfree-drm again but when i start X with dri-module loaded it just sets my monitor on standby and i am unable to do anything....

as we speak i'm recompiling X, Xfree-drm and the kernel modules...maybe it'll help :roll:

-Robert
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Wed Apr 23, 2003 6:23 pm

personally said screw it, installed the 2.5.67 dev kernel with DRM built in, and it got me up to around 400 FPS in glxgears. not spectacular, but twice as good as before...now if only i knew whether or not 3d support was working...is it something else i have to configure?
Top
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Wed Apr 23, 2003 6:49 pm

i found it!!, atleast for me. insmod radeon and voila, X came up and dri was enabled, i'm gonna enjoy some UT now :D

-Robert
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Wed Apr 23, 2003 8:03 pm

getting only like 22 when a DVD is playing....HELP!!!!! :evil:
Top
Post Reply

180 posts
  • Page 1 of 8
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 8
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy