{"action":"created","issue":{"url":"https://api.github.com/repos/i-rinat/libvdpau-va-gl/issues/44","labels_url":"https://api.github.com/repos/i-rinat/libvdpau-va-gl/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/i-rinat/libvdpau-va-gl/issues/44/comments","events_url":"https://api.github.com/repos/i-rinat/libvdpau-va-gl/issues/44/events","html_url":"https://github.com/i-rinat/libvdpau-va-gl/issues/44","id":72616130,"number":44,"title":"Video tearing with any version above 0.2.1","user":{"login":"trinaldi","id":1537087,"avatar_url":"https://avatars.githubusercontent.com/u/1537087?v=3","gravatar_id":"","url":"https://api.github.com/users/trinaldi","html_url":"https://github.com/trinaldi","followers_url":"https://api.github.com/users/trinaldi/followers","following_url":"https://api.github.com/users/trinaldi/following{/other_user}","gists_url":"https://api.github.com/users/trinaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/trinaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trinaldi/subscriptions","organizations_url":"https://api.github.com/users/trinaldi/orgs","repos_url":"https://api.github.com/users/trinaldi/repos","events_url":"https://api.github.com/users/trinaldi/events{/privacy}","received_events_url":"https://api.github.com/users/trinaldi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-02T09:03:31Z","updated_at":"2015-05-16T22:00:04Z","closed_at":"2015-05-02T10:46:17Z","body":"Hi, Rinat.\r\n\r\nI've been scratching my head on this one:\r\nAny version above 0.2.1 creates video tearing on both mplayer and Flash. I don't know which commit/change makes this happen.\r\n\r\nI don't know what kind of info you need, I'm gonna post what I think it's relevant:\r\nUbuntu 15.04;\r\n\r\n```vdpauinfo``` header:\r\n```\r\ndisplay: :0   screen: 0\r\n[VS] Software VDPAU backend library initialized\r\nlibva info: VA-API version 0.37.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_37\r\nlibva info: va_openDriver() returns 0\r\nAPI version: 1\r\nInformation string: OpenGL/VAAPI/libswscale backend for VDPAU\r\n```\r\n \r\n```vainfo``` header:\r\n```\r\nlibva info: VA-API version 0.37.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_37\r\nlibva info: va_openDriver() returns 0\r\nvainfo: VA-API version: 0.37 (libva 1.5.0)\r\nvainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 1.5.0\r\n```\r\n```mesa-vdpau-drivers 10.5.2-0ubuntu1```\r\n```vdpau-va-driver 0.7.4-3```\r\n```libvdpau1 0.9-1```\r\n\r\n\r\nIf you need some other info, please tell me!\r\n\r\nThanks for your work. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/i-rinat/libvdpau-va-gl/issues/comments/102703090","html_url":"https://github.com/i-rinat/libvdpau-va-gl/issues/44#issuecomment-102703090","issue_url":"https://api.github.com/repos/i-rinat/libvdpau-va-gl/issues/44","id":102703090,"user":{"login":"trinaldi","id":1537087,"avatar_url":"https://avatars.githubusercontent.com/u/1537087?v=3","gravatar_id":"","url":"https://api.github.com/users/trinaldi","html_url":"https://github.com/trinaldi","followers_url":"https://api.github.com/users/trinaldi/followers","following_url":"https://api.github.com/users/trinaldi/following{/other_user}","gists_url":"https://api.github.com/users/trinaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/trinaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trinaldi/subscriptions","organizations_url":"https://api.github.com/users/trinaldi/orgs","repos_url":"https://api.github.com/users/trinaldi/repos","events_url":"https://api.github.com/users/trinaldi/events{/privacy}","received_events_url":"https://api.github.com/users/trinaldi/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T22:00:04Z","updated_at":"2015-05-16T22:00:04Z","body":"I have some updates.\r\n\r\nSince I'm using GNOME as my DE, Mutter is the acting composition manager. I've been googling around for Tearing issue and found a workaround - it seems. It is working flawlessly with FF + YouTube's HTML5 Player, I haven't experienced any tearing so far.\r\n\r\nThe workaround is getting into Looking Glass (GNOME's integrated debugger and inspector tool/interactive JavaScript prompt):\r\n1.  Alt+F2\r\n2.  Run the command 'lg'\r\n3.  At the \"Evaluator\" tab, run 'Meta.disable_unredirect_for_screen(global.screen);'\r\n4.  Press ESC to leave Looking Glass\r\n\r\nThat removed the tearing issues I had with Youtube and Firefox.\r\n\r\nYou can create a shortcut for Looking Glass:\r\n* `Settings -> Keyboard -> Shortcuts` \r\n* The command is: `gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'Main.lookingGlass.toggle();'`\r\n\r\nI believe you can create a direct shortcut with the command: `gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'Meta.disable_unredirect_for_screen(global.screen);'`"}}