Summary: | va-api scaling with nv50-class cards incomplete? | ||
---|---|---|---|
Product: | Mesa | Reporter: | Andrew Randrianasulu <randrik> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED MOVED | QA Contact: | Nouveau Project <nouveau> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
ffmpeg's output and command line
libva log file (with VL activated) libva log without VL |
Description
Andrew Randrianasulu
2019-05-15 05:51:41 UTC
After adding XVMC_VL=1 variable ffmpeg command above started to work ?! Apparently, 'normal' nouveau video allocator dislikes two differently-sized buffers (command also worked when I set "scale_vaapi=w=1280:h=720" , in other words to strictly same dimensions as input ....) (In reply to Andrew Randrianasulu from comment #1) > After adding XVMC_VL=1 variable ffmpeg command above started to work ?! I believe XVMC_VL uses shaders to do the mpeg decoding. It's not the built-in vp2 (or vpe) processor doing the decoding. I *have* seen some weird stuff with vdpau where it looks like surfaces are sized weird and everything breaks (like something is off by 8px in width or height). I have never tried to really track it down. using those two command lines XVMC_VL=1 LIBVA_MESSAGING_LEVEL=2 LIBVA_TRACE=/dev/shm/log_file ./ffmpeg -vaapi_device /dev/dri/renderD128 -benchmark -c:v libdav1d -i /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm -vf format=nv12,hwupload,scale_vaapi=w=3840:h=2160:mode=hq,hwdownload,format=yuv420p -map 0:v:0 /dev/shm/1.avi ---------working-------- LIBVA_MESSAGING_LEVEL=2 LIBVA_TRACE=/dev/shm/log_file_no_vl ./ffmpeg -vaapi_device /dev/dri/renderD128 -benchmark -c:v libdav1d -i /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm -vf format=nv12,hwupload,scale_vaapi=w=3840:h=2160:mode=hq,hwdownload,format=yuv420p -map 0:v:0 /dev/shm/1.avi --------failing---------- I got two trace files, will attach them. Created attachment 144462 [details]
libva log file (with VL activated)
Created attachment 144463 [details]
libva log without VL
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1179. |
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.