Feature #2596
3.4: On-demand configuration of power-management
0%
Description
Since many users have problems with continuity counter errors that seems to be caused by power-management it should be possible to be able to reconfigure the power-management settings before a subscription (stream, recording) starts and after the last active subscription ends.
For discussion see:
See also: https://tvheadend.org/boards/5/topics/12920?r=14575#message-14575
Files
Related issues
History
Updated by Jaroslav Kysela almost 10 years ago
- Subject changed from On-demand configuration of power-management to 3.4: On-demand configuration of power-management
Updated by M H almost 10 years ago
See here for more informaton: https://tvheadend.org/boards/5/topics/12920?r=14865#message-14865
Updated by W Trainer almost 9 years ago
I too am having continuity counter errors that seem to be caused by power-management.
This issue causes pixelation in the live stream and the recorded stream. After an episode of pixelation, the sound sometimes drops out and does not return for the rest of the recording!!
It seems to happen when the server load gets too high. After reading this issue posted by MH i ran the following command on all 4 of my CPUs:
sudo cpufreq-set -c 0 -g performance
Now i don't get any errors (although it is still early days). But like MH, i don't want my CPU running at full-whack, unless there is an active tvheadend stream.
Is there any chance of this great feature being added to a future version, or a similar patch for version 4.0.8-3 ?
Thanks very much!!!
Server setup:- Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-28-generic x86_64), Tvheadend 4.0.8-3~gc870eb9~precise, Tuner card - TBS6284 DVB-T2/T (latest drivers)
Updated by B C almost 9 years ago
disable C6/C7 power states in your BIOS and everything should be fine
Updated by W Trainer almost 9 years ago
B C wrote:
disable C6/C7 power states in your BIOS and everything should be fine
Thanks for your reply. Disabling C6/C7 in the bios seems to leave my CPU running at 3.6Ghz
Having this #2596 feature would be of real benefit, as you can toggle the CPU profile between "performance" and "ondemand" when a stream starts or stops, respectively.
CPU:- AMD A8-5600K APU with Radeon(tm) HD Graphics
Updated by B C almost 9 years ago
oh I have no idea about AMD CPUs, but I don't think it should completely disable power management as these are just enhaced states (and on Intel it did only draw a little bit more power).
Regarding the patch, it is imho a driver problem and not tvh's fault.
Updated by W Trainer almost 9 years ago
BTW, there is nothing like C6/C7 for AMD A8-5600k
Not looked into this, but there was definitely a C6 option in my bios, and disabling it made my CPU run at full whack.
However, this has not fixed the CC errors.
There have been more driver releases on the TBS site since i last posted, so am going to try them out next.
Updated by B C almost 9 years ago
also try https://github.com/ljalves/linux_media/wiki
they sometimes do work better.
Updated by Alfred Zastrow almost 9 years ago
I also would like to get this feature. Newer low power intel cpu's like this one:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 76
model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz
stepping : 3
microcode : 0x33c
cpu MHz : 2472.903
cache size : 1024 KB
physical id : 0
siblings : 4
[...]
are only able to switch between "performance" or "powersafe". On-demand is not avaible anymore.
My server is running 24/h an I could save some power with "powersave" during idle times.
br
Alfred
Updated by B C almost 9 years ago
Alfred, I'm running my Digital-Devices cards in powersafe mode w/o any problems, my complete system draws <11W with 4 tuners and kodi running when idle. What troubles do you experience?
Updated by Anonymous about 8 years ago
- Copied to Bug #3967: GIT HEAD: Failed to compile due to failing to compile ffmpeg added