LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   I think I have dual head but i want Big Desktop (https://www.linuxquestions.org/questions/slackware-14/i-think-i-have-dual-head-but-i-want-big-desktop-540857/)

Hyakutake 03-26-2007 07:39 PM

I think I have dual head but i want Big Desktop
 
Hello all!

I've just got this 17" CRT to test out with my slack11 box.

After messing around with xorg.conf I "think" i have Dual Head but what I want is Big Destop.

Why do I think I have Dual Head?

From ati's knowledge base:
Quote:

Dual Head

* Independent displays and video modes are possible for each monitor
* Each monitor uses a separate framebuffer and separate instance of XFree86
o Items CANNOT be dragged from one screen to the other
* It is possible to run two separate window managers in this configuration (one on each monitor)
I have this: mouse goes from one to screen to another but windows don't. It almost looks like I have two users connected (two different desktops :scratch: )

What I wanted was
Quote:

Big Desktop

* A single desktop is stretched across both monitors
* Monitors may overlap by a configurable number of pixels
* Both monitors have to operate with the same video mode settings
* Both screens use a single framebuffer and only one window manager
o The smaller display will NOT autoscroll as in Clone Mode
* Big Desktop can be configured for Horizontal or Vertical operation
Here's my xorg.conf
Code:

Section "ServerLayout"
        Identifier    "Dual Head
        Screen      0  "Screen 0" 0 0
        Screen      1  "Screen 1"  RightOf "Screen 0"
        Option        "Clone" "off"
        Option        "Xinerama"  "off"
        InputDevice    "Mouse0" "CorePointer"
        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/TTF/"
        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  "ddc"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5"
        Option      "Buttons" "5"
EndSection

Section "Monitor"
        #DisplaySize          330  250        # mm
        Identifier  "Monitor 0"
        VendorName  "GSM"
        ModelName    ""
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        Option            "DPMS"
EndSection

Section "Monitor"
        Identifier  "Monitor 1"
        VendorName  "Samsung"
        ModelName    "750s"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        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    "NoAccel"                    # [<bool>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "Dac6Bit"                    # [<bool>]
        #Option    "Dac8Bit"                    # [<bool>]
        #Option    "BusType"                    # [<str>]
        #Option    "CPPIOMode"                  # [<bool>]
        #Option    "CPusecTimeout"              # <i>
        Option    "AGPMode"            "8"        # <i>
        Option    "AGPFastWrite"      "yes"  # [<bool>]
        #Option    "AGPSize"                    # <i>
        #Option    "GARTSize"                  # <i>
        #Option    "RingSize"                  # <i>
        #Option    "BufferSize"                # <i>
        #Option    "EnableDepthMoves"          # [<bool>]
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "NoBackBuffer"              # [<bool>]
        #Option    "PanelOff"                  # [<bool>]
        #Option    "DDCMode"                    # [<bool>]
        #Option    "MonitorLayout"              # [<str>]
        #Option    "IgnoreEDID"                # [<bool>]
        #Option    "UseFBDev"                  # [<bool>]
        #Option    "VideoKey"                  # <i>
        #Option    "MergedFB"                  # [<bool>]
        #Option    "CRT2HSync"                  # [<str>]
        #Option    "CRT2VRefresh"              # [<str>]
        #Option    "CRT2Position"              # [<str>]
        #Option    "MetaModes"                  # [<str>]
        #Option    "MergedDPI"                  # [<str>]
        #Option    "NoMergedXinerama"          # [<bool>]
        #Option    "MergedXineramaCRT2IsScreen0"        # [<bool>]
        #Option    "DisplayPriority"            # [<str>]
        #Option    "PanelSize"                  # [<str>]
        #Option    "ForceMinDotClock"          # <freq>
        #Option    "RenderAccel"                # [<bool>]
        #Option    "SubPixelOrder"              # [<str>]
        #Option    "ShowCache"                  # [<bool>]
        #Option    "DynamicClocks"              # [<bool>]
        Identifier  "Card 0"
        Driver      "fglrx"
        VendorName  "ATI Technologies Inc"
        BoardName  "RV350 AP [Radeon 9600]"
        BusID      "PCI:01:00:00"
        Screen 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    "NoAccel"                    # [<bool>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "Dac6Bit"                    # [<bool>]
        #Option    "Dac8Bit"                    # [<bool>]
        #Option    "BusType"                    # [<str>]
        #Option    "CPPIOMode"                  # [<bool>]
        #Option    "CPusecTimeout"              # <i>
        Option    "AGPMode"            "8"        # <i>
        Option    "AGPFastWrite"      "yes"        # [<bool>]
        #Option    "AGPSize"                    # <i>
        #Option    "GARTSize"                  # <i>
        #Option    "RingSize"                  # <i>
        #Option    "BufferSize"                # <i>
        #Option    "EnableDepthMoves"          # [<bool>]
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "NoBackBuffer"              # [<bool>]
        #Option    "PanelOff"                  # [<bool>]
        #Option    "DDCMode"                    # [<bool>]
        #Option    "MonitorLayout"              # [<str>]
        #Option    "IgnoreEDID"                # [<bool>]
        #Option    "UseFBDev"                  # [<bool>]
        #Option    "VideoKey"                  # <i>
        #Option    "MergedFB"                  # [<bool>]
        #Option    "CRT2HSync"                  # [<str>]
        #Option    "CRT2VRefresh"              # [<str>]
        #Option    "CRT2Position"              # [<str>]
        #Option    "MetaModes"                  # [<str>]
        #Option    "MergedDPI"                  # [<str>]
        #Option    "NoMergedXinerama"          # [<bool>]
        #Option    "MergedXineramaCRT2IsScreen0"        # [<bool>]
        #Option    "DisplayPriority"            # [<str>]
        #Option    "PanelSize"                  # [<str>]
        #Option    "ForceMinDotClock"          # <freq>
        #Option    "RenderAccel"                # [<bool>]
        #Option    "SubPixelOrder"              # [<str>]
        #Option    "ShowCache"                  # [<bool>]
        #Option    "DynamicClocks"              # [<bool>]
        Identifier  "Card 1"
        Driver      "fglrx"
        VendorName  "ATI Technologies Inc"
        BoardName  "RV350 AP [Radeon 9600]"
        BusID      "PCI:01:00:00"
        Screen 1
EndSection

Section "Screen"
        Identifier  "Screen 0"
        Device              "Card 0"
        Monitor      "Monitor 0"
        DefaultDepth 24
        SubSection "Display"
                Viewport  0 0
                Depth    8
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection  "Display"
                Viewport 0 0
                Depth    24
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device    "Card 1"
        Monitor    "Monitor 1"
        DefaultDepth 24
        SubSection "Display"
                Viewport  0 0
                Depth    8
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                  Modes      "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
      Mode 0666
EndSection

fglrxinfo gives (with dual head)
Code:

# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600
OpenGL version string: 2.0.6334 (8.34.8)



display: :0.0  screen: 1
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600
OpenGL version string: 2.0.6334 (8.34.8)

If I enable Xinerama (Option "Xinerama" "on") I get one desktop over the two screens but is this Big Desktop? And btw with Xinerama enabled fglrx driver does not work, so no 3D accel.

Can I have one desktop expanded over two screens with 3D acceleration? If so how?

Is Dual Head better than Big Desktop? Should I be better with Dual Head?


Thanks in advance.

GrapefruiTgirl 03-26-2007 08:13 PM

I'll try and give you some info here to help you figure out what it is you want to do.
NOTE: I use an nVidia dual-head card, so the terminology I use is based on my setup, but the end results should be comparable. How you arrive at them may be somewhat different using your ATI card.

Dual Head - generally refers to a card with two outputs. ATI may be using this term differently to describe what I know as two separate X sessions.

Big Desktop - I haven't ever heard of this term, so I guess it's an ATI expression. By your description, it sounds like you want a 'panoramic' view, which on my system I achieve by using Xinerama.

my Nvidia driver allows GLX and 3D acceleration and a few other things, while using Xinerama with two displays. ATI systems probably do as well, but I can't give you specifics because I haven't used an ATI card. nVidia also takes care of DRI internally, whereas with ATI you may have to enable it on your own.

Big Desktop (copied from above):
* A single desktop is stretched across both monitors
* Monitors may overlap by a configurable number of pixels
* Both monitors have to operate with the same video mode settings
* Both screens use a single framebuffer and only one window manager
o The smaller display will NOT autoscroll as in Clone Mode
* Big Desktop can be configured for Horizontal or Vertical operation

Xinerama (the way I have mine set up, for comparison):
* A sngle desktop can be stretched across both monitors, including OR excluding the taskbar. OR, each desktop can be unique.
* The stretched method shares a wallpaper; the separate unique desktop method gets two wallpapers.
* Monitors may overlap by a configurable number of pixels (but why would one want this?)
* Both monitors operate at the same color depth, but may have different resolutions.
* Both screens use <framebuffer(s) unknown> and only one window manager.
* Each desktop scrolls, maximizes, minimizes EITHER indepentently, or together, whichever you want.
* Horizontal OR Vertical configuration operation, whichever you want.
* Windows can be dragged from one screen to the other, and mouse goes from one to the other too.

Your file is very similar to mine, except for in yours:
Xinerama being off..
The 'RightOf' option (I use absolute x and y locations)..

And I have a couple nVidia-specific settings.

Not sure all this helps you any, but I do hope it helps you figure out just what it is you would like to do with your desktop.
:)

Hyakutake 03-27-2007 05:59 AM

Hello GrapefruiTgirl, thanks for your reply.

Quote:

Your file is very similar to mine, except for in yours:
Xinerama being off..
The 'RightOf' option (I use absolute x and y locations)..
Can you post that section of your xorg.conf? (or the whole file)

GrapefruiTgirl 03-27-2007 08:11 AM

Hi there :)
My xorg.conf is on LQ here somewhere, in a thread called "Four screens with one CPU" or something similar. Just search my posts and you will find it.
If you can't, then I will post it again :)

Hyakutake 03-27-2007 06:21 PM

!FIXED!

Thanks but there is no need for it, I managed to get it to work. After reading some ubuntu how to about this I've tried this:

Code:

aticonfig --initial=dual-head -dtop=horizontal --screen-layout=right
Now it is the way I wanted :)

Here is my new xorg.conf
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        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/TTF/"
        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  "freetype"
        Load  "type1"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/mouse"
        Option            "ZAxisMapping" "4 5"
        Option            "Buttons" "5"
EndSection

Section "Monitor"

        #DisplaySize          330  250        # mm
        Identifier  "Monitor0"
        VendorName  "GSM"
        ModelName    ""
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        #Option            "DPMS" "true"
EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[1]"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        #Option            "DPMS" "true"
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    "NoAccel"                    # [<bool>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "Dac6Bit"                    # [<bool>]
        #Option    "Dac8Bit"                    # [<bool>]
        #Option    "BusType"                    # [<str>]
        #Option    "CPPIOMode"                  # [<bool>]
        #Option    "CPusecTimeout"              # <i>
        #Option    "AGPMode"                    # <i>
        #Option    "AGPFastWrite"              # [<bool>]
        #Option    "AGPSize"                    # <i>
        #Option    "GARTSize"                  # <i>
        #Option    "RingSize"                  # <i>
        #Option    "BufferSize"                # <i>
        #Option    "EnableDepthMoves"          # [<bool>]
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "NoBackBuffer"              # [<bool>]
        #Option    "PanelOff"                  # [<bool>]
        #Option    "DDCMode"                    # [<bool>]
        #Option    "MonitorLayout"              # [<str>]
        #Option    "IgnoreEDID"                # [<bool>]
        #Option    "UseFBDev"                  # [<bool>]
        #Option    "VideoKey"                  # <i>
        #Option    "MergedFB"                  # [<bool>]
        #Option    "CRT2HSync"                  # [<str>]
        #Option    "CRT2VRefresh"              # [<str>]
        #Option    "CRT2Position"              # [<str>]
        #Option    "MetaModes"                  # [<str>]
        #Option    "MergedDPI"                  # [<str>]
        #Option    "NoMergedXinerama"          # [<bool>]
        #Option    "MergedXineramaCRT2IsScreen0"        # [<bool>]
        #Option    "DisplayPriority"            # [<str>]
        #Option    "PanelSize"                  # [<str>]
        #Option    "ForceMinDotClock"          # <freq>
        #Option    "RenderAccel"                # [<bool>]
        #Option    "SubPixelOrder"              # [<str>]
        #Option    "ShowCache"                  # [<bool>]
        #Option    "DynamicClocks"              # [<bool>]
        Identifier  "Card0"
        Driver      "fglrx"
        VendorName  "ATI Technologies Inc"
        BoardName  "RV350 AP [Radeon 9600]"
        Option            "DesktopSetup" "horizontal"
        BusID      "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[1]"
        Driver      "fglrx"
        BusID      "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    1
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[1]"
        Device    "aticonfig-Device[1]"
        Monitor    "aticonfig-Monitor[1]"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "DRI"
        Mode        0666
EndSection

Thanks for your help and time GrapefruiTgirl.

jnsg 03-27-2007 06:27 PM

From a post on ubuntuforums:
Code:

Option "DesktopSetup"  "horizontal" #Enable Big Desktop
Option "Mode2"        "1280x1024" #Resolution for second monitor
Option "DesktopSetup" "LVDS,AUTO" #the types of monitors that is connected LVDS = LCD, CRT, AUTO
Option "EnablePrivateBackZ" "yes" #Enable 3d support <= May Not Work
Option "HSync2" "65" #This sets the horizontal sync for the secondary display.
Option "VRefresh2" "60" #This sets the refresh rate of the secondary display.

EDIT: Guess I was too late.


All times are GMT -5. The time now is 11:32 PM.