2010-12-29, 21:07
Hi! Just bought a brand new tv, with native 24p (120hz) and of course 1080p.
When I came home I Immediately booted my htpc (xbmc nativly using archlinux kernel) and to my suprise for the first time i'm having a few issues with the movie playback.
My issues using 24p/hz:
htpc
archlinux (2.6.36-ARCH)
Amd Athlon 64 X2 Dual Core 5000+
Nvidia 9500GT 512mb
2GB Ram
Most of the playback would be from hardware acceleration through my GPU right, vdpau? I've seen setups with far less cpu power and they've had no issues, granted it was mediaportal and on windows. But clearly my CPU isn't a bottleneck here, right?
xorg.conf
xbmc version: 35648-1 (svn)
xbmc log: http://paste.pocoo.org/show/311646/
xbmc settings:
My movies are buffered from my server (all wired on movies, no wireless) - htpc, server is running linux with a 1GB switch and linksys router (tomato), they are all 1080p, mkv x264.
I'm right now watching Gladiator Extended Cut 1080p (2010 remastered version), and I have over 4000 frames dropped within the last 10 minutes. If I press "O" the frames are dropping like seconds, i'm soon past 4500.
UPDATE: The Audio is now falling behind roughly 2 seconds (even when i'm using audio offset 250ms) and the frames are dropping like flies!
I've searched this forum, used google and read a few guides and tutorials. Alas my problem isn't solved and since it's related to a general playback of my system, this is a fairly large issues for me.
I humbly ask for help
When I came home I Immediately booted my htpc (xbmc nativly using archlinux kernel) and to my suprise for the first time i'm having a few issues with the movie playback.
My issues using 24p/hz:
- Tearing (nvidia-vsync enabled)
- Audio out of sync (have to set audioff set to roughly 250ms)
- stuttering, picture almost goes into slowmotion for a split second, happens throughout the movie
- framedrops constantly
htpc
archlinux (2.6.36-ARCH)
Amd Athlon 64 X2 Dual Core 5000+
Nvidia 9500GT 512mb
2GB Ram
Most of the playback would be from hardware acceleration through my GPU right, vdpau? I've seen setups with far less cpu power and they've had no issues, granted it was mediaportal and on windows. But clearly my CPU isn't a bottleneck here, right?
xorg.conf
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.21 (buildmeister@builder101) Thu Nov 4 21:47:28 PDT 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "LG Electronics LG TV"
ModelName "LG 46LD550N"
HorizSync 30.0 - 83.0
VertRefresh 58.0 - 62.0
Option "DPMS"
Option "ExactModeTimingsDVI" "TRUE"
Modeline "1920x1080@50p" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@60p" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@24p" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080@24p" "1920x1080@50p" "1920x1080@60p"
EndSubSection
Option "FlatPanelProperties" "Scaling = Native" # make sure the gpu does not scale and loose performance
Option "DynamicTwinView" "False" # disable or you'll get tearing
Option "TripleBuffer" "0" # disable or xbmc will segfault with smoothvideo
Option "NoLogo" "True" # skip logo!
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
xbmc version: 35648-1 (svn)
xbmc log: http://paste.pocoo.org/show/311646/
xbmc settings:
Code:
Video
Full Screen #1
1920x1080 (tv info says 24Hz 1080p)
Render Method Auto Detect
VDPAU x
VAAPI x
Adjust Display Refresh Rate To Match Video x
Sync Playback to Display x
A/V Sync Method Video Clock (Drop/Dupe Audio)
VDPAU Studio Level Color Conversion x
Audio
Audio Offset -250ms
My movies are buffered from my server (all wired on movies, no wireless) - htpc, server is running linux with a 1GB switch and linksys router (tomato), they are all 1080p, mkv x264.
I'm right now watching Gladiator Extended Cut 1080p (2010 remastered version), and I have over 4000 frames dropped within the last 10 minutes. If I press "O" the frames are dropping like seconds, i'm soon past 4500.
UPDATE: The Audio is now falling behind roughly 2 seconds (even when i'm using audio offset 250ms) and the frames are dropping like flies!
Code:
Gladiator Extended Cut 1080p "O" information:
D(Audio: DCA, 48000 HZ 5.1, S16, 1536 KB/S) P (AQ:99%, KB/S:1473.25)
D(VIDEO: H264, YUV420p, 1920x816) P(FR:23:976, VQ99%, DC:FF-H264_VDPAU-VDPAU, MB/S:40 [b]Drop 8000,PC:1) frames are dropping every second![/b]
C(AD:0.250, A/V: 0578, EDL, DCPU; 1% ACPU: 1% VCPU 2%)
w(FPS;23,98 CPU0:3.0% CPU1:2%) S(Refresh: 24 Missed: 0 SPeed: 0.100% Sync +0%AVG 0% Errror:1300%
I've searched this forum, used google and read a few guides and tutorials. Alas my problem isn't solved and since it's related to a general playback of my system, this is a fairly large issues for me.
I humbly ask for help