{"action":"created","issue":{"url":"https://api.github.com/repos/gnif/LookingGlass/issues/62","repository_url":"https://api.github.com/repos/gnif/LookingGlass","labels_url":"https://api.github.com/repos/gnif/LookingGlass/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/gnif/LookingGlass/issues/62/comments","events_url":"https://api.github.com/repos/gnif/LookingGlass/issues/62/events","html_url":"https://github.com/gnif/LookingGlass/issues/62","id":321038346,"number":62,"title":"Looking Glass host application erroring out when fullscreening game or changing resolution","user":{"login":"Celmor","id":9097551,"avatar_url":"https://avatars0.githubusercontent.com/u/9097551?v=4","gravatar_id":"","url":"https://api.github.com/users/Celmor","html_url":"https://github.com/Celmor","followers_url":"https://api.github.com/users/Celmor/followers","following_url":"https://api.github.com/users/Celmor/following{/other_user}","gists_url":"https://api.github.com/users/Celmor/gists{/gist_id}","starred_url":"https://api.github.com/users/Celmor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Celmor/subscriptions","organizations_url":"https://api.github.com/users/Celmor/orgs","repos_url":"https://api.github.com/users/Celmor/repos","events_url":"https://api.github.com/users/Celmor/events{/privacy}","received_events_url":"https://api.github.com/users/Celmor/received_events","type":"User","site_admin":false},"labels":[{"id":772003173,"url":"https://api.github.com/repos/gnif/LookingGlass/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-08T04:25:57Z","updated_at":"2018-05-30T00:39:47Z","closed_at":null,"author_association":"NONE","body":"### Required information\r\n\r\nHost CPU: Intel i7-6700K\r\nHost GPU:  Intel HD Graphics 530 \r\nGuest GPU: GTX 980 Ti\r\nHost Kernel version: 4.16.4-1-MANJARO\r\nHost QEMU version: 2.11.1\r\nGuest Windows version: Windows 10 RS3/1709\r\n\r\nChanging ingame resolution dramatically (e.g. 720p->1440p), starting game with different ingame resolution than desktop, alt-tabbing out of game or into game can cause Host error and prompt to exit, refer to the corresponding log file for console output and see for its file name name for a short sumarry of what I did. Either way the issue can't be reproduced reliably.\r\nFor example:\r\n\r\n- Changing ingame resolution causes DXGI's DuplicateOutput to produce error 80070005 and Clients video freezes but spice keeps working\r\n- switching Monitor input to guest GPU to see its desktop\r\n- closing looking-glass-host (or in my case creating dump file via task manager first)\r\n- starting looking-glass-host\r\n- alt-tabbing back to game\r\n- switching monitor input to host\r\n- noticing looking-glass-host errored again\r\n- switching monitor input to guest GPU to see its desktop\r\n- starting looking-glass-host\r\n- alt-tabbing back to game\r\n- switching monitor input to host\r\n- this time no error\r\n\r\nI couldn't isolate what causes looking-glass-host/capturer to error and fullscreening a game is a gamble for if LG will correspond badly or continue working. Changing just desktop resolution doesn't cause this issue. Desktop resolution and refresh rate is usually lower than ingame's setting then when switching to Game it often causes this issue but not exclusively.\r\nGames I tested with are GTA5 and Rainbow Six Siege.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gnif/LookingGlass/issues/comments/392993532","html_url":"https://github.com/gnif/LookingGlass/issues/62#issuecomment-392993532","issue_url":"https://api.github.com/repos/gnif/LookingGlass/issues/62","id":392993532,"user":{"login":"Celmor","id":9097551,"avatar_url":"https://avatars0.githubusercontent.com/u/9097551?v=4","gravatar_id":"","url":"https://api.github.com/users/Celmor","html_url":"https://github.com/Celmor","followers_url":"https://api.github.com/users/Celmor/followers","following_url":"https://api.github.com/users/Celmor/following{/other_user}","gists_url":"https://api.github.com/users/Celmor/gists{/gist_id}","starred_url":"https://api.github.com/users/Celmor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Celmor/subscriptions","organizations_url":"https://api.github.com/users/Celmor/orgs","repos_url":"https://api.github.com/users/Celmor/repos","events_url":"https://api.github.com/users/Celmor/events{/privacy}","received_events_url":"https://api.github.com/users/Celmor/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T00:39:47Z","updated_at":"2018-05-30T00:39:47Z","author_association":"NONE","body":"My current workaround is to have the host application restart automatically when exit code is 0 (which it does when the capturer exits), exit code is 1 if killed via task manager.\r\n> Do { echo \"lookin glass started\"; $ps = Start-Process D:\\tools\\looking-glass-host.exe -Wait -PassThru } While ($ps.ExitCode -eq 0)"}}
{"actor":{"display_login":"Celmor"}}