Kernel: Versions since 2.4.7
SuSE Linux PowerPC: Version 7.1
Topics:
The new XFree86 4.1.0 provides a new driver for the ATI Rage128
chipsets. It contains also an updated driver for the Matrox cards.
Furthermore, it provides support for the euro sign.
To install the upgrade follow these steps:
ftp://ftp.suse.com/pub/suse/ppc/supplementary/X/suse71/4.1.0/
SuSEconfig
, that will update some configure files.
ldconfig
switch2xf86_glx
on Rage 128 Macs
/etc/X11/XF86Config
The following ATI Rage 128 chips are known as supported with DRI:
1002:4c46
PowerBook G3 Firewire
1002:5046
G4/450
1002:5052
iMac DV SE 2000
1002:5245
G3/350 B&W ; G4/350 Yikes!
1002:5246
G4/450
1002:524c
iMac DV 2000
To use the direct rendering interface on your PowerMac with Rage128 chip, follow these
Login as a user and not as root. Run the command "id", it gives you a list of group access rights, you should be at least in the group "video".
run
and open a console and run "gears".
Notes about DRI:
We have seen some hangs and crashes, so be careful.
There is experimental support for the ATI Radeon cards. You need at least kernel 2.4.7 and XFree86 4.1.0.
Download the new XFree86 4.1.0 and install it, see above.
sax2 can not configure it automatically. run
Known Bugs:
There are problems when you switch to a console after the X server has
started up (this includes exiting X to a console).
Known problems with more than one video card
It is not possible to use more than one card at the same time, Xinerama is not supported on ppc (the framebuffer isn´t able to handle it).
To select one specific card on bootup, specify a kernel argument to turn off a second video card.
Check /var/log/boot.msg
for lines like that:
<6>aty128fb: Rage128 Pro PF (AGP) [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1)
<4>Console: switching to colour frame buffer device 128x48
<6>fb0: ATY Rage128 frame buffer device on PCI
This machine has 16MB vram and can use the DRI interface.
ftp.suse.com/pub/suse/ppc/kernel/modutils.rpm
ftp.suse.com/pub/suse/ppc/kernel/2.4.16/
rpm -Uvh k_deflt.rpm modutils.rpm
/etc/lilo.conf
, the new binary to boot is /boot/vmlinux
Search for a line like that:
pre-install mga modprobe "-k" "agpgart"
pre-install r128 modprobe "-k" "agpgart"
options agpgart agp_try_unsupported=1
They are intel specific, remove them.
Add a new line:
alias char-major-226 r128
Section "Module"
Load "type1"
Load "speedo"
Load "extmod"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Add the lines with glx and dri. The order is important!
Use yast to add the user to the group "video" and login again to activate the changes.
startx
The DRI homepage is http://dri.sourceforge.net/
A B&W G3 crashes with XFree86 4.1.0 when KDE2 is active, it seems to be stable with WindowMaker or twm.
The atlantis demo from the glutdemo.rpm hangs the X server on an iMac, you can kill atlantis via remote login.
Using an ATI Radeon card with Kernel 2.4.7 and XFree86 4.1.0
Download the new kernel:
/mirror/SuSE/ftp.suse.com/pub/suse/ppc/kernel/BETA/sleep/
There is a kernel packagekernel-benh-2.4.6-1.ppc.rpm
, it contains the kernel /boot/vmlinux-benh
. Setup your bootloader to boot that kernel.
sax2 -a
, this will generate a config file /etc/X11/XF86Config
. You have to change a few things:
Bus 0, device 16, function 0:
Class 0300: PCI device 1002:5046 (rev 0).
1002 is the ATI vendor code, 5046 is the card ID, radeon chips have 5144,5145,5146 or 5147.
The example above would need "0:16:0" as BusID in the Device section.
Section "Modes"
Identifier "Modes0"
# NB: no modes here forces 4.1.0 to scan valid modes
EndSection
The Screen section should look like:
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Important Note: You must not specify any Modelines in the Modes
section, leave it blank as in this example. If you specify an
invalid mode (or sometimes even a valid one) with this radeon driver,
your monitor will enter power saving mode and you will have to reboot
to recover.
Solution: You may boot into an X login screen if you edit the
/etc/inittab file and if you change the default runlevel to 5.
Known problems with XFree86 4.x.x:
Example:
Most Macs have an onboard ATI Mach 64 card or an ATI Rage 128 card.
To turn this card off, use video=atyfb:off
to turn off a mach64 based graphics card or video=aty128fb:off
to turn off a rage 128 based card.
This will activate a second graphics card, if the kernel does support this feature.
Look at /proc/fb
for active video cards, if it contains a line including "OFfb" something is set incorrect
See also:
Keywords: PPC, POWERPC, IBM, JAPANESE, JAPAN, DRI, XFREE86
Categories:
Power PC
SDB-olh_ppc_71_xf410, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 18. Jun 2001
SuSE Linux AG - Last generated: 28. Jan 2002 by olh (sdb_gen 1.40.0)