{"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":18,"created_at":"2015-06-23T04:31:17Z","updated_at":"2015-07-02T22:40:06Z","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/118186144","html_url":"https://github.com/i-rinat/freshplayerplugin/issues/214#issuecomment-118186144","issue_url":"https://api.github.com/repos/i-rinat/freshplayerplugin/issues/214","id":118186144,"user":{"login":"i-rinat","id":923956,"avatar_url":"https://avatars.githubusercontent.com/u/923956?v=3","gravatar_id":"","url":"https://api.github.com/users/i-rinat","html_url":"https://github.com/i-rinat","followers_url":"https://api.github.com/users/i-rinat/followers","following_url":"https://api.github.com/users/i-rinat/following{/other_user}","gists_url":"https://api.github.com/users/i-rinat/gists{/gist_id}","starred_url":"https://api.github.com/users/i-rinat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-rinat/subscriptions","organizations_url":"https://api.github.com/users/i-rinat/orgs","repos_url":"https://api.github.com/users/i-rinat/repos","events_url":"https://api.github.com/users/i-rinat/events{/privacy}","received_events_url":"https://api.github.com/users/i-rinat/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T22:40:06Z","updated_at":"2015-07-02T22:40:06Z","body":"@azuwis,\r\nWhen Flash movie changes resolution, PepperFlash creates another decoder instance, but leaves previous intact. Looks like whenever it succeeds, depends on particular hardware model. In your case there are no enough resources to create second decoder (The system does not have enough resources to complete the requested operation at this time.) That's why PepperFlash falls back to software decoding, and allegedly destroys all decoder instances. So when it comes to another attempt, resources are ready and creation succeeds."}}