View previous topic :: View next topic |
Author |
Message |
Angryguy Tux's lil' helper
Joined: 09 Oct 2004 Posts: 105 Location: New York
|
Posted: Fri Oct 13, 2006 1:32 am Post subject: Dual Screen Configuration |
|
|
Not sure if I should post this here or Desktop Environments . . .
I just got myself a new LCD monitor, giving me a dual display setup with a Samsung SyncMaster 710T (connected by VGA) and a Samsung Syncmaster 740BX (DVI connection) with an Nvidia 6600GT Video Card. I could use some help in getting this to work . . the directions from the wiki aren't very helpful.
If I switch to the terminal (ctrl+alt+f2), the terminal is shown on both screens (identical output), however I can't get the second screen to work in Gnome.
I am trying to load the nvidia-settings manager, assuming that might have some of the options I need in it, however it refuses to load. From the command prompt it gives me:
Quote: | LinuxGuy david # nvidia-settings
ERROR: Invalid display device DFP-0 specified on line 18 of configuration file
'/root/.nvidia-settings-rc' (the currently enabled display devices are
CRT-0 on LinuxGuy:0.0).
ERROR: Invalid display device DFP-0 specified on line 19 of configuration file
'/root/.nvidia-settings-rc' (the currently enabled display devices are
CRT-0 on LinuxGuy:0.0).
ERROR: Invalid display device DFP-0 specified on line 20 of configuration file
'/root/.nvidia-settings-rc' (the currently enabled display devices are
CRT-0 on LinuxGuy:0.0).
The program 'nvidia-settings' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 78 error_code 2 request_code 145 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
|
In a seperate but related issue, at the moment it won't let me update my nvidia drivers. When I emerge the newer nvidia drivers, it gives me an error about incorrect kernel sources not being prepared, even though I just compiled a new kernel which I'm running from those sources earlier in the week (and I double checked that the symlink is pointing to the latest installed sources == currently running kernel version).
Also, any news on when Xorg 7.1 and the new/beta nvidia drivers are going to be unmasked for AMD64? I'm holding off the upgrade to try out the AIGLX effects in it on the assumption its going to be unmasked soon.
Thanks |
|
Back to top |
|
|
Angryguy Tux's lil' helper
Joined: 09 Oct 2004 Posts: 105 Location: New York
|
Posted: Fri Oct 13, 2006 6:20 am Post subject: Update |
|
|
Ok, I got the dual screens working now with twinview after a lot of trial and error with my Xorg.conf file.
1. How can I swap primary/secondary displays? Its currently got the DVI connection as secondary and VGA as primary, and I'd like to have that reversed.
2. Are there any options available for customizing window behavior across the screens? Namely in allowing windows to maximize only to a single screen instead of both (although I'd prefer being able to choose either behavior as needed). Similarly (but not as importantly), how about for changing workspaces independently between displays? More importantly, an option such as in Windows to center a dialog on a single screen, rather than in between the screens.
3. Any suggestons on good ways to optimize/configure settings across dual displays? Both displays look good, however side by side the colors on my old monitor seem a bit washed out. This is completely off topic, but has anyone tried Samsung's Magic&/Natural-Color software or know if its designed to synchronize colors between two displays (and not just printers and displays)?
Thanks. |
|
Back to top |
|
|
zambeezi n00b
Joined: 05 Oct 2006 Posts: 3
|
Posted: Fri Oct 13, 2006 10:51 am Post subject: Re: Update |
|
|
Angryguy wrote: | Ok, I got the dual screens working now with twinview after a lot of trial and error with my Xorg.conf file.
1. How can I swap primary/secondary displays? Its currently got the DVI connection as secondary and VGA as primary, and I'd like to have that reversed.
|
You could physically switch them if you have the right connectors.
Otherwise you have to mess about in your /etc/X11/xorg.conf. I've done this a lot - I've been running dual screen on a variety of unix boxes for years. And it never gets any easier. NVidia is slightly easier to setup than ATI. Are you using nvidia twinview, xinerama or what? You can normally switch monitors with the leftof/rightoff option in the xorg.conf file:
Screen 1 "Screen1" RightOf "Screen0"
This may be in your serverlayout or it may be in your nvidia options. Post your xorg.conf if you want help.
Angryguy wrote: |
2. Are there any options available for customizing window behavior across the screens? Namely in allowing windows to maximize only to a single screen instead of both (although I'd prefer being able to choose either behavior as needed). Similarly (but not as importantly), how about for changing workspaces independently between displays? More importantly, an option such as in Windows to center a dialog on a single screen, rather than in between the screens.
|
You getting windows coming up in the middle? The only way I've found to get around this is to run two separate XServers on each screen so you have :0 and :1 and you can't then move windows from screen to screen, so I went back to xinerama. Its just something I've learnt to live with.I'm running ATI currently though and it doesn't work quite as well as my old NVidia did under gentoo. |
|
Back to top |
|
|
Angryguy Tux's lil' helper
Joined: 09 Oct 2004 Posts: 105 Location: New York
|
Posted: Fri Oct 13, 2006 7:53 pm Post subject: |
|
|
Thanks, I think I've got the display setup/layout down now. It'll still take me some time to adjust the monitor settings to my liking/used to . . the old monitor seems a lot darker and more washed-out in comparison to the new one.
The reason I ask about windows coming up in the middle, is beause when I was configuring the nvidia drivers in windows (I still maintain a dual-boot), their wizard has a specific option to force windows to be centered on the active window to prevent dialogs from appearing in the middle. The windows driver also has an option to enable some sort of nvidia window manager that allows you some interesting options - switching windows between screens, and a choice to maximize a window to a single screen, or to both.
Since its part of the nvidia drivers on windows, I was assuming that the option probably exists somewhere on linux to - this isn't exactly the most advanced feature. |
|
Back to top |
|
|
gtaluvit Tux's lil' helper
Joined: 09 Aug 2003 Posts: 135 Location: Columbia, MD
|
Posted: Fri Oct 13, 2006 8:05 pm Post subject: |
|
|
You don't need to run two independent X servers to get windows to pop up in the center. I have nvidia listed as a device twice and two monitors using the Screen LeftOf syntax and without using TwinView or Xinerama. What that gives you is two X screens, :0.0 and :0.1. You can't drag between the two but you can spawn apps in them by using --display. I use one monitor and then a second smaller LCD for watching TV or movies so I simply have shortcuts for MythTV and Totem on the second screen. _________________ I'm out of bed and dressed, what more do you want? |
|
Back to top |
|
|
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Sun Oct 15, 2006 7:19 am Post subject: Re: Update |
|
|
Angryguy wrote: | 1. How can I swap primary/secondary displays? Its currently got the DVI connection as secondary and VGA as primary, and I'd like to have that reversed. | This is a known problem with nvidia twinview. Nvidia's drivers detect analog devices before digital ones, and the first device detected is always primary. Fortunately, this has been resolved in the latest drivers (1.0.9625), but they are still in beta. With the new drivers, you will need to set the TwinViewXineramaInfoOrder option.
Quote: | 2. Are there any options available for customizing window behavior across the screens? Namely in allowing windows to maximize only to a single screen instead of both | Compiling X, KDE, and all with the xinerama use flag solved this problem for me. Windows maximize only on the current monitor. |
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Sun Oct 15, 2006 8:52 am Post subject: Re: Update |
|
|
badchien wrote: | Compiling X, KDE, and all with the xinerama use flag solved this problem for me. Windows maximize only on the current monitor. |
A tip for compiling with xinerama use flag is to leave it out for your login manager (gdm kdm etc), then you can create a custom theme with the right size background/layout and make it prettier. |
|
Back to top |
|
|
Angryguy Tux's lil' helper
Joined: 09 Oct 2004 Posts: 105 Location: New York
|
Posted: Sun Oct 15, 2006 7:40 pm Post subject: |
|
|
Thanks, I actually inadvertently solved the problem.
I installed Beryl with the beta nVidia drivers and, while Beryl is running, window maximization works as I'd expect - to only one screen plus the nice eye-candy effects as a bonus.
So far, Beryl is excellent - looks great, works well, and gives the added functionality I need. Just need to tweak some of the settings a little more . . . The only problem I've had with beryl so far (once its running), is that it has a tendency to crash when playing around with the preferences.
The other issue, is that I can't get it to automatically startup correctly, but that's a matter for another topic. |
|
Back to top |
|
|
_mikec_ Guru
Joined: 22 May 2004 Posts: 386
|
Posted: Sun Oct 15, 2006 8:50 pm Post subject: |
|
|
i'm having the same error as above, i am getting popups from windows pupin' up on the center, i have the nvidia ti4200 card, beryl-aiglx, kinda sad to get these kind of problem.. the code should know in which dispay the program is running so to display anything from that program on the same display.. a monkey should know that lol.. anyone got this working without having to recompile the entire system, X..KDE.. ? _________________ (8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35) |
|
Back to top |
|
|
monicajae Guru
Joined: 03 Sep 2003 Posts: 363 Location: Dorset, VT
|
Posted: Sun Feb 11, 2007 2:12 am Post subject: |
|
|
could someone post a working xorg.conf? thnks |
|
Back to top |
|
|
networkorg n00b
Joined: 02 Feb 2006 Posts: 74 Location: Buenos Aires
|
Posted: Sun Feb 11, 2007 6:33 pm Post subject: |
|
|
HI,
the dualview works fine with my XfX Geforce 6800XT Extreme Card. I use it on a Core2Duo System (real 64bit version) with KDE and the following nvidia-driver versions :
Code: |
[I] x11-drivers/nvidia-drivers
Available versions: 1.0.8774 1.0.8776 (~)1.0.9631 [M](~)1.0.9742 (~)1.0.9746
Installed: 1.0.9746(02:30:40 04.02.2007)(dlloader kernel_linux)
Homepage: http://www.nvidia.com/
Description: NVIDIA X11 driver and GLX libraries
|
Here is my xorg.conf (you should adapt it in some ways) - But if you use the nvidia-settings (best way) too you can handle the whole stuff through your KDE control panel
Code: |
#-----
#----- XORG.conf 2007-02-04 by alex
#-----
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "wfb"
Load "xtrap"
Load "record"
Load "dbe"
# Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
Section "ServerFlags"
Option "blank time" "1"
Option "standby time" "2"
Option "suspend time" "3"
Option "off time" "4"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Xleds" "1"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Button" "7"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "Acer AL2216W"
HorizSync 30-82
VertRefresh 56-76
VendorName "Acer"
ModelName "AL2216W"
EndSection
Section "Monitor"
Identifier "Viewsonic VA1912wb"
HorizSync 30-82
VertRefresh 50-85
VendorName "Viewsonic"
ModelName "VA1912wb"
EndSection
#------------------------------------------------------
#----- Single BEGIN
#Section "ServerLayout"
# Identifier "single"
# Screen 0 "Screen0"
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
#EndSection
#----- Single END
#------------------------------------------------------
Section "Device"
Identifier "Nvidia0"
VendorName "XFX"
BoardName "GeForce 6800XT"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
Option "ConnectedMonitor" "DFP,DFP"
Option "HorizSync"
Option "VertRefresh" "60"
Option "DPI" "96 x 96"
Option "NoLogo" "1"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidDpi" "FALSE"
EndSection
Section "Device"
Identifier "Nvidia1"
VendorName "XFX"
BoardName "GeForce 6800XT"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
Option "ConnectedMonitor" "DFP,DFP"
Option "HorizSync"
Option "VertRefresh" "60"
Option "DPI" "96 x 96"
Option "NoLogo" "1"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidDpi" "FALSE"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Nvidia0"
Monitor "Acer AL2216W"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1400x900" "1280x1024" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1400x900" "1280x1024" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1400x900" "1280x1024" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Nvidia1"
Monitor "Viewsonic VA1912wb"
DefaultDepth 24
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
#------------------------------------------------------
#----- Dual BEGIN
Section "ServerLayout"
Identifier "xinerama"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "1"
EndSection
#----- Dual END
#------------------------------------------------------
|
if you use 1 LCD and 1 Analog device you should change the "connectedMonitor" from DFP,DFP to DFP,CRT or CRT,DFP as you need it.
cu alex |
|
Back to top |
|
|
monicajae Guru
Joined: 03 Sep 2003 Posts: 363 Location: Dorset, VT
|
Posted: Sun Feb 11, 2007 7:11 pm Post subject: |
|
|
Hey thanks for that. |
|
Back to top |
|
|
|