Cloning display not working on laptop

Hi All,

I am having trouble getting my Dell M6400 laptop display to be cloned with the Hyundai LCD display I have connected to my docking station.

I have an Nvidia Quadro FX 2700M graphics card and have installed the proprietary driver according to SDB:NVIDIA drivers - openSUSE. I have tried using sax2 (found out today it is depreciated so will stop that) and running nvidia-xconfig from both init 3 and init 5 followed by nvidia-settings to setup cloning mode.

When I run nvidia-settings, it doesn’t detect the laptop display it seems. It says the max resolution is 640x480 even though the max is 1920x1200 and this does get used if I boot the laptop without a monitor attached.

Also, when I try and select cloning nvidia-settings crashes with a segmentation fault.

What can I do to get this working?

Many thanks for your help,

openSUSE 11.2.
Linux 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux

I am having trouble getting my Dell M6400 laptop display to be cloned with the Hyundai LCD display I have connected to my docking station.

Are you able to connect the LCD display directly to your laptop ok?

I have tried using sax2 (found out today it is depreciated so will stop that) and running nvidia-xconfig from both init 3 and init 5 followed by nvidia-settings to setup cloning mode.

So, I’m assuming that you now have a valid /etc/X11/xorg.conf file present (even if display resolutions are not yet correct). If so, can you post the contents of this file?

When I run nvidia-settings, it doesn’t detect the laptop display it seems. It says the max resolution is 640x480 even though the max is 1920x1200 and this does get used if I boot the laptop without a monitor attached.

IIRC, I think is a known bug that occurs when an external display is connected on a VGA port with nvidia chipsets. You might have to manually tweak xorg.conf to get around this.

Another portential issue is display devices that don’t cooperate with correct EDID info, causing the X-server to use the wrong display mode. More on this here:

chewearn’s blog - NVIDIA Twinview in Intrepid Ibex (beta)

Hopefully, this will help you to get a working xorg.conf for your situation. :slight_smile:

Hi,

Here is my /etc/X11/xorg.conf file:

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Mar 12 02:12:40 PST 2010

/…/

SaX generated X11 config file

Created on: 2010-05-31T10:37:01+0200.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>

Automatically generated by [ISaX] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “ServerLayout”
Identifier “Layout[all]”
Screen “Screen[0]” 0 0
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
Option “Clone” “off”
Option “Xinerama” “off”
EndSection

Section “Files”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
EndSection

Section “Module”
Load “dbe”
Load “extmod”
Load “glx”
EndSection

Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “InputDevice”

Driver “kbd” will be disabled unless ‘Option “AutoAddDevices” “off”’

is set in “ServerFlags” section.

Identifier     "Keyboard[0]"                                         
Driver         "kbd"                                                 
Option         "Protocol" "Standard"                                 
Option         "XkbLayout" "gb"                                      
Option         "XkbModel" "microsoftpro"                             
Option         "XkbRules" "xfree86"                                  

EndSection

Section “InputDevice”

Driver “mouse” will be disabled unless ‘Option “AutoAddDevices” “off”’

is set in “ServerFlags” section.

Identifier     "Mouse[1]"                                              
Driver         "mouse"                                                 
Option         "Buttons" "12"                                          
Option         "Device" "/dev/input/mice"                              
Option         "Name" "Logitech USB-PS/2 Optical Mouse"                
Option         "Protocol" "explorerps/2"                               
Option         "Vendor" "Sysp"                                         
Option         "ZAxisMapping" "4 5"                                    

EndSection

Section “Modes”
Identifier “Modes[0]”
ModeLine “1920x1080” 148.00 1920 2008 2052 2200 1080 1089 1095 1125
EndSection

Section “Monitor”
Identifier “Monitor[0]”
VendorName “IQT”
ModelName “HDIT22W DSUB”
UseModes “Modes[0]”
DisplaySize 497 292
HorizSync 30.0 - 82.0
VertRefresh 43.0 - 76.0
Option “CalcAlgorithm” “XServerPool”
Option “DPMS”
Option “PreferredMode” “1920x1080”
EndSection

Section “Device”
Identifier “Device[0]”
Driver “nvidia”
VendorName “NVIDIA”
BoardName “Quadro FX 2700M”
EndSection

Section “Screen”
Identifier “Screen[0]”
Device “Device[0]”
Monitor “Monitor[0]”
DefaultDepth 24
Option “SaXDualHead”
Option “TwinView”
Option “SaXDualMonitorVendor” “–> LCD”
Option “SecondMonitorHorizSync” “66-69”
Option “SaXDualVSync” “59-61”
Option “MetaModes” “1920x1080,1920x1080;1680x1050,1680x1050;1600x1024,1600x1024;1600x1000,1600x1000;1400x1050,1400x1050;1600x900,1600x900;1280x1024,1280x1024;1440x900,1440x900;1280x960,1280x960;1366x768,1366x768;1360x768,1360x768;1280x800,1280x800;1152x864,1152x864;1280x768,1280x768;1280x720,1280x720;1024x768,1024x768;1280x600,1280x600;1024x600,1024x600;800x600,800x600;768x576,768x576;640x480,640x480”
Option “SaXDualOrientation” “RightOf”
Option “SaXDualResolution” “1920x1080”
Option “TwinViewOrientation” “Clone”
Option “SaXDualMode” “Clone”
Option “SecondMonitorVertRefresh” “59-61”
Option “SaXDualHSync” “66-69”
Option “SaXDualMonitorModel” “1920X1080@60HZ”
SubSection “Display”
Depth 15
Modes “1920x1080” “1680x1050” “1600x1024” “1600x1000” “1400x1050” “1600x900” “1280x1024” “1440x900” “1280x960” “1366x768” “1360x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 16
Modes “1920x1080” “1680x1050” “1600x1024” “1600x1000” “1400x1050” “1600x900” “1280x1024” “1440x900” “1280x960” “1366x768” “1360x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 24
Modes “1920x1080” “1680x1050” “1600x1024” “1600x1000” “1400x1050” “1600x900” “1280x1024” “1440x900” “1280x960” “1366x768” “1360x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 8
Modes “1920x1080” “1680x1050” “1600x1024” “1600x1000” “1400x1050” “1600x900” “1280x1024” “1440x900” “1280x960” “1366x768” “1360x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
EndSection

Section “Extensions”
Option “Composite” “on”
EndSection

When I run nvidia-settings, it doesn’t detect the laptop display it seems. It says the max resolution is 640x480 even though the max is 1920x1200 and this does get used if I boot the laptop without a monitor attached.

Also, when I try and select cloning nvidia-settings crashes with a segmentation fault.

It may be worth trying the option

Option "DynamicTwinView" "true"

in your xorg.conf, and try using nvidia-settings utility again. FWIW, a Dell twinview config with this option here:

Since you only want cloning, have you tried removing xorg.conf

mv /etc/X11/xorg.conf xorg.bak

and restarting the X-server? AFAIU, both display devices should be detected and clone mode started by default.

OK - can clone and use both monitor and LCD now. Here is what I had to do:

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.moved
init 3
nvidia-xconfig
init 5
nvidia-settings
Configure the displays as desired.

I was able to apply and save the config without problems after that. I think the issue was that I was running the nvidia tools with an existing xorg.conf from whatever is shipped with openSUSE and the nvidia tools were merging with it. The key was probably to allow nvidia to start from scratch.

Many thanks for your help!

Glad to have been of help. :slight_smile: