{"action":"created","issue":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/103","repository_url":"https://api.github.com/repos/doitsujin/dxvk","labels_url":"https://api.github.com/repos/doitsujin/dxvk/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/doitsujin/dxvk/issues/103/comments","events_url":"https://api.github.com/repos/doitsujin/dxvk/issues/103/events","html_url":"https://github.com/doitsujin/dxvk/issues/103","id":300350869,"number":103,"title":"Unhandled exceptions","user":{"login":"pchome","id":10661854,"avatar_url":"https://avatars0.githubusercontent.com/u/10661854?v=4","gravatar_id":"","url":"https://api.github.com/users/pchome","html_url":"https://github.com/pchome","followers_url":"https://api.github.com/users/pchome/followers","following_url":"https://api.github.com/users/pchome/following{/other_user}","gists_url":"https://api.github.com/users/pchome/gists{/gist_id}","starred_url":"https://api.github.com/users/pchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchome/subscriptions","organizations_url":"https://api.github.com/users/pchome/orgs","repos_url":"https://api.github.com/users/pchome/repos","events_url":"https://api.github.com/users/pchome/events{/privacy}","received_events_url":"https://api.github.com/users/pchome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-26T18:43:27Z","updated_at":"2018-02-26T22:02:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There is some places in code where exceptions not properly handled.\r\n\r\n### Unigine Superposition\r\n- **Exception**: `DxvkMemoryAllocator: Failed to allocate 22437376 bytes`\r\n- **Steps to reproduce**\r\n  * launch Superposition and select `GAME` mode\r\n  * select preset which requires more GPU memory than GPU have (for 2GB it's `1080p High` - 3320MB)\r\n  * _optionally select `Custom` and change `Fullscreen` setting to one of windowed mode_\r\n  * press **RUN**\r\n  * done\r\n- **What happened**\r\n  * GPU memory usage raised to ~2000MB during loading\r\n  * application freezes and crashed\r\n- **Expected behaviour**\r\n  * same as OpenGL mode I guess\r\n    - GPU memory usage raised to ~2000MB during loading\r\n    - RAM/Swap/... used to allocate required amount of memory\r\n    - Still alive even with 0.x-1.x fps after fully loaded\r\n\r\n\r\nNo usable backtrace produced for some unknown reason.\r\n\r\n_I traced manually a bit:_\r\n[DxvkMemoryAllocator::alloc](https://github.com/doitsujin/dxvk/blob/43b7e84bb502c6ff33ee041014d568694d8a5bcb/src/dxvk/dxvk_memory.cpp#L255)\r\n[DxvkImage::DxvkImage](https://github.com/doitsujin/dxvk/blob/43b7e84bb502c6ff33ee041014d568694d8a5bcb/src/dxvk/dxvk_image.cpp#L40)\r\none of `new DxvkImage(...)`\r\n\r\nEDIT: simplified steps  "},"comment":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/comments/368666724","html_url":"https://github.com/doitsujin/dxvk/issues/103#issuecomment-368666724","issue_url":"https://api.github.com/repos/doitsujin/dxvk/issues/103","id":368666724,"user":{"login":"pchome","id":10661854,"avatar_url":"https://avatars0.githubusercontent.com/u/10661854?v=4","gravatar_id":"","url":"https://api.github.com/users/pchome","html_url":"https://github.com/pchome","followers_url":"https://api.github.com/users/pchome/followers","following_url":"https://api.github.com/users/pchome/following{/other_user}","gists_url":"https://api.github.com/users/pchome/gists{/gist_id}","starred_url":"https://api.github.com/users/pchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchome/subscriptions","organizations_url":"https://api.github.com/users/pchome/orgs","repos_url":"https://api.github.com/users/pchome/repos","events_url":"https://api.github.com/users/pchome/events{/privacy}","received_events_url":"https://api.github.com/users/pchome/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T22:02:43Z","updated_at":"2018-02-26T22:02:43Z","author_association":"CONTRIBUTOR","body":"I changed `Steps to reproduce` to simpler version."}}
{"actor":{"display_login":"pchome"}}