ah- / gmux-scripts Goto Github PK
View Code? Open in Web Editor NEWScripts and configurations to get switching to work on the MBP 6,2
Scripts and configurations to get switching to work on the MBP 6,2
Dear Mr Heider,
I 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.
I am sorry for creating an issue here to contact you, but I was not able to find an email address.
So 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.
So 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.
After 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.
I 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).
This is my patch file: https://gist.github.com/Drakulix/d3013d7834db53f04b2f
This 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.
Also 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.)
Sadly 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).
I 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.
Greetings,
Victor Brekenfeld
P.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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.