new 'xvmc' branch of intel video driver
Zhenyu Wang
zhenyu.z.wang at intel.com
Tue Jan 1 18:03:18 PST 2008
On 2007.12.30 23:05:55 +0000, Brad Borgald wrote:
> I'm trying to enable xmvc with MythTV(latest svn) on my G33 based
> board. I've attached my xserver log. If you can give me any pointers
> on how to debug this problem further, please let me know. I'm running
> debian unstable
>
> xserver-xorg-core 2:1.4.1~git20071212-2
> xserver-xorg 1:7.3+8
> libgl1-mesa-dri 7.0.2-3
>
> 2007-12-30 22:09:36.691 Found a suitable XvMC surface 0
> 2007-12-30 22:09:36.693 VDP: Accepting: cmp(<= 720 480) dec(xvmc)
> rend(xvmc-opengl) osd(opengl) osdfade(enabled) deint(bobdeint,none) filt()
> 2007-12-30 22:09:36.693 VDP: Accepting: cmp(> 800 0) dec(ffmpeg)
> rend(xv-blit) osd(chromakey) osdfade(enabled) deint(none,none) filt()
> 2007-12-30 22:09:36.693 VDP: LoadBestPreferences(2048x2048, 0)
> 2007-12-30 22:09:36.694 VDP: LoadBestPreferences(2048x2048, 60)
> 2007-12-30 22:09:36.694 VDP: LoadBestPreferences(720x480, 60)
> 2007-12-30 22:09:36.694 VideoOutputXv: @ j=0 Looking for flag[s]:
> XvInputMask 11
> 2007-12-30 22:09:36.694 VideoOutputXv: Adaptor#0: Intel(R) Textured
> Video has flag[s]: XvInputMask XvImageMask
> 2007-12-30 22:09:36.694 VideoOutputXv: Has XVideo flags...
> 2007-12-30 22:09:36.694 VideoOutputXv: Has XV_BRIGHTNESS...
> 2007-12-30 22:09:36.694 VideoOutputXv: Here...
> 2007-12-30 22:09:36.694 XvMCSurfaceTypes::find(w 720, h 480, chroma 1,
> vld 0, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 88, 730 <=p,
> port, surfNum)
> 2007-12-30 22:09:36.694 Trying XvMC port 73
> 2007-12-30 22:09:36.694 Found a suitable XvMC surface 0
> 2007-12-30 22:09:36.695 VideoOutputXv: Grabbed xv port 73
> 2007-12-30 22:09:36.695 VideoOutputXv: XvMC surface found with MC
> support on port 73
> [intel_xvmc] info: decoder type is i915/945 MPEG2 MC decoder
> uniDRIQueryDirectRenderingCapable...
> uniDRIQueryDirectRenderingCapable... return True
> uniDRIOpenConnection...
> uniDRIOpenConnection... return True
> uniDRIAuthConnection...
> uniDRIAuthConnection... return True
> uniDRICreateContext...
> X Error: BadValue (integer parameter out of range for operation) 2
> Major opcode: 145
> Minor opcode: 5
> Resource id: 0x6b
> uniDRICreateContext... return False
> [intel_xvmc] err: Could not create DRI context.
> 2007-12-30 22:09:36.696 VideoOutputXv Error: Unable to create XvMC
> Context, status(11): BadAlloc
> 2007-12-30 22:09:36.696 VideoOutputXv: Closing XVideo port 73
> 2007-12-30 22:09:36.696 VideoOutputXv Error: Could not open XvMC port...
No idea why DRICreateContext request fails for you...
I usually use "mplayer -vo xvmc -vc ffmpeg12mc $1" to test the driver,
and it's ok on my Q35 (same model like G33). You may track why BadValue
is returned from hw/xfree86/dri/xf86dri.c, adding ErrorF in src/i830_dri.c
dummy I830CreateContext to see if it's called, etc.. I'll try with MythTV.
More information about the xorg
mailing list