Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
anyone have clone mode working on iBook G4?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
toojays
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 150
Location: Adelaide, Australia

PostPosted: Thu Sep 30, 2004 7:21 am    Post subject: anyone have clone mode working on iBook G4? Reply with quote

I'm trying to setup my iBook G4 (Radeon 9200) to use an external CRT as a mirrored display of the LCD. At the moment I have Xorg 6.7, and it looks like with this version you can have LCD or CRT, but not both at the same time. To change between the two you need to edit the xorg.conf and comment out the UseFBDev option.

From some googling, it looks like it _might_ be possible to achieve what I want with Xorg 6.8. Does anybody have this working?
Back to top
View user's profile Send private message
toojays
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 150
Location: Adelaide, Australia

PostPosted: Thu Sep 30, 2004 12:47 pm    Post subject: Reply with quote

Okay, I've upgraded to xorg 6.8, and with this one, I can get the CRT and LCD going at the same time if I comment out UseFBDev, but the LCD panel flickers, so it's not useable. Any clues?
Back to top
View user's profile Send private message
gentoo_user2003
n00b
n00b


Joined: 21 Sep 2003
Posts: 30

PostPosted: Sat Oct 23, 2004 2:05 am    Post subject: Reply with quote

No, but I would be happy just to use the CRT and turn off the LCD when at home. Can you post your config please?
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Oct 23, 2004 5:09 pm    Post subject: Reply with quote

Here is what I have for a rev III Tibook. I got the idea from some mailing list, I no longer remember the name of the poster or the actual list.

To start things of, I have three device sections:

  • One is for the normal operation (no mirroring):
    Code:
    Section "Device"
            Identifier  "RadeonAlone"
            Driver      "radeon"
          # BusID      "PCI:0:16:0"

            Option "AGPMode"  "4"
            Option "AGPFastWrite" "true"
            Option "EnablePageFlip" "true"
            Option "RenderAccel" "true"
            Option  "backingstore"

            Option "UseFBDev"
    EndSection

  • The other one is for the internal LCD in mirroring mode:
    Code:
    Section "Device"
            Identifier  "RadeonInternal"
            Driver      "radeon"
          # BusID      "PCI:0:16:0"

            Option "AGPMode"  "4"
            Option "AGPFastWrite"
            Option "EnablePageFlip"

            ## parameterization:
            Option      "UseFBDev"
            Option "MonitorLayout" "LVDS,CRT"
       Screen 0
    EndSection

  • Finally, here is the device for the external monitor:
    Code:
    Section "Device"
            Identifier  "RadeonExternal"
            Driver      "radeon"
          # BusID      "PCI:0:16:0"

            Option "AGPMode"  "4"
            Option "AGPFastWrite"
            Option "EnablePageFlip"

            ## parameterization:
            Option      "UseFBDev" "false"
            Option "MonitorLayout" "LVDS,CRT"
       Screen 1
    EndSection


Now, I have in a similar fashion three screen sections (names say it all):
Code:
Section "Screen"
        Identifier "Screen alone on LCD"
        Device     "RadeonAlone"
        Monitor    "TibookLCD"
        DefaultDepth   24
        #DefaultFbBpp  32       
        SubSection "Display"
                Depth    8
                Modes    "1280x854" "1152x768" "1152x864" "1024x768" "800x600"
                #Virtual  1280 854
        EndSubSection                                 
        SubSection "Display"                           
                Depth    16                     
                Modes    "1280x854" "1152x768"  "1152x864" "1024x768" "800x600"
                #Virtual  1280 854
        EndSubSection                                 
        SubSection "Display"                           
                Depth    24                     
                Modes    "1280x854" "1152x768"  "1152x864" "1024x768" "800x600"
                #Virtual  1280 854
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen on LCD mirrored"
        Device     "RadeonInternal"
        Monitor    "TibookLCD"
        DefaultDepth   24
        #DefaultFbBpp  32       
        SubSection "Display"
                Depth    8
                Modes    "1280x854" "1152x768" "1152x864" "1024x768" "800x600"
                #Virtual  1280 854
        EndSubSection                                 
        SubSection "Display"                           
                Depth    16                     
                Modes    "1280x854" "1152x768"  "1152x864" "1024x768" "800x600"
                #Virtual  1280 854
        EndSubSection                                 
        SubSection "Display"                           
                Depth    24                     
                Modes    "1280x854" "1152x768"  "1152x864" "1024x768" "800x600"
                #Virtual  1280 854
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen on VGAOut 1024x768"
        Device     "RadeonExternal"
        Monitor    "VGAOut"
        DefaultDepth   24
        #DefaultFbBpp  32       
        SubSection "Display"
                Depth    8
                Modes    "1024x768" "800x600"
        EndSubSection                                 
        SubSection "Display"                           
                Depth    16                     
                Modes    "1024x768" "800x600"
        EndSubSection                                 
        SubSection "Display"                           
                Depth    24                     
                Modes    "1024x768" "800x600"
        EndSubSection
EndSection


Finally, I use three server layouts. The first one is for no mirroring mode:
Code:
Section "ServerLayout"
        Identifier   "Single"
        Screen     "Screen alone on LCD"
        InputDevice  "Mouse0" "CorePointer"
        InputDevice  "Keyboard0" "CoreKeyboard"
EndSection

and this is what I use for day to day operation. The second layout does work in a one-shot mode: whenever I kill X (e.g., by logging out) the displays die for good and only a reboot fixes this.
Code:
Section "ServerLayout"
        Identifier   "Mirror"
        Screen     "Screen on LCD mirrored"
        InputDevice  "Mouse0" "CorePointer"
        InputDevice  "Keyboard0" "CoreKeyboard"
EndSection

Since I use my machine to project things quite rarely, this is acceptable for me and this is what I use when I want to mirror. Be warned that the external monitor seems to need to be plugged in on bootup for this to work. The third layout is the most promising, but for reasons I forgot it did not quite work for me. I meant to try to fix it with the new Xorg but I did not find time to do so. It might work though, and as I said this looks like the most elegant solution, so here it is:
Code:
## Xinerama cloning
Section "ServerLayout"
        Identifier   "XClone"
        Screen       "Screen on LCD mirrored"
        Screen       "Screen on VGAOut 1024x768" Relative "Screen on LCD mirrored" 0 0
        InputDevice  "Keyboard0" "CoreKeyboard"
        InputDevice  "Mouse0" "CorePointer"

        Option       "Xinerama" "true"
EndSection

One day I will get back to the problem, so please post successes (or insuccesses), fixes, etc.

Hope this helps,
Stefan
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum