Re: *Nvidia* + dual head
On Wed, Oct 19, 2005 at 01:19:10PM +0200, Hugh Waite wrote:
> Date: Wed, 19 Oct 2005 13:19:10 +0200
> From: Hugh Waite <hugh.waite@btinternet.com>
> To: debian-laptop@lists.debian.org
> Subject: *Nvidia* + dual head
>
> I'm hoping to be able to use the VGA out on my notebook to show a
> different desktop. Probably a common request.
> Searching the archives, I found this message
> http://lists.debian.org/debian-laptop/2004/03/msg00301.html
> and I think it is what I want. However I have a NVidia GForce4 420 Go
> and I think that the NV options make this a little harder to do.
> I have got it to show a cloned screen and to show a side by side view
> where I can drag apps across, but this creates problems when things are
> maximised (java progs for example). If it is possible to have a separate
> desktop, but still be able to swap mouse/keyboard use, I'd appreciate
> any help.
I've used this config to watch movie on the second screen while doing
something else. For example "mplayer -display :1.0 some.avi".
Hint: in XF86config-4 you should create two device sections, which
references same card (i've tested this with nvidia driver, not nv), two
monitor sections, two display sections. Do not use "TwinView" option in
the Device section.
Hope this helps.
Best wishes
--
Alexei Chetroi
Smile... Tomorrow will be worse. (c) Murphy's Law
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
# Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
Load "xtt"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "ru_RO(winkeys)"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
Section "InputDevice"
Identifier "RO Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "ro(winkeys)"
Option "XkbOptions" "grp:alt_shift_toggle,altwin:meta_win"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "1-MX400"
Driver "nvidia"
Option "DRI"
Option "HWCursor"
Option "Overclockmem"
# Option "UseFBDev" "true"
Option "NvAGP" "1"
Option "NoLogo" "true"
Option "CursorShadow" "true"
# Option "TwinView"
# Option "SecondMonitorHorizSync" "31-82"
# Option "SecondMonitorVertSync" "55-120"
# Option "TwinViewOrientation" "Clone"
# Option "ConnectedMonitor" "crt"
# Option "MetaModes" "1024x768"
Option "RenderAccel" "true"
# Option "ConnectedMonitor" "crt, crt"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "2-MX400"
Driver "nvidia"
Option "DRI"
Option "HWCursor"
Option "Overclockmem"
# Option "UseFBDev" "true"
Option "NvAGP" "1"
Option "NoLogo" "true"
Option "CursorShadow" "true"
# Option "TwinView"
# Option "SecondMonitorHorizSync" "31-82"
# Option "SecondMonitorVertSync" "55-120"
# Option "TwinViewOrientation" "Clone"
# Option "ConnectedMonitor" "crt, crt"
# Option "MetaModes" "1024x768"
Option "RenderAccel" "true"
# Option "ConnectedMonitor" "crt, crt"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Monitor"
Identifier "hpp70"
HorizSync 30-85
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Monitor"
Identifier "TV"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "1-MX400"
Monitor "hpp70"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
EndSection
Section "Screen"
Identifier "TV"
Device "2-MX400"
Monitor "TV"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
ViewPort 0 0
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen"
# Screen 1 "TV" LeftOf "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "ServerLayout"
Identifier "RO"
Screen 0 "TV"
InputDevice "RO Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Reply to: