iBook G4 X question

Any problems with the Xserver, Configs or Sound.

iBook G4 X question

Postby The old drifter » 26 Jan 2005, 22:58

I have seen, I can't remember where in these forums, someone claim that he or she has his or her iBook G4 running with millions of colors at its highest resolution. I have not suceeded in doing so yet. I wonder if anyone who has succeeded in doing this might be able to post his or her X configuration files.

Thanks in advance.

Adam

:D
User avatar
The old drifter
ydl newbie
ydl newbie
 
Posts: 1
Joined: 26 Jan 2005, 22:53
Location: New York, NY

Postby Antrix » 27 Feb 2005, 14:33

Hello Adam.
I am new to yellow dog myself, and installed it on my ibook yesterday.
Mine would not work with highest res and millions of colours out of the box either (this is quite poor considering the limited range of hardware YDL has to cater for).

I assume you have a G4 ibook with radeon 9200 mobility.
Anyway, there is no need for you to recompile anything. You just have to change your Xconfig... Here is mine:

Code: Select all
# File generated by Xautoconfig.
Section "ServerLayout"
   Identifier   "XFree86 Configured"
   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    "GLcore"
   Load   "dbe"
   Load   "extmod"
   Load   "fbdevhw"
   Load   "glx"
   Load   "record"
   Load   "freetype"
   Load   "type1"
   Load   "dri"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "keyboard"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
   Option      "XkbRules"   "xfree86"
   Option      "XkbModel"   "macintosh"
   Option      "XkbLayout"   "us"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   UseModes   "Modes0"
   ModelName   "Monitor Model"
   Option      "DPMS"
   HorizSync   30-70
   VertRefresh   50-160
EndSection

Section "Modes"
   Identifier   "Modes0"

   # Generated
   # D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz
   Modeline "1024x768" 65.003 1024 1048 1184 1344  768 771 777 806  -hsync -vsync
EndSection

Section "Device"
   Identifier   "Card0"
   #Option   "ShadowFB"   "true"
   Driver   "radeon"
   BusID   "PCI:0:16:0"
   Option    "UseFBDev"
   Option    "AGPMode" "4"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "Card0"
   Monitor      "Monitor0"
   DefaultDepth   24
   SubSection "Display"
      Depth      8
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes       "1024x768"
   EndSubSection
EndSection

Section "DRI"
   Group 0
   Mode 0666
EndSection


The parts that matter:
Make sure dri, glx and GLcore are loaded in the modules section.
Make sure that the radeon driver is used.
Make sure that the options for AGP and usefbdev are enabled
Make sure defaultdepth is set to 24 (millions of colours)

Hope this helps you out (and anyone else struggling with the same problem).

Let me know if it works.

Antrix
Antrix
ydl newbie
ydl newbie
 
Posts: 1
Joined: 27 Feb 2005, 14:21


Return to X and Multimedia

Who is online

Users browsing this forum: No registered users and 44 guests

cron