Tue, 08 Aug 2006


I own a Samsung X20 notebook with integrated i915 video adapter and a Dell 2405FPW monitor with 1920x1200 native resolution. Up until now it only worked with Windows (igck) at it's native resolution. Out of the box X.org from Debian etch (7.0.22) did not work and insisted to put the monitor at 1600x1200 or even lower resolutions, even after patching the modetable with the 915resolution hack. After googling and finding no really helpful info I finally asked Alan Hourihane, one of the authors of the intel video driver of X, for help. By using the current Intel video driver from X.org's git, branch modesetting, it now works. Yay to modular X that I did not have to compile the whole server. Step by step how to... Step by step how to (like the example at wiki.fdo.org):
$ git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel
$ cd xf86-video-intel
$ git checkout modesetting
# be sure to have installed xorg-dev
$ sh autogen.sh
$ make
# generates src/.libs/i810_drv.so
$ cp /usr/lib/xorg/modules/drivers/i810_drv.so \
# stop X
$ cp src/.libs/i810_drv.so /usr/lib/xorg/modules/drivers/i810_drv.so
# start X
# finished
Relevant excerpts from /etc/X11/xorg.conf
Section "Device"
        Identifier      "Video Extern"
        Driver          "i810"
        Option          "PageFlip"      "yes"
        Option          "MonitorLayout" "CRT,NONE"
        Option          "CacheLines" "2048"
        VideoRam        65536
        Screen 0
        BusId           "PCI:0:2:0"

Section "Monitor"
        Identifier      "External Monitor"
        Option          "DPMS"
        HorizSync       30-81
        VertRefresh     43-81
        Modeline "1920x1200"  154.128 1920 1968 2000 2080  1200 1203 1209 1235 -hsync -vsync

Section "Screen"
        Identifier      "External Screen"
        Device          "Video Extern"
        Monitor         "External Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes   "1920x1200"
Hope it helps anyone.

posted at 22:18 | path: /unix | permanent link to this entry

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.