{"action":"created","issue":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/806","repository_url":"https://api.github.com/repos/doitsujin/dxvk","labels_url":"https://api.github.com/repos/doitsujin/dxvk/issues/806/labels{/name}","comments_url":"https://api.github.com/repos/doitsujin/dxvk/issues/806/comments","events_url":"https://api.github.com/repos/doitsujin/dxvk/issues/806/events","html_url":"https://github.com/doitsujin/dxvk/issues/806","id":388990463,"node_id":"MDU6SXNzdWUzODg5OTA0NjM=","number":806,"title":"Framerate is capped at monitor refresh rate in KWin/XWayland with Wine+dxvk","user":{"login":"shmerl","id":310927,"node_id":"MDQ6VXNlcjMxMDkyNw==","avatar_url":"https://avatars3.githubusercontent.com/u/310927?v=4","gravatar_id":"","url":"https://api.github.com/users/shmerl","html_url":"https://github.com/shmerl","followers_url":"https://api.github.com/users/shmerl/followers","following_url":"https://api.github.com/users/shmerl/following{/other_user}","gists_url":"https://api.github.com/users/shmerl/gists{/gist_id}","starred_url":"https://api.github.com/users/shmerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shmerl/subscriptions","organizations_url":"https://api.github.com/users/shmerl/orgs","repos_url":"https://api.github.com/users/shmerl/repos","events_url":"https://api.github.com/users/shmerl/events{/privacy}","received_events_url":"https://api.github.com/users/shmerl/received_events","type":"User","site_admin":false},"labels":[{"id":1085101173,"node_id":"MDU6TGFiZWwxMDg1MTAxMTcz","url":"https://api.github.com/repos/doitsujin/dxvk/labels/no%20bug","name":"no bug","color":"edc768","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-12-09T05:53:30Z","updated_at":"2018-12-31T09:34:56Z","closed_at":null,"author_association":"NONE","body":"I ran some gaming tests using KWin Wayland session, and noticed a strange thing.\r\n\r\nWhen using wined3d, framerate is uncapped when vsync is off in games as expected. But with dxvk, vysnc option is somehow ignored, and it's capped even when it's off. That doesn't happen under normal X session, only under Wayland one (when Wine is using XWayland).\r\n\r\nResults:\r\n\r\nKWin/XWayland, wined3d (vsync off):\r\n\r\n![tw3_wined3d_wayland](https://user-images.githubusercontent.com/310927/49693886-1baa4f80-fb4d-11e8-9bbd-11614165652d.jpg)\r\n\r\nKWin/XWayland, dxvk  (vsync off):\r\n\r\n![tw3_dxvk_wayland](https://user-images.githubusercontent.com/310927/49693871-c4a47a80-fb4c-11e8-8a30-33e4c8f782e8.jpg)\r\n\r\nI opened a corresponding XWayland bug [here](https://gitlab.freedesktop.org/xorg/xserver/issues/20) but it's likely something to do with Wine/dxvk.\r\n"},"comment":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/comments/450625157","html_url":"https://github.com/doitsujin/dxvk/issues/806#issuecomment-450625157","issue_url":"https://api.github.com/repos/doitsujin/dxvk/issues/806","id":450625157,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDYyNTE1Nw==","user":{"login":"axeldavy","id":2546609,"node_id":"MDQ6VXNlcjI1NDY2MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2546609?v=4","gravatar_id":"","url":"https://api.github.com/users/axeldavy","html_url":"https://github.com/axeldavy","followers_url":"https://api.github.com/users/axeldavy/followers","following_url":"https://api.github.com/users/axeldavy/following{/other_user}","gists_url":"https://api.github.com/users/axeldavy/gists{/gist_id}","starred_url":"https://api.github.com/users/axeldavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axeldavy/subscriptions","organizations_url":"https://api.github.com/users/axeldavy/orgs","repos_url":"https://api.github.com/users/axeldavy/repos","events_url":"https://api.github.com/users/axeldavy/events{/privacy}","received_events_url":"https://api.github.com/users/axeldavy/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T09:34:56Z","updated_at":"2018-12-31T09:34:56Z","author_association":"NONE","body":"To me that looks like a radv bug, you should open a bug report there.\r\nThe Present spec doesn't give specific garantees for the number of buffers hold by the Xserver at a given time, and if XWayland needs one more, that's its right, and the client (radv) not doing it right.\r\nThe proper fix would be (I think the ogl implementation does that) to allocate a few more buffers (in radv swapchain implementation) when the need is detected. But I don't know how that interacts with Vulkan.\r\n\r\nIf one really needs to use fewer buffers and needs early release, there's a Present flag for that that will always release right away but trigger a copy."}}
{"actor":{"display_login":"axeldavy"}}