View previous topic :: View next topic |
Author |
Message |
xcable Guru
Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Sun Mar 16, 2003 11:37 pm Post subject: Radeon Mobility, XFree86 4.3, and DRI |
|
|
Specs :
Sony PCG-GR390 Laptop
Radeon Mobility M6 LY
XFree86 4.3.0-r1
ck-sources-2.4.20-r4
Has anyone got this to work? I have searched the forums and have found no definite fix for this. I have tired many many different configurations and it stills does not work.
XF86Config file ---------------------------------------------
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "type1"
Load "GLcore"
Load "glx"
Load "dri"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/endodings
FontPath "/usr/X11R6/lib/X11/fonts/OTF"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/X11R6/lib/X11/fonts/util"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "TouchPad"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
#Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
#Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/usbmouse"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Laptop LCD"
HorizSync 31.5-64.3
VertRefresh 40-150
vendorname "[Laptop LCD]"
modelname "[Laptop LCD]"
EndSection
Section "Device"
Identifier "ATI Radeon"
Driver "ati"
VendorName "Generic"
VideoRam 16320
BoardName "ati"
Option "AGPMode" "4"
Option "DPMS" "on"
Option "crt_screen" "on"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "ATI Radeon"
Monitor "Laptop LCD"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024/61Hz" "800x600" "1024x768" "1280x1024" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024/61Hz" "800x600" "1024x768" "1280x1024" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024/61Hz" "800x600" "1024x768" "1280x1024" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Keyboard1" "CoreKeyboard"
#InputDevice "USB Mouse" "SendCoreEvents"
#InputDevice "TouchPad" "CorePointer"
InputDevice "USB Mouse" "CorePointer"
InputDevice "TouchPad" "SendCoreEvents"
EndSection |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sun Mar 16, 2003 11:39 pm Post subject: |
|
|
What do you mean with "work".
I have a Radeon Mobility but no DRI because of a nasty problem during the logout. If you still have xfree 4.2 maybe DRI works without that problem. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
snkmoorthy Guru
Joined: 19 Nov 2002 Posts: 376
|
Posted: Mon Mar 17, 2003 2:12 pm Post subject: |
|
|
use radeon driver not ati |
|
Back to top |
|
|
wunderk1nd n00b
Joined: 18 Mar 2003 Posts: 10
|
Posted: Tue Mar 18, 2003 1:43 am Post subject: radeon drivers |
|
|
First off, download the latest radeon drivers from http://dri.sourceforge.net/
This should be something like radeon-20021022-linux.i386.tar.gz, or newer...
Quit out of X and run the install.sh file contained in it.. should be fairly painless
edit your XF86Config file and change the Driver to "radeon" and add the following:
Section "DRI"
Mode 0666
EndSection
And also you must edit your kernel config and make sure that you do NOT include anything DRM in the kernel, as it will make this not work!
It is very important to get the newest drivers from dri.sourceforge.net as they can drastically improve performance. With the kernel radeon drivers in 2.4.20 I got a mere 800-900 FPS when running glx gears with my ATI Mobility Radeon 7500, and when I changed to the newest drivers I got around 1600 FPS, almost a 200% increase..
-------------------- _________________ is it safe? |
|
Back to top |
|
|
xcable Guru
Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Tue Mar 18, 2003 2:49 pm Post subject: tried that, but it failed |
|
|
Thanks for the help and suggestions, but.....
I tried that but, X will not come up correctly. The screen goes black, then some white lines are up, and then the screen justs fades away, but ctrl+alt+backspace still works.
I recomplied my kernel (ck sources) and made apgart and dir as modules, modified my XF86Config to call out "radeon" instead of "ati" as the driver. I will try the regular Linus kernel and maybe the gentoo kernel.
Any other ideas?
xcable |
|
Back to top |
|
|
wunderk1nd n00b
Joined: 18 Mar 2003 Posts: 10
|
Posted: Tue Mar 18, 2003 11:01 pm Post subject: kernel stuff |
|
|
Here's what i have done to my kernel:
agpart is included along with the support for my motherboard
Direct Rendering Manager (XFree86 DRI support) is not included. This will conflict with the radeon drivers that you should install seperately..
I dunno if that helps, from what's happening with you, probably not.. You should probably not include dri as a module because they have a tendency of being loaded when you don't want them to be..
It took me many many kernel recompiles to get this working, luckily i have a p4 1700, so it only takes 15 minutes or so..
Oh yea one more thing.. upgrade to Xfree86 4.3.0.. that also helps boost performance a ton, and I haven't had any problems with bugs in it.. yet... _________________ is it safe? |
|
Back to top |
|
|
|