Bug 22872

Summary: [945] XvMC fails to initialise using DRI2 + KMS
Product: xorg Reporter: Johannes Engel <jcnengel>
Component: Driver/intelAssignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
Patch to fix XvMC for i915 under KMS none

Description Johannes Engel 2009-07-21 05:56:16 UTC
Created attachment 27876 [details]
Xorg.0.log

Trying xf86-video-intel 2.8.0 using
kernel: 2.6.31-rc2 (drm-intel-next branch) with KMS enabled
libdrm 2.4.11
XvMC fails to initialise saying

(**) 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
Comment 1 Johannes Engel 2009-07-22 04:40:32 UTC
Created attachment 27910 [details] [review]
Patch to fix XvMC for i915 under KMS

Thanks to Haihao Xiang for that patch sent to the intel-gfx mailing list. This one fixes the bug.

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.