View previous topic :: View next topic |
Author |
Message |
Mortalis n00b
Joined: 25 Aug 2003 Posts: 2
|
Posted: Mon Aug 25, 2003 3:27 am Post subject: xfree-drm on rage128 with AGP? |
|
|
I have followed all the instructions to get drm working on rage128 hardware (Thanks to the authors). Initially, I had AGP mode turned on in my XF86Config-4 file and using a depth of 16 casued X to be unusable (X was using 99% of the CPU according to top), but glxinfo reported rendering was on. Using a depth of 8, would give a usable X environment, but no direct rendering. Eventually, I decide to force PCI mode and this seems to have solved the problem. I can use a depth of 16 and have a very usable X environment with direct rendering on.
So, things are working okay now, but it would be nice to be able to use the card in AGP mode. Anbody had any luck with this card, drm, and AGP?
My machine is a G4 350 w/AGP in case anybody is interested.
Thanks |
|
Back to top |
|
|
dementedblitz Tux's lil' helper
Joined: 05 Nov 2002 Posts: 88
|
Posted: Tue Aug 26, 2003 7:42 pm Post subject: |
|
|
what error do you get, maybe you compiled the wrong module?
that was my issue on my ibook.. and it happen to work now
i used to get 110 fps on glxgears now i get 400 _________________ "Don't let life discourage you; everyone who got where he is had to begin where he was." |
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Tue Aug 26, 2003 8:57 pm Post subject: |
|
|
I had the very same problem: After a system upgrade which also among many other things upgraded xfree-drm- 4.3.0-r2 to xfree-drm- 4.3.0-r3, xfree stopped working properly, cpu usage shot up to 99% when starting x and everything slowed down to a crawl. I solved the problem (after many, many hours) by simply downgrading to xfree-drm4.3.0-r2. I also use an ATI 128 PRO/AGP with 16MB. Keep in mind that your video card should have at least 16MB in order to be able to use DRI. Here's my /etc/X11/XF86Config-4 for your reference, should come in handy since it shows all the necessary modules etc. :
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
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/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
UseModes "Modes0"
HorizSync 30-70
VertRefresh 50-160
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 "DMAForXv" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CCEPIOMode" # [<bool>]
#Option "CCENoSecurity" # [<bool>]
#Option "CCEusecTimeout" # <i>
Option "AGPMode" "4"
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "Display" # <str>
#Option "PanelWidth" # <i>
#Option "PanelHeight" # <i>
#Option "ProgramFPRegs" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "ShowCache" # [<bool>]
Identifier "Card0"
Option "UseFBDev"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Rage 128 PF/PRO AGP 4x TMDS"
BusID "PCI:0:16:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Modes"
Identifier "Modes0"
# mode generated by Xeasyconf
Modeline "1024x768" 85.00 1024 1082 1218 1344 768 771 777 806 -HSync -VSync
EndSection |
|
Back to top |
|
|
frankOnPPC Apprentice
Joined: 26 May 2003 Posts: 169 Location: Fulda, Hessen, Germany, Europe, Earth
|
|
Back to top |
|
|
Mortalis n00b
Joined: 25 Aug 2003 Posts: 2
|
Posted: Thu Aug 28, 2003 8:37 pm Post subject: |
|
|
Thanks c_kuzmanic. Downgrading fixed my problems and I am now getting about 600 FPS in glxgears.
Sorry for the delay, I just moved to a new state and just got my computer and internet service setup today. |
|
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
|
|