display corruption with system crash with i945 and HD video.

drag sidious linlamer at cox.net
Sun May 21 20:27:26 PDT 2006


I am using Debian Unstable with it's X.org stuff along with CVS/git
sources for i810_drv, i915_drm (and others), i915_dri drivers.

Followed this guide pretty much:
http://dri.freedesktop.org/wiki/Building

And for the intel drivers this:
http://wiki.x.org/wiki/IntelGraphicsDriver

Installed all of that in /usr/lib and whatnot. Only catch to get DRI
working was that I make a sym link
/usr/X11R6/lib/modules/dri/i915_dri.so -> /usr/lib/dri/i915_dri.so

To get dri enabled.

I have i915 in my /etc/modules so that the module gets loaded up at boot
up time.

My xorg configuration:

Section "Device"
        Identifier      "Intel i945"
        Driver          "i810"
        Option "LinearAlloc" "6144"
        VideoRam        131072
EndSection

And in my /var/log/Xorg.0.log I can tell the video ram is being
allocated..

cat /var/log/Xorg.0.log|grep kB

(II) I810(0): VESA VBE Total Mem: 7872 kB
(II) I810(0): detected 7932 kB stolen memory.
(II) I810(0): I830CheckAvailableMemory: 955388 kB available
(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB
VideoRAM
(II) I810(0): VESA VBE Total Mem: 12288 kB
(II) I810(0): BIOS now sees 12288 kB VideoRAM
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte
(**) I810(0): VideoRAM: 131072 kByte
(--) I810(0): Maximum frambuffer space: 130904 kByte
(--) I810(0): Maximum space available for video modes: 12288 kByte
(II) I810(0): VESA VBE Total Mem: 7872 kB
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Initial framebuffer allocation size: 12288 kByte
*snip*

Using 915resolution to allow my specific resolution
cat /etc/default/915resolution
#
# 915resolution default
#
# find free modes by  /usr/sbin/915resolution -l
# and set it to MODE
#
MODE=58
#
# and set resolutions for the mode.
#
XRESO=1280
YRESO=960
#
# We can also set the pixel mode.
# Please note that this is optional,
# you can also leave this value blank.
BIT=



With INTEL_BATCH=1 enabled I get good performance with 3d acceleration.
40 fps on ppracer and 1700 or so fps with glxgears.(I only enable that
option right before launching games from a xterm)

With normal sized video playback using mplayer the xv and sdl stuff
works fine. Very fast.

However with HD-sized content I get a nasty crash. Screen corruption..
Nice psychotic moving plaid patterns. Audio fuzz. unresponsive keyboard,
no caps lock lights or mouse or anything. Total meltdown.

Specificly the only video I've tried is Elephants Dream. It's a full
length movie made entirely from Free software. Namely Blender3d (which
works great btw. Good work with the dri stuff)

But on the High-Def version of the movie it is what is causing my
problems. You can find it at:
http://orange.blender.org/

With the torrent it shouldn't take to long to download. There are a lot
of seeders. So you can try it out for yourself if you'd like.
AVI, MPEG4 (mp42) / AC3 5.1 Surround / HD 1920x1080

Playback works ok in Windowed mode.. Nice smooth playback. But when I
hit 'f' to go to fullscreen is when it crashes my machine. Experianced
the same problem with VLC and with mplayer -vo xv and -vo sdl drivers.

xvinfo output.

X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Video Overlay"
    number of ports: 1
    port base: 73
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
    number of attributes: 10
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 64)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_GAMMA0" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 526344)
      "XV_GAMMA1" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 1052688)
      "XV_GAMMA2" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2105376)
      "XV_GAMMA3" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 4210752)
      "XV_GAMMA4" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 8421504)
      "XV_GAMMA5" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 12632256)
    maximum XvImage size: 1920 x 1088
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)

Thank you for your time.




More information about the xorg mailing list