LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2004, 02:45 PM   #1
eQualizer
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Debian
Posts: 43

Rep: Reputation: 15
Problem with nVidia TwinView


I tried to get two monitors work in same machine, to help me coding java, but I run to a couple problems...
When I start X with my newly edited (added those TwinView options) XF86Config-4 file, my monitors just blinks couple times, and then I get error that no screens were found.
Here is my config:

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

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 76 Hz"
HorizSync 31.5-82
VertRefresh 50-90

# 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

# 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"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
Option "TwinView"
Option "SecondMonitorHorizSync" "31.5-48.5"
Option "SecondMonitorVertRefresh" "50-90"
Option "MetaModes" "1280x1024,1024x768; 1280x960,1024x768; 1024x768x1280"
Option "TwinViewOrientation" "LeftOf"
Option "ConnectedMonitor" "CRT,CRT"
EndSection

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

Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection


***

I have no idea what to try...
 
Old 02-10-2004, 03:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you look in the log file /etc/var/XFree86.0.log you will more than likley find a real reason WHY there were no screens found. at some point a configuration error has triggered a failure later on and caused the No Screens Found error, which just about the most generic error X can end with. look for lines that start (EE) i'd strongly expect it is one of the twinview options you're passing...

be aware that there are other (imho nicer) ways to configure a dual head system, the synatx there for a twinview head are pretty ugly and obtuse. check the Xinerama howto for details of using your card in a dual head config without using twinview (which is what i do. you can find my config here... http://thirtythreeandathird.net/dualhead)
 
Old 02-10-2004, 04:15 PM   #3
eQualizer
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Debian
Posts: 43

Original Poster
Rep: Reputation: 15
Mmm...
Thanks. Got it working, somehow. Only thing that bugs me is that I can't move program from one monitor to another. And I can't get different resolutions in both monitors.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual monitors / Nvidia Twinview / modeline problem?? d1sc0rd Slackware 4 05-15-2011 04:53 PM
Problem with NVIDIA TwinView Lars[iGuild] Linux - Hardware 0 12-09-2004 01:57 AM
twinview nvidia resoution problem shanenin Linux - Software 3 06-20-2004 01:39 PM
nvidia TWINVIEW problem fredgt Linux - Hardware 1 04-12-2004 10:13 AM
Nvidia Twinview, XF86Config-4 problem. Davno Linux - Software 1 03-24-2004 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:00 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
Open Source Consulting | Domain Registration