LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-02-2005, 09:08 AM   #1
canuck_barlow
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
Dual Monitor Setup


I'm trying to set up a dual monitor configuration with my laptop. I know my graphics card can do this because it works perfect in Win XP.

When I went into YaST to configure it, it simply said it wasn't possible or something.

My graphics card is a SIS somethingerother. In Windows I had to use a SIS tool to configure the card to multimonitor. Do I need to download that utility for Linux?

Thanks
 
Old 03-02-2005, 09:30 AM   #2
Freyr
LQ Newbie
 
Registered: Jan 2005
Distribution: Arch Linux 0.7
Posts: 24

Rep: Reputation: 15
To use a second monitor you have to set up Xorg (or XFree86) with a new config file which specifies a second screen. If you look in your Xorg.conf /etc/X11/xorg.conf under your screen you can see your screen section and add the following code

Quote:
Option "TwinView" "true"
Option "SecondMonitorHorizSync" "<yoursync>"
Option "SecondMonitorVertRefresh" "<yourrefresh>"
Option "MetaModes" "1280x1024, 1280x1024; 1280x1024, 1280x1024;"
Option "TwinViewOrientation" "RightOf"
Option "Xinerama" "on"
Then restart X.

I don't believe that the SiS utility will work for Linux even under Wine. Unless they have a native port which is rare.
 
Old 03-11-2005, 02:36 AM   #3
canuck_barlow
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Original Poster
Rep: Reputation: 15
thanks for the reply. that works great to have two monitors show the same thing which makes me believe I didn't form my question correctly.

I would like to have it setup so that both monitors share the same workspace, in other words, the mouse and windows can be moved from one monitor to another and essentially create a "wide screen" feel to the desktop.

sorry, for the miscommunication. I hope somebody will have a solution for this.
 
Old 03-11-2005, 03:02 AM   #4
Lake-end
LQ Newbie
 
Registered: Aug 2004
Location: Tampere, Finland
Distribution: Suse 10
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by Freyr
To use a second monitor you have to set up Xorg (or XFree86) with a new config file which specifies a second screen. If you look in your Xorg.conf /etc/X11/xorg.conf under your screen you can see your screen section and add the following code
Could you please post your whole xorg.conf if you have this thing working, in non-clone mode I mean. I have immense troubles setting up my Fedora Core 2, Radeon 9700 dual monitors. I can make it work in clone mode but even using xinerame I can't get it to work in non-clone mode. If someone has any advice then please ...
 
Old 03-11-2005, 12:28 PM   #5
canuck_barlow
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Original Poster
Rep: Reputation: 15
There is a section for the screen and you just paste the code in there.

but like I said it just imitates the main screen, I want have it so I can move the mouse and windows over to it and stuff.
 
Old 03-11-2005, 01:27 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,101

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
try adding
Option "clone" "off"
 
Old 03-19-2005, 07:14 PM   #7
nonsense28sal
Member
 
Registered: Mar 2005
Location: USA - Oxford, Mississippi
Distribution: Kubuntu-Gutsy, SuSE, Mandriva, Debian
Posts: 89

Rep: Reputation: 15
Problem With Dual Monitors with Nvidia 5700

I'm also having a problem with dual monitors. I have Mandrake 10.1 Official with a nvidia 5700 FX graphics card. I simply want to mirror what I have on my 19” monitor onto the TV out in the living room. I know the set up is correct as I can do this in Windows under Win2K without a problem. Under Mandrake, when I have both the monitor and the TV on at the same time, I get a black screen on the computer and the monitor turns off and my TV is black and “jumpy.” My TV is just a regular TV, not a flat screen or anything. If the TV is not on, Mandrake boots up normally.
I installed the new drivers (NVIDIA-Linux-x86-1.0-7167-pkg1) from nvidia. The install informed me that everything was OK and that it worked.
First I have both a XF86Config and an xorg.conf file in /etc/X11. I've been modifying both since I am not sure which one I'm using. I'll list the contents of both. Here is the contents of the XF86Config file:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "ViewSonic G90fb-2"
HorizSync 30-97
VertRefresh 50-180

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Option "DPMS"
Option "IgnoreEDID" "1"
Option "TwinView" "true"
Option "SecondMonitorHorizSync" "30.0 - 83.0"
Option "SecondMonitorVertRefresh" "56.0 - 75.0"
Option "MetaModes" "1024x768, 1024x768"
Option "TwinViewOrientation" "LeftOf"
Option "ConnectedMonitor" "DFP, DFP"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Here's the xorg.conf file:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "ViewSonic G90fb-2"
HorizSync 30-97
VertRefresh 50-180

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Option "DPMS"
Option "IgnoreEDID" "1"
Option "TwinView" "true"
Option "SecondMonitorHorizSync" "30.0 - 83.0"
Option "SecondMonitorVertRefresh" "56.0 - 75.0"
Option "MetaModes" "1024x768, 1024x768"
Option "TwinViewOrientation" "LeftOf"
Option "ConnectedMonitor" "DFP, DFP"

EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Any help would be appreciated. I'm still new to Linux, but it's been a fun learning experience. I'm trying to wean myself off of Windoze as much as possible.
 
Old 03-19-2005, 08:53 PM   #8
audibel
Member
 
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Rep: Reputation: 30
I just recently posted my config file in another thread, it has dual monitor stretch set up on it, just with nvidia drivers, just take what's missing from it. Do a search on my name.
 
Old 03-20-2005, 11:39 AM   #9
canuck_barlow
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Original Poster
Rep: Reputation: 15
I still can't get this to work properly the way I want it.

Once again, I do not want to mirror or clone or whatever you want to call it. I want to use the second monitor as an extension to the desktop like you can in Windows.
 
Old 03-21-2005, 07:23 AM   #10
miha
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo 2006.0
Posts: 6

Rep: Reputation: 0
I have just the same problem. Ati RADEON 9600 and i would like to use two monitors as a wide desktop side by side. (works great on Windoze(extended desktop))
 
Old 03-21-2005, 08:20 AM   #11
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,101

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
here's my extended desktop setting using two video cards.
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "Multihead layout"
	Screen      0  "Screen0" LeftOf "Screen1"
	Screen      1  "Screen1" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "Xinerama" "on"
	Option	    "Clone" "off"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

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

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Dell 1726T-HS/D1025HT"
	DisplaySize  330	240
	HorizSync    31.0 - 85.0
	VertRefresh  50.0 - 100.0
	Option	    "dpms"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Dell P991"
	HorizSync    30.0 - 107.0
	VertRefresh  48.0 - 120.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "ati"
	VendorName  "Videocard vendor"
	BoardName   "ATI Mach64"
EndSection

Section "Device"
	Identifier  "Videocard1"
	Driver      "mga"
	VendorName  "Videocard Vendor"
	BoardName   "Matrox Millennium"
	BusID       "PCI:0:11:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1024x768"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
 
Old 03-21-2005, 11:19 AM   #12
bng
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora core 3
Posts: 11

Rep: Reputation: 0
audibel - can you put a link up for your config file. I tried searching "audibel twinview", "audibel dual", "audibel stratch" and didn't get anything, so I am guessing I don't know how to use the search properly.(I couldn't see an advanced searh anywhere).


Freyr - do you add those lines in the "screen" section, or the "device" section?

Thanks guys. I am having the same problem and I made a seperate post about it in the Linux Newbie section.
 
Old 04-11-2005, 10:27 PM   #13
nonsense28sal
Member
 
Registered: Mar 2005
Location: USA - Oxford, Mississippi
Distribution: Kubuntu-Gutsy, SuSE, Mandriva, Debian
Posts: 89

Rep: Reputation: 15
I just got my dual monitor setup working, after playing with it from my original post in March 2005. I ran across this online config utility: http://www.sorgonet.com/linux/nv-online/.
I ended up using xorg. If someone needs to know exactly which options I used, let me know. I hope this helps!
-S
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
default monitor on nvidia / dual monitor setup fenderog Suse/Novell 3 05-01-2009 05:36 PM
Dual Monitor Setup enemy_z Linux - Hardware 16 11-16-2005 10:20 PM
dual monitor setup CuriouserAndCur Linux - Hardware 3 10-25-2004 02:39 PM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM
dual monitor setup lil213 Linux - Hardware 2 01-14-2004 04:47 AM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration