Performance on the RPI3
Posted: Thu Sep 08, 2016 2:56 am
I used to run the MVPMC for my front end, but with the advent of digital video, that meant I needed something else, and I settled on what I thought your be simple - the Raspberry Pi 3. Most of the notes out there are for the RPI2 and working, and I figured with the 3 it would be even better.
So I figured I was running a fairly standard platform (Raspbian), and the build from the MythTV Wiki (MythTV Light) and hasn't expected to encounter many problems setting up the front end. After tweaking the wiki (fixing an error) I've mostly waded through stuff, but my performance for playback of recorded video still isn't that good. Historically the server's been ok, and playback via VLC seems to be alright, so I don't think I have a server performance problem, but I don't know why this front end is slow.
I've done the following (mostly from https://www.mythtv.org/wiki/Raspberry_Pi):
sudo raspi-config (also in /boot/config.txt)
set gpu_mem=256
update /boot/config.txt for the MPEG license and confirm with:
vcgencmd codec_enabled MPG2
Performance:
to fix audio hiss, add this line to the /boot/config.txt:
disable_audio_dither=1
Disable pulseaudio as follows Edit /etc/pulse/client.conf. Uncomment the line autospawn=yes and replace the yes with a "no".
MythtV Frontend: Setup > Video > Playback
Change Video Profile from Normal to OpenMax Normal
Each boot, set pi to performance mode (in /etc/rc.local):
echo "performance" |sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
That all got me from disastrously bad to better but still not watchable. Any other suggestions?
Also, I have audio through the headphones, but I can't seem to figure out how to get it over HDMI, and the RP3 supports that, so I"m missing something there as well.
Thanks!
Rick
So I figured I was running a fairly standard platform (Raspbian), and the build from the MythTV Wiki (MythTV Light) and hasn't expected to encounter many problems setting up the front end. After tweaking the wiki (fixing an error) I've mostly waded through stuff, but my performance for playback of recorded video still isn't that good. Historically the server's been ok, and playback via VLC seems to be alright, so I don't think I have a server performance problem, but I don't know why this front end is slow.
I've done the following (mostly from https://www.mythtv.org/wiki/Raspberry_Pi):
sudo raspi-config (also in /boot/config.txt)
set gpu_mem=256
update /boot/config.txt for the MPEG license and confirm with:
vcgencmd codec_enabled MPG2
Performance:
to fix audio hiss, add this line to the /boot/config.txt:
disable_audio_dither=1
Disable pulseaudio as follows Edit /etc/pulse/client.conf. Uncomment the line autospawn=yes and replace the yes with a "no".
MythtV Frontend: Setup > Video > Playback
Change Video Profile from Normal to OpenMax Normal
Each boot, set pi to performance mode (in /etc/rc.local):
echo "performance" |sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
That all got me from disastrously bad to better but still not watchable. Any other suggestions?
Also, I have audio through the headphones, but I can't seem to figure out how to get it over HDMI, and the RP3 supports that, so I"m missing something there as well.
Thanks!
Rick