PDA

View Full Version : Dual screen (no xinerama or twinview)


LonelyStar
October 9th, 2007, 09:29 PM
Hello together,

I have a dual screen setup without any xinerama or twinview (windows can not be exchanged between screens).

No I installed compiz fusion and have the following problems:
- On my second screen, the window-decorator seems not to start.
- On my first screen there is a short delay between opening a window and the actual appearing of the window (about 1,5 seconds). Even with menus or popups.

are there fixes to my problem? Thanks!
Nathan

phage
October 19th, 2007, 02:34 AM
I had the same problem. I'm running xfce so I've had to tweak around a lot more than just following instructions. Just to be clear, I'm running two displays and not using TwinView or anything else. In my xorg.conf I have two graphics cards specified (although it is only one physical nvidia 8600 GT card) and two screens specified.

I don't have compiz or emerald running automatically so after logging in (I use gdm) and starting xfce I fire up a terminal on the first display and put:

compiz --sm-disable --only-current-screen &

Then if I lose my window borders and the title bar disappears I manually start emerald by typing:

emerald --replace &

Then I repeat the process for the second screen. That seems to actually start two distinct copies of each app. I don't know if they are aware of each other. If I type the compiz part without --only-current-screen then it starts one copy of compiz which handles both screens and the first screen lags pretty bad when popping up menus, oddly other things such as moving windows works at full speed. I'd probably call this an actual bug.

I have also had success prepending the desired display variables of ":0.0" for my left display and ":0.1" for my right. Ex (using bash):
DISPLAY=":0.0" compiz --sm-disable --only-current-screen
etc.

Doing this seems to make it work seamlessly except the obvious break in the screens. I've tried putting the startup stuff into a script that runs when xfce starts (xfce has an "autostart applications" section on the menu under settings) but I'm not yet satisfied with my results.

Please tell me if you know of a better way and if you know how to enable dragging windows between the actual screens!

pierre_a
October 21st, 2007, 09:34 PM
Hi,

I have the same problem than LonelyStar.

Im am using an Geforce 7300 LE with Nvidia drivers (100.14.09). I have a monitor attached on each head.
I am using compiz-fusion 0.6.0 on Gentoo with Gnome.

Phage tweak does not work for me.

Should we file a bug ?

phage
October 21st, 2007, 11:13 PM
Hi,

I have the same problem than LonelyStar.

Im am using an Geforce 7300 LE with Nvidia drivers (100.14.09). I have a monitor attached on each head.
I am using compiz-fusion 0.6.0 on Gentoo with Gnome.

Phage tweak does not work for me.

Should we file a bug ?

I'm leaning towards saying it's an actual bug. It doesn't make sense that one screen would lag, and only when you do such specific things like popup a menu. That's probably a compiz bug. The window decorator thing is probably a bug too because I *think* it actually worked fine for me a few times but it most often fails on the 2nd screen.

Since you are using gnome, compiz/emerald is probably automatically run. Did you kill both before trying to run them again? I also notice that you're using 0.6.0 (I'm using 0.5.2). I'll try 0.6.0 later.

As an update my current startup script looks like this and has been working just fine for me:

#!/bin/bash
sleep 2
DISPLAY=":0.0" /usr/bin/compiz --replace ccp --sm-disable --only-current-screen &
DISPLAY=":0.1" /usr/bin/compiz --replace ccp --sm-disable --only-current-screen &
DISPLAY=":0.0" /usr/bin/emerald --replace &
DISPLAY=":0.1" /usr/bin/emerald --replace &

pierre_a
October 27th, 2007, 09:28 PM
As I wrote, I was not able to make it work with your workaroud.

For now on, compiz is disabled, beacause it is not usable.

wirelessdreamer
November 10th, 2007, 01:54 PM
I have a dual head setup with a similar issue, i'm using a quadro 1500m, there is about a 1 second delay on screen 0 when opening menu's on either gnome-panel or kiba-dock, screen 1 doesn't have the delays.

I'm also working on a quad head setup, it had the lag on screen 0, 1, and 2. screen 3 behaves normally.

kicker, from kde does not lag in these setups.

maniac
November 10th, 2007, 06:55 PM
I'm leaning towards saying it's an actual bug. It doesn't make sense that one screen would lag, and only when you do such specific things like popup a menu. That's probably a compiz bug.

I am inclined to say that this is a driver bug, because that problem seems to exist only for people using Nvidia cards and drivers.


The window decorator thing is probably a bug too because I *think* it actually worked fine for me a few times but it most often fails on the 2nd screen.

It's fixed in compiz 0.6.2 (and git head, too). Enter your preferred decorator as command under the decoration plugin options, and compiz will start one decorator per screen.

November Rain
November 10th, 2007, 07:25 PM
I have the same problem like the other users in this thread. But I noticed that this only happens in GTK application, all qt applications work well without any delay. Display 0:1 does have these delays, Display 0:0 not.

I also heared that switching to AIXGL should help(read it in the gentoo forum).

The workaround of phage works but it changes the configuration to default and emerald won't start at the second monitor.

Balage
January 11th, 2008, 07:28 PM
Hello!

I know this thread is about three months old, but I have the same problem.
I am using two display with "Separate X screen" method.
I start compiz-fusion with fusion-icon.
On the primary screen (which is DISPLAY=":0.0".) menus, dropdown menus, right-clik menus, etc. opens with a delay. About 1-2 sec.
Everything else runs at normal speed.
On the secondary screen everything is fine.
(But I'm not using the second display, so it's not neccessary to run fusion on it.)
I also found that QT menus working at normal speed, it's only happend with gtk objects.

I'm using Nvidia's "compositing feature". Here are some info which could help.
-The system runs Gentoo Linux.
-Gnome 2.20.3
-nvidia-drivers-169.07 (I had the same problem with older drivers too)
-Compiz-Fusion and everything related is compiled from the git repo.

I've tried the workaround (--only-current-screen) mentioned above, and it worked. But I can't set this option in fusion-icon.

I attach my xorg.conf file.

p.s. sorry for my english. :)

some-guy
January 11th, 2008, 09:17 PM
I've tried the workaround (--only-current-screen) mentioned above, and it worked. But I can't set this option in fusion-icon.
gedit/kate /usr/lib/python/site-packages/FusionIcon/data.py
change
options = {
'indirect rendering':
(None, '--indirect-rendering', 'Indirect Rendering'),

'loose binding':
(None, '--loose-binding', 'Loose Binding'),
}
to
options = {
'indirect rendering':
(None, '--indirect-rendering', 'Indirect Rendering'),

'loose binding':
(None, '--loose-binding', 'Loose Binding'),

'only current screen':
(None, '--only-current-screen', 'Only Current Screen'),
}

Balage
January 11th, 2008, 10:23 PM
Thank you. I'll try it. :)

Balage
January 11th, 2008, 10:32 PM
It works. It's much easier this way.
Thanks!

Anyway. It is still just a workaround.