Bug 1074236 - [abrt] libva-utils: object_heap_destroy(): vainfo killed by SIGFPE
Summary: [abrt] libva-utils: object_heap_destroy(): vainfo killed by SIGFPE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libva
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Williamson
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:741088e0ee37b08b89050918305...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-09 05:38 UTC by Arcadiy Ivanov
Modified: 2021-01-26 07:56 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-05 09:05:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (11.68 KB, text/plain)
2014-03-09 05:38 UTC, Arcadiy Ivanov
no flags Details
File: cgroup (172 bytes, text/plain)
2014-03-09 05:38 UTC, Arcadiy Ivanov
no flags Details
File: core_backtrace (3.11 KB, text/plain)
2014-03-09 05:38 UTC, Arcadiy Ivanov
no flags Details
File: dso_list (3.12 KB, text/plain)
2014-03-09 05:38 UTC, Arcadiy Ivanov
no flags Details
File: environ (3.88 KB, text/plain)
2014-03-09 05:38 UTC, Arcadiy Ivanov
no flags Details
File: limits (1.29 KB, text/plain)
2014-03-09 05:38 UTC, Arcadiy Ivanov
no flags Details
File: maps (15.47 KB, text/plain)
2014-03-09 05:39 UTC, Arcadiy Ivanov
no flags Details
File: open_fds (265 bytes, text/plain)
2014-03-09 05:39 UTC, Arcadiy Ivanov
no flags Details
File: proc_pid_status (938 bytes, text/plain)
2014-03-09 05:39 UTC, Arcadiy Ivanov
no flags Details
File: var_log_messages (3.09 KB, text/plain)
2014-03-09 05:39 UTC, Arcadiy Ivanov
no flags Details

Description Arcadiy Ivanov 2014-03-09 05:38:45 UTC
Description of problem:
$ export LIBVA_DRIVER_NAME=vdpau
$ export VDPAU_DRIVER=radeonsi
$ vainfo
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib64/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_34
do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with 2.3.x (kernel 2.6.34) or later.
Floating point exception (core dumped)

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 05cc
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at f5800000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (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

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M] (prog-if 00 [VGA controller])
        Subsystem: Dell Device 05cc
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f7e00000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at e000 [size=256]
        Expansion ROM at f7e40000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [270] #19
        Kernel driver in use: radeon


Version-Release number of selected component:
libva-utils-1.2.1-2.fc20

Additional info:
reporter:       libreport-2.1.12
backtrace_rating: 4
cmdline:        vainfo
crash_function: object_heap_destroy
executable:     /usr/bin/vainfo
kernel:         3.13.5-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (8 frames)
 #0 object_heap_destroy at object_heap.c:275
 #1 destroy_heap at vdpau_driver.c:138
 #3 vdpau_common_Terminate at vdpau_driver.c:159
 #4 vdpau_Terminate_Current at vdpau_driver_template.h:537
 #5 vdpau_Initialize_Current at vdpau_driver_template.h:563
 #6 __vaDriverInit_0_34 at vdpau_driver.c:317
 #7 va_openDriver at va.c:292
 #8 vaInitialize at va.c:475

Potential duplicate: bug 1043247

Comment 1 Arcadiy Ivanov 2014-03-09 05:38:50 UTC
Created attachment 872335 [details]
File: backtrace

Comment 2 Arcadiy Ivanov 2014-03-09 05:38:52 UTC
Created attachment 872336 [details]
File: cgroup

Comment 3 Arcadiy Ivanov 2014-03-09 05:38:54 UTC
Created attachment 872337 [details]
File: core_backtrace

Comment 4 Arcadiy Ivanov 2014-03-09 05:38:55 UTC
Created attachment 872338 [details]
File: dso_list

Comment 5 Arcadiy Ivanov 2014-03-09 05:38:57 UTC
Created attachment 872339 [details]
File: environ

Comment 6 Arcadiy Ivanov 2014-03-09 05:38:59 UTC
Created attachment 872340 [details]
File: limits

Comment 7 Arcadiy Ivanov 2014-03-09 05:39:01 UTC
Created attachment 872341 [details]
File: maps

Comment 8 Arcadiy Ivanov 2014-03-09 05:39:03 UTC
Created attachment 872342 [details]
File: open_fds

Comment 9 Arcadiy Ivanov 2014-03-09 05:39:05 UTC
Created attachment 872343 [details]
File: proc_pid_status

Comment 10 Arcadiy Ivanov 2014-03-09 05:39:07 UTC
Created attachment 872344 [details]
File: var_log_messages

Comment 11 Adam Williamson 2014-03-09 16:59:45 UTC
Can you please report this to upstream? All we do is package and ship the tool, we don't modify it, and I'm not a programmer: I have no ability to fix this bug, so it's just going to sit here unless someone else happens to see it.

Comment 12 Adam Williamson 2014-03-09 17:00:43 UTC
"upstream" is https://bugs.freedesktop.org/enter_bug.cgi?product=libva .

Comment 13 Adam Williamson 2014-03-09 17:03:13 UTC
I guess there may be a bug here in radeonsi too, though vainfo probably shouldn't crash no matter what crazy response it gets from the driver. CCing airlied for his opinion.

Comment 14 Nicolas Chauvet (kwizart) 2014-03-09 21:00:27 UTC
Can you please use vdpauinfo instead ?

When using VAAPI with a VDPAU backend, you are using an additional bridge which is not supported in fedora (libvdpau-va-gl).
You should use native VDPAU players instead.


You should use gstreamer-plugins-bad-free-extras (for 0.10) and there is a bug for gstreamer 1.0 because it lacks vdpau support.

Alternative is to use mplayer, which is the reference player for vdpau, or vlc.

Comment 15 Nicolas Chauvet (kwizart) 2014-03-09 21:31:39 UTC
Ok for f20 and later you need to have gstreamer1-plugins-bad-free, It's just not enabled in f19 despite the BuildRequires is present.

Comment 16 Arcadiy Ivanov 2014-03-09 21:56:48 UTC
Upstream bug created: https://bugs.freedesktop.org/show_bug.cgi?id=75959

Comment 17 Arcadiy Ivanov 2014-03-09 22:02:37 UTC
(In reply to Nicolas Chauvet (kwizart) from comment #14)
> Can you please use vdpauinfo instead ?
> 
> When using VAAPI with a VDPAU backend, you are using an additional bridge
> which is not supported in fedora (libvdpau-va-gl).
> You should use native VDPAU players instead.
> 
> 
> You should use gstreamer-plugins-bad-free-extras (for 0.10) and there is a
> bug for gstreamer 1.0 because it lacks vdpau support.
> 
> Alternative is to use mplayer, which is the reference player for vdpau, or
> vlc.

$ grep "VDPAU" /var/log/Xorg.0.log
[    10.449] (II) RADEON(G0): [DRI2]   VDPAU driver: radeonsi
$ export VDPAU_DRIVER=radeonsi
$ vdpauinfo
display: :0   screen: 0
do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with 2.3.x (kernel 2.6.34) or later.
Error creating VDPAU device: 23

Comment 18 Arcadiy Ivanov 2014-03-09 22:07:35 UTC
FYI: without sudo vdpauinfo configured with va_gl gets stuck

$ sudo VDPAU_DRIVER=va_gl vdpauinfo
display: :0   screen: 0
[VS] Software VDPAU backend library initialized
[VS] {full} vdp_imp_device_create_x11 display=0x211a010, screen=0
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
[VS] libva (version 0.34) library initialized
[VS] {full} VdpGetApiVersion
[VS] {full} VdpGetInformationString
API version: 1
Information string: OpenGL/VAAPI/libswscale backend for VDPAU

Video surface:

name   width height types
-------------------------------------------
[VS] {part} VdpVideoSurfaceQueryCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420
420     1920  1080  [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
NV12 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
YV12 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
UYVY [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
YUYV [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
Y8U8V8A8 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_420, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8
V8U8Y8A8 
[VS] {part} VdpVideoSurfaceQueryCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422
422     1920  1080  [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
NV12 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
YV12 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
UYVY [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
YUYV [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
Y8U8V8A8 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_422, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8
V8U8Y8A8 
[VS] {part} VdpVideoSurfaceQueryCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444
444     1920  1080  [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
NV12 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
YV12 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
UYVY [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
YUYV [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
Y8U8V8A8 [VS] {part} VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities device=1, surface_chroma_type=VDP_CHROMA_TYPE_444, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8
V8U8Y8A8 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_MPEG1
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_MPEG2_SIMPLE
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_MPEG2_MAIN
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_H264_BASELINE
H264_BASELINE        51 16384  2048  2048
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_H264_MAIN
H264_MAIN            51 16384  2048  2048
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_H264_HIGH
H264_HIGH            51 16384  2048  2048
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_VC1_SIMPLE
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_VC1_MAIN
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_VC1_ADVANCED
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_MPEG4_PART2_SP
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_MPEG4_PART2_ASP
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX4_QMOBILE
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX4_MOBILE
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX4_HOME_THEATER
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX4_HD_1080P
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX5_QMOBILE
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX5_MOBILE
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX5_HOME_THEATER
[VS] {part} VdpDecoderQueryCapabilities device=1, profile=VDP_DECODER_PROFILE_DIVX5_HD_1080P

Output surface:

name              width height nat types
----------------------------------------------------
[VS] {full} VdpOutputSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8
[VS] {zilch} VdpOutputSurfaceQueryGetPutBitsNativeCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8
B8G8R8A8             0     0    y  [VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8

[VS] {full} VdpOutputSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8
[VS] {zilch} VdpOutputSurfaceQueryGetPutBitsNativeCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8
R8G8B8A8         32767 32767    y  [VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8

[VS] {full} VdpOutputSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2
[VS] {zilch} VdpOutputSurfaceQueryGetPutBitsNativeCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2
R10G10B10A2      32767 32767    y  [VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8

[VS] {full} VdpOutputSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2
[VS] {zilch} VdpOutputSurfaceQueryGetPutBitsNativeCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2
B10G10R10A2      32767 32767    y  [VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8

[VS] {full} VdpOutputSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8
[VS] {zilch} VdpOutputSurfaceQueryGetPutBitsNativeCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8
A8               32767 32767    y  [VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_NV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_YV12
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_UYVY
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_YUYV
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_Y8U8V8A8
[VS] {zilch} VdpOutputSurfaceQueryPutBitsYCbCrCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8, bits_ycbcr_format=VDP_YCBCR_FORMAT_V8U8Y8A8


Bitmap surface:

name              width height
------------------------------
[VS] {full} VdpBitmapSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B8G8R8A8
B8G8R8A8          8192  8192
[VS] {full} VdpBitmapSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R8G8B8A8
R8G8B8A8          8192  8192
[VS] {full} VdpBitmapSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_R10G10B10A2
R10G10B10A2       8192  8192
[VS] {full} VdpBitmapSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_B10G10R10A2
B10G10R10A2       8192  8192
[VS] {full} VdpBitmapSurfaceQueryCapabilities device=1, surface_rgba_format=VDP_RGBA_FORMAT_A8
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
DEINTERLACE_TEMPORAL             -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
DEINTERLACE_TEMPORAL_SPATIAL     -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
INVERSE_TELECINE                 -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
NOISE_REDUCTION                  -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_SHARPNESS
SHARPNESS                        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_LUMA_KEY
LUMA_KEY                         -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1
HIGH QUALITY SCALING - L1        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L2
HIGH QUALITY SCALING - L2        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L3
HIGH QUALITY SCALING - L3        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L4
HIGH QUALITY SCALING - L4        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L5
HIGH QUALITY SCALING - L5        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L6
HIGH QUALITY SCALING - L6        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L7
HIGH QUALITY SCALING - L7        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L8
HIGH QUALITY SCALING - L8        -
[VS] {zilch} VdpVideoMixerQueryFeatureSupport device=1, feature=VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L9
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
[VS] {zilch} VdpVideoMixerQueryParameterSupport device=1, parameter=VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_WIDTH
VIDEO_SURFACE_WIDTH              -  
[VS] {zilch} VdpVideoMixerQueryParameterSupport device=1, parameter=VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_HEIGHT
VIDEO_SURFACE_HEIGHT             -  
[VS] {zilch} VdpVideoMixerQueryParameterSupport device=1, parameter=VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE
CHROMA_TYPE                      -  
[VS] {zilch} VdpVideoMixerQueryParameterSupport device=1, parameter=VDP_VIDEO_MIXER_PARAMETER_LAYERS
LAYERS                           -  

attribute name                  sup      min      max
-----------------------------------------------------
[VS] {zilch} VdpVideoMixerQueryAttributeSupport device=1, attribute=VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR
BACKGROUND_COLOR                 -  
[VS] {zilch} VdpVideoMixerQueryAttributeSupport device=1, attribute=VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX
CSC_MATRIX                       -  
[VS] {zilch} VdpVideoMixerQueryAttributeSupport device=1, attribute=VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL
NOISE_REDUCTION_LEVEL            -  
[VS] {zilch} VdpVideoMixerQueryAttributeSupport device=1, attribute=VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL
SHARPNESS_LEVEL                  -  
[VS] {zilch} VdpVideoMixerQueryAttributeSupport device=1, attribute=VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA
LUMA_KEY_MIN_LUMA                -  
[VS] {zilch} VdpVideoMixerQueryAttributeSupport device=1, attribute=VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA
LUMA_KEY_MAX_LUMA

Comment 19 Nicolas Chauvet (kwizart) 2014-03-09 22:25:35 UTC
(In reply to Arcadiy Ivanov from comment #17)
> (In reply to Nicolas Chauvet (kwizart) from comment #14)
> > Can you please use vdpauinfo instead ?
> > 
> > When using VAAPI with a VDPAU backend, you are using an additional bridge
> > which is not supported in fedora (libvdpau-va-gl).
> > You should use native VDPAU players instead.
> > 
> > 
> > You should use gstreamer-plugins-bad-free-extras (for 0.10) and there is a
> > bug for gstreamer 1.0 because it lacks vdpau support.
> > 
> > Alternative is to use mplayer, which is the reference player for vdpau, or
> > vlc.
> 
> $ grep "VDPAU" /var/log/Xorg.0.log
> [    10.449] (II) RADEON(G0): [DRI2]   VDPAU driver: radeonsi
> $ export VDPAU_DRIVER=radeonsi
> $ vdpauinfo
> display: :0   screen: 0
> do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with
> 2.3.x (kernel 2.6.34) or later.
> Error creating VDPAU device: 23
You wonder if you have broken libraries installed by hand on your system ?

At least:
1/You are not supposed to hardcode the libva or vdpau backend, it should be automatically detected.
2/ This is not an error message that I can reproduce with current fedora 20 64 bit with the provided mesa-vdpau-drivers (I'm using r600 driver).
3/ You are actually using the right bridge that should be supported in fedora (libva-vdpau-driver)

That been said, You might have a look on updated mesa-vdpau-drivers on http://blog.kwizart.fr/post/2014/03/02/163-mesa-10.2-from-git-for-Fedora-20
In order to verify if you can reproduce with the master branch of mesa.

Comment 20 Arcadiy Ivanov 2014-03-09 22:36:33 UTC
(In reply to Nicolas Chauvet (kwizart) from comment #19)
> (In reply to Arcadiy Ivanov from comment #17)
> > (In reply to Nicolas Chauvet (kwizart) from comment #14)
> > > Can you please use vdpauinfo instead ?
> > > 
> > > When using VAAPI with a VDPAU backend, you are using an additional bridge
> > > which is not supported in fedora (libvdpau-va-gl).
> > > You should use native VDPAU players instead.
> > > 
> > > 
> > > You should use gstreamer-plugins-bad-free-extras (for 0.10) and there is a
> > > bug for gstreamer 1.0 because it lacks vdpau support.
> > > 
> > > Alternative is to use mplayer, which is the reference player for vdpau, or
> > > vlc.
> > 
> > $ grep "VDPAU" /var/log/Xorg.0.log
> > [    10.449] (II) RADEON(G0): [DRI2]   VDPAU driver: radeonsi
> > $ export VDPAU_DRIVER=radeonsi
> > $ vdpauinfo
> > display: :0   screen: 0
> > do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with
> > 2.3.x (kernel 2.6.34) or later.
> > Error creating VDPAU device: 23
> You wonder if you have broken libraries installed by hand on your system ?
>  
> At least:
> 1/You are not supposed to hardcode the libva or vdpau backend, it should be
> automatically detected.
> 2/ This is not an error message that I can reproduce with current fedora 20
> 64 bit with the provided mesa-vdpau-drivers (I'm using r600 driver).
> 3/ You are actually using the right bridge that should be supported in
> fedora (libva-vdpau-driver)
> 
> That been said, You might have a look on updated mesa-vdpau-drivers on
> http://blog.kwizart.fr/post/2014/03/02/163-mesa-10.2-from-git-for-Fedora-20
> In order to verify if you can reproduce with the master branch of mesa.

$ unset VDPAU_DRIVER
$ vdpauinfo
display: :0   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

Which is strange, since I have Intel 4gen Haswell and Radeon 8870M. That said, as you see from Xorg logs, VDPAU is loaded with radeonsi, but maybe the detection is broken then?

I'll see if I can get anywhere with latest mesa. Thanks!

Comment 21 Nicolas Chauvet (kwizart) 2014-05-13 11:20:33 UTC
Can you reproduce with current mesa-10.1 (or even mesa-10.2 from my kwizart-testing repo) ?

Comment 22 Nicolas Chauvet (kwizart) 2014-11-05 09:05:57 UTC
There are several updates and known fix since this issue was reported.
Please re-open if you still experience issue.


Note You need to log in before you can comment on or make changes to this bug.