<html>Thanks Gary, Stuart and Jean-Yves for your feedback.<br /><br />On Monday, December 16, 2013 23:25 CET, Gary Buhrmaster &lt;gary.buhrmaster@gmail.com&gt; wrote:<br />&nbsp;<blockquote>On Mon, Dec 16, 2013 at 10:10 PM, Stuart Morgan wrote:<br />&gt; On Tuesday 17 Dec 2013 08:55:36 Jean-Yves Avenard wrote:<br />&gt;&gt; There should be no need to fiddle with CPU frequencies when you use vdpau.<br />&gt;&gt; Not with any recent drivers or intel proc (only amd had issues)<br />&gt;<br />&gt; Unless the GPU is on-board and sharing system memory.<br /><br />The impacts depend on the micro-architecture of the processor.<br />Westmere processors showed almost no impact on memory<br />speed, while Sandy Bridge based processors show a larger<br />impact. Bus speed (underclocking) is yet another dimension<br />that can be seen on some architectures.<br /><br />As with much else, the specific details (processor, chipset,<br />planar design, etc.) matter (and sometimes finding the i
 nfo<br />makes finding the needle in a haystack child&#39;s play).<br />_______________________________________________<br />mythtv-users mailing list<br />mythtv-users@mythtv.org<br />http://www.mythtv.org/mailman/listinfo/mythtv-users</blockquote><blockquote><p>On Tuesday 17 Dec 2013 08:55:36 Jean-Yves Avenard wrote:<br />&gt; There should be no need to fiddle with CPU frequencies when you use vdpau.<br />&gt; Not with any recent drivers or intel proc (only amd had issues)<br /><br />Unless the GPU is on-board and sharing system memory.<br />--&nbsp;<br />Stuart Morgan<br />MythTV</p></blockquote><br />I&#39;m including some details so that we know what we&#39;re dealing with here. The CPU is, indeed an AMD and as I notice a clear difference when I raise the &nbsp;frequency, I think we can assume that we&#39;re affected by bus speed.<br /><br />&nbsp;I made a mistake with the GPU. It&#39;s a GT610, but most of my content is progressive, so I&#39;m not using it for any dein
 terlacing. That jitterometer only showed 1 15% CPU usage even at 800Mz wiould indicate that I am using VDPAU.<br /><br />The only things I don&#39;t uinderstand is why I should notice a further improvement when raising both cores and why I should need to go as high as 2300 MHz for the problem to disappear completely.<br /><br />Anyway, here&#39;s one core crom cpuinfo (other core identical):<br /><em>processor &nbsp; &nbsp;: 1<br />vendor_id &nbsp; &nbsp;: AuthenticAMD<br />cpu family &nbsp; &nbsp;: 16<br />model &nbsp; &nbsp; &nbsp; &nbsp;: 6<br />model name &nbsp; &nbsp;: AMD Athlon(tm) II X2 250 Processor<br />stepping &nbsp; &nbsp;: 2<br />microcode &nbsp; &nbsp;: 0x10000c7<br />cpu MHz &nbsp; &nbsp; &nbsp; &nbsp;: 800.000<br />cache size &nbsp; &nbsp;: 1024 KB<br />physical id &nbsp; &nbsp;: 0<br />siblings &nbsp; &nbsp;: 2<br />core id &nbsp; &nbsp; &nbsp; &nbsp;: 1<br />cpu cores &nbsp; &nbsp;: 2<br />apicid &nbsp; &nbsp; &nbsp; &nbsp;: 1<br />initial apicid &nbsp; &n
 bsp;: 1<br />fpu &nbsp; &nbsp; &nbsp; &nbsp;: yes<br />fpu_exception &nbsp; &nbsp;: yes<br />cpuid level &nbsp; &nbsp;: 5<br />wp &nbsp; &nbsp; &nbsp; &nbsp;: yes<br />flags &nbsp; &nbsp; &nbsp; &nbsp;: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save<br />bogomips &nbsp; &nbsp;: 6029.95<br />TLB size &nbsp; &nbsp;: 1024 4K pages<br />clflush size &nbsp; &nbsp;: 64<br />cache_alignment &nbsp; &nbsp;: 64<br />address sizes &nbsp; &nbsp;: 48 bits physical, 48 bits virtual<br />power management: ts ttp tm stc 100mhzsteps hwpstate</em><br /><br />Some lspci info (other device info available on request):<br /><br /><em>01:00.0 VGA compatible controller: NVIDIA Co
 rporation GF119 [GeForce GT 610] (rev a1) (prog-if 00 [VGA controller])<br />&nbsp; &nbsp; Subsystem: ASUSTeK Computer Inc. Device 840d<br />&nbsp; &nbsp; Flags: bus master, fast devsel, latency 0, IRQ 18<br />&nbsp; &nbsp; Memory at fa000000 (32-bit, non-prefetchable) [size=16M]<br />&nbsp; &nbsp; Memory at d8000000 (64-bit, prefetchable) [size=128M]<br />&nbsp; &nbsp; Memory at d6000000 (64-bit, prefetchable) [size=32M]<br />&nbsp; &nbsp; I/O ports at dc00 [size=128]<br />&nbsp; &nbsp; [virtual] Expansion ROM at fbe80000 [disabled] [size=512K]<br />&nbsp; &nbsp; Capabilities: &lt;access denied&gt;<br />&nbsp; &nbsp; Kernel driver in use: nvidia<br /><br />01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)<br />&nbsp; &nbsp; Subsystem: ASUSTeK Computer Inc. Device 840d<br />&nbsp; &nbsp; Flags: bus master, fast devsel, latency 0, IRQ 19<br />&nbsp; &nbsp; Memory at fbe7c000 (32-bit, non-prefetchable) [size=16K]<br />&nbsp; &nbsp; Capabilities: &lt
 ;access denied&gt;<br />&nbsp; &nbsp; Kernel driver in use: snd_hda_intel</em><br /><br />and some outpu from nvidia-smi:<br /><br /><em>Driver Version &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 310.44<br /><br />Attached GPUs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 1<br />GPU 0000:01:00.0<br />&nbsp; &nbsp; Product Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: GeForce GT 610<br /><br />&nbsp; &nbsp; Persistence Mode &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Disabled<br /><br />&nbsp; &nbsp; GPU UUID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: GPU-bda18178-2424-4734-8dd3-d2915077b96f&nbsp;<br />&nbsp; &nbsp; VBIOS Version &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 75.19.55.00.02<br /><br />&nbsp; &nbsp; PCI<br />&nbsp; &nbsp; &nbsp; &nbsp; Bus &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0x01<br />&nbsp; &nbsp; &nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp;
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0x00<br />&nbsp; &amp;nbsp ; &nbsp; &nbsp; Domain &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0x0000<br />&nbsp; &nbsp; &nbsp; &nbsp; Device Id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0x104A10DE<br />&nbsp; &nbsp; &nbsp; &nbsp; Bus Id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0000:01:00.0<br />&nbsp; &nbsp; &nbsp; &nbsp; Sub System Id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0x840D1043<br />&nbsp;&nbsp;<br />&nbsp; &nbsp; Memory Usage<br />&nbsp; &nbsp; &nbsp; &nbsp; Total &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 1023 MB<br />&nbsp; &nbsp; &nbsp; &nbsp; Used &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 211 MB<br />&nbsp; &nbsp; &nbsp; &nbsp; Free &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 812 MB<br />&nbsp; &nbsp; Compute Mode &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Default</em><br /><br />
 <br />Any adfvice on how I can modify my scripts to make sure both cores get the higher minimum frequency for playback?<br /><br />Current scripts:<br /><br /><em>/usr/local/bin/frequencydown.sh<br />#!/bin/bash<br />echo 800000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq &gt; /dev/null<br />echo 800000 | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq &gt; /dev/null<br /><br />/usr/local/bin/frequencyup.sh<br />#!/bin/bash<br />echo 2300000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq &gt; /dev/null<br />echo 2300000 | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq &gt; /dev/null<br /><br /><br />and /etc/sudoers.d/cpufrequency_video_playback<br /><br />mythuser &nbsp; &nbsp;ALL=(ALL) PASSWD: ALL, NOPASSWD: /usr/bin/tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq<br />mythuser &nbsp; &nbsp;ALL=(ALL) PASSWD: ALL, NOPASSWD: /usr/bin/tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq</em><
 br /><br /><br />Cheers!<br /><br />Marius</html>