LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-15-2004, 08:42 AM   #1
flow777bee
LQ Newbie
 
Registered: Jun 2004
Location: baltimore
Posts: 5

Rep: Reputation: 0
3 monitors but 2 screens


hello,
i'm currently running the unstable release of debian, featuring kde 3.2.2 on kernel 2.4.25.

I have a NVIDIA dual head card and an ATI Rage pro.

At first i was only using the NVIDIA card and twinview which gave me one xsession on two screens, complete with screen resistance between the 2 monitors (so that if i maximized a window on one screen it wouldn't fill both, just one). this is a really cool feature that i really enjoy about multi-heading in linux. recently, my work made another monitor necessary. So i went digging through the hadware piles and pulled out a Rage Pro 2 from Ati. I have since gotten it to work properly (for the most part) using xinerama. I'm currently typing on it actually. The ATI card runs on it's own screen but, suddenly both heads of my NVIDIA card act as one large screen so that if i maximize a window in one of the screens it fills both.

Is there a way to divide my second screen so that i have three?

here's my XF86Config-4:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Second Screen" 0 0
Screen 1 "Default Screen" RightOf "Second Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
# local font server
# if the local font server has problems, we can fall back on these
FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"

#Load "GLcore" #rem for debug
Load "bitmap"
Load "dbe"
Load "ddc"
#Load "dri" #ditto
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard"
Driver "keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" ""
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "IBM"
ModelName "IBM19ed"
HorizSync 70.0 - 80.0
VertRefresh 65.0 - 75.0
ModeLine "1280x1024/74Hz" 135.0 1280 1312 1456 1712 1024 1027 1030 1064
Option "DPMS" "true"
Option "TwinView" "true"
Option "SecondMonitorHorizSync" "30-96"
Option "SecondMonitorVertRefresh" "50-160"
Option "MetaModes" "1280x1024, 1280x1024; 1024x768, 1024x768"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "IBM"
ModelName "IBM19ed"
HorizSync 80.0 - 80.0
VertRefresh 75.0 - 75.0
Option "DPMS" "true"
EndSection

Section "Device"

#BusID "PCI:1:0:0"
Identifier "Generic Video Card"
Driver "nvidia"
Option "NvAGP" "3"
Option "RenderAccel" "1"
EndSection

Section "Device"
Identifier "ATI Rage Pro"
Driver "ati"
BusID "PCI:2:10:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Second Screen"
Device "ATI Rage Pro"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024/74Hz" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


Thank You for all your help. Browsing the articles on this forum has been so helpful, i figured i might as well try posting a question.
 
Old 06-30-2004, 10:20 PM   #2
RunLevelZero
Member
 
Registered: Jun 2004
Distribution: Debian
Posts: 46

Rep: Reputation: 15
Not sure but

I believe your problem is due to using xinerama. I don't think TwinView and Xinerama work well together. You need to use one or the other. There use to be a graphical utility for setting up dual monitors but it was nvidia specific. I'll look around to see if I can find anything that can help a bit more but I'm not all too sure at the moment besides xinerama is taking over the twinview settings.
 
Old 07-07-2004, 11:09 AM   #3
flow777bee
LQ Newbie
 
Registered: Jun 2004
Location: baltimore
Posts: 5

Original Poster
Rep: Reputation: 0
cool! thanks!
 
Old 07-30-2004, 12:03 PM   #4
inataysia
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
flowbee, i have exactly the same problem: i have a gf4600ti and an ati rage xl pro, and i'd like to be able to use twinview (to get GL acceleration on at least one head), but i would also like to be able to drag windows across all three monitors.

what'd you do to fix things?
 
Old 07-30-2004, 04:43 PM   #5
flow777bee
LQ Newbie
 
Registered: Jun 2004
Location: baltimore
Posts: 5

Original Poster
Rep: Reputation: 0
i haven't found a solution for it yet actually,

i haven't heard back from RunLevelZero

though i think maybe the solution has something to do with having xinerama map to the two heads on the nvidia card as though they were two seperate cards and bypassing twinview alltogether. i'm not sure, i've just been coping with it, but a solution would definitely improve my workflow...

oh well..
c'est la vie
 
Old 07-31-2004, 01:38 PM   #6
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
here's relevant exerpts my XF86Config-4
The left screen is cloned on the S-Video.
There are different values for
Option "TwinViewOrientation" "Clone".
Using those you could probably get it on any side of the other nvidia output.
I hope this helps.

Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Option          "Xinerama" "true"
        Screen          "Screen0"
        Screen          "Screen1" RightOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
        Option "Xinerama" "true"
EndSection
Code:
 Driver      "nvidia"
        #added for tvOut
        #black and white functional
        #added following two lines
        Option "NvAGP" "1"
        #Option "IgnoreEDID" "1"
        #Boot didn't like'em
        Option "DPMS"
        Option "TwinView" "True"
        Option "SecondMonitorHorizSync"     "30-50"
        Option "SecondMonitorVertRefresh"   "60"
        Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"
        #Option "MetaModes" "1024x768,800x600"
        Option "TVStandard" "NTSC-M"
        Option "TVOutFormat" "SVIDEO"
        #Option "ConnectedMonitor" "CRT,TV"
        #above was changed to SVIDEO from COMPOSITE 050804
        Option "TwinViewOrientation" "Clone"
        VendorName  "All"
        BoardName   "All"
        BusID       "PCI:2:0:0"
EndSection

#ati Card1
Section "Device"
        ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card1"

        Driver      "ati"
        VendorName  "All"
        BoardName   "All"
        BusID       "PCI:1:9:0"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24

        SubSection "Display"
                Depth     1
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

#Screen1
Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     1
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes  "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
 
  


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
No Screens Jason0 Linux - Newbie 3 10-01-2005 01:04 PM
No Screens?! suckerr70 Linux - Newbie 6 04-13-2005 12:41 AM
2 monitors, nvidia, problem with window-size (maximize uses both monitors) meximex Linux - Hardware 1 05-19-2004 04:37 AM
Nvidia dual monitors seperate X screens on one ghx card troubles lrt2003 Linux - General 4 04-20-2004 02:57 AM
TV's, CRT Monitors, LCD Monitors... refresh rates and other questions MasterC General 13 05-12-2003 04:00 AM


All times are GMT -5. The time now is 03:03 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