Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

cpufreq governor -> performance #48

Closed
seblucas opened this issue May 12, 2016 · 9 comments
Closed

cpufreq governor -> performance #48

seblucas opened this issue May 12, 2016 · 9 comments

Comments

@seblucas
Copy link

May I ask why the governor is set to performance ?

I tried changing it to conservative and of course the temperature went lower the UI still felt pretty great.

@jernejsk
Copy link
Owner

This is old setting, which helped when mali rendered video. I changed it to interactive, sam as Armbian.

@dhanar10
Copy link

dhanar10 commented May 31, 2016

@jernejsk Blindly changing the governor to interactive to match Armbian might be problematic.

I have an Orange Pi One running OpenELEC-H3.arm-7.0-devel-20160510194557-r22810-g4a963fc-opione.img.gz. The default governor is performance, but I changed it to interactive by writing to sysfs.

What I get is pulseaudio crackling. It does not happen on all videos but based on my observation, the issue can be triggered reliably using 720p H264 anime with ASS subtitle. Crackling will start about 5-10 minute into playback. My guess is pulseaudio is losing sync with the video and unable to get back in sync due to the interactive governor.

Somehow, setting the governor to ondemand will make the issue dissapear.

@seblucas
Copy link
Author

I have to say I'm a big fan of conservative for media players. my Nano pi gets hotter but so far it's been working fine

@jernejsk
Copy link
Owner

I certainly didn't blind copy this setting. I read through this issue armbian/build#298 and check few other articles as well.

BTW, so you are using bluetooth audio? Otherwise PulseAudio should not be used...

@dhanar10
Copy link

dhanar10 commented May 31, 2016

@jernejsk No. I am using HDMI output.

I thought when Pulseaudio is running Kodi will always use it? Besides, AFAIK Pulseaudio will "bite" the ALSA device so that no other application can use it. If those applications want to output sound, they have to do it through Pulseaudio.

I have already using Linux desktop even before Pulseaudio exist. So, I saw all kinds of problem during ALSA -> Pulseaudio transition, including crackling sound. That's why I suspect this crackling sound is related to Pulseaudio. I never experience crackling sound with ALSA.

@dhanar10
Copy link

dhanar10 commented May 31, 2016

@seblucas I will try to use conservative now and see whether the crackling sound issue appears. My understanding is that conservative is similar to ondemand but less aggresive.

@dhanar10
Copy link

dhanar10 commented Jun 1, 2016

@seblucas Conservative governor seems ok too. I did not get any sound crackling on my limited testing.

@jernejsk
Copy link
Owner

jernejsk commented Jun 2, 2016

I discovered some severe issues because of enabled tv out. Please pull latest code and be sure to rebuild kernel package, which should take care for updating fex file. Then build new image and test your issues.

@dhanar10
Copy link

dhanar10 commented Jun 5, 2016

@jernejsk I tested OpenELEC-H3.arm-7.0-devel-20160602225329-r22840-g4575bc2 on my Orange Pi One and I cannot reproduce the sound crackling issue anymore on the new default "interactive" scaling governor. Nice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants