| CARVIEW |
PowerPCFAQ
This is work in progress see
https://www.ubuntuforums.org/showthread.php?t=377978
Many more general questions have answers at CommonQuestions
General Questions
Which Macs are compatible with Ubuntu?
All NewWorld Macs should work. This means iMacs, iBooks, blue & white G3s, Lombard G3 PowerBooks and newer. The minimum system requirements are 256 MB of RAM and 3 GB of hard disk space.
Currently as of Feisty for iBooks/Powerbooks sleep, wireless, and external display are all supported with models having ATI graphics. Owners of the 12" Powerbook G4 models with the Nvidia graphics chip: sleep is not possible, because of insufficient hardware information from Nvidia.
Is Ubuntu supported on PowerPC?
Ubuntu 6.10 was the last officially supported PowerPC version of Ubuntu. Future versions will be community supported. This was
announced on the mailing list.
Is Ubuntu still available on PowerPC?
Yes, see PowerPCDownloads for downloads.
Buying discs
The Linux store sell discs containing the whole ubuntu repositories.
https://www.thelinuxstore.ca/index.php?main_page=product_info&products_id=1302
Where can I find Kubuntu, Xubuntu, Edubuntu ... for PowerPC?
Kubuntu images are at
https://cdimage.ubuntu.com/kubuntu/ports/releases/7.04/release/
Edubuntu images are at
https://cdimage.ubuntu.com/edubuntu/ports/releases/feisty/release/
Xubuntu images are at
https://cdimage.ubuntu.com/xubuntu/ports/releases/7.04/release/
Installing a derivative from an ubuntu install disc
You will need to install using the Ubuntu cds (see above). Then install the required *-desktop package. For example kubuntu-desktop.
To remove gnome, and the gnome apps run
sudo apt-get remove ubuntu-desktop sudo apt-get autoremove
If you are confident with the command line, you can do a minimal or server install from the alternate cd, and then add the required *-desktop package. This removes the need to uninstall Gnome.
How do I install Ubuntu on my Playstation 3?
Check out this link for more information on installing Feisty on the PS3:
https://help.ubuntu.com/community/PlayStation_3
What about OldWorld Macs?
All Macs prior to the original iMac are known as
OldWorld Macs. You will need a Mac OS 9 install CD to correctly set up Ubuntu on an
OldWorld Mac. Read this wiki for more help on installing:
https://help.ubuntu.com/community/Installation/OldWorldMacs
Installation
How do I get a Mac to boot from CD?
The simplest method is to hold down the 'C' key (for x86 Macs use the 'D' key) as you turn the power on. Once you hear the CD drive reading the disk you can release the key.
Yaboot Configuration
The file /etc/yaboot.conf can be edited to change the booting behavior of your PowerPC Linux machine.
Edit the file with root privileges:
sudo nano /etc/yaboot.conf
After editing and saving the file, you must run this to write changes to the boot partition:
sudo ybin -v
To have more boot menu options include these lines in your yaboot.conf:
enablecdboot enableofboot enablenetboot
To have yaboot default to booting to OS X include this line in your yaboot.conf:
defaultos=macosx
To change the colors of the yaboot screen include these lines below. Alter as desired. These settings below create a color screen similar to the OS X open firmware colors.
fgcolor=black bgcolor=white
To boot into single user mode type this at the yaboot prompt:
Linux single
Multimedia
Java, video codecs, and DVD playback
Add the
https://medibuntu.org Medibuntu repo to your /etc/apt/sources.list
wget -q https://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
sudo su -c 'echo deb https://packages.medibuntu.org/ feisty free non-free > /etc/apt/sources.list.d/medibuntu.list'
sudo apt-get update
sudo apt-get install ibm-j2re1.5 ppc-codecs libdvdcss2
Flash and flash video
sudo apt-get install gnash vlc
Gnash update: Gnash
0.8.0 which was just released plays youtube content in the browser.
Backport packages of Gnash 0.8.0 are coming to Feisty soon.
Gnash 0.7.2 (version included with Feisty) has support for most basic flash webpages.
With Gnash 0.7.2 you cannot watch flash video in the browser, however you can download it to your hard disk and then watch the video with VLC. Firefox users can simply use the
VideoDownloader extension (you will need to add the extension to the file - .flv for youtube).
More generally, you can see
this page for browser bookmarks to download any flash video file to your hard disk.
Then simply open that .flv file in VLC. Enjoy your youtube video. Note: You must have gnash installed, otherwise youtube will redirect you, claiming there is no flash installed.
Windows Media 9 codecs, Quicktime H.264 and others
VLC will play almost every codec on the planet, including the most recent windows media audio and video codecs.
Multimedia browser plugin
The totem plugin should play most all content, including trailers from apple.com. It should be installed by default, but if not, type this in a terminal:
sudo apt-get install totem-mozilla
If you'd like to try an alternative browser plugin, you can install the mplayer Firefox plugin. But this requires removing the totem plugin so there is no conflict.
sudo apt-get remove totem-mozilla
sudo apt-get install mozilla-mplayer
Realplayer
RealPlayer requires a couple of packages from Ubuntu. Please do this first:
sudo apt-get install libstdc++5 libstdc++5-3.3-dev
Now, download Realplayer 10.0.5 for PowerPC Linux here:
https://player.helixcommunity.org/2005/downloads/
Look for the "RealPlayer 10.0.5 Gold 06/24/2005" "Installer link (experimental)" for Linux-ppc, about halfway down the page on the right.
Download the file. It will probably download to your Desktop.
Open a terminal, and change your location to the Desktop:
cd Desktop
and enter.
Now type the following and press enter to make the installer executable. [Alternatively, you can right click on the file, and go to Properties>Permissions> Check 'Execute' box.]
chmod +x realplay-10.0.5.756-linux-2.2-libc6-gcc32-powerpc.bin
Then to run the installer, type this in the terminal:
sudo ./realplay-10.0.5.756-linux-2.2-libc6-gcc32-powerpc.bin
and hit enter.
When it asks for the install directory, type /opt/RealPlayer
When it ask about configuring system wide links: hit enter. Defaults are fine.
Type realplay in a terminal and RealPlayer will start.
Drivers and Hardware
Will my wireless work?
The original Airport wireless cards work fine straight out of the box on Ubuntu.
Airport Extreme wireless cards require some setting up. See WifiDocs/Driver/bcm43xx for pre-Feisty information.
In Feisty the Airport Extreme support is built in, but you must fetch the firmware. Simply open a terminal and type:
sudo aptitude update
followed by:
sudo aptitude install bcm43xx-fwcutter
and reboot. Your Airport Extreme will now work.
A note about Airport Extreme and G-only routers:
Once Airport Extreme is activated through the fwcutter method, it will only be broadcasting at 802.11b, or 11Mbps. This probably will cause problems when trying to connect to a router that is G-only. Often, this is a simple fix:
1) Log in to your router through a browser. (See your router's documentation for specific info. For example, for some Linksys routers, go to "192.168.1.1" in your browser and, leaving the username field blank, enter the default password "admin" to access the router's configuration panel.)
2) Find the option where you specify the Network Type, Wireless Network Mode, etc. - it should be an option that has "G-only" or something similar selected.
3) Change the network mode to "Mixed" or "B and G" or something similar.
4) Save your router settings and try to connect again. Hopefully everything will work!
Bluetooth Keyboard and Mouse
See this thread for help with a bluetooth keyboard and mouse:
https://ubuntuforums.org/showthread.php?t=224673
Enable sound with my Powerbook
The Feisty install fails to add the proper sound module to /etc/modules. To fix this,
sudo nano /etc/modules
and the at the bottom add snd-powermac to the list. Ctrl-X and 'Y' to save. Reboot, and sound will work.
Note: for TiBooks, there is currently a bug with sound. Read here for more info:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87652/
Current work around is to install a pre-2.6.20 kernel in Feisty.
Enable DVI out on my Powerbook
Note: this is for a 15" TiBook. You may have to alter the MetaModes and CloneMode values according to your notebook. This should work with any ATI based *book.
This configuration creates mirroring. A dual-extended display is perhaps possible.
Edit your /etc/X11/xorg.conf file as specified below. Connect your second display.
Then press Ctrl+Alt+Backspace [Delete key] to restart X.
Your second display will then turn on.
You'll have to unplug the second display, and restart X again to revert back.
Section "Device"
Identifier "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]"
Driver "ati"
BusID "PCI:0:16:0"
#Option "UseFBDev" "true"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "true"
Option "RenderAccel" "true"
Option "AccelMethod" "exa"
Option "backingstore"
Option "UseFWPLL" "true"
Option "MergedFB" "true"
Option "CRT2Position" "Clone"
Option "MetaModes" "1280x854 1024x768 800x600"
Option "CloneMode" "1280x854"
EndSection
How do I control trackpad behaviour?
Open a new terminal window and run:
sudo aptitude install powerpc-utils
to install the necessary utilities. In Feisty 7.04, this may already be enabled.
To enable tap, run:
sudo trackpad tap
To disable tap, run:
sudo trackpad notap
See
man trackpad
for more details.
3D drivers, Beryl, Compiz
There are no official ATI nor Nvidia 3D drivers for PPC Linux. Neither company has developed any, nor released hardware specs to create a good open source driver. However, the current open source developed ati driver works well for most ATI chips, and has somewhat stable 3D support.
You do not need to download drivers from nvidia or ati's website. (There aren't any there for PPC Linux.) Currently, PPC Linux uses drivers which are built into the Linux kernel. To make sure the correct driver is enabled, you must edit the file /etc/X11/xorg.conf:
sudo gedit /etc/X11/xorg.conf
And look for the Driver line in the Device section:
Section "Device"
Driver "ati"
For ATI users, make sure that the driver is specified as 'ati' or 'radeon' specifically for Radeon cards. ATI Rage 128 users, make sure that the driver is specified as 'r128'.
For Nvidia users, make sure that the driver is specified as 'nv'.
There is no DRM under PPC Linux for Nvidia chips, unfortunately.
The Nouveou project
https://nouveau.freedesktop.org/wiki/ hopes to have 3D drivers for Nvidia very soon.
Beryl/Compiz should work under PPC Linux, assuming you have stable ATI drivers and good 3D going. Some ATI cards do not work well with 3D in PPC Linux, and others (particularly the recent iBooks/Powerbooks) seem to have very good results.
To test if your 3D is working (required for beryl or compiz), type:
glxinfo
in a terminal and look for "direct rendering: Yes" in the output, as well as a listing of glx extensions. You should be able to run glxgears to test that 3D is working:
glxgears
3D performance tweak for ATI Radeon cards:
3D performance can be greatly improved for Radeon cards by adding a few select options to your xorg.conf file. We will be talking about setting options for the graphics card AGP bus. The default AGP bus mode setting that sets your cards data bus speed to the motherboard, is set to 1X. First you will need to find the maximum supported AGP speed for your desktop or laptop Mac. If you do not already know this information, you can find detailed specifications for your Mac at the link below.
The driver options we will be setting are "AGPMode" and "AGPFastWrite". As an example, my iBook G4 is equipped with an ATI Radeon 9550 that has an AGP 4X bus. Open /etc/X11/xorg.conf in your favorite text editor and add the following lines to your "Device" section.
Option "AGPMode" "4" Option "AGPFastWrite" "true"
Since my iBook uses a 4X AGP bus, I set AGPMode to "4". So if your Radeon card supports 8X, you would set AGPMode to "8".
In most cases you can also increase your 3D frame rate performance even more by disabling the option "UseFBDev" in the "Device" section of your xorg.conf file. Most of your frame rate performance increase will come from disabling the framebuffer.
Option "UseFBDev" "false"
Extend battery life and reduce heat output of your iBook or PowerBook:
To help reduce power consumption of your ATI Radeon equipped iBook or PowerBook, the driver option "DynamicClocks" can be enabled. To enable dynamic clock scaling, add this line to the "Device" section of your xorg.conf file.
Option "DynamicClocks" "true"
Beryl/Compiz tips:
Right click on the Beryl Manager, and pick Advanced Beryl Options>Rendering Path>Copy
And for Select Window Manager> Pick Compiz. Selecting Beryl makes the Beryl Manager crash and resort to the fall back window manager for some.
You may have to possibly add the following to the drivers section of your /etc/X11/xorg.conf:
Option "DRI" "true" Option "GARTSize" "64" Option "AddARGBGLXVisuals" "true"
This page has tips for ATI Radeon users:
https://www.howtoforge.com/ubuntu_feisty_beryl_ati_radeon
And here is the Feisty Beryl Wiki with PPC Linux info:
https://wiki.ubuntu.com/BerylOnFeisty
Sharing a printer with OS X
OS X can print directly to a Linux cups printer. There is no need to mess with samba or create users. To share your Linux cups printer with other OS X machines, simply replace your /etc/cups/cupsd.conf with the cupsd.conf file below, then restart cups (sudo /etc/init.d/cupsys restart).
Note: This is not PowerPC Linux specific and will work for any Ubuntu computer.
# /etc/cups/cupsd.conf # Simple CUPS configuration file for a print server # which serves printers within a private local area network. # - There is no need for additional security within the print server, ie only authorized # people can access the machine. # This setup also allows access to the CUPS "Administrative tasks" system # via your web browser to https://localhost:631 # File based on Ubuntu 5.10 (Breezy Badger) (Linux version 2.6.12-10-386) # Server Directives are explained in https://localhost:631/sam.html # 25/04/2006 # DavidTangye@netscape.net ConfigFilePerm 0600 LogLevel info Printcap /var/run/cups/printcap RunAsUser Yes Port 631 Include cupsd-browsing.conf BrowseAddress @LOCAL BrowseAddress 10.0.0.0/8 BrowseAddress 172.16.0.0/12 BrowseAddress 192.168.0.0/16 <Location /> AuthType None Order Deny,Allow Deny From All Allow From @LOCAL Allow From 10.0.0.0/8 Allow From 172.16.0.0/12 Allow From 192.168.0.0/16 </Location> <Location /jobs> AuthType None Order Deny,Allow Deny From All Allow From @LOCAL Allow From 10.0.0.0/8 Allow From 172.16.0.0/12 Allow From 192.168.0.0/16 </Location> <Location /printers> AuthType None Order Deny,Allow Deny From All Allow From @LOCAL Allow From 10.0.0.0/8 Allow From 172.16.0.0/12 Allow From 192.168.0.0/16 </Location> <Location /admin> AuthType None Order Deny,Allow Deny From All Allow From @LOCAL Allow From 10.0.0.0/8 Allow From 172.16.0.0/12 Allow From 192.168.0.0/16 </Location>
Troubleshooting
After logging in I get a blank brown screen?
This could be caused by a number of problems.
Clock set before 1970. See UbuntuDateBug
Sound problems
Press CTRL+ALT+F1. Log in at the text terminal, if needed. Type
killall esd
and press enter. Press CTRL+ALT+F7 to return to the desktop. Go to Gnome's Sound Prefs and uncheck the 'ESD' box.
How do I get Ubuntu working on an iMac G3?
Do you get a blank screen after booting? The problem is that xorg.conf is not set up properly for the iMac G3.
Follow these steps to fix xorg.conf:
After booting is complete:
Type: ctrl-option-F1 (should give you a command prompt, may take a couple of tries)
Type: sudo nano /etc/X11/xorg.conf (return)
In the Monitors section, change "HorizSync" to 58-62 and "VertRefresh" to 75-117.
Disable DRI. In the the Modules section, put a hash mark (#) at the beginning of the line containing "load dri".
Type: ctrl-O (return) to write edited file
Type: ctrl-X to exit nano back to command line
Type: sudo /etc/init.d/gdm restart (return) to restart Gnome. (In Dapper and Edgy, the restart command is broken. Use sudo killall -HUP gdm instead.)
What about WINE, ndiswrapper, Adobe Flash 9?
Wine and ndiswrapper require x86 hardware, and therefore will not work on PowerPC hardware. Adobe does not make flash for PPC Linux, but there are open source alternatives for PPC Linux users.
What is Mac-On-Linux?
https://mac-on-linux.sourceforge.net/
Mac on Linux (sudo apt-get install mol) will let you boot up the OS X partition of a dual boot system, inside Linux. It is not software-emulated, so the actual speed is very fast. MOL currently only works on pre-G5 processors. It has not been ported to work on G5 processors yet, but a proper ppc64 port may be in the works.
Read more about MOL here:
https://help.ubuntu.com/community/MacOnLinuxHowto
How can I configure and compile my own kernel under PowerPC Linux?
Note: An alternative method (perhaps more ubuntu way) is at this thread:
https://ubuntuforums.org/showthread.php?t=453497
How to compile your own kernel. Useful to enable a low-latency kernel for audio work, or to have a recent kernel from kernel.org.
1. Fetch a kernel from
https://www.kernel.org (The "F" link at the top right is the stable kernel) and save to your home directory.
2. Open a terminal, and type
$ sudo -s
to get a root shell. Install the dev tools needed, if you haven't already:
$ apt-get install build-essential ncurses-base ncurses-dev
3. Then change to the linux source directory
$ cd /usr/src
4. Move the kernel you downloaded from your home directory to /usr/src
$ mv /home/[your username]/linux-2.6.21.1.tar.bz2 /usr/src/
5. Unpack the kernel sources:
$ tar -xvjf linux-2.6.21.1.tar.bz2
6. Make a link to the new kernel like this:
$ ln -sfn linux-2.6.21.1 linux
7. Change to the new directory
$ cd linux/
8. Now time to make a default kernel configuration.
For G5 machines, type:
$ make g5_defconfig
For all other macs, including G3 and G4 machines, type:
$ make pmac32_defconfig
For the PS3, type:
$ make ps3_defconfig
9. When that is done, type
$ make menuconfig
And now navigate around to enable other options that you may need. (Ex: wireless drivers, tvcards, low-latency kernel, etc.) If you don't enable what you need, you won't have it! Press space bar once to enable support as a module <M>. This is generally desired over built-in modules <*> in most cases. If you forget something, you can always go back to this step later and recompile your kernel.
Suggestions for a low-latency audio kernel:
Kernel Options>Timer Frequency>1000 HZ
Kernel Options>Preemption Model>(X) Preemptible Kernel (Low-Latency Desktop)
Wireless support:
Networking>enable all IEEE 802.11 options as <M> module
Airport and Airport Extreme support:
Device Drivers>Network device support>Wireless LAN (non-hamradio)><M>Broadcom BCM43xx wireless support
Device Drivers>Network device support>Wireless LAN (non-hamradio)><M>Apple Airport support (built-in)
as well as enabling other wireless drivers as needed. If unsure of your wifi chipset, just enable all wireless drivers in this section.
Then when you are finished, keep hitting ESC to exit and say 'Yes' you want to save.
10. Now type
$ make && make modules_install
to compile everything. If you have a dual processor, type
$ make -j4 && make modules_install
to use both CPUs to compile this in less time.
11. Ok you have a compiled kernel. Now you must add it to the bootloader in order to boot from it.
In the terminal, first back up your working bootable kernel:
$ cd /boot
$ mv vmlinux vmlinux.old
Now copy the new kernel there.
$ cp /usr/src/linux/vmlinux /boot/vmlinux
$ cp /usr/src/linux/System.map /boot/System.map
12. Now edit yaboot. Change the line initrd to the new image, /boot/vmlinux
$ nano /etc/yaboot.conf
## yaboot.conf generated by the Ubuntu installer
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
boot=/dev/sda2
device=/ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@0/disk@0:
partition=3
root=/dev/sda3
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
enableofboot
enablenetboot
macosx=/dev/sda5
#defaultos=macosx
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/vmlinux
# initrd=/boot/initrd.img
append="quiet splash"
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
append="quiet splash"
13. Cntl-X and save. Now write the changes to the boot partition.
$ ybin -v
14. Reboot, and you will boot into your new kernel.
Where can I get more help?
One of the best places for Ubuntu PowerPC help is in the
forum
Live assistance from others users is available with IRC via irc.freenode.net on #ubuntu-powerpc
last edited 2007-07-03 18:05:00 by Scottmiller
Feedback — Legal — Credits — Site Map — Powered By the MoinMoin Wiki Engine