LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-03-2005, 08:05 PM   #1
MadCowDzz
Member
 
Registered: May 2003
Location: Canada
Distribution: Ubuntu, Suse 10
Posts: 58

Rep: Reputation: 15
Multiple Monitors on a single Multihead card


Yes, there are millions of threads on any linux forum regarding this very topic... and yes, there are many of guides out there in this world wide web to answer any newbie/novice question... and yes, I feel like I've read them all.

I believe everything in my configuration file looks fine... Suse's Control Center seems to recognize both screens (allowing me to visually change the properties in the Config file)... the screen's light up during the motherboards' booting up and the operating system's loading screens... alas, I never receive a desktop...

After the loading, the screen goes blank... my mouse won't move to the screen... it just isn't there... Hopefully someone can help me customize my XF86Config file to finally get this working.

Note, I am using Suse 10.
I've my XF86Config file included below.

Code:
# /.../
# SaX generated X11 config file
# Created on: 2005-11-01T22:20:18-0500.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (7.1)
# 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"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

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

Section "InputDevice"
  Driver       "kbd"
  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" "7"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImExPS/2 Generic Explorer Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  340 270
  HorizSync    30-81
  Identifier   "Monitor[0]"
  ModelName    "NEC LCD1715"
  Option       "DPMS"
  VendorName   "NEC"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection

Section "Monitor"
  DisplaySize  340 270
  HorizSync    30-81
  Identifier   "Monitor[1]"
  ModelName    "NEC LCD1715"
  Option       "DPMS"
  VendorName   "NEC"
  VertRefresh  43-75
  UseModes     "Modes[1]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068
  Modeline 	"1280x960" 126.27 1280 1368 1504 1728 960 961 964 1001
  Modeline 	"1280x960" 107.32 1280 1360 1496 1712 960 961 964 995
  Modeline 	"1280x800" 104.35 1280 1360 1496 1712 800 801 804 835
  Modeline 	"1280x800" 88.68 1280 1352 1488 1696 800 801 804 830
  Modeline 	"1152x864" 102.08 1152 1224 1352 1552 864 865 868 901
  Modeline 	"1152x864" 86.70 1152 1224 1344 1536 864 865 868 896
  Modeline 	"1280x768" 99.17 1280 1352 1488 1696 768 769 772 801
  Modeline 	"1280x768" 84.35 1280 1344 1480 1680 768 769 772 797
  Modeline 	"1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
  Modeline 	"1024x768" 67.48 1024 1080 1184 1344 768 769 772 797
  Modeline 	"800x600" 47.53 800 840 920 1040 600 601 604 626
  Modeline 	"800x600" 40.19 800 832 912 1024 600 601 604 623
  Modeline 	"768x576" 43.52 768 800 880 992 576 577 580 601
  Modeline 	"768x576" 37.37 768 800 880 992 576 577 580 598
  Modeline 	"640x480" 29.84 640 664 728 816 480 481 484 501
  Modeline 	"640x480" 25.10 640 656 720 800 480 481 484 498
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline 	"1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068
  Modeline 	"1280x1024" 114.54 1280 1360 1496 1712 1024 1025 1028 1062
  Modeline 	"1280x960" 126.27 1280 1368 1504 1728 960 961 964 1001
  Modeline 	"1280x960" 107.32 1280 1360 1496 1712 960 961 964 995
  Modeline 	"1280x800" 104.35 1280 1360 1496 1712 800 801 804 835
  Modeline 	"1280x800" 88.68 1280 1352 1488 1696 800 801 804 830
  Modeline 	"1152x864" 102.08 1152 1224 1352 1552 864 865 868 901
  Modeline 	"1152x864" 86.70 1152 1224 1344 1536 864 865 868 896
  Modeline 	"1280x768" 99.17 1280 1352 1488 1696 768 769 772 801
  Modeline 	"1280x768" 84.35 1280 1344 1480 1680 768 769 772 797
  Modeline 	"1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
  Modeline 	"1024x768" 67.48 1024 1080 1184 1344 768 769 772 797
  Modeline 	"800x600" 47.53 800 840 920 1040 600 601 604 626
  Modeline 	"800x600" 40.19 800 832 912 1024 600 601 604 623
  Modeline 	"768x576" 43.52 768 800 880 992 576 577 580 601
  Modeline 	"768x576" 37.37 768 800 880 992 576 577 580 598
  Modeline 	"640x480" 29.84 640 664 728 816 480 481 484 501
  Modeline 	"640x480" 25.10 640 656 720 800 480 481 484 498
EndSection

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

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection

Section "Device"
  BoardName    "GeForce 6600 (Gigabyte)"
  BusID        "5:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option       "ShadowFB" "on"
  Screen       0
  VendorName   "Gigabyte"
EndSection

Section "Device"
  BoardName    "GeForce 6600 (Gigabyte)"
  BusID        "5:0:0"
  Driver       "nvidia"
  Identifier   "Device[1]"
  Option       "ShadowFB" "on"
  Screen       0
  VendorName   "Gigabyte"
EndSection

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

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection
 
Old 11-03-2005, 09:30 PM   #2
mraray
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
Hey,

I have similar hardware (geforce 6600) - However I explicitily stated the busid (AGP, not PCI) - maybe this might help?

Cheers,
Andrew

(here is a section of my working config)

Code:
Section "Device"
    Identifier  "NvidiaOut1"
    Driver      "nvidia"
    VideoRam    131072
    Option "RenderAccel" "true"
   Screen 0
        BusID   "AGP:01:00:0"

    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier  "NvidiaOut2"
    Driver      "nvidia"
    VideoRam    131072
    Option "RenderAccel" "true"
    Screen 1
        BusID   "AGP:01:00:0"

    # Insert Clocks lines here if appropriate
EndSection
 
Old 11-03-2005, 09:42 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Have a look at appendix G of this:
ftp://download.nvidia.com/XFree86/Li...676/README.txt

It tells you exactly what to put in your XF86Config.

Dave
 
Old 11-03-2005, 10:04 PM   #4
MadCowDzz
Member
 
Registered: May 2003
Location: Canada
Distribution: Ubuntu, Suse 10
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mraray
Hey,

I have similar hardware (geforce 6600) - However I explicitily stated the busid (AGP, not PCI) - maybe this might help?

Cheers,
Andrew
Mine is PCIe, it may be slightly different.
 
Old 11-03-2005, 10:05 PM   #5
MadCowDzz
Member
 
Registered: May 2003
Location: Canada
Distribution: Ubuntu, Suse 10
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ilikejam
Have a look at appendix G of this:
ftp://download.nvidia.com/XFree86/Li...676/README.txt

It tells you exactly what to put in your XF86Config.

Dave
Cheers mate, I'll give it a read.
 
Old 11-05-2005, 09:46 AM   #6
MadCowDzz
Member
 
Registered: May 2003
Location: Canada
Distribution: Ubuntu, Suse 10
Posts: 58

Original Poster
Rep: Reputation: 15
Should I put Option "TwinView" and Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768" in both Device sections?
 
Old 11-05-2005, 10:55 AM   #7
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
You only need one Device section, and one Screen section.

The first monitor's details should remain in the normal Screen section and the second monitor's specs are entered in the SecondMonitorHorizSync and SecondMonitorVertRefresh options in the Device section.

(The first monitor's default depth etc applies to both monitors, because the nVidia drivers display a single screen which spans both monitors. These options are specified as normal in the Screen section of the first monitor).

Dave
 
Old 11-05-2005, 11:23 AM   #8
MadCowDzz
Member
 
Registered: May 2003
Location: Canada
Distribution: Ubuntu, Suse 10
Posts: 58

Original Poster
Rep: Reputation: 15
I was able to fix my problem using my config file above. I changed the second Device to have "Screen 1" instead of "Screen 0"... I got the multiple monitors to work.

ilikejam, is there a difference with doing it this way?
Even though I have it working, would your suggestions yeild a better solution?

Thanks
 
Old 11-05-2005, 11:36 AM   #9
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi again.

Yeah, there is a difference. If you use TwinView, you can get 3D acceleration for both screens.
Apparently there are performance gains in general to be had using TwinView, as the video card only has to render one screen (which spans both monitors) instead of two screens (one for each monitor).

Dave
 
  


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
multiple monitors, laptop, one video card crazydark Linux - Hardware 3 03-18-2005 07:40 AM
Multiple monitors - multiple text consoles (VT) mariuz Linux - General 3 09-07-2004 09:31 AM
multihead agp and single pci video card onewhoknows Linux - Hardware 2 06-11-2004 05:19 AM
Single desktop across two monitors? owain Mandriva 2 05-21-2004 07:09 AM
Multiple Monitors: Can I choose the primary card in XFree86? SparceMatrix Linux - Hardware 3 10-16-2002 12:34 AM


All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
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