Bug 23431

Summary: [i945] "[XvMC] fail to init batch buffer", when XvMC option is enabled
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/intelAssignee: haihao <haihao.xiang>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium CC: brian, shuang.he
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
XorgLog.txt
none
XorgConf.txt
none
CurrentDmesg.txt
none
BootDmesg.txt none

Description Bryce Harrington 2009-08-20 17:51:58 UTC
Forwarding this bug from Ubuntu reporter Brian Murray:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/410318

[Problem]
In Xorg.0.log the message "[XvMC] fail to init batch buffer" appears, even though Option "XvMC" "1" is specified in the xorg.conf.  The intel man page indicates XvMC should work on this hw.

[Original Description]
I noticed the following "[XvMC] fail to init batch buffer" messages in my log files.

According to the intel driver man page, there is also an option for XvMCSurfaces but this was left as default.  From the man page it is unclear if this option needs to be set in addition to the XvMC parameter (wouldn't that be redundant?)  /etc/X11/XvMCConfig is left to its stock defaults.

(**) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(EE) intel(0): [drm] drmAddMap(batchbuffer_handle) failed!
(WW) intel(0): [XvMC] fail to init batch buffer
XvMC driver initialize failed.
(II) intel(0): direct rendering: DRI2 Enabled

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30bb]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30bb]


Architecture: amd64
Date: Fri Aug  7 15:33:28 2009
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Pavilion dv6000 (RP285UA#ABA)
Package: xserver-xorg-video-intel 2:2.8.0-0ubuntu2
ProcCmdLine: root=UUID=00809111-11cc-420d-b48a-f6fed6bbd965 ro usbcore.autosuspend=1 resume=/dev/mapper/laptopvg-swap--rawlv
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.5-1ubuntu1
 libdrm2 2.4.12-1ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.31-5-generic x86_64
dmi.bios.date: 11/26/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.2D
dmi.board.name: 30BB
dmi.board.vendor: Quanta
dmi.board.version: 66.42
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.2D:bd11/26/2008:svnHewlett-Packard:pnHPPaviliondv6000(RP285UA#ABA):pvrRev1:rvnQuanta:rn30BB:rvr66.42:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6000 (RP285UA#ABA)
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
system: architecture:       x86_64kernel:             2.6.31-5-generic
Comment 1 Bryce Harrington 2009-08-20 17:55:54 UTC
Created attachment 28820 [details]
XorgLog.txt
Comment 2 Bryce Harrington 2009-08-20 17:56:15 UTC
Created attachment 28821 [details]
XorgConf.txt
Comment 3 Bryce Harrington 2009-08-20 17:56:27 UTC
Created attachment 28822 [details]
CurrentDmesg.txt
Comment 4 Bryce Harrington 2009-08-20 17:56:51 UTC
Created attachment 28823 [details]
BootDmesg.txt
Comment 5 haihao 2009-10-27 19:39:08 UTC
I can't reproduce this issue, if possible, could you try with the latest drivers?
Comment 6 Chris Wilson 2010-07-15 04:28:18 UTC
This bug is obsolete, based on a pre-GEM version of XvMC. If it can be reproduced on 2010Q2, please reopen.

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.