pinedev | Unsorted

Telegram-канал pinedev - PINE64 dev

-

pinephone, pinetab, etc devel chat | https://gitlab.com/pine64-org/ Bridged to #pinedev on Freenode and #pine-dev:matrix.org on Matrix

Subscribe to a channel

PINE64 dev

[I] <d​simic> sure, check that when you get a chance

Читать полностью…

PINE64 dev

[M] <p​iggz> yeah :)

Читать полностью…

PINE64 dev

[I] <d​simic> grep . /sys/devices/system/cpu/cpufreq/policy0/stats/trans_table

Читать полностью…

PINE64 dev

[I] <d​simic> BRB, have to eat :)

Читать полностью…

PINE64 dev

[M] <p​iggz> i noticed the phone qute warm, when screen off, with an active wakelock, but not doing much else, but not measured any cpu frequencies etc

Читать полностью…

PINE64 dev

[M] <p​iggz> is there any easy way to measure this?

Читать полностью…

PINE64 dev

[I] <d​simic> that also happens automatically

Читать полностью…

PINE64 dev

[I] <d​simic> @piggz ^^^

Читать полностью…

PINE64 dev

[M] <p​iggz> if i could have the kernel auto scale the freqnecy etc, that would be easiest

Читать полностью…

PINE64 dev

[M] <p​iggz> dsimic: its also about what support in there is in sailfish for setting the frequencies etc .... most of this kind of stuff is handled by a daemon called mode-control-entity (mce) ... but I suspect most android kernels handle this internally and auto scale the cpu frequency ? afaik, all mce generally controls is whether or not the device fully suspends or not, and allows the kernel to suspend using config_pm_autosleep .... but full suspend isnt much good if, eg, you are tethering from the phone, so, im looking at some way to not suspend, but still be in a low power state

Читать полностью…

PINE64 dev

[M] <p​iggz> thx, ill look into it

Читать полностью…

PINE64 dev

[I] <m​egi> you can use cpupower program to control that from userspace

Читать полностью…

PINE64 dev

[M] <p​iggz> do the pinephone(s) have any cpu frequency scaling to reduce power while staying awake? any kernel options needed for that? (megi)

Читать полностью…

PINE64 dev

[I] <d​simic> and _maybe_ some kind of sysfs overclocking interface could become reality at some point, after the DT-overlay-based overclocking proves its worth and usability

Читать полностью…

PINE64 dev

[I] <d​simic> DT overlays have become accepted rather recently upstream, so it's good time now to make them more user friendly

Читать полностью…

PINE64 dev

[M] <p​iggz> today though, im trying to build a kernel for the volla22

Читать полностью…

PINE64 dev

[I] <d​simic> which is similar to the trans_table for GPU devfreq, if you remember :)

Читать полностью…

PINE64 dev

[I] <d​simic> @piggz : you can check is CPU DVFS working as expected by running something like this:

Читать полностью…

PINE64 dev

[M] <p​iggz> s/quite

Читать полностью…

PINE64 dev

[I] <d​simic> thus, I'm not really sure what's going on with your observations

Читать полностью…

PINE64 dev

[I] <d​simic> but idling with WFI, which is always supported, should still produce measurable reduction of heat and power consumption

Читать полностью…

PINE64 dev

[I] <d​simic> there might be some issue with idling (i.e. powering off) the CPU cores when inactive using PSCI (i.e. TF-A)

Читать полностью…

PINE64 dev

[I] <d​simic> that's what Linux kernel does, the OPPs/frequencies for the CPU cores are selected automatically according to the configured temperature thresholds

Читать полностью…

PINE64 dev

[M] <p​iggz> at the moment, when i tether, i create a wakelock to prevent susepend, but, thats still quite power hungry

Читать полностью…

PINE64 dev

[I] <d​simic> @piggz : as a note, it's all about the DVFS support for the Allwinner A64 or the Rockchip RK3399, i.e. it isn't specific to the PinePhone (Pro)

Читать полностью…

PINE64 dev

[I] <m​egi> kernel options are the CPUFREQ_ ones / https://www.kernel.org/doc/html/v4.14/admin-guide/pm/cpufreq.html

Читать полностью…

PINE64 dev

[I] <m​egi> sure

Читать полностью…

PINE64 dev

[I] <d​simic> ... hopefully :)

Читать полностью…

PINE64 dev

[I] <d​simic> if you'd work on the DT-overlay-based overclocking, perhaps we could merge those two utilities together at some point :)

Читать полностью…

PINE64 dev

[I] <d​simic> and I'll add a couple more of DT overlays upstream, hopefully soon

Читать полностью…
Subscribe to a channel