Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Head/Xinerama on G5 (Radeon 9600)
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
jonasfleer
n00b
n00b


Joined: 29 Apr 2004
Posts: 21
Location: Wiesbaden, Germany

PostPosted: Sat Nov 20, 2004 12:21 pm    Post subject: Dual Head/Xinerama on G5 (Radeon 9600) Reply with quote

Hi,
after some troubles getting X to work on my G5 (i had to comment the line
Code:
append="ofonly"
in my yaboot.conf out), i would like to extend my desktop to my second display, like it is in OSX.
The first display is a 15" TFT (1024x768) and the second a 15" CRT (800x600). My machine is a Dual 1.8 G5 with a Radeon 9600Pro (which has a DVI and a ADC connector).

The bootscreen comes always on the display thats connected with the DVI output, while the X Server only shows a correct image on the ADC connected display, the DVI image shows my extended desktop (i can move the mouse from one screen to the other) but is corrupted.

I've made a screenshot that you can see under http://www.uni-koblenz.de/~fleer/corrupted.jpg. Everything is corrupted but the mouse pointer. Does anyone know why? I've just read in another old thread that i have to add "xinerama" to my use flags and recompile qt (and maybe gtk?) in order to use xinerama, that will be my next try. Is that the solution for the corrupted image and the explanation of the not-corrupted mouse pointer?

Has somebody a working dual head x.org configuration for his G5? I've put my X logfile under http://www.uni-koblenz.de/~fleer/Xorg.0.log and below is my xorg.conf

Thanks in advance

Jonas

EDIT: Okay, recompiling the graphics library did not help. Same corrupted desktop as before. BTW: I'm using gnome 2.8 with x.org 2.7

Code:

Section "Module"
    Load        "dbe"     # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
EndSection

# File Section snipped

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc102"
    Option "XkbLayout"   "de"
EndSection

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mouse0"
EndSection

Section "Monitor"
    Identifier  "V7L15ah"         # TFT
    HorizSync   48.40 - 56.50
    VertRefresh 60.00 - 70.00
EndSection

Section "Monitor"
    Identifier  "multiscan15"      # CRT
    HorizSync   31.50 - 64.00
    VertRefresh 60.00 - 75.00
EndSection

Section "Device"
    Identifier  "ADCout"
    Driver      "radeon"
    BusID   "PCI:240:16:0"
    Screen   0
EndSection

Section "Device"
    Identifier  "DVIout"
    Driver      "radeon"
    BusID   "PCI:240:16:0"
    Screen   1
EndSection

Section "Screen"
    Identifier  "Screen 0"
    Device      "ADCout"
    Monitor     "V7L15ah"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "640x480"
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "DVIout"
    Monitor     "multiscan15"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen 0 "Screen 0"
    Screen 1 "Screen 1" RightOf "Screen 0"
    Option "Xinerama" "true"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
ericvh
n00b
n00b


Joined: 20 Oct 2003
Posts: 18
Location: Austin, TX

PostPosted: Mon Nov 22, 2004 4:46 pm    Post subject: Reply with quote

I have this problem. When I initially installed my G5 a year ago, benh hooked me up with some custom patches to XFree86 to help fix it. Unfortunately these patches don't seem to completely work under xorg and I haven't been able to get a working second monitor up. I noticed some patches from benh on the xorg mailing list (as recently as November 12th) that might help fix this stuff up, but I haven't tried the patches myself (yet).
Back to top
View user's profile Send private message
jonasfleer
n00b
n00b


Joined: 29 Apr 2004
Posts: 21
Location: Wiesbaden, Germany

PostPosted: Mon Nov 22, 2004 9:02 pm    Post subject: Reply with quote

Okay, that was the hint i needed, thank you. I found the patches, patched xorg-6.8.0-r3 (latest unstable ebuild in portage) and IT WORKS! I love OpenSource. 8)

For those who also want to enable dual head display with their radeon gfx card, i've put the patches together in one package: http://www.uni-koblenz.de/~fleer/xorg-radeon-pcc-dualhead.tbz2.

The following commands download xorg, unpack, patch (assuming you've unpacked the patches to /root/), compile and install it and clean the build directory:
Code:

ebuild /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.0-r3.ebuild fetch unpack
patch /var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h /root/radeon.h.patch
patch /var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.man /root/radeon.man.patch
patch /var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c /root/radeon_accel.c.patch
patch /var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c /root/radeon_driver.c.patch
ebuild /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.0-r3.ebuild compile install qmerge clean



Jonas
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Sat Jan 29, 2005 3:20 pm    Post subject: Reply with quote

These patches is merged into new stable 6.8.1 xorg tree, or it must be applied again? Is there a new version? Can you send me your xorg.conf? what video card do you use?

Thanks in advance.
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
jonasfleer
n00b
n00b


Joined: 29 Apr 2004
Posts: 21
Location: Wiesbaden, Germany

PostPosted: Sat Jan 29, 2005 3:45 pm    Post subject: Reply with quote

I don't know if the patches have been applied to the 6.8.1 release, I'm still using 6.8.0-r3 (never touch a running system ;).

You can find my xorg.conf under the following URL
http://www.uni-koblenz.de/~fleer/xorg-radeon-ppc-dualhead.conf

My video card is a ATI radeon 9600pro with 64MB which was the standard video card at the time i ordered my g5 in the apple online store.


Jonas
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Sat Jan 29, 2005 4:19 pm    Post subject: Reply with quote

What's you yaboot.conf?
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
jonasfleer
n00b
n00b


Joined: 29 Apr 2004
Posts: 21
Location: Wiesbaden, Germany

PostPosted: Sat Jan 29, 2005 6:41 pm    Post subject: Reply with quote

Hi,
it's also on my homepage now.
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Sun Jan 30, 2005 5:55 pm    Post subject: Reply with quote

Great! I've made it working!

Did you managed to use also MergedFB? It will enable also 3D acceleration with dual head, but I can't make it work...

I've updated my Linux On Ibook G4 Howto
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
jonasfleer
n00b
n00b


Joined: 29 Apr 2004
Posts: 21
Location: Wiesbaden, Germany

PostPosted: Sun Jan 30, 2005 6:48 pm    Post subject: Reply with quote

As i understand the functionality of mergedFB this will not work with our radeon 9600pro gfx cards on ppc.

The radeon driver is from the DRI project (which is an opensource driver). As you can read on their homepage
Quote:
3D acceleration is available on all Radeons up to and including the 9250 (rv280)


And mergedFB does nothing else as just splitting one big 3D accelerated framebuffer into 2, because you can't get two 3D accelerated framebuffers with the opensource radeon driver. So you must have 3D acceleration for you card, whether you split the framebuffer or not, mergedFB does not accelerate, but just split.

and the proprietary ATI driver is not available for ppc...
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Sun Jan 30, 2005 7:39 pm    Post subject: Reply with quote

I have an ATI 9200.
Without xinerama 3D acceleration and DRI works, but with dual head they don't work.

As I can read from /var/log/Xorg.0.log:

Code:
(WW) RADEON(0): Direct Rendering Disabled -- Dual-head configuration is not working with DRI at present.
Please use the radeon MergedFB option if you want Dual-head with DRI.


Maybe I can make these two things work together.

I have a 3D working configuration, and another one with dual head, but I wish to make a single configuration with both these features.
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Mon Jan 31, 2005 1:33 am    Post subject: Reply with quote

I also made Xorg work with mergedFB on my ATI 9200, so now I have 3D dri acceleration with VGA output working.

You can find how in my mini howto. Thanks for your help!
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
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