View Single Post
Old 06-03-04, 01:17 AM   #6
NVIDIA Corporation
aritger's Avatar
Join Date: Oct 2002
Posts: 53
Default Re: DFP and TV: I want DFP to be the primary display!

I think the notion of "primary" versus "secondary" display doesn't
really make sense. In general, I think the tasks that you want to
accomplish are:

- specify on which display device you want what modes
- specify the HorizSync and VertRefresh for each display device
- position the two display devices relative to each other

Granted, it is very cumbersome to configure this today. FWIW, in the
next driver release (due out soon), the TwinView configuration options
accept additional syntax that should make this slightly easier. I'll
give examples of the extended syntax below.

Our long term goal is to provide a nice gui tool to make configuring
TwinView as simple as possible.


Petr: for your configuration of a TV + DFP, your configuration
might look something like this:

(put hsync and vrefresh for the TV in your monitor section)

Option "TwinView"
Option "SecondMonitorHorizSync" "<hsync for the DFP>"
Option "SecondMonitorVertRefresh" "<vrefresh for the DFP"
Option "MetaModes" "800x600 @ 1280x1024 +0+0, 1280x1024 +0+0"

The above would set your TV to 800x600, your DFP to 1280x1024.
It would put the two in clone mode, and the TV would pan over the
1280x1024 desktop.

With the next driver release, you could have something like:

Option "TwinView"
Option "HorizSync" "DFP: <hsync for dfp>, TV: <hsync for tv>"
Option "VertRefresh" "DFP: <vrefresh for dfp>, TV: <vrefresh for tv>"
Option "MetaModes" "DFP: 1280x1024 +0+0, TV: 800x600 @ 1280x1024 +0+0"

Still not trivial, but I hope that the ability to label MetaMode
et al entries with a display device name will make things a little
more clear.


ThwartedEfforts: if you want to have two separate X screens, with
the DFP on screen 0 and the CRT on screen 1, you could do something like:

Section "ServerLayout"
Screen 0 "Screen0"
Screen 1 "Screen1" leftOf "Screen0"

Section "Device"
Identifier "nvidia0"
Driver "nvidia"
BusID "<your bus id>"
Screen 0

Section "Device"
Identifier "nvidia1"
Driver "nvidia"
BusId "<your bus id>"
Screen 1

Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Monitor0"
DefaultDepth 24
Option "ConnectedMonitor" "DFP"
Subsection "Display"
Depth 24
Modes <dfp modes>

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "Monitor1"
DefaultDepth 24
Option "ConnectedMonitor" "CRT"
Subsection "Display"
Depth 24
Modes <crt modes>

I agree that the use of the ConnectedMonitor option like that is
non-intuitive. Again, hopefully a gui to configure these things
in the future would help alleviate the confusion.


bednar: I'm not sure I understand your concerns. If you have
configured TwinView, where within the X screen the gdm login shows up
seems like a gdm configuration issue. As far as running a 3d modeler
on one display device and an OpenGL preview window on another display
device, what prevents you from doing this today? Is your complaint
just the positioning of the DFP relative to the CRT? If so, then
please look at the TwinViewOrientation option, or the offsets within
the MetaMode (see the README for details). If your complaint is about
something different, please let me know.

Andy Ritger
NVIDIA Linux Graphics Driver Engineer
aritger is offline   Reply With Quote