Last edit: on March 22, 2007 17:19 (4857 days, 9 hours and 10 minutes ago) (diff)
I915gmm.Gratiswiki.Dk | RecentChanges | Preferences | GratisWiki

The Xorg i810 driver supports the i915GM chip used on this motherboard in versions >6.8.99. Xorg version 7 seems to work stably on this motherboard. This chip is able to make use of the X Video Motion Compensation (XvMC?) feature to offload some of the decoding from the processor to the video chip, so you should enable this feature (or build the XvMC? module in Xorg 7 and above).

S-video and component TV-out are supported, but the video parameters can only be set by the BIOS at this time (the nvtv tool as of version 0.4.7 does not support i915GM graphics chip nor the Chrontel 7021 encoder chip nor HDTV standards). Since the BIOS only sets up 4:3 480i signals on the component out, this means you will not be able to use any HDTV signals via the component out connectors. You must also select the appropriate video standard for your TV in BIOS (e.g., select NTSC-M in the US, PAL_B in Denmark). Changing the digital resolution of the screen will change the aspect ratio of the TV output but will not change the TV signal parameters.

The i810 driver cannot set the video modes as of Xorg 7.0, either. Modeline definitions in the monitor section are ignored, and you must use a video mode set by the BIOS or an external program. The video modes set by the BIOS as of release 1.11 are 640x480, 800x600, 1024x768, 1600x1200, and 1920x1440, all 4:3. To get a HDTV resolution, you will need to use an external program to set the resolution. Either the 815resolution (http://perso.wanadoo.fr/apoirier/) or 915resolution (http://www.geocities.com/stomljen/) tools may be used to set the resolution externally. The 855resolution program has the advantage that it is found in the debian-unstable and gentoo software repositories and is therefore easier to set up (by editing /etc/default/855resolution on debian or /etc/conf.d/855resolution on gentoo). I was unable to get X to recognize any setups on mode 5c, but mode 54 worked, and the resolution for 720p signals is nominally 1280x720. Some slight adjustments may need to be made based on your monitor (my Sony TV seems to prefer 1152x648). I also find that X wants to use the built-in modes before the redefined modes even though the redefined modes may be listed first, so I found it necessary to restrict the mode line (in the Screen section) to only the desired 1152x648.

Here is an xorg.conf file that works for me:

# File generated by xorgconfig 6.8.99, then hand-edited for an i915GMm-HFS
# motherboard with a Sony 30" HDTV monitor connected digitally and for
# TV-out enabled.

Section "Module"
    Load  "dbe"         # Double buffer extension
    Load  "glx"
    Load  "dri"
    Load  "record"
    Load  "xtrap"
    Load  "fbdevhw"
    Load  "v4l"
    Load  "type1"
    Load  "freetype"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension

Section "Files"
    FontPath     "unix/:-1"          # use xfs font server

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option      "Xleds"      "1 2 3"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"  "us"


Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "auto"
    Option "Device"      "/dev/input/mice"


Section "Monitor"

    Identifier  "HDTV"
    VendorName  "Sony"
    ModelName   "KD-30XS955"
    DisplaySize 320 180 # mm, but lie about size to get good fonts
    HorizSync   30-90
    VertRefresh 20-150
    Option      "DPMS"

Section "Device"
    Identifier  "i915GM"
    Driver      "i810"
    BusID       "PCI:0:2:0"
    #Option     "MonitorLayout" "TV2,NONE"   # select YPrPb component TV out
    #Option     "MonitorLayout" "TV,NONE"    # select S-video TV out
    #Option     "MonitorLayout" "DFP,NONE"   # select Digital Flat Panel Out
    #Option     "MonitorLayout" "CRT,NONE"   # select analog monitor
    Option      "Clone" "true"               # or select dual outputs
    Option      "MonitorLayout" "TV,TV2"

Section "Screen"
   Identifier  "Screen 1"
    Device      "i915GM"
    Monitor     "HDTV"
    DefaultDepth  24
    Subsection "Display"
        Depth       24
        #Modes        "1152x648"            # Sony HDTV-digital
        #Modes        "1280x1024" "1024x780" "800x600" "640x480" #DFP
        Modes        "800x600" "640x480"    #Use this one for TV output
        ViewPort    0 0

Section "Extensions"
        Option "Composite"  "Enable"

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"


Section "DRI"
    Mode 0666

IEGD 5 Linux Drivers also available

Don't think it's well know yet but intel have a binary driver available (don't get excited it doesnt work properly - SURPRISE!) these are seperate than the regular i810 driver (which intel release source for and is built in to latter Xorg releases as mentioned above). The documentation for the IEGD Driver is out of sync with the release however I got it working with Xorg 6.8.2 (It's supposed to ship with drivers for 6.8.2 but I could only see the 6.7.0 drivers on there).

Problem 1 No Chrontel 7021 Support

No Chrontel 7021 support - Chrontel won't release any details of this driver because of the Macrovision license and I doubt intel will support any time soon (if ever) this is probably why there is no source code because they are so scared that someone may disable there precious macrovision. Personally I think if all these companies are so in love with Macrovision maybe they should just have a mass marriage followed by a group orgy no wait they've probably already done all of that and have now moved on to eating babies (Please note this view is that of a *MAD* member of the public and does not reflect the views on i915gnm gratis wiki). The irony is that the awful quality of the TV output is a far better form of copy protection than Macrovision ever was or will be! I may as well desolder and throw this chip in the bin for all the good it is without being able to change the settings on it. Actually the screen just goes blank using these drivers so it's actually worse than the above.

Problem 2 (I'm sure there are many more problems with these drivers than I'm able to list) PAL 720x576@50Hz comes out as 720x576@50.9Hz (that's the only PAL mode on offer!) NTSC modes do seem to be matched correctly however

Pal is supposed to be 50Hz, but somehow those wonderful people at intel have suceeded in getting 50.9 Hz even worse is the fact if you feed there artifical modeline from the xorg log back into the xorg.conf their driver even says its 50.9 Hz. What's even worse is that this driver refuses to accept modelines (although it's quite happy to calculate there refresh rate for you) because alegedy acording to intel they have a far better system (DTD blocks) for doing this which btw is completly imposible to use, I'm not even sure if it works with the regular analog output anyway - looks like it's really designed for the DVI, LVDS ports and the VBIOS. I got the i810 driver above to do 50Hz using a gtf generated modeline, however as I've been switching between xorg 7 and xorg 6.8.2 I think I've broken something as the best i can now achieve is 46Hz :( Anyway xine / mplayer seem to skip like buggery if the frame rate isnt correct (not surprising). I managed to get the IEGD to do 49.9 Hz in the end which is pretty close but it was alot of messing about and I'm still not convinced it doesnt cause the odd frame skip here and there! + it may cause av sync issues would have to check more thoroughly.

Problem 3 No DRI

DRI is disabled by default with this driver and the machine just seems to freeze when you enable it! I believe this is one of the few problems listed in the eratta so maybe a few years from now when there is an Xorg version 50 or something similar with some sort of hologram projection system then we can look forward to DRI fix from intel.

Additional SDVO TV Out details

I finally managed to get SDVO TV Out working for this board (CH7021A). The code is unmerged with the intel i810 driver currentlt(2007-03-22) so you will have to specifically ask about this on the xorg mailing list if you are interested. It is possible to get a properly overscanned PAL image via Scart / Component and turn off that pesky flicker filter which makes the image look soo blury (sharpness can be adjusted too). Scart output requires very careful soldering to the motherboard and good quality cable it's difficult to do although not completly impossible. There has been little to no interest in this facility at the time of writing but I'm sure if anyone who wants this asks on the xorg message board it can be arranged.

Edit text of this page | View other revisions | Download I915gmm.gratiswiki.dk
GratisWiki hostes af HOW