Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
twinview screen resolution [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Wed Apr 04, 2007 10:44 pm    Post subject: twinview screen resolution [SOLVED] Reply with quote

hello.
i have been working on a twinview configuration for an mx440 with limited success.
currently my xorg.conf is:
Code:
Section "ServerLayout"
        Identifier     "TwinView"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "dbe"
        Load  "dri"
        Load  "freetype"
        Load  "type1"
EndSection
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection
Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VideoRam    65536
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 MX 440]"
        BusID       "AGP:01:00:0"
        Option "NvAGP" "1"
        Option "TwinView" "true"
        Option "SecondMonitorHorizSync" "31.0-80.0"
        Option "SecondMonitorVertRefresh" "60.0-75.0"
        Option "MetaModes" "1280x1024, 1280x1024; 1280x1024"
        Option "TwinViewOrientation" "RightOf"
        Option "Xinerama" "on"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1280x1024" "1152x1024" "1024x768" "800x600" "640x480"
                ViewPort 0 0
        EndSubsection
EndSection

my problem is this: when i startx, or use X -config, both screens will display and the right-left orientation is correct, however, one screen will not use the correct resolution. in fact it only displays the upper-left corner of the display. i read a post that sounded similar which suggested recompiling kde with support for xinerama, which i did but to no avail. i've played a little with the megamodes and modes lines but it seems that anything i change makes the display go down to just one monitor.
any suggestions much appreciated. thanks.
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson


Last edited by to_kallon on Wed Apr 18, 2007 2:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
phant0ml0rd
n00b
n00b


Joined: 09 Oct 2006
Posts: 34

PostPosted: Thu Apr 05, 2007 11:23 am    Post subject: Xinerama Reply with quote

Hi ... Have you tried turning Xinerama Off?
Back to top
View user's profile Send private message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Thu Apr 05, 2007 1:09 pm    Post subject: Reply with quote

:oops: i should have mentioned that. it was originally not included, which i'm guessing is "off" then when i recompiled kde i thought i would try it "on" since i compiled in support but when that didn't work i tried it back and forth a few times without noticeable improvement.
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson
Back to top
View user's profile Send private message
phant0ml0rd
n00b
n00b


Joined: 09 Oct 2006
Posts: 34

PostPosted: Sat Apr 07, 2007 12:19 am    Post subject: Try this Reply with quote

Instead of
Code:
        Option "SecondMonitorHorizSync" "31.0-80.0"
        Option "SecondMonitorVertRefresh" "60.0-75.0"
        Option "TwinViewOrientation" "RightOf"


Use
Code:
        Option "TwinViewOrientation" "CRT-0 LeftOf CRT-1"
        Option "HorizSync"   "CRT-0: 31-80; CRT-1: 30-83"
        Option "VertRefresh" "CRT-0: 56-76; CRT-1: 56-76"
        Option "ConnectedMonitor" "CRT-0,CRT-1"


Also, what are your monitor resolutions ?
Back to top
View user's profile Send private message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Wed Apr 18, 2007 1:52 pm    Post subject: Reply with quote

after making that change it only displays on the left-hand monitor, but it does so at an appropriate resolution.
i did not think to mention it before, but both monitors are lcd's connected via vga. for this reason i believe they are to be listed as crt's but if this is incorrect it could be a problem.
thanks for your reply :D
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson
Back to top
View user's profile Send private message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Wed Apr 18, 2007 2:02 pm    Post subject: Reply with quote

it would seem i spoke too soon.
i disconnected the dual monitors after trying your suggestion and re-connected the crt i've been using until i get twinview working without changing xorg.conf back to the single monitor configuration, thinking that since it was displaying on only one monitor it wouldn't make any difference. i was wrong.
now the screen is spanning off the single crt, at an appropriate resolution, but will not display on a second monitor. additionally, the monitor connected to the vga port that does seem to be spanning now is on a kvm, i've no idea if this could make a difference for the configuration.
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson
Back to top
View user's profile Send private message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Wed Apr 18, 2007 2:11 pm    Post subject: Reply with quote

since my post a few minutes ago i have realized that i was using the wrong cable :oops: , so, after straightening things out about which monitors i should be viewing, the spanning is working correctly across the wrong monitors. however, using the additional crt i mentioned above and the lcd that should be functioning as the right-side display all of the display is sent to the above-mentioned crt, just as before with the left-side lcd. i cannot recall verifying its, the right-side lcd, refresh rates and such, and it occurs to me to wonder if it would not display for this reason. i will endeavor to answer this myself but guidance is always appreciated.
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson
Back to top
View user's profile Send private message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Wed Apr 18, 2007 2:16 pm    Post subject: Reply with quote

it works!
thank you very much phant0ml0rd, i couldn't have done it without you. if i see you irl i'll buy you a steak dinner. thanks again.
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Tue May 15, 2007 7:49 pm    Post subject: Reply with quote

to_kallon wrote:
it works!
thank you very much phant0ml0rd, i couldn't have done it without you. if i see you irl i'll buy you a steak dinner. thanks again.

Can you post your xorg.conf, please?
I have a problem with obtain two different resolution in my laptop monitor (1280x800) and in my external monitor (1024x768).
I desire to clone my desktop in laptop (1280x800) to external monitor (1024x768).
Can you help me?
This is my xorg.conf:
Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen         0 "Screen0" 0 0
    Option         "Xinerama"                  "False"
    InputDevice    "TouchPad0"                 "CorePointer"
    InputDevice    "Mouse0"                    "SendCoreEvents"
    InputDevice    "Keyboard0"                 "CoreKeyboard"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/encodings"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/util"
    FontPath        "/usr/share/fonts/artwiz-latin1"
    FontPath        "/usr/share/fonts/dejavu"
EndSection

Section "Module"
    Load           "glx"
    SubSection     "extmod"
        Option     "omit xfree86-dga"
    EndSubSection
    Load           "dbe"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "AutoRepeat"                "500 30"
    Option         "XkbRules"                  "xorg"
    Option         "XkbModel"                  "pc105"
    Option         "XkbLayout"                 "it"
EndSection

Section "InputDevice"
    Identifier     "TouchPad0"
    Driver         "synaptics"
    Option         "SendCoreEvents"
    Option         "Device"                    "/dev/input/mouse0"
    Option         "Protocol"                  "auto"
    Option         "SHMConfig"                 "True"
    Option         "LeftEdge"                  "1900"
    Option         "RightEdge"                 "5300"
    Option         "TopEdge"                   "1700"
    Option         "BottomEdge"                "4200"
    Option         "FingerLow"                 "25"
    Option         "FingerHigh"                "30"
    Option         "MaxTapTime"                "180"
    Option         "MaxTapMove"                "220"
    Option         "VertScrollDelta"           "100"
    Option         "MinSpeed"                  "0.09"
    Option         "MaxSpeed"                  "0.18"
    Option         "AccelFactor"               "0.0015"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"                  "auto"
    Option         "Device"                    "/dev/input/mice"
    Option         "ZAxisMapping"              "4 5 6 7"
    Option         "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    DisplaySize     330    207
    HorizSync       31.5 - 55.0
    VertRefresh     40.0 - 70.0
    ModeLine       "1024x768" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
EndSection

Section "Device"
    Identifier     "nVidia GeForce Go 7600"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BusID          "PCI:02:00:0"
    Option         "TwinView"                  "True"
    Option         "TwinViewXineramaInfoOrder" "DFP, CRT"
    Option         "UseDisplayDevice"          "DFP, CRT"
    Option         "TwinViewOrientation"       "DFP clone CRT"
    Option         "NoPowerConnectorCheck"
    Option         "UseEdidFreqs"              "True"
    Option         "Metamodes"                 "CRT-0: 1024x768, DFP-0: 1280x800"
#    Option         "Metamodes"                 "CRT-0: 1024x768, DFP-0: 1024x768"       WORK, BUT IN 1024x768 RESOLUTION!!!
    Option         "SecondMonitorHorizSync"    "31-82"
    Option         "SecondMonitorVertRefresh"  "56-76"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "nVidia GeForce Go 7600"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NvAGP"                     "3"
    Option         "NoLogo"                    "True"
    Option         "AllowGLXWithComposite"     "True"
    Option         "AddARGBGLXVisuals"         "True"
EndSection

Section "Extensions"
    Option         "Composite"                 "True"
    Option         "RENDER"                    "True"
    Option         "DAMAGE"                    "True"
EndSection

_________________
LP
Back to top
View user's profile Send private message
to_kallon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89

PostPosted: Thu May 17, 2007 10:16 pm    Post subject: Reply with quote

i think what you want to do should be possible but i've yet to see anything to lead me to believe that it is.
my xorg.conf has both displays at the same resolution
Code:
Option "MetaModes" "1280x1024, 1280x1024; 1280x1024"

sorry i can't be of more help, if i come across anything that might help i'll post it. good luck!
_________________
God grant me the strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference
-Bill Waterson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum