{"action":"created","issue":{"url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/214","labels_url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/214/comments","events_url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/214/events","html_url":"https://github.com/i-rinat/freshplayerplugin/issues/214","id":90284303,"number":214,"title":"Hwdec does not work with nvidia-vdpau-driver (freshplayerplugin git 7243809)","user":{"login":"azuwis","id":9315,"avatar_url":"https://avatars.githubusercontent.com/u/9315?v=3","gravatar_id":"","url":"https://api.github.com/users/azuwis","html_url":"https://github.com/azuwis","followers_url":"https://api.github.com/users/azuwis/followers","following_url":"https://api.github.com/users/azuwis/following{/other_user}","gists_url":"https://api.github.com/users/azuwis/gists{/gist_id}","starred_url":"https://api.github.com/users/azuwis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azuwis/subscriptions","organizations_url":"https://api.github.com/users/azuwis/orgs","repos_url":"https://api.github.com/users/azuwis/repos","events_url":"https://api.github.com/users/azuwis/events{/privacy}","received_events_url":"https://api.github.com/users/azuwis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-23T04:31:17Z","updated_at":"2015-06-30T02:54:46Z","closed_at":null,"body":"# Summery\r\n\r\nHwdec does not work with nvidia-vdpau-driver.\r\n\r\nHwdec works with vdpau-va-driver, but spams stdout with lots of error messages.\r\n\r\n# ENV\r\n\r\n    OS: Debian Sid(unstable)\r\n    Video card: NVIDIA Corporation G96M [GeForce 9600M GT] (rev a1), PCI ID 10de:0647\r\n    freshplayerplugin: git 7243809\r\n    iceweasel: 39.0~b5-1 (debian experimental)\r\n    nvidia-driver: 340.76-2\r\n    vdpau-va-driver: 0.7.4-dmo6 (http://www.deb-multimedia.org/)\r\n    libavcodec56: 10:2.7.1-dmo1 (http://www.deb-multimedia.org/)\r\n    pepper flash plugin: 18.0.0.160\r\n\r\n## Nvidia vdpau driver\r\n\r\n`~/.config/freshwrapper.conf`\r\n\r\n    enable_hwdec = 1\r\n    enable_vdpau = 1\r\n    enable_vaapi = 0\r\n\r\nPlay https://youtu.be/9bZkp7q19f0\r\n\r\nYoutube stats:\r\n\r\n    accelerated video rendering, software video decoding\r\n\r\nConsole output:\r\n\r\n    NOT SANDBOXED\r\n    [fresh  5420] not implemented: PPB_OpenGLES2VertexArrayObject;1.0\r\n    [fresh  5420] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0\r\n    [fresh  5420] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh  5420] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh  5420] [PPB] {zilch} ppb_flash_set_instance_always_on_top instance=12, on_top=1\r\n    [fresh] [error] prepare_vdpau_context, VdpDecoderCreate failed: 25, A catch-all error, used when no other error code applies.\r\n    [fresh] [error] prepare_vdpau_context, VdpDecoderCreate failed: 25, A catch-all error, used when no other error code applies.\r\n    [h264 @ 0x7f4edf510800] decode_slice_header error\r\n    [h264 @ 0x7f4edf510800] no frame!\r\n    [fresh] [error] decode_frame, error -1094995529 while decoding frame\r\n    [fresh] [error] decode_frame, error -1094995529 while decoding frame\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n\r\n## Vdpau va driver\r\n\r\n`~/.config/freshwrapper.conf`\r\n\r\n    enable_hwdec = 1\r\n    enable_vdpau = 0\r\n    enable_vaapi = 1\r\n\r\nPlay https://youtu.be/9bZkp7q19f0\r\n\r\nYoutube stats:\r\n\r\n    accelerated video rendering, accelerated video decoding\r\n\r\nConsole output:\r\n\r\n    libva info: VA-API version 0.37.0\r\n    libva info: va_getDriverName() returns 0\r\n    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so\r\n    libva info: Found init function __vaDriverInit_0_37\r\n    libva info: va_openDriver() returns 0\r\n    NOT SANDBOXED\r\n    [fresh  2984] not implemented: PPB_OpenGLES2VertexArrayObject;1.0\r\n    [fresh  2984] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0\r\n    [fresh  2984] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh  2984] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh  2984] [PPB] {zilch} ppb_flash_set_instance_always_on_top instance=12, on_top=1\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n    [fresh] [error] [NP] caught Xlib error 2\r\n\r\nAnd `[fresh] [error] [NP] caught Xlib error 2` continues as long as video plays.\r\n"},"comment":{"url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/comments/116926339","html_url":"https://github.com/i-rinat/freshplayerplugin/issues/214#issuecomment-116926339","issue_url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/214","id":116926339,"user":{"login":"azuwis","id":9315,"avatar_url":"https://avatars.githubusercontent.com/u/9315?v=3","gravatar_id":"","url":"https://api.github.com/users/azuwis","html_url":"https://github.com/azuwis","followers_url":"https://api.github.com/users/azuwis/followers","following_url":"https://api.github.com/users/azuwis/following{/other_user}","gists_url":"https://api.github.com/users/azuwis/gists{/gist_id}","starred_url":"https://api.github.com/users/azuwis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azuwis/subscriptions","organizations_url":"https://api.github.com/users/azuwis/orgs","repos_url":"https://api.github.com/users/azuwis/repos","events_url":"https://api.github.com/users/azuwis/events{/privacy}","received_events_url":"https://api.github.com/users/azuwis/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T02:54:46Z","updated_at":"2015-06-30T02:54:46Z","body":"# Nvidia vdpau driver\r\n\r\n## branch use-one-output-surface commit e77cb63\r\n\r\nSeems stable, gets some error messages, but no repeats.\r\n\r\nNo visual glitches, only little frame drop.\r\n\r\n    NOT SANDBOXED\r\n    [fresh 21248] not implemented: PPB_OpenGLES2VertexArrayObject;1.0\r\n    [fresh 21248] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0\r\n    [fresh 21248] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh 21248] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh 21248] [PPB] {zilch} ppb_flash_set_instance_always_on_top instance=12, on_top=1\r\n    [2378:2406:0630/101603:ERROR:socket_stream.cc(214)] Closing stream with result -100\r\n    [fresh] [error] prepare_vdpau_context, VdpDecoderCreate failed: 23, The system does not have enough resources to complete the requested operation at this time.\r\n    [fresh] [error] prepare_vdpau_context, VdpDecoderCreate failed: 23, The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f31157da800] decode_slice_header error\r\n    [h264 @ 0x7f31157da800] no frame!\r\n    [fresh] [error] decode_frame, error -1094995529 while decoding frame\r\n    [fresh] [error] decode_frame, error -1094995529 while decoding frame\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n    [fresh] [warning] ppb_video_decoder_decode, there were errors before, giving up\r\n\r\n# Vdpau va driver\r\n\r\n## branch use-one-output-surface commit e77cb63 (VA surfaces number 18)\r\n\r\nVisual glitches after playing for awhile.\r\n\r\n    libva info: va_getDriverName() returns 0\r\n    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so\r\n    libva info: Found init function __vaDriverInit_0_37\r\n    libva info: va_openDriver() returns 0\r\n    NOT SANDBOXED\r\n    [fresh 21985] not implemented: PPB_OpenGLES2VertexArrayObject;1.0\r\n    [fresh 21985] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0\r\n    [fresh 21985] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh 21985] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh 21985] [PPB] {zilch} ppb_flash_set_instance_always_on_top instance=12, on_top=1\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 25: A catch-all error, used when no other error code applies.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpDecoderCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 25: A catch-all error, used when no other error code applies.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    [h264 @ 0x7f637e8e9800] hardware accelerator failed to decode picture\r\n\r\nRepeat last 2 messages.\r\n\r\n## branch decrease-va-surface-count commit 96eeca8 (VA surfaces number 16)\r\n\r\nVisual glitches after playing for awhile.\r\n\r\n    libva info: VA-API version 0.37.0\r\n    libva info: va_getDriverName() returns 0\r\n    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so\r\n    libva info: Found init function __vaDriverInit_0_37\r\n    libva info: va_openDriver() returns 0\r\n    NOT SANDBOXED\r\n    [fresh 23241] not implemented: PPB_OpenGLES2VertexArrayObject;1.0\r\n    [fresh 23241] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0\r\n    [fresh 23241] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    pentadactyl: Load: mappings\r\n    pentadactyl:   from: resource://dactyl-content/events.js:817\r\n    pentadactyl: Load: editor\r\n    pentadactyl:   from: resource://dactyl/buffer.jsm:2132\r\n    [fresh 23241] [PPB] {zilch} ppb_network_monitor_update_network_list\r\n    [fresh 23241] [PPB] {zilch} ppb_flash_set_instance_always_on_top instance=12, on_top=1\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 25: A catch-all error, used when no other error code applies.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 25: A catch-all error, used when no other error code applies.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 25: A catch-all error, used when no other error code applies.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpOutputSurfaceCreate(): status 23: The system does not have enough resources to complete the requested operation at this time.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n    vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An invalid handle value was provided.\r\n\r\nRepeat last message."}}