Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfree-drm on rage128 with AGP?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Mortalis
n00b
n00b


Joined: 25 Aug 2003
Posts: 2

PostPosted: Mon Aug 25, 2003 3:27 am    Post subject: xfree-drm on rage128 with AGP? Reply with quote

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
View user's profile Send private message
dementedblitz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 88

PostPosted: Tue Aug 26, 2003 7:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Tue Aug 26, 2003 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
frankOnPPC
Apprentice
Apprentice


Joined: 26 May 2003
Posts: 169
Location: Fulda, Hessen, Germany, Europe, Earth

PostPosted: Wed Aug 27, 2003 8:16 am    Post subject: Reply with quote

set colors default depth to 16.
try it.
https://forums.gentoo.org/viewtopic.php?p=411287&highlight=#411287
krgds,
frank
_________________
always look at yellow site of Linux on the PPC.
Its PPCNUX.
Back to top
View user's profile Send private message
Mortalis
n00b
n00b


Joined: 25 Aug 2003
Posts: 2

PostPosted: Thu Aug 28, 2003 8:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
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