Find the answer to your Linux question:
Results 1 to 5 of 5
I am trying to get my second videocard configured so that I can have dual displays. I have followed the how-to on tldp. With my current setup the second monitor ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416

    Xinerama issues


    I am trying to get my second videocard configured so that I can have dual displays. I have followed the how-to on tldp. With my current setup the second monitor displays a no signal message.

    I have ran X -configure and copied the xf86config.new file to xf86config.
    When I start X again with "startx -- +xinerama" I get back into X. My settings on the first monitor are slightly altered (smaller resolution and less colours). Judging by the xf86config file this appears to be normal.

    My second monitor is just black now. It is getting a signal but no picture appears.
    I can drag my cursor onto the second screen, although it dissappears and is thus not visible. With my old set up it gets blocked from dissappearing from my main screen.

    I am not sure what is going on so I will post my xf86config file here. I am surprised that X -configure does not pick up the video ram. At one stage I got the following error
    when issuing X -xf86config /root/XF86Config.new

    mga(1) static buffer allocation failed, not initializing the DRI
    mga(1) need at least 5906kb video memory to run this resolution, bit depth

    I am sure my matrox card has more that that

    Thanks

    Section "ServerLayout"
    Identifier "XFree86 Configured"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Mouse0" "CorePointer" VideoRam 8192
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

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

    Section "Module"
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "record"
    Load "xtrap"
    Load "speedo"
    Load "type1"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    EndSection

    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/mouse"
    EndSection

    Section "Monitor"
    #DisplaySize 320 240 # mm
    Identifier "Monitor0"
    VendorName "VSC"
    ModelName "E70-3"
    Option "DPMS"
    EndSection

    Section "Monitor"
    #DisplaySize 320 240 # mm
    Identifier "Monitor1"
    VendorName "VSC"
    ModelName "E70-3"
    Option "DPMS"
    EndSection

    Section "Device"
    ### Available Driver options are:-
    ### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "SWcursor" # [<bool>]
    #Option "HWcursor" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "Rotate" # [<str>]
    #Option "VideoKey" # [i]
    #Option "FlatPanel" # [<bool>]
    #Option "FPDither" # [<bool>]
    #Option "CrtcNumber" # [i]
    Identifier "Card0"
    Driver "nv"
    VendorName "nVidia Corporation"
    BoardName "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
    BusID "PCI:1:0:0"
    EndSection

    Section "Device"
    ### Available Driver options are:-
    ### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "SWcursor" # [<bool>]
    #Option "HWcursor" # [<bool>]
    #Option "PciRetry" # [<bool>]
    #Option "SyncOnGreen" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "Overlay" # [<str>]
    #Option "MGASDRAM" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "ColorKey" # [i]
    #Option "SetMclk" # <freq>
    #Option "OverclockMem" # [<bool>]
    #Option "VideoKey" # [i]
    #Option "Rotate" # [<str>]
    #Option "TexturedVideo" # [<bool>]
    #Option "Crtc2Half" # [<bool>]
    #Option "Crtc2Ram" # [i]
    #Option "Int10" # [<bool>]
    #Option "AGPMode" # [i]
    #Option "AGPSize" # [i]
    #Option "DigitalScreen1" # [<bool>]
    #Option "DigitalScreen2" # [<bool>]
    #Option "TV" # [<bool>]
    #Option "TVStandard" # [<str>]
    #Option "CableType" # [<str>]
    #Option "NoHal" # [<bool>]
    #Option "SwappedHead" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "MergedFB" # [<bool>]
    #Option "Monitor2HSync" # [<str>]
    #Option "Monitor2VRefresh" # [<str>]
    #Option "Monitor2Position" # [<str>]
    #Option "MetaModes" # [<str>]
    Identifier "Card1"
    Driver "mga" VideoRam 8192
    VendorName "Matrox Graphics, Inc."
    BoardName "MGA 2064W [Millennium]"
    BusID "PCI:2:9:0"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Depth 1
    EndSubSection
    SubSection "Display"
    Depth 4
    EndSubSection VideoRam 8192
    SubSection "Display"
    Depth 8
    EndSubSection
    SubSection "Display"
    Depth 15
    EndSubSection
    SubSection "Display"
    Depth 16
    EndSubSection
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    Section "Screen"
    Identifier "Screen1"
    Device "Card1"
    Monitor "Monitor1"
    SubSection "Display"
    Depth 1
    EndSubSection
    SubSection "Display"
    Depth 4
    EndSubSection
    SubSection "Display"
    Depth 8
    EndSubSection
    SubSection "Display"
    Depth 15
    EndSubSection
    SubSection "Display"
    Depth 16
    EndSubSection
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  2. #2
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416
    Some more info to the above.

    I have it kind of working. When I issue the command "startx -- +xinerama" it goes into the GUI and my two monitors are displaying now.

    Still some issues though,

    Both monitors are only showing 256 colours and the resolution is set to 800 * 600 when I check with Redhat-config-xfree86. The odd thing is that the icons and text are really small

    Would I be better off editing the XF86Config manually rather than relying on X -configure?
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  3. #3
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    i would back up ur xf86config file then edit it manually yes.

    try commenting the lines (by placign # in front of them)

    Subsection "display"
    Depth 1
    EndSubsection

    for depths 1 thru 8. (on both SCREEN sections) this shoudl limit ur display to 15 bit (65365 color) and above

    also in my screen subsections looks like this

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

    note the modes line
    try copying this 1 into ur file (assuming the resolutions here are availible to u)

    note: ur matrox card is specified as 8mb (ie 8192k) so im not sure whats with the 5906k problem

  4. #4
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416
    It works fine.

    I did not have defaulthdepth specified.

    One more question though, Can I have different backgrounds for each display?
    My background is stretched now. In windows I had the same background on each display.

    cheers
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  5. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I haven't tried Xinerama, so I don't know exactly how it works, but I guess that there should be one root window for each monitor. Try some xloadimage -onroot and see what happens to your background.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •