LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   2 screens, need same resolution (TwinView) (https://www.linuxquestions.org/questions/slackware-14/2-screens-need-same-resolution-twinview-422697/)

drummerdan 03-07-2006 11:29 PM

2 screens, need same resolution (TwinView)
 
After searching and fighting, I finally got twinview to work on my nVidia dual head card. Now I can roll my windows between both screens. The problem thats got me stumped is; I can't change the resolution on my second monitor. I want it to be the same as first monitor (1024x768) but its stuck on a larger mode (1280x960) and I cant read text on it. I've also noticed that on monitor 1 the mouse rolls down to the bottom of the screen then dissapers, as if there was the extra space of the 960 that I can't see. I just want both monitors to run at 1024x768. Here is that section of my Xorg.conf file:
Code:

Section "Monitor"
    Identifier    "My Monitor"
    HorizSync      31.5 - 50.0
    VertRefresh    40.0 - 90.0
EndSection

Section "Device"

    #VideoRam    4096
    # Insert Clocks lines here if appropriate
    Identifier    "VESA Framebuffer"
    Driver        "nvidia"
#added 3.7.06   
    Option "TwinView" "true"
    Option "ConnectedMonitor" "CRT, CRT"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1024x768,1280x960,1280x1024"

EndSection

Section "Screen"
    Identifier    "Screen 1"
    Device        "VESA Framebuffer"
    Monitor        "My Monitor"
    DefaultDepth    24
    SubSection    "Display"
        Depth      8
        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

If I comment out, or edit this line:
Option "MetaModes" "1024x768,1280x960,1280x1024"
then the twinview doesn't work at all. I tried making it just say:
Option "MetaModes" "1024x768"

drummerdan 03-07-2006 11:46 PM

edit: in X's desktop config, it says my screen size is 2304x960 and there are no other options in the drop-down.
p.s. could someone plz tell me how to auto enable numlock???? (yes, my bios is set for it already)

dive 03-08-2006 12:44 AM

To make metamodes work with twinview you specify both resolutions separated by a comma, and then separate modes by a semicolon. What should work for you is this:

Option "MetaModes" "1024x768,1024x768"

piete 03-08-2006 05:48 AM

A quick google about your numlock problem brings up:

http://www.tldp.org/HOWTO/XWindow-Us...oreconfig.html

If you search down, the relevant paragraph (repeated here for your convenience) is:

Quote:

Speaking of the Numlock key, X will typically disable this when it starts up. No matter how you have the BIOS set up, or Linux set up before X starts. So the trick above is one way. There is also a utility available as either numlockx, or setnumlock, that can be found on the 'Net, if your distribution does not include one or the other. This can be put in a start up file to turn Numlock on automatically if you'd prefer.
Alternatively, if you want to use a larger resolution you can make that smaller monitor scroll (so you don't loose the dead space). Read the nVidia readme on the drivers to see how to manipulate the metamodes =)

- Piete.

drummerdan 03-08-2006 03:39 PM

Quote:

Option "MetaModes" "1024x768,1024x768"
Worked like a charm! My main reason for wanting this is now I can read tutorials/readmes on one screen, while working in the terminal on the other. Perfect for a novice. The numlock question was more or an output of my frustration, after restarting X 20 times and constantly forgetting numock when putting in those resolutions.

dive 03-08-2006 04:41 PM

I find numlockx quite good and it's a simple install


All times are GMT -5. The time now is 03:41 PM.