<html>Thanks Gary, Stuart and Jean-Yves for your feedback.<br /><br />On Monday, December 16, 2013 23:25 CET, Gary Buhrmaster <gary.buhrmaster@gmail.com> wrote:<br /> <blockquote>On Mon, Dec 16, 2013 at 10:10 PM, Stuart Morgan wrote:<br />> On Tuesday 17 Dec 2013 08:55:36 Jean-Yves Avenard wrote:<br />>> There should be no need to fiddle with CPU frequencies when you use vdpau.<br />>> 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 /><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'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 />> There should be no need to fiddle with CPU frequencies when you use vdpau.<br />> 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 />-- <br />Stuart Morgan<br />MythTV</p></blockquote><br />I'm including some details so that we know what we're dealing with here. The CPU is, indeed an AMD and as I notice a clear difference when I raise the frequency, I think we can assume that we're affected by bus speed.<br /><br /> I made a mistake with the GPU. It's a GT610, but most of my content is progressive, so I'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'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's one core crom cpuinfo (other core identical):<br /><em>processor : 1<br />vendor_id : AuthenticAMD<br />cpu family : 16<br />model : 6<br />model name : AMD Athlon(tm) II X2 250 Processor<br />stepping : 2<br />microcode : 0x10000c7<br />cpu MHz : 800.000<br />cache size : 1024 KB<br />physical id : 0<br />siblings : 2<br />core id : 1<br />cpu cores : 2<br />apicid : 1<br />initial apicid &n
bsp;: 1<br />fpu : yes<br />fpu_exception : yes<br />cpuid level : 5<br />wp : yes<br />flags : 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 : 6029.95<br />TLB size : 1024 4K pages<br />clflush size : 64<br />cache_alignment : 64<br />address sizes : 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 /> Subsystem: ASUSTeK Computer Inc. Device 840d<br /> Flags: bus master, fast devsel, latency 0, IRQ 18<br /> Memory at fa000000 (32-bit, non-prefetchable) [size=16M]<br /> Memory at d8000000 (64-bit, prefetchable) [size=128M]<br /> Memory at d6000000 (64-bit, prefetchable) [size=32M]<br /> I/O ports at dc00 [size=128]<br /> [virtual] Expansion ROM at fbe80000 [disabled] [size=512K]<br /> Capabilities: <access denied><br /> Kernel driver in use: nvidia<br /><br />01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)<br /> Subsystem: ASUSTeK Computer Inc. Device 840d<br /> Flags: bus master, fast devsel, latency 0, IRQ 19<br /> Memory at fbe7c000 (32-bit, non-prefetchable) [size=16K]<br /> Capabilities: <
;access denied><br /> Kernel driver in use: snd_hda_intel</em><br /><br />and some outpu from nvidia-smi:<br /><br /><em>Driver Version : 310.44<br /><br />Attached GPUs : 1<br />GPU 0000:01:00.0<br /> Product Name : GeForce GT 610<br /><br /> Persistence Mode : Disabled<br /><br /> GPU UUID : GPU-bda18178-2424-4734-8dd3-d2915077b96f <br /> VBIOS Version : 75.19.55.00.02<br /><br /> PCI<br /> Bus : 0x01<br /> Device
: 0x00<br /> &nbsp ; Domain : 0x0000<br /> Device Id : 0x104A10DE<br /> Bus Id : 0000:01:00.0<br /> Sub System Id : 0x840D1043<br /> <br /> Memory Usage<br /> Total : 1023 MB<br /> Used : 211 MB<br /> Free : 812 MB<br /> Compute Mode : 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 > /dev/null<br />echo 800000 | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq > /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 > /dev/null<br />echo 2300000 | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq > /dev/null<br /><br /><br />and /etc/sudoers.d/cpufrequency_video_playback<br /><br />mythuser ALL=(ALL) PASSWD: ALL, NOPASSWD: /usr/bin/tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq<br />mythuser 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>