{"action":"created","issue":{"url":"https://api.github.com/repos/petrockblog/RetroPie-Setup/issues/531","labels_url":"https://api.github.com/repos/petrockblog/RetroPie-Setup/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/petrockblog/RetroPie-Setup/issues/531/comments","events_url":"https://api.github.com/repos/petrockblog/RetroPie-Setup/issues/531/events","html_url":"https://github.com/petrockblog/RetroPie-Setup/issues/531","id":52935687,"number":531,"title":"runcommand and mode selection","user":{"login":"joolswills","id":5365574,"avatar_url":"https://avatars.githubusercontent.com/u/5365574?v=3","gravatar_id":"","url":"https://api.github.com/users/joolswills","html_url":"https://github.com/joolswills","followers_url":"https://api.github.com/users/joolswills/followers","following_url":"https://api.github.com/users/joolswills/following{/other_user}","gists_url":"https://api.github.com/users/joolswills/gists{/gist_id}","starred_url":"https://api.github.com/users/joolswills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joolswills/subscriptions","organizations_url":"https://api.github.com/users/joolswills/orgs","repos_url":"https://api.github.com/users/joolswills/repos","events_url":"https://api.github.com/users/joolswills/events{/privacy}","received_events_url":"https://api.github.com/users/joolswills/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"petrockblog","id":1911592,"avatar_url":"https://avatars.githubusercontent.com/u/1911592?v=3","gravatar_id":"","url":"https://api.github.com/users/petrockblog","html_url":"https://github.com/petrockblog","followers_url":"https://api.github.com/users/petrockblog/followers","following_url":"https://api.github.com/users/petrockblog/following{/other_user}","gists_url":"https://api.github.com/users/petrockblog/gists{/gist_id}","starred_url":"https://api.github.com/users/petrockblog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrockblog/subscriptions","organizations_url":"https://api.github.com/users/petrockblog/orgs","repos_url":"https://api.github.com/users/petrockblog/repos","events_url":"https://api.github.com/users/petrockblog/events{/privacy}","received_events_url":"https://api.github.com/users/petrockblog/received_events","type":"User","site_admin":false},"milestone":null,"comments":49,"created_at":"2014-12-26T19:10:10Z","updated_at":"2015-03-21T07:36:28Z","closed_at":"2015-03-21T07:36:28Z","body":"I have some changes for runcommand.sh that seem logical and solve an issue in my case, but wanted to go over some details.\r\n\r\na) fbset -depth 8 && fbset -depth 16\r\n\r\nWhy is this needed? It first tries to set 8 bit depth, and if that succeeds it tries a 16 bit depth ? Are there cases where 16 bit will fail ?\r\n\r\nb) starttype==1: set video mode to VGA ONLY IF tvservice is in HDMI mode, and run command\r\n\r\nThis mode is 4:3 ratio even on 16:9 monitors I believe ? Currently this mode is used for a bunch of emulators - but if on a 19:6 monitor mode 3 (mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive) would seem a better choice to keep the correct aspect ratio ?\r\n\r\nc) starttype 2 / 3 / 6 / 7 / 8 are not used by anything. Do they serve any purpose ?\r\n\r\n--\r\n\r\nBasically the changes I want to make are to take into account the preferred mode of the monitor, and record the aspect and group of that and use that as a basis for mode choice. My picade monitor is 1024x768, and the preferred mode is \"state 0x12001a [HDMI DMT (16) RGB full 4:3], 1024x768 @ 60.00Hz, progressive\". Some of the current emulators try to use starttype 4 (set video mode to 720p60 ONLY IF tvservice is in HDMI mode and run command) - which is unsuitable for a 4:3 monitor like mine. My changes would only allow this mode to be selected if the monitor preferred mode is the same aspect. In the case of my monitor, the preferred mode is a better choice.\r\n\r\nIf you could help me with some of these questions, I can make sure I don't break any existing functionality in use, but make runcommand work better for 4:3 and 16:19\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/petrockblog/RetroPie-Setup/issues/comments/84275595","html_url":"https://github.com/petrockblog/RetroPie-Setup/issues/531#issuecomment-84275595","issue_url":"https://api.github.com/repos/petrockblog/RetroPie-Setup/issues/531","id":84275595,"user":{"login":"joolswills","id":5365574,"avatar_url":"https://avatars.githubusercontent.com/u/5365574?v=3","gravatar_id":"","url":"https://api.github.com/users/joolswills","html_url":"https://github.com/joolswills","followers_url":"https://api.github.com/users/joolswills/followers","following_url":"https://api.github.com/users/joolswills/following{/other_user}","gists_url":"https://api.github.com/users/joolswills/gists{/gist_id}","starred_url":"https://api.github.com/users/joolswills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joolswills/subscriptions","organizations_url":"https://api.github.com/users/joolswills/orgs","repos_url":"https://api.github.com/users/joolswills/repos","events_url":"https://api.github.com/users/joolswills/events{/privacy}","received_events_url":"https://api.github.com/users/joolswills/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T07:36:28Z","updated_at":"2015-03-21T07:36:28Z","body":"I believe this can be closed now - all seems to be working well. Please open a new ticket if anything crops up. Thanks for all the help with this gizmo98."}}