System Environment: -------------------------- --Platform: 945G --2D driver: commit 548d4c0f979a72eac5d0c9c76da12f0bd05e64e1 --3D driver: commit 990e010394a2685c1daeaef61cf4f7e2a0ba419e --Xserver: commit cf20df39cc78203d17b99223908af388ecbf7d0e --Drm commit b44f2da380e78769b58c751e81f376f0fa1f48aa --Kernel: 2.6.23.1 Bug detailed description: ------------------------- when doing rendering for more than 682 macroblocks, it will complain: [intel_xvmc] err: correction data buffer overflow. and from the 683 macroblocks, just some garbages are rendered. Reproduce steps: ---------------- 1. enable XvMC in xorg.conf 2. start X 3. compile and run attached case Current result: ---------------- can't render more than 682 macroblocks in one time rendering Expected result: ---------------- can render more than 682 macroblocks in one time rendering
Created attachment 16779 [details] xorg log
Created attachment 16780 [details] xorg conf
Created attachment 16781 [details] test case
render the whole frame(720x576/16/16=1620 MBs) all together seems feasible for me. This issue happens when coded_block_pattern and XVMC_MB_TYPE_PATTERN is set And if we don't set XVMC_MB_TYPE_PATTERN, and it will complains: [intel_xvmc] info: no coded blocks present! But, the whole frame is rendered correctly.
I'm a little confused, as in your test case XVMC_MB_TYPE_INTRA is set, so that test case is ok? XVMC_MB_TYPE_INTRA is exclusive, means if you set that, you can't set any other type flags.
(In reply to comment #5) > I'm a little confused, as in your test case XVMC_MB_TYPE_INTRA is set, so that > test case is ok? > > XVMC_MB_TYPE_INTRA is exclusive, means if you set that, you can't set any other > type flags. > Oh, I meant following macroblock_type setting: macroblock_type = XVMC_MB_TYPE_MOTION_FORWARD | XVMC_MB_TYPE_PATTERN; in the I frame, I always can't get entire frame rendered. but in the P frame, when I do not set XVMC_MB_TYPE_PATTERN, the whole frame can be rendered in one time.
Created attachment 16923 [details] another test case This case is to show problem when P frame is set with XVMC_MB_TYPE_PATTERN.
We will not put further effort on XvMC for 915/945 platform.
verified
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.