Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yet another Macbook Pro topic (Power issues)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ttouch
n00b
n00b


Joined: 04 Oct 2014
Posts: 13

PostPosted: Wed Oct 29, 2014 9:29 am    Post subject: Yet another Macbook Pro topic (Power issues) Reply with quote

Hello,

A week ago I bought my beloved MacBook Pro 13" (MBP 11,1 late 2014) to see the gentoo running on it.
While I've fixed almost all problems (apart from keyboard backlight and screen resolution, but i know how to fix them), power consumption and heat are major problems.
While idling, I get ~70C and 20W power consumption.
- First of all, I see no frequency scaling. Powertop reports that the second cpu is idling (as it should, when the only thing running is tty1), but at maximum frequency (2.6GHz).
I use cpufrequtils and nothing happens, I enabled cpu frequency module in laptop tools (and switched off cpufrequtils) but nothing changed. What logs can shed some light?
- Fan control ain't work too. I compiled firefox, and the fan was neraly dead (1300rpm), and the laptop was hot.
I tried pwmconfig but it reports that it could not find any pwm compatible modules.
However, I AM able to change fan speed manually (echo 5000 > /sys/.../.../coretemp.0/fan1_input)

I have kernel 3.14 monolithic (I have enabled modules support for the broadcom wifi, but nothing is compiled as a module)
As of now, I know that I've said nothing useful to backtrace the faults, but I don't know what logs/info to provide.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Oct 29, 2014 1:39 pm    Post subject: Reply with quote

i think you need to proper set up ACPI and the kernel.
is this amd64 or something else?
Back to top
View user's profile Send private message
ttouch
n00b
n00b


Joined: 04 Oct 2014
Posts: 13

PostPosted: Wed Oct 29, 2014 2:07 pm    Post subject: Reply with quote

tw04l124 wrote:
i think you need to proper set up ACPI and the kernel.

I think I've done that.
Can you be a bit more verbose? What configuration do you suggest?
I've done nearly anything the wiki suggests about ACPI, macbook pro retina, power consumption etc., but give me some links if you don't mind to make sure i did not miss anything.
tw04l124 wrote:
is this amd64 or something else?

amd64 (i5-4278U).
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Oct 29, 2014 2:11 pm    Post subject: Reply with quote

i usually suggest looking up gentoo wiki / gentoo handbook. PErsonally dig into the kernel via make menuconfig and search there

also grep ACPI /usr/src/linux/.config reveals which is set and which is not. Please remember all kernel stoof is usually written in big letters.

for some reason only
Code:
cpupower frequency-set -g ondemand
works here.

you may also do cat /proc/cpuinfo to check current stats (works on my 6 years old notebook, I assume shoudl work for you too)
Back to top
View user's profile Send private message
ttouch
n00b
n00b


Joined: 04 Oct 2014
Posts: 13

PostPosted: Sat Nov 01, 2014 4:24 pm    Post subject: Reply with quote

tw04l124 wrote:
i usually suggest looking up gentoo wiki / gentoo handbook. PErsonally dig into the kernel via make menuconfig and search there

also grep ACPI /usr/src/linux/.config reveals which is set and which is not. Please remember all kernel stoof is usually written in big letters.

I enabled deprecated /proc/acpi and I'll report if fan control works

tw04l124 wrote:
for some reason only
Code:
cpupower frequency-set -g ondemand
works here.

Seems you were right! All the cpus are idling apart from CPU 0, which works @100% for no reason!
while htop reports 100% CPU 1 (non-zero based counting, the first core), only firefox runs 3-4% cpu and anything else 0%. How is that even possible?
I run a very minimal system, just DWM window manager with 1-2 more things running (xterm & firefox)
EDIT: Also, I switched to a root tty and killed all the processes. No X11, not even a single service. Still, The first core @100% while all the others idling... :/

tw04l124 wrote:
you may also do cat /proc/cpuinfo to check current stats (works on my 6 years old notebook, I assume shoudl work for you too)

the stats are all perfect! all cpus idling @750MHz.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum