Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 3D ati radeon card on ibook G3 800....
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
anvesaka
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 138
Location: Toledo, Spain

PostPosted: Thu May 13, 2004 6:35 pm    Post subject: [SOLVED] 3D ati radeon card on ibook G3 800.... Reply with quote

Why my 3D is showing so increible slow (about 0.5 fps or less)?
I use 2.4.24-ppc-r4 kernel (the latest stable one), with DRM and radeon drivers compiled into the kernel. And this is my XF86Config-4 :
Code:

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  "GLcore"
Load  "glx"
Load  "extmod"
Load  "dri"
Load  "dbe"
Load  "record"
Load  "xtrap"
Load  "speedo"
Load  "type1"
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     "ForcePCIMode"              # [<bool>]
#Option     "CPPIOMode"                 # [<bool>]
#Option     "CPusecTimeout"             # <i>
#Option     "AGPMode"                   # <i>
#Option     "AGPFastWrite"              # [<bool>]
#Option     "AGPSize"                   # <i>
#Option     "RingSize"                  # <i>
#Option     "BufferSize"                # <i>
#Option     "EnableDepthMoves"          # [<bool>]
#Option     "EnablePageFlip"            # [<bool>]
#Option     "NoBackBuffer"              # [<bool>]
#Option     "DRIReinit"                 # [<bool>]
#Option     "PanelOff"                  # [<bool>]
#Option     "DDCMode"                   # [<bool>]
#Option     "MonitorLayout"             # [<str>]
#Option     "IgnoreEDID"                # [<bool>]
#Option     "OverlayOnCRTC2"            # [<bool>]
#Option     "CloneMode"                 # [<str>]
#Option     "CloneHSync"                # [<str>]
#Option     "CloneVRefresh"             # [<str>]
#Option     "UseFBDev"                  # [<bool>]
#Option     "VideoKey"                  # <i>
#Option     "ForceLegacyCRT"            # <i>
Identifier  "Card0"
Option "UseFBDev"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
BusID       "PCI:0:16:0"
EndSection
 
Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 16
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" 65.003 1024 1048 1184 1344  768 771 777 806  -HSync -VSync
EndSection


Last edited by anvesaka on Fri May 14, 2004 3:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
anvesaka
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 138
Location: Toledo, Spain

PostPosted: Thu May 13, 2004 6:47 pm    Post subject: Reply with quote

And doing glxinfo it shows that the system is using mesa!!! Why????
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri May 14, 2004 3:46 am    Post subject: Reply with quote

Easy. You haven't enabled DRM. In the section "Device", at the bottom, add the following:

Option "AGPMode" "2" # set us to 2x AGP
Option "EnablePageFlip" "1" # speeds up screen draws at the expense of some graphical glitches
Option     "UseFBDev"    "1" # Otherwise, can't switch to consoles properly
Option "ForcePCIMode" "0" # reinforces that we are using AGP

Later, try

Option "AGPFastWrite" "1" # although this locks up my TiBook, I believe it works on some iBooks. Does 'write combining'


Last edited by stimuli on Wed May 26, 2004 8:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
anvesaka
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 138
Location: Toledo, Spain

PostPosted: Fri May 14, 2004 3:34 pm    Post subject: Reply with quote

I actually found the solution:

The DRM version that is included in the kernel does not correctly work. Just enable DRM in the kernel, but do not compile any module for any card. Then do this:

In /etc/make.conf:

Code:

VIDEO_CARDS="radeon"


and then:

Code:

emerge xfree-drm


And it works!!!!
I hope this could be useful for someone.
Back to top
View user's profile Send private message
Grapes
n00b
n00b


Joined: 21 Jan 2003
Posts: 43

PostPosted: Wed May 26, 2004 5:45 pm    Post subject: Reply with quote

javuchi77 wrote:

The DRM version that is included in the kernel does not correctly work. Just enable DRM in the kernel, but do not compile any module for any card. Then do this:


Where is DRM in the kernel config?
Back to top
View user's profile Send private message
Elm0
Apprentice
Apprentice


Joined: 24 Nov 2002
Posts: 281
Location: UK

PostPosted: Wed May 26, 2004 6:15 pm    Post subject: Reply with quote

For a 2.6 kernel its in Device Drivers -> Character Devices (not the most obvious place I'd agree) Just enable the DRM part, but don't compile in the Radeon driver, this comes in the xfree-drm package.

Can someone explain to me which DRM Radeon driver is best... The CVS one (does anyone use this? if so how do you install it?) the x.org version (does x.org have DRM built in?) or the XFree 4.3 version installed by portage using emerge xfree-drm?

Presumably these will enable 2D acceleration and 3D acceleration (?), but are they good enough for example to work in Blender or another OpenGL apps or games? Is the 2D desktop as snappy as an x86 system?

Lots of questions I know, i would be eternally grateful if you could answer at least some of them though :)
Back to top
View user's profile Send private message
reddan
n00b
n00b


Joined: 18 Mar 2004
Posts: 26
Location: Mumbai

PostPosted: Thu May 27, 2004 11:35 am    Post subject: Reply with quote

I'm using x.org on 2.6.3-benh2 with the kernel DRM drivers and it's working great. I think I'm getting around 550fps with glxgears (sorry, I can't be more exact cause I'm posting from OS X at the moment).

I did notice however, that x.org installs a new folder in /usr/src with source for the drm drivers. I haven't tried these yet though.

Also, I have also found that:
Option "AGPFastWrite" "1"

in xorg.conf (or XF86.conf) locks up my G4 iBook. Every Single Time.
Back to top
View user's profile Send private message
Elm0
Apprentice
Apprentice


Joined: 24 Nov 2002
Posts: 281
Location: UK

PostPosted: Thu May 27, 2004 12:07 pm    Post subject: Reply with quote

I've been looking over the standard kernel 2.6.7rc1 changlog and there are quite a few DRM patches merged, including specific Radeon ones, so maybe 2.6.7 will be good for iBooks.

I also noticed benh merged a patch into 2.6.6 with initial iBook support, noting that radeon fb updates will come shortly and also hes working on the clock speed issues.
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Wed Jun 30, 2004 4:07 pm    Post subject: 2.6.7 - radeon 7500 Reply with quote

I'm running the 2.6.7 kernel, and trying to get accelerated graphics...but am having troubles getting it to work. I just get a black screen with the X cursor. :cry:

Part of the problem, I think I'm having, is that I just ran a fresh install, and am trying the 2.6.7 kernel (up from 2.6.4), xorg-x11, and accelerated graphics all at once.

Oh yeah: G3, dual USB iBook, 12 inch, c.Nov. 2002

~Michael
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Thu Jul 01, 2004 12:06 am    Post subject: TiSolved? What do you mean solved? Reply with quote

Solved? I don't seem to see the solution to the problem...:-S

If it has been solved, please be so kind as to post your solution.

Thanks,

Michael
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