PDA

View Full Version : X on Powerbook G4


ben s
2005-06-03, 01:02 PM CDT
Hi all,

I have a new PowerBook G4 (1.67GHz) that I've installed FC4-T3 on. The install went ok in text mode but graphical mode didn't work.

After the install and reboot, I downloaded and ran Xautoconifg, which wrote an XF86Config file that looks like it ought to work, but it doesn't. I either get a screenful of horizontal stripes or I get a black screen.

Anyone know of a solution? Would waiting for FC4 final help?

bytesniper
2005-06-03, 01:45 PM CDT
what the contents of the file: /etc/X11/xorg.conf ?

theholynig
2005-06-03, 04:30 PM CDT
yes, please post your xorg.conf file, as that will help immensly in getting to the root of the problem. I had some graphical problems of my own and I inserted this:


Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 7500"
Option "UseFBDev" "true"

This fixed my graphical problems in X.

ben s
2005-06-07, 06:02 AM CDT
[bcs@helios bcs]$ scp titan.csd.unb.ca:~/xorg.conf .
Enter passphrase for key '/home/bcs/.ssh/id_dsa':
xorg.conf 100% |*****************************| 2725 00:00
[bcs@helios bcs]$ cat xorg.conf
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Color LCD"
DisplaySize 320 220
HorizSync 30.0 - 100.0
VertRefresh 50.0 - 60.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 9600 M10"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

[bcs@helios bcs]$

theholynig
2005-06-12, 05:43 PM CDT
try adding

Option "UseFBDev" "true"

in Section "Device"

ben s
2005-06-12, 06:58 PM CDT
try adding

Option "UseFBDev" "true"

in Section "Device"

I tried that, still no joy.

Does anyone have a working xorg.conf from a 1.67GHz 15" Powerbook?

hienola
2005-06-17, 03:45 AM CDT
ben s wrote:
Does anyone have a working xorg.conf from a 1.67GHz 15" Powerbook?

Yes, I would like to have that file too. I've tried to set up X on Fedora Core 4 on PowerBook G4 15" SD, so far with no success. I end up with similar results as ben s.

Below is my /etc/X11/xorg.conf file


# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Modes"
Identifier "Modes0"
Modeline "1280x854" 79.815 1280 1296 1408 1536 854 855 858 866 -HSync -VSync
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Apple Aluminum PowerBook G4"
UseModes "Modes0"
HorizSync 30.0 - 100.0
VertRefresh 50.0 - 60.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 9600 M10"
Option "UseFBDev" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x854"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

hienola
2005-06-20, 01:44 AM CDT
And X worked fine with same xorg.conf on FC4 test 2. After installing FC4 test 3 it didn't work anymore. I wonder what have changed...

Entity
2005-06-30, 01:47 AM CDT
I was finally able to get a GUI on my 17" Apple Powerbook G4 1.5GHz:

https://www.redhat.com/archives/fedora-list/2005-June/msg06052.html

markmathews
2005-07-14, 10:26 AM CDT
Hi Folks,

Just a note covering my experiences getting FC4 up and running on my PB. Ultimately, the trick to getting X working right was to add the following to my kernel command line (via the yaboot.conf 'append=' line):

video=radeonfb:1280x854-32@60

Basically this gets the console frame buffer driver agreeing with what I've set up X to do. I'll post my full yaboot.conf and X configs in followon posts (I'm not actually using that machine at the moment).

System Info: (reported by OSX System Profiler)
Software Overview:
System Version: Mac OS X 10.2.1 (6e62)
Boot volume: <empty>
Kernel version: Darwin Kernel Version 6.1 ......
User name: <omitted>
Hardware Overview:
Machine speed: 1GHz
Bus speed: 133Mz
# Processors: 1
L2 Cache size: 256K
L3 Cache size: 1MB
Machine Model: PowerBook3,5 (version=3.2)
Boot ROM Info: 4.5.3f2