Eric Belanger wrote:
> I have same card and same setup. xinerama works and dri works too (if not
> in xinerama mode) with the i810 drivers in extra. 
Ok, I took your config and tuned it carefully.
I attached the result.

Xinerama does work - but only with 1024x768 (internal resolution). In this case
my external TFT doesn't get a signal in its native resolution (1280x1024).
Is it possible to tell X to give both LCDs their native resolution?

If I simply use "-- -layout Laptop" and then run glxinfo, I get "direct
rendering: no"

If I run "-- -layout LCD" I get this error:
        AddScreen/ScreenInit failed for driver 1

I would be very glad if you can help me tweaking it such way, that I can have
Xinerama with both LCDs in native resolution and have direct rendering using
only the big TFT (for a slightly better 3D-performance).

-- 
Gruß, Johannes
http://www.hehejo.de
Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
        Option "DefaultServerLayout" "LCD"
#       Option "AIGLX" "False"
EndSection

# layout pour laptop seulement
# Start it with
# startx -- -layout Laptop
Section "ServerLayout"
        Identifier     "Laptop"
        Screen         0 "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics Touchpad"
        InputDevice    "USB Mouse" "CorePointer"
EndSection

# layout pour ecran LCD 1280x1024
# Start it with
# startx -- -layout LCD
Section "ServerLayout"
        Identifier     "LCD"
        Screen         1 "Screen1"
        Screen         0 "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics Touchpad"
        InputDevice    "USB Mouse" "CorePointer"
EndSection

# Xinerama server layout
# Start it with
# startx -- -layout Xinerama
Section "ServerLayout"
        Identifier     "Xinerama"
        Screen         0 "Screen0"
        Screen         1 "Screen1" RightOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics Touchpad"
        InputDevice    "USB Mouse" "CorePointer"
        Option         "Xinerama" "true"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/artwiz-fonts"
        FontPath     "/usr/share/fonts/speedo"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "i2c"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
        Load  "type1"
        Load  "freetype"
        Load  "record"
        Load  "synaptics"
EndSection

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "keyboard"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "de,us"
        Option "XkbOptions" "grp:shifts_toggle"
#       Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier "Synaptics Touchpad"
        Driver      "synaptics"
        Option      "Protocol" "auto-dev"
        Option      "ZAxisMapping" "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents" "true"
        Option      "LeftEdge"      "1700"
        Option      "RightEdge"     "5400"
        Option      "TopEdge"       "1700"
        Option      "BottomEdge"    "4200"
        Option      "FingerLow"     "25"
        Option      "FingerHigh"    "30"
        Option      "MaxTapTime"    "180"
        Option      "MaxTapMove"    "220"
        Option      "VertScrollDelta" "50"
        Option      "MinSpeed"      "0.06"
        Option      "MaxSpeed"      "0.12"
        Option      "AccelFactor" "0.0010"
        Option      "SHMConfig"     "on"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "InputDevice"
    Driver        "synaptics"
    Identifier    "Touchpad"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"      "auto-dev"
    Option        "LeftEdge"      "1700"
    Option        "RightEdge"     "5300"
    Option        "TopEdge"       "1700"
    Option        "BottomEdge"    "4200"
    Option        "FingerLow"     "25"
    Option        "FingerHigh"    "30"
    Option        "MaxTapTime"    "180"
    Option        "MaxTapMove"    "220"
    Option        "VertScrollDelta" "100"
    Option        "MinSpeed"      "0.06"
    Option        "MaxSpeed"      "0.12"
    Option        "AccelFactor" "0.0010"
    Option        "SHMConfig"     "on"
 #  Option       "Repeater"      "/dev/ps2mouse"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
#       Driver      "vesa"
        BusID       "PCI:0:2:0"
        VideoRam    65536
#       VideoRam   37000
        Screen      0
#       Option "CacheLines" "900"
#       Option "DDC" "false"
        Option "DevicePresence" "true"
        Option "MonitorLayout" "CRT, CRT+LFP"
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "i810"
#       Driver      "vesa"
        BusID       "PCI:0:2:0"
        VideoRam    65536
#       VideoRam  37000
        Screen      1
#       Option "CacheLines" "900"
#       Option "DDC" "false"
        Option "DevicePresence" "true"
        Option "MonitorLayout" "CRT, CRT+LFP"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        Option "DPMS" "true"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
#       DisplaySize  347 260
        DisplaySize  433 260
EndSection

Section "Monitor"
        Identifier "Monitor1"
        Option "DPMS" "true"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        DisplaySize  433 346
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     1
                Modes "1024x768" 
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768"
                ViewPort 0 0
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     1
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1280x1024"
                ViewPort 0 0
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1280x1024"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

#Section "Extensions"
#    Option "Composite" "Enable"
#    Option "RENDER"    "Enable"
#EndSection
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to