Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-25-11, 04:43 PM   #1
JamesRay
Registered User
 
Join Date: Apr 2011
Posts: 1
Default Trouble Getting X Server to Automatically Configure TwinView Properly

My basic question boils down to:
Is there a way to select which screen is used as the primary monitor when in TwinView mode?

Now here is the FULL story...

I have spent two days trying to get one of the image generating computers to configure properly immediately upon booting up, but have not had much success. Currently I have to perform the following steps to configure the graphics if I want to reboot the machine:

1. Change the second video out slot from going to a quad splitter to going to an old CRT monitor.
2. Reboot.
3. Log in.
4. Open nVidia Display Settings
5. Detect Displays
6. Configure the CRT monitor (from step 1) as Twin View
7. Adjust the resolution to be the same resolution as the primary monitor (which is an Extron digital amplifier box that takes the same video signal and sends it to an NEC projector as well as a KVM for one PLANAR LCD monitor)
8. Apply settings.
9. Swap the cable that was changed in step 1 to its original state (no longer in CRT monitor and instead in a quad splitter going to a DVR and an LCD screen).

It is even worse for another image generating machine in this setup, but I was hoping to solve the easy one first and maybe that would give me the appropriate insight to solve the harder one.

I would like to be able to reboot the machine and have all screens automatically receive the appropriate video card outputs (specifically: TwinView, a set resolution, and the Extron/NEC/LCD as the primary monitor).

Basic System Information
Operating System: Linux-x86
NVIDIA Driver Version: 100.14.19

Display Name: sig1:0
Server Version Number: 11.0
Server Vendor String: The X.Org Foundation
Server Vendor Version: 7.1.1 (70101000)
NV-Control Version: 1.13
X Screens: 1

Graphics Card Info
Graphics Processor: GeForce 8800 Ultra
VBIOS Version: 60.80.18.00.12
Memory: 768 MB
Bus Type: PCI Express 8X
Bus ID: 2:0:0
IRQ: 16
X Screens: Screen 0
Display Devices: NEC LT30 Series (CRT-1),
Dell ULTRASCANP990 (CRT-0)

This is the xorg.conf file that was generated by using the save configuration file feature of the nVidia Display Settings GUI. A direct load of this file by X server results in terminal errors. I generated this file AFTER performing all 9 of the steps listed above in order to get everything configured properly.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Wed Sep 12 14:30:30 PDT 2007

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

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

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

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

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Dell ULTRASCANP990"
HorizSync 30.0 - 96.0
VertRefresh 48.0 - 120.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 Ultra"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "CRT-0: 1024x768 +1024+0, CRT-1: 1024x768_75 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection



This was the xorg.conf file that was actually used upon booting (and is still in use).

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Unknown"
ModelName "NEC LT30 Series"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 15.0 - 100.0
VertRefresh 48.0 - 86.0
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 Ultra"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT-1: 1024x768_75 +0+0; CRT-1: nvidia-auto-select +0+0; CRT-1: 1024x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

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


I have tried many things to get this working, but so far anytime I have made any change to my xorg.conf file that caused us to load in TwinView the primary monitor has switched off from being the Extron/NEC/LCD chain that I want it to be. It instead picks the quad splitter screen as the primary monitor (or the CRT if I have that plugged in instead).

Is there a way to select which screen is used as the primary monitor when in TwinView mode?
JamesRay is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:09 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.