View previous topic :: View next topic |
Author |
Message |
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sat Apr 17, 2010 5:07 pm Post subject: vdpau broken when cpufreq scaled to lowest frequency |
|
|
Code: | # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
stepping : 2
cpu MHz : 1800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
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 rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips : 3599.91
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
stepping : 2
cpu MHz : 1800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
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 rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips : 3599.91
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps |
Code: | $ cat .mplayer/config
# Write your default config options here!
[vo.vdpau]
#vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
vc=ffh264vdpau,ffvc1vdpau,ffwmv3vdpau,ffmpeg12vdpau, |
I normally keep the scaling_governor set to ondemand, and the defaults for max/min_freq(2600000/1000000).
But when I upgraded to nvidia-drivers-195.36.15, which I needed for kernel-2.6.33, if I leave the CPU at the lowest frequency when playing movie the sound stops working, and I can see the audio icon on my receiver flickering in and out.
I also see the following in my dmesg.
Code: | [ 199.584283] CE: hpet increasing min_delta_ns to 15000 nsec |
If I increase the scaling_min_freq on my CPU to the next step up, 1800000, the problem goes away.
Obviously I'm using vdpau because I want my CPU to run as slowly as possible, though.
Anybody know how to fix this? |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Sun Apr 18, 2010 4:15 pm Post subject: |
|
|
AMD has memory controller in CPU, so when you scale down cpu-freq the memory performance decreases as well. Just keep min in 1800MHz and should be ok (maybe undervolt to keep heat down).
There is more info in nV News Linux Forum somewhere. |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sun Apr 18, 2010 4:21 pm Post subject: |
|
|
This worked perfectly with an earlier version of nvidia-drivers |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Mon Apr 19, 2010 10:56 am Post subject: |
|
|
I think i remembered wrong, that was about integrated graphic chips with shared memory.. |
|
Back to top |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Thu Apr 29, 2010 7:57 am Post subject: |
|
|
Looks like a nasty regression, you could try and report this as a bug. We cannot do much about it since it's closed-source :/ |
|
Back to top |
|
|
|