View previous topic :: View next topic |
Author |
Message |
Dipy74 n00b
Joined: 21 Jun 2006 Posts: 14
|
Posted: Sat May 26, 2007 10:40 am Post subject: Dual Head - Primary display |
|
|
Hi,
I have a latop, and an external LCD screen which I connect to my laptop using the VGA output (graphic card is an ATI Radeon Mobility X600).
I'm trying to use dual head, but I've got a little problem: it works great (also with different resolutions on both screens), but the 'primary' display (the one kdm is launched on, and the one with my 'standard' desktop) is the external LCD screen. I would like it to be the lcd screen of my laptop instead, because this is the one I will use (the other will be used to dispaly video, web, ...).
I tried many thing in my xorg.conf (such as switching the screen names, ...), but can't get anything to work.
Here is my full xorg.conf:
Code: |
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "VGA Screen"
Screen 1 "LCD Screen" Above "VGA Screen"
InputDevice "Touchpad"
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefonts"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "dri"
Load "glx"
Load "synaptics"
EndSection
Section "ServerFlags"
Option "BlankTime" "5"
Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
Option "AIGLX" "off"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "basic"
Option "XkbOptions" "altwin:super_win"
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "10"
Option "FingerHigh" "20"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "SendCoreEvents" "on"
Option "Protocol" "Auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
Option "Resolution" "800"
EndSection
Section "Monitor"
# DisplaySize 433 260
Identifier "Laptop Monitor"
HorizSync 31.5 - 90.0
VertRefresh 59.0 - 75.0
Option "DPMS" "on"
EndSection
Section "Monitor"
Identifier "External Monitor"
Option "DPMS" "on"
Option "ModelName" "Generic Autodetecting Monitor"
EndSection
Section "Device"
Identifier "ATI Mobility x600"
Driver "fglrx"
Option "FSAAEnable" "off"
Option "VideoOverlay" "on"
Option "Centermode" "on"
Option "PowerState" "1"
Option "HSync2" "65"
Option "VRefresh2" "60"
Option "EnablePrivateBackZ" "yes"
Option "PairMode" "1280x768+1280x1024"
Option "Capabilities" "0x00000800"
Option "Mode2" "1280x1024"
Option "ForceMonitors" "lvds"
Option "UseFastTLS" "0"
Option "EnableMonitor" "lvds,auto"
Option "DynamicClocks" "on"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "ATI Mobility x600 - Second Device"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "LCD Screen"
Device "ATI Mobility x600"
Monitor "Laptop Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x768" "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "VGA Screen"
Device "ATI Mobility x600 - Second Device"
Monitor "External Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
Is what I'm trying to do possible (I've seen many person asking the same thing, but with no result)? If yes, how to do it; if no, is there a reason for not allowing it ?
Also, an other question: when using dual head, I can't get to play a video on neither screen: on both it just show a blue window (just like if the overlay was on the other screen). What option do I need to add to my device configuration to be able to play a video on at least one screen ?
Thanks |
|
Back to top |
|
|
El Tazar n00b
Joined: 06 Nov 2004 Posts: 57
|
Posted: Sat May 26, 2007 1:35 pm Post subject: |
|
|
I just recently got around to set up dual head with my Radeon 9600 and fglrx. It's set up the way you want to, though you would need to tailor for a few differences
Code: |
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0" 0 0
Screen "aticonfig-Screen[1]" Above "Screen0"
#InputDevice "Touchpad" "CorePointer"
InputDevice "Trackpoint" "CorePointer"
InputDevice "External"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#
#FontPath "/usr/share/fonts/X"
#FontPath "/usr/share/fonts/unifont"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
# RgbPath "/usr/X11R6/lib/X11/rgb"
# FontPath "/usr/share/fonts/misc:unscaled"
# FontPath "/usr/share/fonts/Type1"
# FontPath "/usr/share/fonts/TTF"
# FontPath "/usr/share/fonts/corefonts"
# FontPath "/usr/share/fonts/freefont"
# FontPath "/usr/share/fonts/sharefonts"
# FontPath "/usr/share/fonts/terminus"
# FontPath "/usr/share/fonts/ttf-bitstream-vera"
# FontPath "/usr/share/fonts/75dpi:unscaled"
# FontPath "/usr/share/fonts/100dpi:unscaled"
# FontPath "/usr/share/fonts/artwiz"
# FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/Type1"
# FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/Common/Type1:unscaled"
# FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/AFM:unscaled"
# FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/BDF:unscaled"
# FontPath "/usr/share/fonts/misc/"
# FontPath "/usr/share/fonts/CID/"
# FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/Type1"
FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/Common/Type1:unscaled"
FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/AFM:unscaled"
FontPath "/opt/Mathematica5.0/SystemFiles/Fonts/BDF:unscaled"
FontPath "/usr/share/fonts/misc/"
EndSection
Section "Module"
# initialisation of the XFree86-DGA extension within that module.
# This loads the Type1 and FreeType font modules
Load "dbe" # Double buffer extension
# Load "synaptics"
# This loads the miscellaneous extensions module, and disables
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "extmod"
Load "type1"
# Load "speedo"
# This loads the GLX module
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "InputDevice"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#Option "XkbRules" "xfree86"
#Option "XkbModel" "pc89"
Option "XkbModel" "microsoftinet"
Option "XkbLayout" "dk"
EndSection
Section "InputDevice"
Identifier "Trackpoint"
Driver "mouse"
Option "SendCoreEvents"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mouse0"
EndSection
Section "InputDevice"
Identifier "External"
Driver "mouse"
Option "SendCoreEvents"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
#Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "SendCoreEvents"
Option "Device" "/dev/input/event1"
Option "Protocol" "event"
# Next line required only if you want to disable the mousepad while typing:
Option "SHMConfig" "on"
# The rest of the options are NOT required, just a default similar to the Windows drivers with non of the extra features.
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1400"
Option "BottomEdge" "4500"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "7"
Option "HorizScrollDelta" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 91.1
VertRefresh 20.0 - 85.0
Option "DPMS"
# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[1]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
# vendor=1002, device=4e50
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "0x00000100"
Option "MonitorLayout" "NONE, AUTO"
#Option "MonitorLayout" "AUTO, NONE"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
#### Option "VideoOverlay" "on"
# === OpenGL Overlay ===
#### Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
Option "DynamicClocks" "on"
Option "EnableMonitor" "auto"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[1]"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
#Option "backingstore"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050" "1280x1024" "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
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "DRI"
# Access to OpenGL ICD is allowed for all users:
# Access to OpenGL ICD is restricted to a specific user group:
# Group 100 # users
# Mode 0660
Mode 0666
EndSection
|
For the other question, you should probably check if your video player supports Xinerama. I added xinerame to my use flags and did emerge world --deep --update --newuse
Edit: Forgot to mention, the above was generated with the aticonfig utility, something like
Code: |
aticonfig --initial=dual-head --screen-layout=above
|
_________________ If one does not know to which port one is sailing, no wind is favorable. - Seneca |
|
Back to top |
|
|
Dipy74 n00b
Joined: 21 Jun 2006 Posts: 14
|
Posted: Sat May 26, 2007 10:34 pm Post subject: |
|
|
El Tazar wrote: | I just recently got around to set up dual head with my Radeon 9600 and fglrx. It's set up the way you want to, though you would need to tailor for a few differences
|
Thanks for your answer, but this doesn't seem to work like I want: the main differences between our xorg.conf is the device section, so I simply copied all yours to my xorg.conf, and result is still the same: the primary display with KDM and the 'default' desktop is the external CRT screen, rather than my laptop's screen. So the question still remains, is it possible to specify which screen is the master screen on a dual head configuration with an ATI card, and the fglrx drivers?
Thanks |
|
Back to top |
|
|
El Tazar n00b
Joined: 06 Nov 2004 Posts: 57
|
Posted: Mon May 28, 2007 9:46 am Post subject: |
|
|
Altering the following might switch them around, at least it does for me
Code: |
Option "MonitorLayout" "NONE, AUTO"
|
just switch NONE to AUTO and vice-versa _________________ If one does not know to which port one is sailing, no wind is favorable. - Seneca |
|
Back to top |
|
|
|
|
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
|
|