{"action":"created","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/5040","repository_url":"https://api.github.com/repos/mono/MonoGame","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/5040/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/5040/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/5040/events","html_url":"https://github.com/mono/MonoGame/issues/5040","id":168179482,"number":5040,"title":"SharpDX gets wrong resolution causing crash on startup","user":{"login":"Jjagg","id":14875382,"avatar_url":"https://avatars.githubusercontent.com/u/14875382?v=3","gravatar_id":"","url":"https://api.github.com/users/Jjagg","html_url":"https://github.com/Jjagg","followers_url":"https://api.github.com/users/Jjagg/followers","following_url":"https://api.github.com/users/Jjagg/following{/other_user}","gists_url":"https://api.github.com/users/Jjagg/gists{/gist_id}","starred_url":"https://api.github.com/users/Jjagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jjagg/subscriptions","organizations_url":"https://api.github.com/users/Jjagg/orgs","repos_url":"https://api.github.com/users/Jjagg/repos","events_url":"https://api.github.com/users/Jjagg/events{/privacy}","received_events_url":"https://api.github.com/users/Jjagg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mono/MonoGame/milestones/9","html_url":"https://github.com/mono/MonoGame/milestones/3.6%20Release","labels_url":"https://api.github.com/repos/mono/MonoGame/milestones/9/labels","id":1441958,"number":9,"title":"3.6 Release","description":"More unit tests, running unit tests on Mac and Linux, SDL2 replacing OpenTK.","creator":{"login":"dellis1972","id":810617,"avatar_url":"https://avatars.githubusercontent.com/u/810617?v=3","gravatar_id":"","url":"https://api.github.com/users/dellis1972","html_url":"https://github.com/dellis1972","followers_url":"https://api.github.com/users/dellis1972/followers","following_url":"https://api.github.com/users/dellis1972/following{/other_user}","gists_url":"https://api.github.com/users/dellis1972/gists{/gist_id}","starred_url":"https://api.github.com/users/dellis1972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dellis1972/subscriptions","organizations_url":"https://api.github.com/users/dellis1972/orgs","repos_url":"https://api.github.com/users/dellis1972/repos","events_url":"https://api.github.com/users/dellis1972/events{/privacy}","received_events_url":"https://api.github.com/users/dellis1972/received_events","type":"User","site_admin":false},"open_issues":97,"closed_issues":94,"state":"open","created_at":"2015-12-03T11:17:13Z","updated_at":"2016-07-28T19:49:23Z","due_on":"2016-06-13T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-07-28T19:41:56Z","updated_at":"2016-07-28T20:04:56Z","closed_at":null,"body":"@tomspilman #5024 caused this issue (the commit before it worked fine). [`monitor.Description.DesktopBounds`](https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework/Graphics/GraphicsAdapter.DirectX.cs#L66) gets incorrect values (1536, 864) which is not a known displaymode for my graphics card, causing adapter._currentDisplayMode not to be set. `GraphicsDevice.DisplayMode` will be null and so [`GraphicsDevice.Setup`](https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework/Graphics/GraphicsDevice.cs#L218) will fail with a `NullReferenceException`.\r\n\r\nLooks like this is an issue with SharpDX or maybe incorrect use of the API? I couldn't find this in SharpDX source, so maybe this was a bug that is fixed or API changed. I just updated my graphics drivers, but that didn't help."},"comment":{"url":"https://api.github.com/repos/mono/MonoGame/issues/comments/236009056","html_url":"https://github.com/mono/MonoGame/issues/5040#issuecomment-236009056","issue_url":"https://api.github.com/repos/mono/MonoGame/issues/5040","id":236009056,"user":{"login":"Jjagg","id":14875382,"avatar_url":"https://avatars.githubusercontent.com/u/14875382?v=3","gravatar_id":"","url":"https://api.github.com/users/Jjagg","html_url":"https://github.com/Jjagg","followers_url":"https://api.github.com/users/Jjagg/followers","following_url":"https://api.github.com/users/Jjagg/following{/other_user}","gists_url":"https://api.github.com/users/Jjagg/gists{/gist_id}","starred_url":"https://api.github.com/users/Jjagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jjagg/subscriptions","organizations_url":"https://api.github.com/users/Jjagg/orgs","repos_url":"https://api.github.com/users/Jjagg/repos","events_url":"https://api.github.com/users/Jjagg/events{/privacy}","received_events_url":"https://api.github.com/users/Jjagg/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T20:04:56Z","updated_at":"2016-07-28T20:04:56Z","body":"I'm on my laptop with no additional monitor, but \r\n\r\n> Do you maybe have settings to make fonts/ui larger enabled?\r\n\r\nThat might be it. I'll try setting the default."}}
{"actor":{"display_login":"Jjagg"}}