{"action":"created","issue":{"url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build/issues/13","repository_url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build","labels_url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build/issues/13/comments","events_url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build/issues/13/events","html_url":"https://github.com/saiarcot895/chromium-ubuntu-build/issues/13","id":228552935,"number":13,"title":"Error: Failed putting surface to pixmap","user":{"login":"definitelyuncertain","id":20875718,"avatar_url":"https://avatars3.githubusercontent.com/u/20875718?v=3","gravatar_id":"","url":"https://api.github.com/users/definitelyuncertain","html_url":"https://github.com/definitelyuncertain","followers_url":"https://api.github.com/users/definitelyuncertain/followers","following_url":"https://api.github.com/users/definitelyuncertain/following{/other_user}","gists_url":"https://api.github.com/users/definitelyuncertain/gists{/gist_id}","starred_url":"https://api.github.com/users/definitelyuncertain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/definitelyuncertain/subscriptions","organizations_url":"https://api.github.com/users/definitelyuncertain/orgs","repos_url":"https://api.github.com/users/definitelyuncertain/repos","events_url":"https://api.github.com/users/definitelyuncertain/events{/privacy}","received_events_url":"https://api.github.com/users/definitelyuncertain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-14T16:38:57Z","updated_at":"2017-06-02T16:16:48Z","closed_at":"2017-06-02T14:18:18Z","body":"Hi, I get the following error log when I try to use HW decode on the latest build from the PPA:\r\n\r\n    libva info: VA-API version 0.40.0\r\n    libva info: va_getDriverName() returns 0\r\n    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so\r\n    libva info: Found init function __vaDriverInit_0_40\r\n    libva info: va_openDriver() returns 0\r\n    [2873:2873:0514/214932.720618:ERROR:vaapi_wrapper.cc(856)] Failed putting surface to pixmap VA error: the requested function is not implemented\r\n    [2873:2873:0514/214932.720944:ERROR:vaapi_video_decode_accelerator.cc(425)] Failed putting surface into pixmap\r\n    [2873:2873:0514/214932.721026:ERROR:vaapi_video_decode_accelerator.cc(287)] Notifying of error 4\r\n\r\nI'm running Xubuntu 16.04 with Intel Sandy Bridge HD Graphics 3000, on the latest drivers from the Padoka PPA (Mesa 17.2). I've made sure to use H264 on Youtube via the h264ify extension, and H264 HW decode works quite fine on local files.\r\n\r\nChromium on the other hand, defaults to software decode (FFmpegVideoDecoder) as seen in chrome://media-internals and throws the above errors. `--disable-gpu-sandbox` also gives the same errors.\r\n\r\nAny help to know what's going wrong here would be greatly appreciated. Please do ask if I need to post any other logs/info."},"comment":{"url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build/issues/comments/305835934","html_url":"https://github.com/saiarcot895/chromium-ubuntu-build/issues/13#issuecomment-305835934","issue_url":"https://api.github.com/repos/saiarcot895/chromium-ubuntu-build/issues/13","id":305835934,"user":{"login":"definitelyuncertain","id":20875718,"avatar_url":"https://avatars3.githubusercontent.com/u/20875718?v=3","gravatar_id":"","url":"https://api.github.com/users/definitelyuncertain","html_url":"https://github.com/definitelyuncertain","followers_url":"https://api.github.com/users/definitelyuncertain/followers","following_url":"https://api.github.com/users/definitelyuncertain/following{/other_user}","gists_url":"https://api.github.com/users/definitelyuncertain/gists{/gist_id}","starred_url":"https://api.github.com/users/definitelyuncertain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/definitelyuncertain/subscriptions","organizations_url":"https://api.github.com/users/definitelyuncertain/orgs","repos_url":"https://api.github.com/users/definitelyuncertain/repos","events_url":"https://api.github.com/users/definitelyuncertain/events{/privacy}","received_events_url":"https://api.github.com/users/definitelyuncertain/received_events","type":"User","site_admin":false},"created_at":"2017-06-02T16:16:48Z","updated_at":"2017-06-02T16:16:48Z","body":"Just writing to confirm that the workaround by @dagraver worked and I can now play 4k with acceleration.\r\n\r\nThanks for all the help!\r\n\r\nI have a suggestion though: Would it be possible to first check for a config file where we can specify the maximum resolution to use in case the API fails to retrieve it ? And if this file is not found, use 1920x1088 as default. This way, GPUs capable of decoding higher resolutions won't be limited by the default setting. I'd be happy to attempt this myself, since the only addition would be reading a file. Which file would you suggest to use for this ?"}}
{"actor":{"display_login":"definitelyuncertain"}}