LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-26-2007, 08:39 PM   #1
Hyakutake
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 153

Rep: Reputation: 16
Question 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 )

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.
 
Old 03-26-2007, 09:13 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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.
 
Old 03-27-2007, 06:59 AM   #3
Hyakutake
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 153

Original Poster
Rep: Reputation: 16
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)
 
Old 03-27-2007, 09:11 AM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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
 
Old 03-27-2007, 07:21 PM   #5
Hyakutake
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 153

Original Poster
Rep: Reputation: 16
!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.
 
Old 03-27-2007, 07:27 PM   #6
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FGLRX - 2.6.20 - Dual Monitors? Big Desktop? sovietpower Slackware 5 02-22-2007 08:32 PM
Dual-head with X: Second (VIA) Head Dead Dria Linux - Hardware 2 11-26-2006 11:55 AM
ATI - Dual Head - Big Desktop (mouse jumps) ... Fix? srafx Linux - Hardware 3 10-09-2006 01:43 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-05-2004 12:23 AM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 01:39 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration