cooker-ppc  

Re: iBook 800, CDRW (Nov. 2002): X-problems for me too!

Ted Johansson
Mon, 20 Oct 2003 14:27:36 -0700

Stew Benedict wrote:

On Mon, 20 Oct 2003, Ted Johansson wrote:



If I use "video=radeonfb" as boot parameters (using yaboot.conf), I get the virtual terminals correct. Other combinations of kernel video-parameters work less good.

But for XFree, I can not find a working set of parameters.

Yellow Dog Linux 3.0 runs happily directly on this machine, but since I use MDK9.1 & 9.2 on my two i586 machines, I really like to see the 9.1 ppc version also running on the iBook.

Dual-booting it with OSX.


Please, any suggestions from the list that I can test to get XFree working for this machine?






You've tried adding


Option "UseFBDev" "true"

To /etc/X11/XF86Config-4?




I tested but no success. X starts, but there is a distinct flickering in rightmost part of the screen. When I log out from X (in the case I did not boot directly into X, instead used startx), the screen turns "in-side out" white/grey/colored and it is impossible to see anything or switch to text mode.


Checking /var/log/XFree86.0.log shows in the middle of the large log an error message like:
(EE) RADEON(): Failed to open framebuffer device, consult...


and

(WW) RADEON(0): fbdevHWInit failed, not using framebuffer device
(--) RADEON(0): Chipset: "ATI Radeon Mobility M7 LW (AGP)" (ChipID = 0x4c57)


if this can be of any help.


Below is the complete XF86Config-4 that was used.




/Ted

================================
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection


Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection


Section "Module"
   Load "dbe" # Double-Buffering Extension
   Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx" # 3D layer
EndSection

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "Keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "se"
   Option "XkbCompat" ""
   Option "XkbOptions" ""
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "IMPS/2"
   Option "Device" "/dev/usbmouse"
   Option "Emulate3Buttons"
   Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Apple"
   ModelName "iBook2 1024x768"
   HorizSync 28.0-49.0
   VertRefresh 43.0-72.0

# Apple iMac modes
ModeLine "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
ModeLine "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
ModeLine "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync


# Apple monitors tend to do 832x624
ModeLine "832x624" 57 832 876 940 1152 624 625 628 667 -hsync -vsync


# Apple PowerBook G3
ModeLine "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync


# Apple TI Powerbook
ModeLine "1152x768" 78.741 1152 1173 1269 1440 768 769 772 800 +vsync +vsync


# Pismo Firewire G3
ModeLine "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync


# iBook2
ModeLine "1024x768" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync


# 17" Apple Studio Display
ModeLine "1024x768" 112.62 1024 1076 1248 1420 768 768 780 808 +hsync +vsync


   # HiRes Apple Studio Display
   ModeLine "1280x1024"  135    1280 1288 1392 1664  1024 1027 1030 1064

# Another variation
ModeLine "1280x1024" 134.989 1280 1317 1429 1688 1024 1025 1028 1066 +hsync +vsync
EndSection


Section "Device"
   Identifier "device1"
   VendorName "ATI"
   BoardName "ATI Radeon"
   Driver "radeon"
   BusID "PCI:0:16:0"
   Option "DPMS"
   Option "UseFBDev" "true"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 16

   Subsection "Display"
       Depth 8
       Modes "1024x768" "800x600" "640x480"
   EndSubsection

   Subsection "Display"
       Depth 15
       Modes "1024x768" "800x600" "640x480"
   EndSubsection

   Subsection "Display"
       Depth 16
       Modes "1024x768" "800x600" "640x480"
   EndSubsection

   Subsection "Display"
       Depth 24
       Modes "1024x768" "800x600" "640x480"
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   Screen "screen1"
EndSection
================================