Xinerama and gnome on Thinkpad T40
sewm
ulist at gs1.ubuntuforums.org
Sun Nov 28 19:04:22 UTC 2004
Hello Erik,
Erik Bågfors Wrote:
> Why do you have two ServerLayouts? How do X know you want the one
> named "dual"?? Also, I don't see info about the other screen, in your
> "dual" ServerLayout you only have Default Screen, how do you expect it
> to find you other screen?
>
> In my ServerLayout I have
> Section "ServerLayout"
> Identifier "Default Layout"
> Option "Xinerama" "on"
> Option "Clone" "off"
> Screen "Default Screen"
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse"
> InputDevice "Synaptics Touchpad"
> Screen "Second Screen" RightOf "Default Screen"
> EndSection
>
> In there I list both my screens and how they relate to eachother.
>
>
> I have xinerama working on my laptop w/o problems. Tell me if you
> want my XF86Config-4! What kind of laptop do you have? I'm running a
> thinkpad R40.
>
> Regards,
> Erik
>
>
It is possible to have two serverlayouts, he just needs to define which
one is default with a statement like this Option "DefaultServerLayout"
in the serverlayout. Then later if he wants he can tell XFree to start
the single head with the -layout option.
Anyways, that's not why I am writing. I am also having troubles with
dual head setup, but on a Radeon 7500 desktop card.
My /etc/X11/XF86Config-4 file is as follows:
Code:
--------------------
# Removed comments for berevity.
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "v4l"
Load "vbe"
Load "xtt"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Radeon 7500"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "AGPFastWrite"
Option "EnablePageFlip" "True"
EndSection
Section "Monitor"
Identifier "DELL P793 Left"
HorizSync 30-96
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Monitor"
Identifier "DELL P793 Right"
HorizSync 30-96
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Screen"
Identifier "Left"
Device "Radeon 7500"
Monitor "DELL P793 Left"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Right"
Device "Radeon 7500"
Monitor "DELL P793 Right"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Right"
Screen "Left" LeftOf "Right"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection
Section "DRI"
Mode 0666
EndSection
--------------------
I don't get any error messages in my /var/log/XFree86.0.log file and
the log file even shows the layout like this:
Code:
--------------------
(==) ServerLayout "Default Layout"
(**) |-->Screen "Right" (0)
(**) | |-->Monitor "DELL P793 Right"
(**) | |-->Device "Radeon 7500"
(**) |-->Screen "Left" (1)
(**) | |-->Monitor "DELL P793 Left"
(**) | |-->Device "Radeon 7500"
(**) |-->Input Device "Generic Keyboard"
--------------------
But I still get mirrored displays. I have had dual head running on this
computer with both XFree86 and XOrg on other distros (Gentoo) and I had
saved copies of those XF86Config files and simply modified my Ubunto
one. Can you, or anyone else, see where I've gone wrong?
Thanks for any help
-Sam
--
sewm
More information about the ubuntu-users
mailing list