2013-10-11, 19:02
While testing the 3.12rc4 kernel from the ArchLinux AUR (https://aur.archlinux.org/packages/linux-mainline) I noticed some increase in frame drops/skips, especially with 1080i content. dmesg reports that while playing videos the gpu perfomance class sticks to "uvd_hd", while with the 3.11.4 repo kernel it sticks to "uvd". Clocks seem quite different:
Same while running qvdpautest, so obviously there is quite a difference too:
3.11.4 repo kernel:
3.12rc4 kernel:
Does anybody know what's going on? Why does the rc kernel stick to the lower performance class? Both kernels have the HDA and CEA patches applied, if that matters. It's actually not a big deal right now, since with the 3.11 kernel xbmc works smooth as butter. I'm just curious.
Code:
$ dmesg | grep -i uvd
[ 1.839809] [drm] UVD initialized successfully.
[ 1.902422] internal class: uvd_hd
[ 1.902428] uvd vclk: 38824 dclk: 30000
[ 1.902439] internal class: uvd
[ 1.902445] uvd vclk: 55000 dclk: 41250
Same while running qvdpautest, so obviously there is quite a difference too:
3.11.4 repo kernel:
Code:
qvdpautest 0.5.2
AMD E-450 APU with Radeon(tm) HD Graphics
Unknown GPU
VDPAU API version : 1
VDPAU implementation : G3DVL VDPAU Driver Shared Library version 1.0
MPEG DECODING (1920x1080): 60 frames/s
MPEG DECODING (1280x720): 92 frames/s
H264 DECODING (1920x1080): 38 frames/s
H264 DECODING (1280x720): 70 frames/s
MPEG4 DECODING (1920x1080): 52 frames/s
MIXER WEAVE (1920x1080): 301 frames/s
MIXER BOB (1920x1080): 502 fields/s
MIXER TEMPORAL (1920x1080): 593 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 593 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 592 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 593 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 593 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 592 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 713 fields/s
MULTITHREADED MPEG DECODING (1920x1080): 58 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 602 fields/s
Code:
qvdpautest 0.5.2
AMD E-450 APU with Radeon(tm) HD Graphics
Unknown GPU
VDPAU API version : 1
VDPAU implementation : G3DVL VDPAU Driver Shared Library version 1.0
MPEG DECODING (1920x1080): 41 frames/s
MPEG DECODING (1280x720): 63 frames/s
H264 DECODING (1920x1080): 27 frames/s
H264 DECODING (1280x720): 49 frames/s
MPEG4 DECODING (1920x1080): 37 frames/s
MIXER WEAVE (1920x1080): 302 frames/s
MIXER BOB (1920x1080): 503 fields/s
MIXER TEMPORAL (1920x1080): 594 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 593 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 713 fields/s
MULTITHREADED MPEG DECODING (1920x1080): 43 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 415 fields/s