{"action":"opened","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/3744","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/3744/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/3744/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/3744/events","html_url":"https://github.com/mpv-player/mpv/issues/3744","id":186034776,"number":3744,"title":"Weird performance with ANGLE (and some stats for d3d11va-copy, dxva2, dxva2-copy with dxinterop)","user":{"login":"xnoreq","id":4028859,"avatar_url":"https://avatars.githubusercontent.com/u/4028859?v=3","gravatar_id":"","url":"https://api.github.com/users/xnoreq","html_url":"https://github.com/xnoreq","followers_url":"https://api.github.com/users/xnoreq/followers","following_url":"https://api.github.com/users/xnoreq/following{/other_user}","gists_url":"https://api.github.com/users/xnoreq/gists{/gist_id}","starred_url":"https://api.github.com/users/xnoreq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xnoreq/subscriptions","organizations_url":"https://api.github.com/users/xnoreq/orgs","repos_url":"https://api.github.com/users/xnoreq/repos","events_url":"https://api.github.com/users/xnoreq/events{/privacy}","received_events_url":"https://api.github.com/users/xnoreq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T22:19:27Z","updated_at":"2016-10-28T22:19:27Z","closed_at":null,"body":"mpv git-90b968a\r\non Windows 10, 64-bit with an older AMD HD7000 series graphics card\r\n\r\nI have tested a video with the follow format:\r\nx264 encoded High@L4.1, bit rate 11.5 Mbps, 23.976 fps, yuv 4:2:0, 8 bits, 1920x1080p\r\n\r\nConfig:\r\nopengl-hq\r\nvideo-sync=display-resample\r\ninterpolation\r\n#display-fps=60 (resulting in a VSync Ratio of 2.5)\r\n\r\nTo display the stats I used [stats.lua.](https://github.com/Argon-/mpv-stats/blob/master/stats.lua)\r\n\r\n\r\n### d3d11va-copy + ANGLE\r\nRender: 7250 us\r\nPresent: **16600** us\r\nUpload: 1880 us\r\nVSync Jitter: **0.315**\r\n\r\n### d3d11va-copy + ANGLE + opengl-dcomposition=no\r\nRender: 7250 us\r\nPresent: **340** us\r\nUpload: 1880 us\r\nJitter: **0.005**\r\n\r\nSo DirectComposition (on by *default*) completely destroys the performance ... at least on my system.\r\n\r\n\r\n### dxva2 + ANGLE + opengl-dcomposition=no\r\nRender: 1240 us\r\nPresent: 440 us\r\nUpload: 0 us\r\nJitter: 0.005\r\n\r\nNice, except that seeks take a long time with ANGLE and the video is jerky for a moment after a seek. Also, there's still this annoying white flashing of some part of the window when going into/leaving fullscreen mode.\r\n\r\n### dxva2 + dxinterop\r\nRender: 1240 us\r\nPresent: 440 us\r\nUpload: **5200** us\r\nJitter: 0.005\r\n\r\nWhy are 5ms spent on uploading here? Other than that dxinterop gives the best experience. No window flashing when going fullscreen, fast and clean seeks.\r\n\r\n### dxva2-copy + dxinterop\r\nRender: **5140** us\r\nPresent: 320 us\r\nUpload: **320** us\r\nJitter: 0.005\r\n\r\nI'm not sure what's going on here, but overall performance seems better with dxva2-copy than dxva2? (Assuming that the stats are actually correct.)\r\n"}}
{"actor":{"display_login":"xnoreq"}}