PDA

View Full Version : Help dialogs are opening spaning both monitors.


orb9220
January 16th, 2008, 03:49 PM
I was using edgy and fiesty a while back. Left ubuntu for last 6 month's come back and installed Gutsy.

Well got a nvidia 5900 and they always worked before. I even put in my old xorg.conf file. But back then I was using Beryl and now am using compiz.

The problem is when a password dialog or volume or etc... popups it is in the center spanning across my monitors and is a real pain.

I suspect I am not using the right setup. I put in my old xorg but still everthing else is running but what is compiz using? xinerama? something else.

I don't care what I have to run to keep the dialogs on one monitor or another.
Any help is appreciated.

My current xorg

Section "Monitor"
Identifier "A75f"
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5900]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "on"
Option "NvAGP" "3"
Option "MetaModes" "1280x1024,1280x1024; 1280x1024,NULL; 1024x768,1024x768; 1024x768,NULL"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "CRT,CRT"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
EndSection

Section "Monitor"
Identifier "A75f"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5900]"
Monitor "A75f"
DefaultDepth 24
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" "640x350"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

chewearn
January 17th, 2008, 04:24 AM
Looks like you are using twinview. See if this helps:

CCSM > Desktop Cube > General > Multi Output Mode > Multiple cubes

orb9220
January 17th, 2008, 10:58 AM
Nope doesn't seem to matter if i set it on Big Cube or Multiple when I launch a app that requires password the dialog appears in the middle of dual monitors split across both. This goes for volume popup,etc...

The problem is ? Compiz ? Nvidia xorg ?

It is weird since I use the default generated by Gutsy and overwrote it with my old one listed above because of this issue. I am at a complete lost where to go from here.

What is Gutsy Compiz using? Twinview,Xinerama?

Any help is appreciated.

chewearn
January 17th, 2008, 11:51 AM
I don't have the technical knowhow to answer whether it's the compiz, nvidia driver, etc who is causing the problem.

I always start with the xorg.conf generated thru nvidia-settings. The old xorg.conf you posted could be out-of-date, missing so new stuff required or having some obsolete stuff that need to be removed. E.g. my xorg.conf use "metamodes" instead of "Modes" in the Screen section.

Here is an example of twinview set-up (I don't use this one anymore, since I have switch to dual X screen in this comp; though I have a laptop in twinview, but the laptop is not with me right now):

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "WizardPen Tablet" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "WizardPen Tablet"
Driver "wizardpen"
Option "SendCoreEvents" "true"
Option "Device" "/dev/tablet-event"
Option "TopX" "388"
Option "TopY" "2424"
Option "BottomX" "32747"
Option "BottomY" "32762"
Option "MaxX" "32747"
Option "MaxY" "32762"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6150"

Option "TwinViewXineramaInfoOrder" "DFP, CRT"
Option "UseDisplayDevice" "DFP, CRT"
Option "TwinViewOrientation" "DFP LeftOf CRT"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6150"
BusID "PCI:0:5:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "TwinView" "1"
Option "metamodes" "DFP: 1680x1050 +0+0, CRT: 1280x768 +1680+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "TwinView" "0"
Option "metamodes" "CRT: 1280x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

orb9220
January 17th, 2008, 01:19 PM
Solved it by uninstalling xgl-server.