[Libva] Fwd: Re: Fwd: Re: intel and libva-intel-driver-1.0.19

zaverel zaverel at free.fr
Wed Dec 26 06:02:40 PST 2012




hello,

you're right with libva-1.1.0 and libva-intel-driver-1.0.19 ,the two
patch work
and there is no more corrupted display with mplayer ou xine in vaapi mode.


Thanks.

See you.


Le 24/12/2012 02:41, Xiang, Haihao a écrit :
> Hi,
>
> The compile error isn't caused by the two patches. You can revert the
> patches and build the driver again, the error should exist.
>
> The most possibility is that libva-intel-driver doesn't match libva on
> your machine. For libva-intel-driver-1.0.19, you should use the official
> release of libva or the master branch of libva.
>
> Thanks
> Haihao
>
>
>
>> Hello,
>>
>> the two patch are applicated but that don't compile:
>>
>>
>> ....
>> gen6_mfc.c: In function 'gen6_mfc_init':
>> gen6_mfc.c:717:5: error: unknown type name
>> 'VAEncSequenceParameterBufferH264'
>> gen6_mfc.c:717:61: error: 'VAEncSequenceParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_mfc.c:717:61: note: each undeclared identifier is reported only
>> once for each function it appears in
>> gen6_mfc.c:717:95: error: expected expression before ')' token
>> gen6_mfc.c:718:42: error: request for member 'picture_width_in_mbs' in
>> something not a structure or union
>> gen6_mfc.c: In function 'gen6_mfc_avc_pipeline_programing':
>> gen6_mfc.c:777:5: error: unknown type name
>> 'VAEncSequenceParameterBufferH264'
>> gen6_mfc.c:777:61: error: 'VAEncSequenceParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_mfc.c:777:95: error: expected expression before ')' token
>> gen6_mfc.c:797:40: error: request for member 'initial_qp' in something
>> not a structure or union
>> gen6_mfc.c: In function 'gen6_mfc_avc_prepare':
>> gen6_mfc.c:885:5: error: unknown type name 'VAEncPictureParameterBufferH264'
>> gen6_mfc.c:885:55: error: 'VAEncPictureParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_mfc.c:885:88: error: expected expression before ')' token
>> gen6_mfc.c:889:19: error: request for member 'reconstructed_picture' in
>> something not a structure or union
>> gen6_mfc.c:900:19: error: request for member 'reference_picture' in
>> something not a structure or union
>> gen6_mfc.c:912:18: error: request for member 'coded_buf' in something
>> not a structure or union
>> make[3]: *** [i965_drv_video_la-gen6_mfc.lo] Erreur 1
>> make[3]: *** Attente des tâches non terminées....
>> gen6_vme.c: In function 'gen6_vme_output_buffer_setup':
>> gen6_vme.c:256:5: error: unknown type name
>> 'VAEncSequenceParameterBufferH264'
>> gen6_vme.c:256:61: error: 'VAEncSequenceParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_vme.c:256:61: note: each undeclared identifier is reported only
>> once for each function it appears in
>> gen6_vme.c:256:95: error: expected expression before ')' token
>> gen6_vme.c:259:42: error: request for member 'picture_width_in_mbs' in
>> something not a structure or union
>> gen6_vme.c:260:43: error: request for member 'picture_height_in_mbs' in
>> something not a structure or union
>> gen6_vme.c: In function 'gen6_vme_surface_setup':
>> gen6_vme.c:312:5: error: unknown type name 'VAEncPictureParameterBufferH264'
>> gen6_vme.c:312:55: error: 'VAEncPictureParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_vme.c:312:88: error: expected expression before ')' token
>> gen6_vme.c:323:23: error: request for member 'reference_picture' in
>> something not a structure or union
>> gen6_vme.c: In function 'gen7_vme_output_buffer_setup':
>> gen6_vme.c:491:5: error: unknown type name
>> 'VAEncSequenceParameterBufferH264'
>> gen6_vme.c:491:61: error: 'VAEncSequenceParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_vme.c:491:95: error: expected expression before ')' token
>> gen6_vme.c:494:42: error: request for member 'picture_width_in_mbs' in
>> something not a structure or union
>> gen6_vme.c:495:43: error: request for member 'picture_height_in_mbs' in
>> something not a structure or union
>> gen6_vme.c: In function 'gen7_vme_surface_setup':
>> gen6_vme.c:552:5: error: unknown type name 'VAEncPictureParameterBufferH264'
>> gen6_vme.c:552:55: error: 'VAEncPictureParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_vme.c:552:88: error: expected expression before ')' token
>> gen6_vme.c:563:23: error: request for member 'reference_picture' in
>> something not a structure or union
>> gen6_vme.c: In function 'gen6_vme_pipeline_programing':
>> gen6_vme.c:870:5: error: unknown type name
>> 'VAEncSequenceParameterBufferH264'
>> gen6_vme.c:870:61: error: 'VAEncSequenceParameterBufferH264' undeclared
>> (first use in this function)
>> gen6_vme.c:870:95: error: expected expression before ')' token
>> gen6_vme.c:872:42: error: request for member 'picture_width_in_mbs' in
>> something not a structure or union
>> gen6_vme.c:873:43: error: request for member 'picture_height_in_mbs' in
>> something not a structure or union
>> make[3]: *** [i965_drv_video_la-gen6_vme.lo] Erreur 1
>> make[3] : on quitte le répertoire «
>> /home/mat/intel-driver-272b542ff58f2f63cae80597ef581ca6eba805b9/src »
>> make[2]: *** [all-recursive] Erreur 1
>> make[2] : on quitte le répertoire «
>> /home/mat/intel-driver-272b542ff58f2f63cae80597ef581ca6eba805b9/src »
>> make[1]: *** [all] Erreur 2
>> make[1] : on quitte le répertoire «
>> /home/mat/intel-driver-272b542ff58f2f63cae80597ef581ca6eba805b9/src »
>> make: *** [all-recursive] Erreur 1
>>
>>
>>
>>
>>
>> Le 21/12/2012 03:41, Xiang, Haihao a écrit :
>>> Hi, zaverel
>>>
>>> I just sent out two patch for this issue, could you have a try ?
>>>
>>> Thanks
>>> Haihao
>>>
>>>
>>>
>>>> Thanks for your helping, I will double check the value. A weird thing is
>>>> it works for me when I ran the testing on a machine which has the same
>>>> graphic as yours.
>>>>
>>>> Thanks
>>>> Haihao
>>>>
>>>>
>>>>> hello,
>>>>>
>>>>> i take some time and found the bug
>>>>> http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=ffe25a063e23222cd72fbe4ae3eb0409618c77dd
>>>>>
>>>>>
>>>>> in i965_defines.h
>>>>>
>>>>> define GEN7_PS_MAX_THREADS_SHIFT 23 => work
>>>>>
>>>>> define GEN7_PS_MAX_THREADS_SHIFT 24 => don't work
>>>>>
>>>>> so i revert the commit and that work now.
>>>>> At least for my i3-3220T (hd2500)
>>>>>
>>>>> and this with libva-intel-driver-1.0.19 and for libva,
>>>>> libva-intel-driver staging branch.
>>>>>
>>>>>
>>>>> See you
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Le 13/12/2012 02:30, ykzhao a écrit :
>>>>>> On Wed, 2012-12-12 at 16:31 +0100, zaverel wrote:
>>>>>>> Hello,
>>>>>>>
>>>>>>> i 've got the same issue with kernel-3.7.0 ,latest xf86-video-intel cvs,
>>>>>>> libva-1.1.0 and libva-intel-driver-1.019
>>>>>>>
>>>>>>> http://imageshack.us/photo/my-images/132/bugvaapi.png/
>>>>>>> with mplayer-vaapi or xine-lib-vaapi
>>>>>>>
>>>>>> Sorry that I was busy on another task last month.
>>>>>> I will take a look at this issue in my side.
>>>>>>
>>>>>>> See you.
>>>>>>>
>>>>>>> Le 27/11/2012 01:30, ykzhao a écrit :
>>>>>>>> On Mon, 2012-11-26 at 14:56 +0100, zaverel wrote:
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I think there is a little confusion of thread
>>>>>>>>>
>>>>>>>>> I have alway the bug with display corrupted and
>>>>>>>>> libva-intel-driver-1.0.19
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Yannis Tsopokis is talking about his bug about libva and  g45-h264
>>>>>>>>> branch i think.
>>>>>>>>>
>>>>>>>> Sorry that I am confused by these two threads.
>>>>>>>>
>>>>>>>> OK. I will take a look at this issue.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>         Yakui
>>>>>>>>
>>>>>>>>> See you.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Le 26/11/2012 01:45, ykzhao a écrit :
>>>>>>>>>
>>>>>>>>>> On Thu, 2012-11-22 at 18:59 -0700, Yannis Tsopokis wrote:
>>>>>>>>>>> Now everything works perfectly!
>>>>>>>>>>>
>>>>>>>>>>> I only need to add
>>>>>>>>>>>
>>>>>>>>>>> export LD_LIBRARY_PATH=/usr/local/lib/
>>>>>>>>>>>
>>>>>>>>>>> to ~/.profile in order to load the new libraries!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> Thanks for the update.
>>>>>>>>>>         It is good news that it can work as expected after the library is
>>>>>>>>>> loaded correctly.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>         Yakui
>>>>>>>>>>
>>>>>>>>>>> Yannis
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 23/11/2012 03:24 πμ, ykzhao wrote:
>>>>>>>>>>>> On Thu, 2012-11-22 at 07:24 -0700, zaverel wrote:
>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I repost because i'm not sure that my previously post is arrived
>>>>>>>>>>>>> and so this one is without sample.
>>>>>>>>>>>> Hi, Zaverel
>>>>>>>>>>>>
>>>>>>>>>>>>           Very sorry that I don't receive your previous email. Will you
>>>>>>>>>>>> please attach the video stream in the bug
>>>>>>>>>>>> https://bugs.freedesktop.org/show_bug.cgi?id=57323?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>          Yakui
>>>>>>>>>>>>> In fact problem is the same for all video ( mpeg2 or h264, sd or hd) in
>>>>>>>>>>>>> vaapi mode
>>>>>>>>>>>>>
>>>>>>>>>>>>> i also test hwdecode-demos and it's the same corrupted display.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I attach Xorg.0.log (with today xf86-video-intel cvs)
>>>>>>>>>>>>>
>>>>>>>>>>>>> See you
>>>>>>>>>>>>>
>>>>>>>>>>>>> lspci -vxxx -s 0:02.0
>>>>>>>>>>>>>
>>>>>>>>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd
>>>>>>>>>>>>> Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA
>>>>>>>>>>>>> controller])
>>>>>>>>>>>>>               Subsystem: Micro-Star International Co., Ltd. Device 2111
>>>>>>>>>>>>>               Flags: bus master, fast devsel, latency 0, IRQ 43
>>>>>>>>>>>>>               Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
>>>>>>>>>>>>>               Memory at e0000000 (64-bit, prefetchable) [size=256M]
>>>>>>>>>>>>>               I/O ports at f000 [size=64]
>>>>>>>>>>>>>               Expansion ROM at <unassigned> [disabled]
>>>>>>>>>>>>>               Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>>>>>>>>               Capabilities: [d0] Power Management version 2
>>>>>>>>>>>>>               Capabilities: [a4] PCI Advanced Features
>>>>>>>>>>>>>               Kernel driver in use: i915
>>>>>>>>>>>>> 00: 86 80 52 01 07 04 90 00 09 00 00 03 00 00 00 00
>>>>>>>>>>>>> 10: 04 00 80 f7 00 00 00 00 0c 00 00 e0 00 00 00 00
>>>>>>>>>>>>> 20: 01 f0 00 00 00 00 00 00 00 00 00 00 62 14 11 21
>>>>>>>>>>>>> 30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00
>>>>>>>>>>>>> 40: 09 00 0c 01 92 80 80 e2 d0 00 50 14 00 00 00 00
>>>>>>>>>>>>> 50: 41 02 00 00 11 00 00 00 00 00 00 00 01 00 a0 cf
>>>>>>>>>>>>> 60: 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> 90: 05 d0 01 00 0c f0 e0 fe c1 41 00 00 00 00 00 00
>>>>>>>>>>>>> a0: 00 00 00 00 13 00 06 03 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> d0: 01 a4 22 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>>>>> e0: 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00
>>>>>>>>>>>>> f0: 00 00 00 00 00 00 00 00 00 00 09 00 18 70 fd cc
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Le 21/11/2012 01:49, ykzhao a écrit :
>>>>>>>>>>>>>> On Tue, 2012-11-20 at 15:02 +0100, zaverel wrote:
>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> after delate liva ,libva-intel-driver , ffmpeg and recompile all but
>>>>>>>>>>>>>>> with no change.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I open a bug to  freedesktop.org
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://bugs.freedesktop.org/show_bug.cgi?id=57323
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks for the confirmation.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Will you please attach the video you tested? It will be great that you
>>>>>>>>>>>>>> can attach the following info.
>>>>>>>>>>>>>>           a. lspci -vxxx -s 0:02.0
>>>>>>>>>>>>>>           b. Xorg.0.log
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>> See you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Le 20/11/2012 02:34, ykzhao a écrit :
>>>>>>>>>>>>>>>> On Mon, 2012-11-19 at 08:50 -0700, zaverel wrote:
>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> with latest libva-intel-driver-1.0.19 video display is not good
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> http://imageshack.us/photo/my-images/132/bugvaapi.png/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> This with mplayer-vaapi , xbmc-vaapi  and xine-lib-vaapi
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> With previously libva-intel-driver-1.0.18-r1 display is good for all
>>>>>>>>>>>>>>>>> three softwares.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>            It is not expected that the display is corrupted on the 1.0.19
>>>>>>>>>>>>>>>> libva-intel-driver.
>>>>>>>>>>>>>>>>            Will you please rebuild the 1.0.19 libva-intel-driver driver again
>>>>>>>>>>>>>>>> and then see whether the problem still exists? (It will be better that
>>>>>>>>>>>>>>>> you remove all the libva* file on your system before you rebuilt it
>>>>>>>>>>>>>>>> again). If the problem still exists, will you please file one bug of
>>>>>>>>>>>>>>>> libva on https://bugs.freedesktop.org ?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>            Yakui
>>>>>>>>>>>>>>>>> Intel Core i3 3220T (Ivy Bridge hd graphics 2500)
>>>>>>>>>>>>>>>>> kernel 3.6.6-gentoo
>>>>>>>>>>>>>>>>> libva-1.1.0
>>>>>>>>>>>>>>>>> xf86-video-intel-9999 (latest cvs)
>>>>>>>>>>>>>>>>> libdrm-2.4.40
>>>>>>>>>>>>>>>>> ffmpeg-1.0
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>          vainfo
>>>>>>>>>>>>>>>>> libva info: VA-API version 0.33.0
>>>>>>>>>>>>>>>>> libva info: va_getDriverName() returns 0
>>>>>>>>>>>>>>>>> libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
>>>>>>>>>>>>>>>>> libva info: Found init function __vaDriverInit_0_33
>>>>>>>>>>>>>>>>> libva info: va_openDriver() returns 0
>>>>>>>>>>>>>>>>> vainfo: VA-API version: 0.33 (libva 1.1.0)
>>>>>>>>>>>>>>>>> vainfo: Driver version: Intel i965 driver - 1.0.18
>>>>>>>>>>>>>>>>> vainfo: Supported profile and entrypoints
>>>>>>>>>>>>>>>>>               VAProfileMPEG2Simple            : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileMPEG2Main              : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileH264Baseline           : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileH264Baseline           : VAEntrypointEncSlice
>>>>>>>>>>>>>>>>>               VAProfileH264Main               : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileH264Main               : VAEntrypointEncSlice
>>>>>>>>>>>>>>>>>               VAProfileH264High               : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileH264High               : VAEntrypointEncSlice
>>>>>>>>>>>>>>>>>               VAProfileVC1Simple              : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileVC1Main                : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileVC1Advanced            : VAEntrypointVLD
>>>>>>>>>>>>>>>>>               VAProfileJPEGBaseline           : VAEntrypointVLD
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> i don't think that's normal.
>>>>>>>>>>>>>>>>> i try libva and libva-intel-driver from staging and it's the same
>>>>>>>>>>>>>>>>> corrupted display.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> See you
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Libva mailing list
>>>>>>>>>>>>>>>>> Libva at lists.freedesktop.org
>>>>>>>>>>>>>>>>> http://lists.freedesktop.org/mailman/listinfo/libva
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Libva mailing list
>>>>>>>>>>>> Libva at lists.freedesktop.org
>>>>>>>>>>>> http://lists.freedesktop.org/mailman/listinfo/libva
>>>>>>
>>>>> _______________________________________________
>>>>> Libva mailing list
>>>>> Libva at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/libva
>>>> _______________________________________________
>>>> Libva mailing list
>>>> Libva at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/libva
>>>
>>>
>>
>>
>> _______________________________________________
>> Libva mailing list
>> Libva at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libva
>
>
>





More information about the Libva mailing list