View previous topic :: View next topic |
Author |
Message |
superczar n00b


Joined: 29 May 2005 Posts: 33
|
Posted: Tue Apr 04, 2006 5:04 am Post subject: dual head xgl/compiz on radeon 9800 |
|
|
I am on a quest to get a dual head XGL/Compiz setup over a 9800 pro.
I have modular X installed and working great with enlightenment DR16 with DRI.
I can run xgl/compiz in a window on this using one of the shell scripts on the howto, and it works great accelerated smooth and beautiful.
But thats where my success ends.
Gnome will not spread across the two screens unless i add the Xinerama serverflag to my xorg.conf, effectively killing DRI and with it any XGL/Compiz success.
The shell script will also not launch a XGL server consuming all the desktop space, just windowed ones.
The error is
Code: | X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-ck2 i686
Current Operating System: Linux royal 2.6.16-ck2 #1 PREEMPT Thu Mar 30 17:01:31 PST 2006 i686
Build Date: 02 April 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.93.log", Time: Mon Apr 3 23:43:03 2006
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found
Fatal server error:
no screens found
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
|
Please help, ive googled and toyed all i know how.
(also, kororaa works on one screen, but I was unable to get it dual headed). _________________ SuperCzar |
|
Back to top |
|
 |
grad_guy Tux's lil' helper

Joined: 16 Nov 2004 Posts: 109 Location: UCSD, La Jolla, CA
|
Posted: Tue Apr 04, 2006 11:38 pm Post subject: |
|
|
I have the same problem.
xinerama keyword needs to be set to off or mesa will take over the opengl rendering.
It will work with dual monitor if you set it to 1024x768
See more detail here |
|
Back to top |
|
 |
superczar n00b


Joined: 29 May 2005 Posts: 33
|
Posted: Tue Apr 04, 2006 11:57 pm Post subject: |
|
|
I have xinerama disabled and changed my xorg.conf to have a 2048*768 desktop but still no luck.
Would you do me the favor of posting your xorg.conf and maybe your start script for xgl?
If i could get it working in server mode at all, that would be a step in the right direction.
My xorg.conf
The script to start xgl
TIA _________________ SuperCzar |
|
Back to top |
|
 |
grad_guy Tux's lil' helper

Joined: 16 Nov 2004 Posts: 109 Location: UCSD, La Jolla, CA
|
Posted: Wed Apr 05, 2006 12:12 am Post subject: |
|
|
Check the link I posted earlier....there are my xorg.conf and the start script that I used. |
|
Back to top |
|
 |
superczar n00b


Joined: 29 May 2005 Posts: 33
|
Posted: Wed Apr 05, 2006 12:34 am Post subject: |
|
|
well i had to tweak the PCI:1:0:0 to PCI:2:0:0 to get XGL to start.
then XGL will start in clone mode (not xinerama-like) using your start script, but compiz throws an error saying it cannot find screen :1
How do I check the PCI settings? i always seem to throw warnings about it not finding devices. Im not really sure where those numbers come from. _________________ SuperCzar |
|
Back to top |
|
 |
grad_guy Tux's lil' helper

Joined: 16 Nov 2004 Posts: 109 Location: UCSD, La Jolla, CA
|
Posted: Wed Apr 05, 2006 12:49 am Post subject: |
|
|
Yes, my config is set to be clone mode.
If you comment "clone" and uncomment "horizontal", it will work in dual-monitor mode, but only if I comment "1280x1024" and leave just "1024x768".
Here is how you check your pci address.
Code: | # lspci | grep Radeon |
|
|
Back to top |
|
 |
Admiral_Trigger_Happy Guru


Joined: 05 Sep 2004 Posts: 337 Location: Australia
|
Posted: Wed Apr 05, 2006 2:49 am Post subject: |
|
|
I too would like dual head back for Xgl, but what is the point of Clone?? that just has the same stuff twice which is useless, my setup defaults to clone and I have a 9600XT with the latest ATI drivers.
Is there a way to get the ATI drivers to no export the Xinerama extention, like before they added support for it, they should have 2 modes for extended desktop like what nvidia does. _________________ Admiral Trigger Happy
-------------------------------
www.kiba-dock.org |
|
Back to top |
|
 |
superczar n00b


Joined: 29 May 2005 Posts: 33
|
Posted: Wed Apr 05, 2006 2:58 am Post subject: |
|
|
well to generate the config that i use for my openbox desktop
Code: |
/opt/ati/bin/aticonfig --initial=dual-head --dtop=horizontal
|
with openbox that creates the "normal" dual head configuration one would expect. Windows (generally) dont pop up in the middle of the screen, maximization is correct, and nothing is mirrored.
BUT, it doesnt seem to work for Xgl/compiz. _________________ SuperCzar |
|
Back to top |
|
 |
grad_guy Tux's lil' helper

Joined: 16 Nov 2004 Posts: 109 Location: UCSD, La Jolla, CA
|
Posted: Wed Apr 05, 2006 3:07 am Post subject: |
|
|
superczar wrote: | ...
Code: |
/opt/ati/bin/aticonfig --initial=dual-head --dtop=horizontal
|
...
BUT, it doesnt seem to work for Xgl/compiz. |
That's right.
This is how I config mine too.
But it's strange that xgl/compiz work perfectly in dual-monitor mode for me with 1024x768 res. |
|
Back to top |
|
 |
linuxkrn Tux's lil' helper


Joined: 13 Oct 2003 Posts: 140 Location: Denver,Colorado
|
Posted: Wed Apr 05, 2006 3:45 am Post subject: |
|
|
I think if you read the docs, it says they have NO plans for xinerama support, which is needed for this.
Not sure but I hope they fix this soon, it's very annoying.  |
|
Back to top |
|
 |
Admiral_Trigger_Happy Guru


Joined: 05 Sep 2004 Posts: 337 Location: Australia
|
Posted: Wed Apr 05, 2006 3:50 am Post subject: |
|
|
linuxkrn wrote: | I think if you read the docs, it says they have NO plans for xinerama support, which is needed for this.
Not sure but I hope they fix this soon, it's very annoying.  |
Who you talking about?
ATI or XGl?
The latest ATI drivers export an inbuilt Xinerama (with DRI on both heads) if you enable --dtop=horizontal, the problem here is Xgl doesn't support this properly and will fail to start if you have Xinerama setup.
Some people have got Dual head spanning working on other cards that don't have Xinerama set up, the problem is with an ATI card if you have dual head setup to strech you have to have Xinerama too, you can't turn it off atm _________________ Admiral Trigger Happy
-------------------------------
www.kiba-dock.org |
|
Back to top |
|
 |
linuxkrn Tux's lil' helper


Joined: 13 Oct 2003 Posts: 140 Location: Denver,Colorado
|
Posted: Wed Apr 05, 2006 12:33 pm Post subject: |
|
|
doesn't matter, I'm talking about compiz, the window manager that controls how windows are placed/maximized.
That is what you need xinerama support in to fix the problems.
Sure the servers work, but without support in the wm it's almost pointless. |
|
Back to top |
|
 |
superczar n00b


Joined: 29 May 2005 Posts: 33
|
Posted: Wed Apr 05, 2006 3:35 pm Post subject: |
|
|
linuxkrn wrote: | doesn't matter, I'm talking about compiz, the window manager that controls how windows are placed/maximized.
That is what you need xinerama support in to fix the problems.
Sure the servers work, but without support in the wm it's almost pointless. |
I'm a little confused . I was under the impression that anything would run under xinerama, the difference was whether it had the xinerama "hooks" to know about window placement, maximization, and other such things.
Someone care to enlighten me? _________________ SuperCzar |
|
Back to top |
|
 |
linuxkrn Tux's lil' helper


Joined: 13 Oct 2003 Posts: 140 Location: Denver,Colorado
|
Posted: Thu Apr 06, 2006 3:32 am Post subject: |
|
|
Quote: | I was under the impression that anything would run under xinerama, the difference was whether it had the xinerama "hooks" to know about window placement, maximization, and other such things. |
Sure, it does run under xinerama. But like I said, the WINDOW MANAGER that controls where new windows go, where they get maximized, etc. HAS to know about xinerama or it's up to the app to request where it goes. 99% of apps don't do this... only apps that do full screen, like mplayer, xine, etc. would care about that kind of thing. They are supposed to request from the WM where to draw and the WM gets that from X. But without support for xinerama compiz just uses ALL of the desktop. If it had xinerama support, it would know how big each display is and not to allow it to cross boundaries.
If you want to lose all the cool stuff about XGL, wiggle window movment, the 3D cube, etc, then go ahead and replace COMPIZ with a WM that supports xinerama. Otherwise you have to wait for them to support it. |
|
Back to top |
|
 |
superczar n00b


Joined: 29 May 2005 Posts: 33
|
Posted: Thu Apr 06, 2006 3:48 am Post subject: |
|
|
I really dont mind window placement so much if I can get compiz to load with both heads running.
Thats where my real problem lies. Kororaa works on one screen, but I cant seem to get Xgl running as a server on my comp without loading from that disc.
For the time being, I'm going to write this one off, and wait until someone else gets something written up as to how to do it.
I've followed the existing how to's and am willing to try anything anyone suggests, I just don't as much time to tinker these days. _________________ SuperCzar |
|
Back to top |
|
 |
Admiral_Trigger_Happy Guru


Joined: 05 Sep 2004 Posts: 337 Location: Australia
|
Posted: Thu Apr 06, 2006 4:10 am Post subject: |
|
|
If you are willing to have a single head only I would be happt to assist you, I have Xgl + Compiz + GDM booting into KDE rather nicely now, it only works on a single head atm though.
Although I am going to try some more dual head attempts later _________________ Admiral Trigger Happy
-------------------------------
www.kiba-dock.org |
|
Back to top |
|
 |
|