{"action":"created","issue":{"url":"https://api.github.com/repos/ah-/gmux-scripts/issues/1","labels_url":"https://api.github.com/repos/ah-/gmux-scripts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ah-/gmux-scripts/issues/1/comments","events_url":"https://api.github.com/repos/ah-/gmux-scripts/issues/1/events","html_url":"https://github.com/ah-/gmux-scripts/issues/1","id":38338838,"number":1,"title":"Getting switchable graphics to work on a macbookpro10,1","user":{"login":"Drakulix","id":4404502,"avatar_url":"https://avatars.githubusercontent.com/u/4404502?v=3","gravatar_id":"","url":"https://api.github.com/users/Drakulix","html_url":"https://github.com/Drakulix","followers_url":"https://api.github.com/users/Drakulix/followers","following_url":"https://api.github.com/users/Drakulix/following{/other_user}","gists_url":"https://api.github.com/users/Drakulix/gists{/gist_id}","starred_url":"https://api.github.com/users/Drakulix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drakulix/subscriptions","organizations_url":"https://api.github.com/users/Drakulix/orgs","repos_url":"https://api.github.com/users/Drakulix/repos","events_url":"https://api.github.com/users/Drakulix/events{/privacy}","received_events_url":"https://api.github.com/users/Drakulix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2014-07-21T19:59:07Z","updated_at":"2015-01-03T05:04:44Z","closed_at":null,"body":"Dear Mr Heider,\r\nI have spend the past days making research on the situation about getting vga_switcheroo to work on newer macbook pro's, and your patches and scripts seem to be the only progress that was made on this subject for a long time.\r\n\r\nI am sorry for creating an issue here to contact you, but I was not able to find an email address.\r\n\r\nSo first of all I am using a macbookpro10,1 (which is the first retina macbook pro 15\" with an Intel HD 4000 and a nvidia 650m). I know, that your patches were supposed to work on another (older) generation, I just try to get some help on this subject. I spend already quite some time trying to fix this on my own.\r\n\r\nSo the starting situation is quite similar. I have loaded the i915 module and nouveau (no attempts yet to use the nvidia blob) and the system boots via EFI using the nvidia output according to switcheroo. Switching to the Intel chip just makes the screen black, but keeps the system running. I can get back to the nvidia chip (blindly or via ssh), but the console is not displayed anymore (I am running a minimal arch linux without any X Server currently for testing ), but the screen gets lid again upon switching, so it seems to detect the output display again.\r\n\r\nAfter taking a look at all your patches I noticed that the apple_gmux module has already been adopted and updated for the new gmux of my macbook and that the structure is still quite similar to your module.\r\nI also noticed that neither your rom_window patch, nor your i915 hack seem to have made it into the kernel, so my first attempt was rewriting those for a recent kernel (3.15.6).\r\n\r\nThis is my patch file: https://gist.github.com/Drakulix/d3013d7834db53f04b2f\r\nThis one still contains some typos (dcc instead of ddc) and is broken, because the clients are not stored in an array, but a list right know (easy to fix). I am on the wrong system to upload my latest (working) patch right now, but it should give you an idea, what I am trying to accomplish.\r\nAlso I have not attempt the convert the nouveau patch yet, because the structure of the driver has changed quite much and it should not be necessary for a successful switch to the Intel chip. (My goal is still complete support, not just using the intel chip.)\r\n\r\nSadly this patch does nothing. It applies and compile correctly (, well my latest version does), but the behavior is unchanged. The i915 driver is still not detecting my integrated display correctly (at least that is what it seems like).\r\n\r\nI also have to admit, that this is my first experience with kernel patching, so I have no real idea, how I could start debugging this. I am used to unix and linux, but I have no yet installed a productive linux system on my macbook, because not being able to switch the graphics is an absolut deal breaker for me. However I am totally willing to get my hands dirty on this and any hints, where to start, are more then welcome.\r\n\r\nGreetings,\r\nVictor Brekenfeld\r\n\r\nP.S. I think I have found some hints, that your location might be germany, while reading through the mailing list, etc. If thats the case and you can speak german, that might be better for understanding each other. My first language is also german, but my english is quite rough."},"comment":{"url":"https://api.github.com/repos/ah-/gmux-scripts/issues/comments/68583673","html_url":"https://github.com/ah-/gmux-scripts/issues/1#issuecomment-68583673","issue_url":"https://api.github.com/repos/ah-/gmux-scripts/issues/1","id":68583673,"user":{"login":"codykrieger","id":131179,"avatar_url":"https://avatars.githubusercontent.com/u/131179?v=3","gravatar_id":"","url":"https://api.github.com/users/codykrieger","html_url":"https://github.com/codykrieger","followers_url":"https://api.github.com/users/codykrieger/followers","following_url":"https://api.github.com/users/codykrieger/following{/other_user}","gists_url":"https://api.github.com/users/codykrieger/gists{/gist_id}","starred_url":"https://api.github.com/users/codykrieger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codykrieger/subscriptions","organizations_url":"https://api.github.com/users/codykrieger/orgs","repos_url":"https://api.github.com/users/codykrieger/repos","events_url":"https://api.github.com/users/codykrieger/events{/privacy}","received_events_url":"https://api.github.com/users/codykrieger/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T05:04:44Z","updated_at":"2015-01-03T05:04:44Z","body":"@jamyl I'm not sure why you're sad about the result of running that command — it sounds like it did exactly what you wanted. If only the integrated chipset is detected, it won't bother trying to switch to the discrete GPU."}}