{"action":"created","issue":{"url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client/issues/296","repository_url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client","labels_url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client/issues/296/comments","events_url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client/issues/296/events","html_url":"https://github.com/bluecherrydvr/bluecherry-client/issues/296","id":256243918,"number":296,"title":"VAAPI does not work with Wayland session","user":{"login":"jasauders","id":3927064,"avatar_url":"https://avatars2.githubusercontent.com/u/3927064?v=4","gravatar_id":"","url":"https://api.github.com/users/jasauders","html_url":"https://github.com/jasauders","followers_url":"https://api.github.com/users/jasauders/followers","following_url":"https://api.github.com/users/jasauders/following{/other_user}","gists_url":"https://api.github.com/users/jasauders/gists{/gist_id}","starred_url":"https://api.github.com/users/jasauders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasauders/subscriptions","organizations_url":"https://api.github.com/users/jasauders/orgs","repos_url":"https://api.github.com/users/jasauders/repos","events_url":"https://api.github.com/users/jasauders/events{/privacy}","received_events_url":"https://api.github.com/users/jasauders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"antonsviridenko","id":2234049,"avatar_url":"https://avatars3.githubusercontent.com/u/2234049?v=4","gravatar_id":"","url":"https://api.github.com/users/antonsviridenko","html_url":"https://github.com/antonsviridenko","followers_url":"https://api.github.com/users/antonsviridenko/followers","following_url":"https://api.github.com/users/antonsviridenko/following{/other_user}","gists_url":"https://api.github.com/users/antonsviridenko/gists{/gist_id}","starred_url":"https://api.github.com/users/antonsviridenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonsviridenko/subscriptions","organizations_url":"https://api.github.com/users/antonsviridenko/orgs","repos_url":"https://api.github.com/users/antonsviridenko/repos","events_url":"https://api.github.com/users/antonsviridenko/events{/privacy}","received_events_url":"https://api.github.com/users/antonsviridenko/received_events","type":"User","site_admin":false},"assignees":[{"login":"antonsviridenko","id":2234049,"avatar_url":"https://avatars3.githubusercontent.com/u/2234049?v=4","gravatar_id":"","url":"https://api.github.com/users/antonsviridenko","html_url":"https://github.com/antonsviridenko","followers_url":"https://api.github.com/users/antonsviridenko/followers","following_url":"https://api.github.com/users/antonsviridenko/following{/other_user}","gists_url":"https://api.github.com/users/antonsviridenko/gists{/gist_id}","starred_url":"https://api.github.com/users/antonsviridenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonsviridenko/subscriptions","organizations_url":"https://api.github.com/users/antonsviridenko/orgs","repos_url":"https://api.github.com/users/antonsviridenko/repos","events_url":"https://api.github.com/users/antonsviridenko/events{/privacy}","received_events_url":"https://api.github.com/users/antonsviridenko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-09-08T12:50:01Z","updated_at":"2017-09-30T16:28:58Z","closed_at":null,"author_association":"NONE","body":"Using Bluecherry Client 2.2.6 with Ubuntu 17.10 (pre-release) in the Wayland session, Bluecherry does not yield the 'va' entry in the corner of the camera titles to signify that VAAPI (hardware acceleration) is active. Bluecherry Client, so far, seemingly works in all other areas within the Wayland session excluding the hardware acceleration piece.\r\n\r\nUbuntu 17.10 will be released in a few weeks from the time of this writing and it has been noted in pre-release statements that 17.10 will default to Wayland by default along with consecutive releases (18.04, etc) into the future. "},"comment":{"url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client/issues/comments/333319601","html_url":"https://github.com/bluecherrydvr/bluecherry-client/issues/296#issuecomment-333319601","issue_url":"https://api.github.com/repos/bluecherrydvr/bluecherry-client/issues/296","id":333319601,"user":{"login":"jasauders","id":3927064,"avatar_url":"https://avatars2.githubusercontent.com/u/3927064?v=4","gravatar_id":"","url":"https://api.github.com/users/jasauders","html_url":"https://github.com/jasauders","followers_url":"https://api.github.com/users/jasauders/followers","following_url":"https://api.github.com/users/jasauders/following{/other_user}","gists_url":"https://api.github.com/users/jasauders/gists{/gist_id}","starred_url":"https://api.github.com/users/jasauders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasauders/subscriptions","organizations_url":"https://api.github.com/users/jasauders/orgs","repos_url":"https://api.github.com/users/jasauders/repos","events_url":"https://api.github.com/users/jasauders/events{/privacy}","received_events_url":"https://api.github.com/users/jasauders/received_events","type":"User","site_admin":false},"created_at":"2017-09-30T16:28:58Z","updated_at":"2017-09-30T16:28:58Z","author_association":"NONE","body":"In an effort to re-organize much of the chat room conversation on this topic back to this issue, here are some updates for easier reference.\r\n\r\nThe below is taken from a system with an i5-7200u processor on a fresh install of Ubuntu 17.10 with v2.2.6 of the Bluecherry client. This is a Wayland session in the Gnome desktop environment as provided by 17.10.\r\n\r\nWhen launching bluecherry-client from CLI:\r\n`jason@JasT470:~$ bluecherry-client\r\n1  audio devices detected by SDL audio subsystem \r\nAudioPlayer: setting sample format to  s16  channels:  2 sample rate:  44100 \r\nvoid UpdateChecker::performVersionCheck() Performing update check \r\nVAAPI - using X11 display  \":0\" \r\ntrying to create VAAPI device context \" :0 \" \r\nlibva info: VA-API version 0.40.0\r\nlibva info: va_getDriverName() returns -1\r\nlibva error: va_getDriverName() failed with unknown libva error,driver_name=(null)\r\n[AVHWDeviceContext @ 0x1d74600] Failed to initialise VAAPI connection: -1 (unknown libva error).\r\nFailed to create VAAPI device context \r\nstatic bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower. \r\nlibpng warning: iCCP: known incorrect sRGB profile\r\nlibpng warning: iCCP: known incorrect sRGB profile\r\nvoid UpdateChecker::versionInfoReceived() Latest version info:  \"2.2.6\" \r\nServerRequestManager \"Home\" : Status 1 message \"\" \r\nDVRServer: Requesting cameras list \r\nDVRServer: Received cameras list reply \r\nvoid RtspStreamThread::start(const QUrl&, bool) \"rtsp://admin:***@10.13.0.200:7002/live/2\" \r\nvoid RtspStreamThread::start(const QUrl&, bool) \"rtsp://admin:***@10.13.0.200:7002/live/3\" \r\nvoid RtspStreamThread::start(const QUrl&, bool) \"rtsp://admin:***@10.13.0.200:7002/live/4\" \r\nvoid RtspStreamThread::start(const QUrl&, bool) \"rtsp://admin:***@10.13.0.200:7002/live/5\" \r\nprocessing stream id  0 \r\nRtspStream: stream # 0 : Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x1080 \r\nvideo stream index:  0 \r\naudio steam index:  -1 \r\n[swscaler @ 0x7fdc2488da60] Warning: data is not aligned! This can lead to a speedloss\r\nprocessing stream id  0 \r\nRtspStream: stream # 0 : Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x1080 \r\nvideo stream index:  0 \r\naudio steam index:  -1 \r\nprocessing stream id  0 \r\nRtspStream: stream # 0 : Video: h264 (High), yuvj420p(pc, bt709, progressive), 2304x1296 [SAR 1:1 DAR 16:9] \r\nvideo stream index:  0 \r\naudio steam index:  -1 \r\nprocessing stream id  0 \r\nRtspStream: stream # 0 : Video: h264 (High), yuvj420p(pc, bt709, progressive), 2304x1296 [SAR 1:1 DAR 16:9] \r\nvideo stream index:  0 \r\naudio steam index:  -1 \r\nEventsLoader: Parsed event data into 50 events \r\nlibpng warning: iCCP: known incorrect sRGB profile\r\nQEventLoop: Cannot be used without QApplication\r\njason@JasT470:~$ `\r\n\r\nWhen running vainfo from CLI:\r\n`jason@JasT470:~$ vainfo\r\nlibva info: VA-API version 0.40.0\r\nlibva info: va_getDriverName() returns 0\r\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so\r\nlibva info: Found init function __vaDriverInit_0_40\r\nlibva info: va_openDriver() returns 0\r\nvainfo: VA-API version: 0.40 (libva )\r\nvainfo: Driver version: Intel i965 driver for Intel(R) Kabylake - 1.8.3\r\nvainfo: Supported profile and entrypoints\r\n      VAProfileMPEG2Simple            :\tVAEntrypointVLD\r\n      VAProfileMPEG2Simple            :\tVAEntrypointEncSlice\r\n      VAProfileMPEG2Main              :\tVAEntrypointVLD\r\n      VAProfileMPEG2Main              :\tVAEntrypointEncSlice\r\n      VAProfileH264ConstrainedBaseline:\tVAEntrypointVLD\r\n      VAProfileH264ConstrainedBaseline:\tVAEntrypointEncSlice\r\n      VAProfileH264ConstrainedBaseline:\tVAEntrypointEncSliceLP\r\n      VAProfileH264Main               :\tVAEntrypointVLD\r\n      VAProfileH264Main               :\tVAEntrypointEncSlice\r\n      VAProfileH264Main               :\tVAEntrypointEncSliceLP\r\n      VAProfileH264High               :\tVAEntrypointVLD\r\n      VAProfileH264High               :\tVAEntrypointEncSlice\r\n      VAProfileH264High               :\tVAEntrypointEncSliceLP\r\n      VAProfileH264MultiviewHigh      :\tVAEntrypointVLD\r\n      VAProfileH264MultiviewHigh      :\tVAEntrypointEncSlice\r\n      VAProfileH264StereoHigh         :\tVAEntrypointVLD\r\n      VAProfileH264StereoHigh         :\tVAEntrypointEncSlice\r\n      VAProfileVC1Simple              :\tVAEntrypointVLD\r\n      VAProfileVC1Main                :\tVAEntrypointVLD\r\n      VAProfileVC1Advanced            :\tVAEntrypointVLD\r\n      VAProfileNone                   :\tVAEntrypointVideoProc\r\n      VAProfileJPEGBaseline           :\tVAEntrypointVLD\r\n      VAProfileJPEGBaseline           :\tVAEntrypointEncPicture\r\n      VAProfileVP8Version0_3          :\tVAEntrypointVLD\r\n      VAProfileVP8Version0_3          :\tVAEntrypointEncSlice\r\n      VAProfileHEVCMain               :\tVAEntrypointVLD\r\n      VAProfileHEVCMain               :\tVAEntrypointEncSlice\r\n      VAProfileHEVCMain10             :\tVAEntrypointVLD\r\n      VAProfileHEVCMain10             :\tVAEntrypointEncSlice\r\n      VAProfileVP9Profile0            :\tVAEntrypointVLD\r\n      VAProfileVP9Profile0            :\tVAEntrypointEncSlice\r\n      VAProfileVP9Profile2            :\tVAEntrypointVLD\r\njason@JasT470:~$ \r\n`"}}
{"actor":{"display_login":"jasauders"}}