LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xinerama (https://www.linuxquestions.org/questions/linux-newbie-8/xinerama-176412/)

xanas3712 04-30-2004 02:10 PM

Xinerama
 
I've tried one of the tutorials but it wasn't tailored appropriately to my situation (it was made up to support 2 video cards instead of a dual port one), and because of that there was no way to figure out exactly how to modify. Also it was inspecific about a few things that I thought needed specificity because I come from the "windows world" where it's not necessary to edit an XF86Config file.. lol

Anyway, so here is my old file that was causing xfree not to start.. please help me correct if you can..

Code:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple Fosion within a session too (like vmware), but I forget what that was...


sion within a session too (like vmware), but I forget what that was...


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

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

Section "DRI"
    Mode 0666
EndSection

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

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 30-96
    VertRefresh 50-160
EndSection
Section "Monitor"
    Identifier "monitor2"
    VendorName "Plug'n Play"
    HorizSync 30-96
    VertRefresh 50-160
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "radeon"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Virtual 1600 1200
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device1"
    Monitor "monitor2"
    DefaultColorDepth 24
    Subsection "Display"
        Depth 8
        Virtual 1600 1200
    EndSubsection
EndSection

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

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

My hardware, as I'm sure it's important...

Radeon 9800 Pro 128 MB
2 19" monitors, 1 Envision and 1 Sylvania (i figure I'll use a generic driver for both)

and tell me if anything else is important to know.. oh, and once again I'm running mandrake 10 so if there is some wizard I've missed I wouldn't mind doing that but ehh.. it'd be nice to be able to do it the right way also for future reference.

Thanks.. oh.. I want both of them to have 1600x1200 viewing area.. so I guess that's 3200x1200 total.

EDIT: Also whenever I figure it out I also want to be able to use Unreal Tournament, will I have to reconfigure this file or something to have it display only in one monitor? Is there a way not to have to do that? Or perhaps a way to attach the config file to the user logging in?

xanas3712 04-30-2004 04:05 PM

Oh, another problem I'm having besides the above, is that UT2k4 install keeps crashing. I thought it might be something else but sure enough that's it. I am testing to see if it's the DVD running that is doing that (I have the dvd version).. but so far the movie I'm running hasn't caused a crash.. any ideas on what would be causing crash during install? I can't tell that the disk has any scratches or is dirty or anything like that (which would be odd to cause a complete stall anyway).

xanas3712 04-30-2004 09:01 PM

Code:

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

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

Section "DRI"
    Mode 0666
EndSection

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

Section "InputDevice"
    Identifier "Mouse1"tammy
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 30-96
    VertRefresh 50-160
EndSection

Section "Monitor"
    Identifier "monitor2"
    VendorName "Plug'n Play"
    HorizSync 30-96
    VertRefresh 50-160
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "radeon"
    BusID "PCI:1:0:0"
    Screen 0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "radeon"
    BusID "PCI:1:0:1"
    Screen 1
    Option "DPMS"
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
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    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
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen 0 "screen1"
    Screen 1 "screen2" RightOf "screen1"
EndSection

After reading a lot of the manual... I made my own config file so it's abit different than the one above, but still doesn't work!

Any ideas.. I just hope I can get someone to at least read the problem, lol.
EDIT: Just tried to install the newest radeon drivers for 4.3 xfree and it's saying there is some conflict.. let me post it here.. it gives me absolutely no idea as how to resolve..
Quote:

Installation failed:
file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-4.3.0-3.7.6 conflicts with file from package libxfree86-4.3-29mdk

xanas3712 04-30-2004 10:39 PM

Yet another config file.... this one gets close.. both monitors are actually working now at the same resolution, I just can't get the Xinemera option to do anything.. what's up?

Code:

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

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

Section "DRI"
    Mode 0666
EndSection

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

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 30-96
    VertRefresh 50-160
    Option "MonitorLayout" "TMDS,CRT"
EndSection

Section "Monitor"
    Identifier "monitor2"
    VendorName "Plug'n Play"
    HorizSync 30-96
    VertRefresh 50-160
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "radeon"
    BusID "PCI:1:0:0"
    Screen 0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "radeon"
    BusID "PCI:1:0:0"
    Screen 1
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
        Viewport 0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
        Viewport 1 0Option "MonitorLayout" "TMDS,CRT"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen 0 "screen1" 0 0
    Screen 1 "screen2" 0 0
    Screen 1 "screen2" RightOf "screen1"
    Option "Xinerama"
EndSection

I beg anyone, please help.....
Thanks

sleepindawg 05-19-2004 09:10 AM

just so you know your not alone, i cant seem to get any answers here about my question either (but i am using dual cards) good luck

datadriven 05-19-2004 02:27 PM

I have dual monitors running on a slackware current system. Here's my XF86Config

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "On"
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 "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "KDS"
ModelName "X Flat"
HorizSync 31.5 - 50
VertRefresh 50 - 90
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Samtron"
ModelName "75V"
HorizSync 31.5 - 50
VertRefresh 50 - 90
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 "TurboQueue" # [<bool>]
#Option "FastVram" # [<bool>]
#Option "NoHostBus" # [<bool>]
#Option "ForceCRT2Type" # [<str>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "NoXvideo" # [<bool>]
#Option "Vesa" # [<bool>]
#Option "MaxXFBMem" # <i>
#Option "ForceCRT1" # [<bool>]
#Option "DSTN" # [<bool>]
#Option "XvOnCRT2" # [<bool>]
#Option "PanelDelayCompensation" # <i>
#Option "TVStandard" # <str>
#Option "UseROMData" # [<bool>]
#Option "NoInternalModes" # [<bool>]
#Option "UseOEMData" # [<bool>]
#Option "BIOSFile" # <str>
#Option "NoYV12" # [<bool>]
#Option "CHTVType" # [<bool>]
#Option "CHTVOverscan" # [<bool>]
#Option "CHTVSuperOverscan" # [<bool>]
#Option "CHTVLumaBandwidthCVBS" # <i>
#Option "CHTVLumaBandwidthSVIDEO" # <i>
#Option "CHTVLumaFlickerFilter" # <i>
#Option "CHTVChromaBandwidth" # <i>
#Option "CHTVChromaFlickerFilter" # <i>
#Option "CHTVCVBSColor" # [<bool>]
#Option "CHTVTextEnhance" # <i>
#Option "CHTVContrast" # <i>
#Option "SISTVEdgeEnhance" # <i>
#Option "SISTVAntiFlicker" # <i>
#Option "SISTVSaturation" # <i>
#Option "TVXPosOffset" # <i>
#Option "TVYPosOffset" # <i>
#Option "SIS6326TVAntiFlicker" # <str>
#Option "SIS6326TVEnableYFilter" # [<bool>]
#Option "SIS6326TVYFilterStrong" # [<bool>]
#Option "UseColorHWCursor" # [<bool>]
#Option "ColorHWCursorBlending" # [<bool>]
#Option "ColorHWCursorBlendThreshold" # <i>
#Option "RestoreBySetMode" # [<bool>]
Identifier "Card0"
Driver "sis"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "SiS650/651/M650/740 PCI/AGP VGA Display Adapter"
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 "slow_edodram" # [<bool>]
#Option "slow_dram" # [<bool>]
#Option "fast_dram" # [<bool>]
#Option "fpm_vram" # [<bool>]
#Option "pci_burst" # [<bool>]
#Option "fifo_conservative" # [<bool>]
#Option "fifo_moderate" # [<bool>]
#Option "fifo_aggressive" # [<bool>]
#Option "pci_retry" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "early_ras_precharge" # [<bool>]
#Option "late_ras_precharge" # [<bool>]
#Option "lcd_center" # [<bool>]
#Option "set_lcdclk" # <i>
#Option "set_mclk" # <freq>
#Option "set_refclk" # <freq>
#Option "show_cache" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseFB" # [<bool>]
#Option "mxcr3afix" # [<bool>]
#Option "XVideo" # [<bool>]
Identifier "Card1"
Driver "s3virge"
VendorName "S3 Inc."
BoardName "ViRGE/DX or /GX"
BusID "PCI:0:9:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
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

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 16
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


All times are GMT -5. The time now is 05:09 AM.