{"action":"created","issue":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/267","repository_url":"https://api.github.com/repos/doitsujin/dxvk","labels_url":"https://api.github.com/repos/doitsujin/dxvk/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/doitsujin/dxvk/issues/267/comments","events_url":"https://api.github.com/repos/doitsujin/dxvk/issues/267/events","html_url":"https://github.com/doitsujin/dxvk/issues/267","id":313057830,"number":267,"title":"Very low performance on Nvidia 396.18 beta","user":{"login":"zaps166","id":6239090,"avatar_url":"https://avatars3.githubusercontent.com/u/6239090?v=4","gravatar_id":"","url":"https://api.github.com/users/zaps166","html_url":"https://github.com/zaps166","followers_url":"https://api.github.com/users/zaps166/followers","following_url":"https://api.github.com/users/zaps166/following{/other_user}","gists_url":"https://api.github.com/users/zaps166/gists{/gist_id}","starred_url":"https://api.github.com/users/zaps166/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaps166/subscriptions","organizations_url":"https://api.github.com/users/zaps166/orgs","repos_url":"https://api.github.com/users/zaps166/repos","events_url":"https://api.github.com/users/zaps166/events{/privacy}","received_events_url":"https://api.github.com/users/zaps166/received_events","type":"User","site_admin":false},"labels":[{"id":842150304,"url":"https://api.github.com/repos/doitsujin/dxvk/labels/READ%20ME","name":"READ ME","color":"000000","default":false},{"id":806781513,"url":"https://api.github.com/repos/doitsujin/dxvk/labels/nvidia","name":"nvidia","color":"75b901","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":84,"created_at":"2018-04-10T19:26:10Z","updated_at":"2018-05-09T23:39:42Z","closed_at":null,"author_association":"NONE","body":"Nvidia introduced new [Vulkan SPIR-V compiler](https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-396.18-Beta-Released). Games using DXVK runs very slow with it (it can be disabled by using `__GL_NextGenCompiler` envvar).\r\n\r\nComparision [3840x2160, *new* vs *old, disabled by envvar*]:\r\n- Tomb Raider 2013 main menu (ultra, but without tesselation): [7 FPS vs 40 FPS]\r\n- NieR:Automata (some scene, full details, anti-aliasing off): [14.5 FPS vs 24 FPS]\r\n- Sword Art Online Hollow Realization (Teleport Gate Plaza, full details, anti-aliasing off): [13 FPS vs 45 FPS]\r\n\r\nMoreover:\r\n- Tomb Raider 2013 scene with tesselation enabled is black (on old nvidia shader compiler graphics is corrupted, but visible)\r\n- Sword Art Online Fatal Bullet scene is also black\r\n- No performance difference on Unigine Heaven (DXVK) and [Vulkan Examples](https://github.com/SaschaWillems/Vulkan) (native Linux)\r\n\r\n### System information\r\n- GPU: GeForce GTX 1080\r\n- Driver: 396.18\r\n- Wine version: 3.5\r\n- DXVK version: 41132b8\r\n- X11 Compositor: none/disabled\r\n- Nvidia Force Composition Pipeline: enabled\r\n- UseNvKmsCompositionPipeline: false"},"comment":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/comments/387906872","html_url":"https://github.com/doitsujin/dxvk/issues/267#issuecomment-387906872","issue_url":"https://api.github.com/repos/doitsujin/dxvk/issues/267","id":387906872,"user":{"login":"damienleone","id":11216377,"avatar_url":"https://avatars3.githubusercontent.com/u/11216377?v=4","gravatar_id":"","url":"https://api.github.com/users/damienleone","html_url":"https://github.com/damienleone","followers_url":"https://api.github.com/users/damienleone/followers","following_url":"https://api.github.com/users/damienleone/following{/other_user}","gists_url":"https://api.github.com/users/damienleone/gists{/gist_id}","starred_url":"https://api.github.com/users/damienleone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienleone/subscriptions","organizations_url":"https://api.github.com/users/damienleone/orgs","repos_url":"https://api.github.com/users/damienleone/repos","events_url":"https://api.github.com/users/damienleone/events{/privacy}","received_events_url":"https://api.github.com/users/damienleone/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T23:39:42Z","updated_at":"2018-05-09T23:39:42Z","author_association":"NONE","body":"@zaps166 \r\n\r\nIt seems like there is a little bit of confusion on minImageCount.  minImageCount = 3 is not equivalent to the \"triple buffering\" technique.  The only way to control tearing in Vulkan is by the selection of the present mode.  The size of the swapchain is independent of the present mode.\r\n\r\nOur Windows driver exposes the mailbox present mode, which would explain the behavior you described.  Our Linux driver does not expose mailbox mode at the moment, therefore with vsync ON it should default to immediate mode, which will queue each rendered frame for present.\r\n\r\nI am still looking into the other issues you reported."}}
{"actor":{"display_login":"damienleone"}}