Bug 20563

Summary: Intel video driver 2.6.3 crashes with XVideo
Product: xorg Reporter: Andrey Vihrov <andrey.vihrov>
Component: Driver/intelAssignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 20276    
Attachments:
Description Flags
Config
none
xvinfo output
none
No compositing, textured video adaptor
none
No compositing, overlay adaptor
none
Compositing, textured video adaptor
none
Compositing, overlay adaptor none

Description Andrey Vihrov 2009-03-09 10:43:12 UTC
Whenever I try playing a movie with mplayer and the xv output, the video driver instantly crashes the X server.

I am running Gentoo x86-64, X.org server version is 1.5.3-r3 and my video card is Intel GMA X3100.

The logs produced when using the two available XVideo adaptors with or without a compositing window manager do not seem completely identical to me, so I am attaching them all.
Comment 1 Andrey Vihrov 2009-03-09 10:44:00 UTC
Created attachment 23697 [details]
Config
Comment 2 Andrey Vihrov 2009-03-09 10:44:25 UTC
Created attachment 23698 [details]
xvinfo output
Comment 3 Andrey Vihrov 2009-03-09 10:45:09 UTC
Created attachment 23699 [details]
No compositing, textured video adaptor
Comment 4 Andrey Vihrov 2009-03-09 10:45:33 UTC
Created attachment 23700 [details]
No compositing, overlay adaptor
Comment 5 Andrey Vihrov 2009-03-09 10:45:59 UTC
Created attachment 23701 [details]
Compositing, textured video adaptor
Comment 6 Andrey Vihrov 2009-03-09 10:46:23 UTC
Created attachment 23702 [details]
Compositing, overlay adaptor
Comment 7 Eric Anholt 2009-03-09 21:50:26 UTC
Did my best to reproduce your environment, and fixed this bug:

commit fb6e00f40f713a87c760fc7603159ed11ea9b0d5
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Mar 9 20:06:30 2009 -0700

    Fix XV with non-GEM kernels by allocating a larger fake bufmgr.
    
    Ideally we'd not be using the EXA offscreen memory manager and just hand all
    that memory to the fake bufmgr for non-GEM, but the fake bufmgr's too slow f
    that, at least currently.  So compromise and take enough memory that it will
    succeed at XV allocations but hopefully not anger tiny-aperture systems too
    much.
    
    Bug #20563.
Comment 8 Andrey Vihrov 2009-03-09 22:45:29 UTC
Hi,

Thanks for quick resolution. Haven't tested it yet, but I'll report back if the problem reappears.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.