LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-21-2005, 10:53 AM   #1
bng
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora core 3
Posts: 11

Rep: Reputation: 0
twinview FX5200 fedora


I know there are lots of posts about this, but I have tried what has been suggested on them and I can't get twinview to work. I am a very new linux user so please forgive any ignorance I show. I have two 19" monitors that run @ 1600x1200 and an nvidia FX5200 card with two DVI connectors. I am trying to get twinview to work as it dose in windose XP. I am running Fedora Core 3 and have updated all the packages and core to the latest one avaliable. I have installed the latest nvidia driver: NVIDIA-Linux-x86-1.0-6629-pkg1.run. As per the instructions I have commented out the "dri" and changed the driver "nv" to "nvidia". I added the twinview options in as per appendix I of the driver manual. The result of doing these things is that the monitor displays on one screen and pans from left to right.

I then started making changes that this forum suggested but the display is still the same. I will post my xorg.conf file below. If any could tell me what is wrong I would be most grateful as this is driving me slowly mad.

N.B. Is there a way of exiting and reloading X so that I don't have to re-boot every time I alter the xorg.conf file?


*Original file edited at request of contributor and posted below*

Last edited by bng; 03-22-2005 at 11:26 AM.
 
Old 03-21-2005, 06:05 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Did you paste that twice? I'm all confused trying to read that.
Futher, even assuming you pasted the file twice, look at this:
Code:
Section "DRI"
Group 0
Mode 0666
EndSection


Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200"
EndSubSection
EndSection
What does that bold "EndSection" match?
I just can't make any sense out of your file...
Can you clean it up a bit for us?

Get rid of the DRI sections because you aren't even using it, Get rid of the massive chunks of commented lines (if you want to save them, save as xorg.conf.example), and please post the file inside a "code" section so that it maintains some amount of formating and indention, etc.

If you clean it up a bit I'll come back and take a close look at it later.
Good luck!
 
Old 03-22-2005, 05:12 AM   #3
bng
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora core 3
Posts: 11

Original Poster
Rep: Reputation: 0
I believe I have done what you have asked. I have removed all the commented lines adn deleted the DRI section. Here is the updated version of my xorg.conf file. I think you were right about me pasting it twice last time. I have previewed this one and it looks fine. Any help greatly appreciated.

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"
EndSection

Section "Files"
	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"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"
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    "HM903D/DT"
	DisplaySize  360	290
	HorizSync    30.0 - 130.0
	VertRefresh  50.0 - 200.0
	Option	    "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor 1600x1200"
        HorizSync    31.5 - 94.0
        VertRefresh  50.0 - 90.0
        Option      "dpms"
EndSection

Section "Device"
	Option      "TwinView" "true"
        Option      "MetaModes"                  "1600x1200,1600x1200;1024x768,1024x768;800x600,800x600"
        Option      "SecondMonitorHorizSync"     "30-60"
        Option      "SecondMonitorVertRefresh"   "50-70"
        Option      "TwinViewOrientation"        "LeftOf"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Videocard0"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1600x1200"
        EndSubSection
EndSection
 
Old 03-23-2005, 04:51 AM   #4
bng
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora core 3
Posts: 11

Original Poster
Rep: Reputation: 0
Anything?
 
Old 03-23-2005, 07:17 PM   #5
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
I think I know what the problem is. I see you have the twinview settings placed in the "Device" section. Try putting them in your "Screen" section. Here's what mine looks like:

Code:
Section "Screen"
    Identifier	"Screen 1"
    Device	"GeForce 6800 GT"
    Monitor	"VA930"
    DefaultDepth 24

    # Twinview settings
    Option      "ConnectedMonitor"         "CRT,CRT"
    Option      "IgnoreDisplayDevices"     "TV"
    Option      "TwinView"                 "true"
    Option      "SecondMonitorHorizSync"   "30-64"
    Option      "SecondMonitorVertRefresh" "60-70"
    Option      "MetaModes"                "1280x1024, 1280x1024"
    Option      "TwinViewOrientation"      "LeftOf"
    Option      "Xinerama"                 "on"

    SubSection "Display"
        Depth		24
        Modes		"1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
Hope that helps!
 
Old 03-24-2005, 05:18 AM   #6
bng
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora core 3
Posts: 11

Original Poster
Rep: Reputation: 0
I originally put the twinview settings in the Device section based on the instructions supplied with the nvidia driver that says

"To enable TwinView, you must specify the following options in the Device

section of your X Config file:"

I have tried moving the twinview settings to both screen1 and screen0 and restarting the machine, but the second monitor still remains in a standby mode. I have put my current xorg.conf file below, with the twinview settinging in screen0. When I tried moving them to screen1 they were between the "DefaultDepth 24" and "SubSection "Display"" lines. Any other suggestions?

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"
EndSection

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

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"
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    "HM903D/DT"
	DisplaySize  360	290
	HorizSync    30.0 - 130.0
	VertRefresh  50.0 - 200.0
	Option	    "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor 1600x1200"
        HorizSync    31.5 - 94.0
        VertRefresh  50.0 - 90.0
        Option      "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
        #Twinview Settings
        Option      "TwinView" "true"
        Option      "MetaModes"                  "1600x1200,1600x1200;1024x768,1024x768;800x600,800x600"
        Option      "SecondMonitorHorizSync"     "30-60"
        Option      "SecondMonitorVertRefresh"   "50-70"
        Option      "TwinViewOrientation"        "LeftOf"
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Videocard0"
        Monitor    "Monitor1"
        DefaultDepth     24
# tried twinview options in this location as well
       SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1600x1200"
        EndSubSection
EndSection
 
Old 03-24-2005, 01:13 PM   #7
kokopelli
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
I am also having almost exactly the same problem trying to use twinview for nvidia (GeForce FX). No matter where I put the twinview settings (device or screen), the desktop spans one monitor and the laptop LCD display. I have tried suggestions from many of the different threads, and just can't seem to get this right. I have seen various posts about using two screen sections, one screen section, two monitor sections, one monitor section... If you manage to get yours working, please post your x config as I would like to get my setup working as well!
 
Old 03-24-2005, 05:56 PM   #8
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Gosh, I just don't know. I'll post my whole file, maybe you can make it work, and morph the two until you get what you need. All I know is this works for me:

Code:
Section "Files"
    RgbPath     "/usr/lib/X11/rgb"
    FontPath    "/usr/share/fonts/local/"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/CID/"
    FontPath    "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"
    ModulePath  "/usr/X11R6/lib/modules"
EndSection

######################################################################

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

######################################################################

Section "ServerFlags"
    Option      "blank time"               "10"
    Option      "DisableVidModeExtension"  "no"
    Option      "standby time"             "20"
    Option      "suspend time"             "30"
    Option      "off time"                 "60"
EndSection

######################################################################

Section "InputDevice"
    Identifier  "PS/2 Keyboard"
    Driver      "keyboard"
    Option      "AutoRepeat"    "400 30"
    Option      "XkbModel"      "pc104"
    Option      "XkbOptions"    "ctrl:swapcaps"
    Option      "XkbRules"      "xfree86"
    Option      "XkbLayout"     "us"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol"        "ImPS/2"
    Option      "CorePointer"
    Option      "SendCoreEvents"  "true"
    Option      "Emulate3Buttons" "false"
    Option      "ZAxisMapping"    "4 5"
    Option      "Device"          "/dev/mouse"
EndSection

######################################################################

Section "Monitor"
    Identifier  "VA930"
    HorizSync   30-64
    VertRefresh 60-70
    Option      "dpms"
EndSection

######################################################################

Section "Device"
    Identifier  "GeForce 6800 GT"
    Driver      "nvidia"
    Option      "NoLogo" "on"
EndSection

######################################################################

Section "Screen"
    Identifier  "Screen 1"
    Device      "GeForce 6800 GT"
    Monitor     "VA930"
    DefaultDepth 24

    # Twinview settings
    Option      "ConnectedMonitor"         "CRT,CRT"
    Option      "IgnoreDisplayDevices"     "TV"
    Option      "TwinView"                 "true"
    Option      "SecondMonitorHorizSync"   "30-64"
    Option      "SecondMonitorVertRefresh" "60-70"
    Option      "MetaModes"                "1280x1024, 1280x1024"
    Option      "TwinViewOrientation"      "LeftOf"
    Option      "Xinerama"                 "on"

    SubSection "Display"
        Depth           24
        Modes           "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

######################################################################

Section "ServerLayout"
    Identifier  "Main Layout"
    Screen      "Screen 1"
    # Screen      "Screen 2" RightOf "Screen 1"
    InputDevice "PS/2 Mouse"    "CorePointer"
    #InputDevice "USB Mouse"     "CorePointer"
    InputDevice "PS/2 Keyboard" "CoreKeyboard"
EndSection
 
Old 03-24-2005, 05:59 PM   #9
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
It may be the
Code:
Option      "ConnectedMonitor"         "CRT,CRT"
line. I have read that sometimes autodection fails and you need to specify the attached monitor type manually. Give it a try?
 
Old 03-25-2005, 06:40 AM   #10
bng
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora core 3
Posts: 11

Original Poster
Rep: Reputation: 0
I tried adding in the "Option "ConnectedMonitor" "CRT,CRT"" line in the same place as the xorg.conf file you put up, but it didn't make any difference. I will try more permuations after easter when I have more time. Can I ask why you only have one monitor section and one screen section and I have two? Do you think that will make a difference. Also, in the serverlayout section, you have refered to screen 1 and 2, where as I have refered to them as screen 0 and 1. Will this cause a problem?

Happy Easter

Last edited by bng; 03-25-2005 at 07:15 AM.
 
Old 03-25-2005, 10:40 AM   #11
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Well, you can have as many screen, device, etc sections you want. I just have one screen section because I only have one screen connected to my computer (twinview driver handles the other one, I don't need to tell x about it directly). As far as Screen0 and Screen1 vs. Screen1 and Screen2, the name doesn't matter. You could name a screen "wazozozozoooo" (in the Identifier line) if you felt like it, it's just a name.

Maybe this is why the thing doesn't work for you. I see you have:
Code:
Section "ServerLayout"
        Identifier     "Multihead layout"
        Screen      0  "Screen0" LeftOf "Screen1"
        Screen      1  "Screen1" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Turn that into:
Code:
Section "ServerLayout"
        Identifier     "Multihead layout"
        Screen         "Screen0"
	InputDevice    "Mouse0"     "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 
Old 03-25-2005, 03:19 PM   #12
linux explorer
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Thumbs up got mine working

Hi

i am new here. i been trying to configure my X server to use twinview as well. after reading some ur posts.i finally got it.i am sticking my xorg.conf file here.. Might help u guys out.

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Multihead Layout"
Screen "Screen0" LeftOf "Screen1"
Screen "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
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" "gb"
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 "AL1711"
DisplaySize 340 270
HorizSync 30.0 - 83.0
VertRefresh 55.0 - 75.0
Option "dpms"
EndSection





Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "AL1714"
DisplaySize 340 270
HorizSync 30.0 - 83.0
VertRefresh 55.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Option "ConnectedMonitor" "CRT,CRT"
Option "TwinView"
Option "MetaModes" "1280x1024,1280x1024"
Option "SecondMonitorHorizSync" "30-83"
Option "SecondMonitorVertRefresh" "55-750"
# Option "TwinViewOrientation" "LeftOf"
Option "Xinerama"

Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
# Option "ConnectedMonitor" "CRT,CRT"
# Option "TwinView" "true"
# Option "MetaModes" "1280x1024,1280x1024"
# Option "SecondMonitorHorizSync" "30-60"
# Option "SecondMonitorVertRefresh" "50-70"
# Option "TwinViewOrientation" "LeftOf"

Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024"
EndSubSection
EndSection
#Section "DRI"
# Group 0
# Mode 0666
#EndSection

good luck
 
Old 03-28-2005, 09:08 AM   #13
kokopelli
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
Are y'all working on laptops or desktops? Maybe my problem is that I have essentially 3 monitors - two flat screens, and the laptop's own display. If I have ConnectedMonitor set to "CRT,CRT" I get the desktop spanning the VGA and the laptop; if I set it to "DFP,DFP" then it spans the DVI and the laptop. Trying a combination didn't get me anywhere - it still insists on using the laptop's display. Any ideas on how I force it to using both external monitors rather than the laptop display?
 
Old 03-30-2005, 04:19 PM   #14
kokopelli
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
Just in case anyone else has this problem... turned out that I had to specify the "ConnectedMonitor" as "CRT-1,DFP" - just using CRT wasn't enough to define the second flat panel.
 
Old 03-31-2005, 01:55 AM   #15
linux explorer
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
i am using 2 flat panels attached to a desktop using Geforce FX5200 dual display card, i specified ConnectedMonitors as CRT,CRT. but kokopelli ur monitor configuration is unique.
 
  


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
FX5200 or MX4000? poto_floyd Linux - Hardware 4 09-12-2005 11:00 PM
FX5200 Twinview blanks FPD with 6111+ bigwind Linux - Hardware 0 05-14-2005 04:18 PM
TwinView with Gforce fx 5200 on Fedora Core 1,not working Sathanas Linux - Hardware 0 04-20-2004 10:42 PM
fx5200 problem Dakkar Linux - Newbie 7 01-18-2004 04:23 PM
how can i know if my FX5200 is a 64 or a 128bit? kublador General 13 09-22-2003 10:02 PM


All times are GMT -5. The time now is 02:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration