View previous topic :: View next topic |
Author |
Message |
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Wed Apr 09, 2003 9:09 pm Post subject: Direct rendering (DRI) using X11-DRM HOWTO |
|
|
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: | # 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/troubleshooting.html
Last edited by dberkholz on Sat Oct 23, 2004 5:51 pm; edited 34 times in total |
|
Back to top |
|
|
xmit Apprentice
Joined: 02 Apr 2003 Posts: 158 Location: Hamburg, Germany
|
Posted: Thu Apr 17, 2003 4:09 pm Post subject: No speed increase |
|
|
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 |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Thu Apr 17, 2003 4:48 pm Post subject: Re: No speed increase |
|
|
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. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Thu Apr 17, 2003 7:22 pm Post subject: |
|
|
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.' |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Thu Apr 17, 2003 11:37 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
hanzotutu Apprentice
Joined: 10 Apr 2003 Posts: 170
|
Posted: Fri Apr 18, 2003 12:50 am Post subject: Re: No speed increase |
|
|
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. |
|
Back to top |
|
|
xmit Apprentice
Joined: 02 Apr 2003 Posts: 158 Location: Hamburg, Germany
|
Posted: Fri Apr 18, 2003 8:55 am Post subject: Re: No speed increase |
|
|
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. |
|
Back to top |
|
|
no2bl n00b
Joined: 26 Oct 2002 Posts: 10
|
Posted: Fri Apr 18, 2003 9:54 am Post subject: |
|
|
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. |
|
Back to top |
|
|
UclaBob Tux's lil' helper
Joined: 22 Oct 2002 Posts: 83
|
Posted: Tue Apr 22, 2003 6:40 pm Post subject: |
|
|
Great Guide...boosted me from 100 fps, to 700
Bob |
|
Back to top |
|
|
mpsii l33t
Joined: 11 Mar 2003 Posts: 658 Location: Jackson, TN
|
Posted: Tue Apr 22, 2003 8:41 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Tue Apr 22, 2003 9:07 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Tue Apr 22, 2003 9:10 pm Post subject: |
|
|
here's what gets installed when I emerge xfree-drm:
Code: | 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. |
|
Back to top |
|
|
linde002 n00b
Joined: 13 Jan 2003 Posts: 62
|
Posted: Wed Apr 23, 2003 5:40 am Post subject: |
|
|
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
-Robert |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed Apr 23, 2003 9:58 am Post subject: |
|
|
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 |
|
Back to top |
|
|
linde002 n00b
Joined: 13 Jan 2003 Posts: 62
|
Posted: Wed Apr 23, 2003 12:04 pm Post subject: |
|
|
Here you go!
Code: |
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 |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Apr 23, 2003 12:11 pm Post subject: |
|
|
Getting 1900-2000 in glxgears now with my Radeon 7500 - not earth shattering, but nice enough for general usage. |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed Apr 23, 2003 12:21 pm Post subject: |
|
|
Quote: | 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.
Quote: | 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"... |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed Apr 23, 2003 12:31 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
linde002 n00b
Joined: 13 Jan 2003 Posts: 62
|
Posted: Wed Apr 23, 2003 12:33 pm Post subject: |
|
|
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 )
kdm/gdm/whatever and type glxinfo
-Robert |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed Apr 23, 2003 2:10 pm Post subject: |
|
|
whats the command to remove all previous modules? |
|
Back to top |
|
|
linde002 n00b
Joined: 13 Jan 2003 Posts: 62
|
Posted: Wed Apr 23, 2003 3:13 pm Post subject: |
|
|
rm -f /usr/lib/linux-version/ or something like that.
-Robert |
|
Back to top |
|
|
linde002 n00b
Joined: 13 Jan 2003 Posts: 62
|
Posted: Wed Apr 23, 2003 5:16 pm Post subject: |
|
|
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
-Robert |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed Apr 23, 2003 6:23 pm Post subject: |
|
|
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? |
|
Back to top |
|
|
linde002 n00b
Joined: 13 Jan 2003 Posts: 62
|
Posted: Wed Apr 23, 2003 6:49 pm Post subject: |
|
|
i found it!!, atleast for me. insmod radeon and voila, X came up and dri was enabled, i'm gonna enjoy some UT now
-Robert |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed Apr 23, 2003 8:03 pm Post subject: |
|
|
getting only like 22 when a DVD is playing....HELP!!!!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|