Fwd: [SLE] TwinView Multi-Monitors on a laptop???

Top Page
Attachments:
Message as email
+ (text/plain)
+ attachment1841.dat (application/octet-stream)
+ XFree86.0.log.excerpts.txt (text/plain)
+ XF86Config.TwinView.txt (text/plain)
Delete this message
Reply to this message
Author: Gene Holmerud
Date:  
To: suse-linux-e@suse.com
CC: plug-discuss@lists.plug.phoenix.az.us
Subject: Fwd: [SLE] TwinView Multi-Monitors on a laptop???
Thanks to Eric "Shubes of Phoenix Linux User Group who corrected my
XF86Config, TwinView works (mostly) on my HP laptop under 9.1. The only
inconvience is needing to comment/uncomment a few lines depending upon
whither the external monitor is present or not. When configured for an
external monitor, TwinView insists on using the external as the prime
monitor, hence no system icons available if no external.

The following is the "Device" section of XF86Config for having an external
monitor (but with non-dual statements commented):

Section "Device"
   BoardName    "0x031a"
   BusID        "1:0:0"
   Driver       "nvidia"
   Identifier   "Device[0]"
   VendorName   "NVidia"
   Option       "TwinView"    "True"
#  Option       "ConnectedMonitor" "DFP, CRT"
   Option       "TwinViewOrientation" "CRT-0 RightOf DFP-0"
   Option       "MetaModes"  "1024x768, 1024x768; 800x640, 800x640; 
640x480, 640x480"
#  Option       "MetaModes" "NULL, 1024x768; NULL, 800x640; NULL, 640x480"
   Option       "HorizSync"   "CRT-0: 31-64, DFP-0: 31-64"
   Option       "VertRefresh" "CRT-0: 50, DFP-0: 60"
#  Option       "HorizSync"   "DFP-0: 31-64"
#  Option       "VertRefresh" "DFP-0: 50-78"
   Option       "SecondMonitorHorizSync"   "CRT-0: 31-64"
   Option       "SecondMonitorVertRefresh" "CRT-0: 50-78"
EndSection


The following is the "Device" section for not having an external monitor,
but saving the dual statements as comments.

Section "Device"
   BoardName    "0x031a"
   BusID        "1:0:0"
   Driver       "nvidia"
   Identifier   "Device[0]"
   VendorName   "NVidia"
   Option       "TwinView"    "True"
#  Option       "ConnectedMonitor" "DFP, CRT"
   Option       "TwinViewOrientation" "CRT-0 RightOf DFP-0"
#  Option       "MetaModes"  "1024x768, 1024x768; 800x640, 800x640; 
640x480, 640x480"
   Option       "MetaModes" "NULL, 1024x768; NULL, 800x640; NULL, 640x480"
#  Option       "HorizSync"   "CRT-0: 31-64, DFP-0: 31-64"
#  Option       "VertRefresh" "CRT-0: 50, DFP-0: 60"
   Option       "HorizSync"   "DFP-0: 31-64"
   Option       "VertRefresh" "DFP-0: 50-78"
   Option       "SecondMonitorHorizSync"   "CRT-0: 31-64"
   Option       "SecondMonitorVertRefresh" "CRT-0: 50-78"
EndSection


Hope this helps anyone else trying to do the same thing.

Gene

------- Forwarded message -------
From: Gene Holmerud <>
To: "" <>
Subject: [SLE] TwinView Multi-Monitors on a laptop???
Date: Wed, 11 Aug 2004 21:13:12 -0700

> Was: [SLE] Nvidia now OK -- But how about Multi-Monitors on a laptop???
>
> James Ogley's reference to:
>    Appendix R of
> ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6111/README.txt
> helped a bunch!  So did a pretty good example at
> http://weller.ws/toshiba/XF86Config-4.

>
> Unfortunately, I'm still getting a clone of the laptop display on the
> external CRT. But since it has a lower resolution that the laptop
> itself,
> an oversize display is on the laptop requiring scrolling. If I get a
> desktop extension onto the external monitor, I will buy an external that
> matches the laptop.
>
> I'm attaching the text of my XF86Config and XFree86.0.log (excerpts due
> to
> this list's size limit). If somebody has experienced this, I'd like some
> tips.
>
> Gene
>
> Details:
> Dual Boot, SUSE 9.1 Pro (very little server stuff) and W_XP
> Laptop: HP Pavilion zd7168cl
> Graphics Adapter: nVidia GeForce FX Go5600
> Display (per HP): 17.0 inch WXGA+ WA TFT (1440x900), 6x9 aspect ratio
> Display (per XaS2): VESA 1280x1024 @ 60Hz, size 270 x 200mm
> Actual size 360mm wide x 230mm high
>
> ___________________________________________________________________




--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    [30] -1    0    0x00001cc0 - 0x00001cdf (0x20) IX[B]
    [31] 0    0    0x000003b0 - 0x000003bb (0xc) IS[B]
    [32] 0    0    0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
    compiled for 4.3.99.902, module version = 0.1.0
    ABI class: XFree86 Video Driver, version 0.7
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "TwinView"
(**) NVIDIA(0): Option "TwinViewOrientation" "RightOf"
(WW) NVIDIA(0): To enable TwinView, you must also specify:
(WW) NVIDIA(0):      Option "MetaModes" "<metamode list>"
(--) NVIDIA(0): Linear framebuffer at 0xE0000000
(--) NVIDIA(0): MMIO registers at 0xD1000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX Go5600
(--) NVIDIA(0): VideoBIOS: 04.31.20.46.bb
(--) NVIDIA(0): VideoRAM: 65536 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0, DFP-0
(--) NVIDIA(0): Detected TV Encoder: NVIDIA
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at  8 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at  8 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 32 bpp: 400 MHz
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
    compiled for 4.3.99.902, module version = 1.0.0
    ABI class: XFree86 Video Driver, version 0.7
(WW) NVIDIA(0): No SecondMonitorHorizSync given; using default range
(WW) NVIDIA(0): No SecondMonitorVertRefresh given, using default range
(WW) NVIDIA(0): config file hsync range 31-64kHz not within DDC hsync ranges.
(WW) NVIDIA(0): config file vrefresh range 50-60Hz not within DDC vrefresh ranges.
(II) NVIDIA(0): Monitor[0]: Using hsync range of 31.00-64.00 kHz
(II) NVIDIA(0): Monitor[0]: Using vrefresh range of 50.00-60.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 400.00 MHz
(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)


_________________________________________________________________________

(II) Initializing built-in extension RANDR
(II) Initializing extension GLX
(II) Keyboard "Keyboard[0]" handled by legacy driver
(**) Option "Protocol" "explorerps/2"
(**) Mouse[1]: Device: "/dev/input/mice"
(**) Mouse[1]: Protocol: "explorerps/2"
(**) Option "CorePointer"
(**) Mouse[1]: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "5"
(==) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse[1]: Buttons: 5
(**) Option "Protocol" "explorerps/2"
(**) Mouse[3]: Device: "/dev/input/mice"
(**) Mouse[3]: Protocol: "explorerps/2"
(**) Option "SendCoreEvents"
(**) Mouse[3]: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "on"
(**) Mouse[3]: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse[3]: Buttons: 3
(II) XINPUT: Adding extended input device "Mouse[3]" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Kernel Input Handler" (type: Other)
(II) Mouse[1]: ps2EnableDataReporting: succeeded
(II) Mouse[3]: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
AUDIT: Wed Aug 11 16:28:14 2004: 4398 X: client 6 rejected from local host
(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) NVIDIA(0): AGP 8X successfully initialized
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(==) RandR enabled
(II) Initializing extension GLX
(II) Mouse[1]: ps2EnableDataReporting: succeeded
(II) Mouse[3]: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
AUDIT: Wed Aug 11 16:49:33 2004: 4398 X: client 6 rejected from local host
(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) NVIDIA(0): AGP 8X successfully initialized
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(==) RandR enabled
(II) Initializing extension GLX
(II) Mouse[1]: ps2EnableDataReporting: succeeded
(II) Mouse[3]: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
AUDIT: Wed Aug 11 17:05:47 2004: 4398 X: client 6 rejected from local host
# /.../
# SaX generated XFree86 config file
# Created on: 2004-08-09T13:46:29-0700.
#
# Version: 4.8
# Contact: Marcus Schaefer <>, 2002
#
# Automatically generated by [SaX2] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection


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


Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection


Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Autodetection"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "Name" "Autodetection"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
EndSection



Section "Monitor"
  DisplaySize  270 200
  HorizSync    31-64
  Identifier   "Monitor[0]"
  ModelName    "1280X1024@60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection



Section "Modes"
  Identifier   "Modes[0]"
  Modeline     "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection



Section "Device"
  BoardName    "0x031a"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  VendorName   "NVidia"
  Option       "TwinView"
  Option       "TwinViewOrientation" "RightOf"
  Option       "MetaTables"  "1024x768, 1280x1024; 640x480,640x480"
  Option       "HorizSync"   "CRT-0: 31-64, DFP-0: 31-64"
  Option       "VertRefresh" "CRT-0: 50, DFP-0: 60"
EndSection



Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Screen       "Screen[0]"
  Option       "Clone"  "Off"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection