I have a 2015 macbook pro dual booted with OS X and UBUNTU. Everything goes fine in OS X but the laptop overheats in ubuntu. I guess the problem has to do sth with the intel driver because the heating occurs even when I'm not doing anything (also checked the top command in terminal & cpu usage was ok).
I did the instructions in link "Ubuntu 14.04 on Mac gets too hot". terminal output for prime-select intel is:
Info: the current GL alternatives in use are: ['mesa', 'nvidia-340-prime']
Info: the current EGL alternatives in use are: ['mesa-egl', None]
Info: selecting nvidia-340-prime for the intel profile
update-alternatives: using /usr/lib/nvidia-340-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
After restart output of prime-select query is: 'unknown' again.
Any help would be greatly appreciated.