i810 dual screen no Xinerama & DRI

Mark Beierl mbeierl at signiant.com
Wed Oct 25 07:07:56 PDT 2006


I noticed the same thing, so that's when I decided to check out the
merged framebuffer.  This gives me DRI with dual screen.  Works fairly
well, but requires the newer (>1.6.5) i810 driver.  Problem I have
though is when using the mergedfb, I cannot switch to text console (or
fb console) or the X server crashes and eventually my display gets hosed
(ie: the light is on, but nothing shows on the screen).

For what it's worth, here's the relevant sections of my mergedfb
xorg.conf file:

Section "Device"
        Identifier      "Intel-LCD"
        Driver          "i810"
        BusID           "0:2:0"
        VideoRam        32768
        Screen          0

        Option  "DRI"                           "true"

        Option  "MergedFB"                      "true" 
        Option  "MonitorLayout"                 "CRT,LFP"

        Option  "SecondPosition"                "RightOf"
        Option  "MetaModes"                     "1280x800-1280x1024" 
EndSection

Section "Monitor"
        Identifier      "LCD"
        Option          "DPMS"
        HorizSync 30-81
        VertRefresh 56-76
        DisplaySize 700 350
EndSection

Section "Screen"
        Identifier      "Local LCD"
        Device          "Intel-LCD"
        Monitor         "LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1280x1024" "1280x800" "1024x768" "800x600" 
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "MergedFB"
        Screen          0 "Local LCD" 0 0
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection


On Tue, 2006-24-10 at 16:00 -0700, colin williams wrote:
> Hello I have two screens attached to my i945gm . I'm wondering why DRI
> does not work on the second screen. I am not using Xinerama (doesn't
> work)
> 
> (II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
> (II) GLX: Initialized DRI GL provider for screen 0
> (EE) AIGLX: Screen 1 is not DRI capable Edit/Delete Message
> 
> 
> # /etc/X11/xorg.conf (xorg X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,
> using
> # values from the debconf database.
> #
> # Edit this file with caution, and see the /etc/X11/xorg.conf manual
> page. 
> # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xorg package upgrades
> *only*
> # if it has not been modified since the last upgrade of the
> xserver-xorg 
> # package.
> #
> # If you have edited this file but would like it to be automatically
> updated
> # again, run the following command:
> #   sudo dpkg-reconfigure -phigh xserver-xorg
> 
> Section "Files"
>     FontPath    "/usr/share/X11/fonts/misc"
>     FontPath    "/usr/share/X11/fonts/cyrillic"
>     FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
>     FontPath    "/usr/share/X11/fonts/75dpi/:unscaled" 
>     FontPath    "/usr/share/X11/fonts/Type1"
>     FontPath    "/usr/share/X11/fonts/100dpi"
>     FontPath    "/usr/share/X11/fonts/75dpi"
>     FontPath    "/usr/share/fonts/X11/misc" 
>     # path to defoma fonts
>     FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> 
> Section "Module"
>     Load    "i2c"
>     Load    "bitmap" 
>     Load    "ddc"
>     Load    "dri"
>     Load    "extmod"
>     Load    "freetype"
>     Load    "glx"
>     Load    "int10"
>     Load    "type1" 
>     Load    "vbe"
> EndSection
> 
> Section "InputDevice"
>     Identifier    "Generic Keyboard"
>     Driver        "kbd"
>     Option        "CoreKeyboard"
>     Option        "XkbRules"    "xorg"
>     Option        "XkbModel"    "pc104"
>     Option        "XkbLayout"    "us"
> EndSection
> 
> Section "InputDevice" 
>     Identifier    "Configured Mouse"
>     Driver        "mouse"
>     Option        "CorePointer"
>     Option        "Device"        "/dev/input/mice"
>     Option        "Protocol"        "ExplorerPS/2" 
>     Option        "ZAxisMapping"        "4 5"
>     Option        "Emulate3Buttons"    "true"
> EndSection
> 
> Section "InputDevice"
>     Identifier    "Synaptics Touchpad" 
>     Driver        "synaptics"
>     Option        "SendCoreEvents"    "true"
>     Option        "Device"        "/dev/psaux"
>     Option        "Protocol"        "auto-dev" 
>     Option        "HorizScrollDelta"    "0"
> EndSection
> 
> Section "InputDevice"
>   Driver        "wacom"
>   Identifier    "stylus"
>   Option        "Device"        "/dev/wacom"          # Change to 
> 
> # /dev/input/event
>                                                       # for USB
>   Option        "Type"          "stylus"
>   Option        "ForceDevice"   "ISDV4"               # Tablet PC
> ONLY 
> EndSection
> 
> Section "InputDevice"
>   Driver        "wacom"
>   Identifier    "eraser"
>   Option        "Device"        "/dev/wacom"          # Change to 
> 
> # /dev/input/event
>                                                       # for USB
>   Option        "Type"          "eraser"
>   Option        "ForceDevice"   "ISDV4"               # Tablet PC
> ONLY 
> EndSection
> 
> Section "InputDevice"
>   Driver        "wacom"
>   Identifier    "cursor"
>   Option        "Device"        "/dev/wacom"          # Change to 
> 
> # /dev/input/event
>                                                       # for USB
>   Option        "Type"          "cursor"
>   Option        "ForceDevice"   "ISDV4"               # Tablet PC
> ONLY 
> EndSection
> 
> Section "Device"
>     Identifier    "Intel0"
>     Driver        "i810"
>     BusID        "PCI:0:2:0"
> #    Screen        0
>     Option        "MonitorLayout"    "CRT,LFP" 
> EndSection
> 
> Section "Device"
>     Identifier    "Intel1"
>     Driver        "i810"
>     BusID        "PCI:0:2:0"
>     Screen        1
>     Option        "MonitorLayout"    "CRT,LFP" 
>     Option        "Rotate"     "90"
> EndSection
> 
> Section "Monitor"
>     Identifier    "Laptop Monitor"
>     Option        "DPMS"
> EndSection
> 
> #Section "Monitor" 
> #    Identifier "dell"
> #    VendorName "Dell"
> #    ModelName "2005FPW WideScreen"
> #    HorizSync 30.0 - 83.
> #    VertRefresh 56.0 - 75.0
> #    Modeline "1680x1050" 146.20 1680 1776 1950 2256  1050 1056
> #1062 1088 -hsync -vsync
> #EndSection
> 
> Section "Monitor"
>     Identifier    "Dell fpw2005"
>     Option        "DPMS"
>     HorizSync     30.0 - 83.0
>     VertRefresh     56.0 - 75.0
> EndSection
> 
> Section "Screen"
>     Identifier    "Laptop Screen"
>     Device        "Intel0"
>     Monitor        "Laptop Monitor" 
>     DefaultDepth    24
>     SubSection "Display"
>         Depth        1
>         Modes        "1280x800" "1024x768" "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        4
>         Modes        "1280x800" "1024x768" "800x600" "640x480"
>     EndSubSection
>     SubSection "Display" 
>         Depth        8
>         Modes        "1280x800" "1024x768" "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        15
>         Modes        "1280x800" "1024x768" "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        16
>         Modes        "1280x800" "1024x768" "800x600" "640x480" 
>     EndSubSection
>     SubSection "Display"
>         Depth        24
>         Modes        "1280x800" "1024x768" "800x600" "640x480"
>     EndSubSection
> EndSection 
> 
> Section "Screen"
>     Identifier    "Dell Screen"
>     Device        "Intel1"
>     Monitor        "Dell fpw2005"
>     DefaultDepth    24
>     SubSection "Display" 
>         Depth        24
>         Modes        "1680x1050"
>     EndSubSection
> EndSection
> 
> Section "ServerFlags"  
> #    Option "Xinerama" "true" 
> EndSection
> 
> Section "ServerLayout"
>     Identifier    "Default Layout"
>     Screen    0    "Laptop Screen"
>     Screen    1    "Dell Screen" LeftOf "Laptop Screen"
>     InputDevice    "Generic Keyboard" 
>     InputDevice    "Configured Mouse"
>     InputDevice     "stylus" "SendCoreEvents"
>     InputDevice     "cursor" "SendCoreEvents"
>     InputDevice     "eraser" "SendCoreEvents" 
>     InputDevice    "Synaptics Touchpad"
> EndSection
> 
> Section "DRI"
>     Mode    0666
> EndSection
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg



More information about the xorg mailing list