2013-12-29, 22:58
Hi guys,
After using nVidia for years for HTPC hardware, I've decided to switch to AMD because of their improved and finally acceptable open source support.
So I bought a AMD A8-6500T which has a nice 45 watt TDP.
While both DPM (dynamic power saving) and even UVD acceleration work pretty well (using the r600g driver) in nearly all video players (I tested VLC, Mythtv and Mplayer), it doesn't in XBMC.
Most of the times when I start playing a 1080p h264 video, XBMC will freeze. When it doesn't freeze, it will start playing nicely (with just 10-15% CPU), until I press the forward button a few times (which will skip at every press approx. 10 minutes of video). Then XBMC crashes with a segfault.
At the software side, I use an up to date (29-12-13) 32bit Arch Linux which currently has XBMC 12.3, Linux 3.12 and Mesa 10.0.1. I start XBMC with a new ~/.xbmc folder with no special configuration (just disabling VA-API acceleration, leaving only VDPAU enabled). The problems don't appear when I also disable VDPAU, but XBMC uses then 80-90% CPU.
Most of the videos I play are converted blu-ray rips (ripped from original blu-rays using Makemkv), with mencoder/x264 using the following commands:
Unfortunately, I can't provide a sample, because the problems only appear during fast forwarding of big (>1h) movies (yes, Big Buck Bunny runs fine )
Debug info:
dmesg:
http://pastebin.com/qRqBpkD9
lspci:
http://pastebin.com/taVjt90z
vdpauinfo:
http://pastebin.com/7A38HWmV
Xorg.0.log:
http://pastebin.com/3QRYvsif
xbmc_crashlog:
This file was too big for pastebin, because of the following duplicate (I think non-relevant) line:
20:20:03 T:2837986112 DEBUG: CheckPlayerInit - dropping packet type:1 dts:4215711000.000000 to get to start point at 4215794000.000000
So I removed the duplicate in order to get it on pastebin:
http://pastebin.com/NLnACHJX
The complete uncut file can be found at Ubuntu One:
http://ubuntuone.com/5WJnyCVezZpc48j1uvDxDV
xbmc.log:
The same holds for xbmc.log
Short version:
http://pastebin.com/7x5uySez
Complete version:
http://ubuntuone.com/1AFEjfpirEyMazapkorzhX
So with that information, could anyone help me with this problem?
After using nVidia for years for HTPC hardware, I've decided to switch to AMD because of their improved and finally acceptable open source support.
So I bought a AMD A8-6500T which has a nice 45 watt TDP.
While both DPM (dynamic power saving) and even UVD acceleration work pretty well (using the r600g driver) in nearly all video players (I tested VLC, Mythtv and Mplayer), it doesn't in XBMC.
Most of the times when I start playing a 1080p h264 video, XBMC will freeze. When it doesn't freeze, it will start playing nicely (with just 10-15% CPU), until I press the forward button a few times (which will skip at every press approx. 10 minutes of video). Then XBMC crashes with a segfault.
At the software side, I use an up to date (29-12-13) 32bit Arch Linux which currently has XBMC 12.3, Linux 3.12 and Mesa 10.0.1. I start XBMC with a new ~/.xbmc folder with no special configuration (just disabling VA-API acceleration, leaving only VDPAU enabled). The problems don't appear when I also disable VDPAU, but XBMC uses then 80-90% CPU.
Most of the videos I play are converted blu-ray rips (ripped from original blu-rays using Makemkv), with mencoder/x264 using the following commands:
Code:
# Pass 1
mencoder "$INPUTFILE" -ovc x264 -x264encopts bitrate=9000:pass=1:turbo=1:me=umh:me_range=32:subq=5:nodct_decimate:threads=8 -of rawvideo -ofps 24/10001 -mc 0 -noskip -nosound -o /dev/null
# Pass 2
mencoder "$INPUTFILE" -ovc x264 -x264encopts bitrate=9000:pass=2:turbo=0:me=umh:me_range=32:subq=5:nodct_decimate:threads=8 -of rawvideo -ofps 24/10001 -mc 0 -noskip -nosound -o output.h264
# Muxing into mp4
MP4Box -fps 23.976024 output.h264 "$OUTFILE"
Debug info:
dmesg:
http://pastebin.com/qRqBpkD9
lspci:
http://pastebin.com/taVjt90z
vdpauinfo:
http://pastebin.com/7A38HWmV
Xorg.0.log:
http://pastebin.com/3QRYvsif
xbmc_crashlog:
This file was too big for pastebin, because of the following duplicate (I think non-relevant) line:
20:20:03 T:2837986112 DEBUG: CheckPlayerInit - dropping packet type:1 dts:4215711000.000000 to get to start point at 4215794000.000000
So I removed the duplicate in order to get it on pastebin:
http://pastebin.com/NLnACHJX
The complete uncut file can be found at Ubuntu One:
http://ubuntuone.com/5WJnyCVezZpc48j1uvDxDV
xbmc.log:
The same holds for xbmc.log
Short version:
http://pastebin.com/7x5uySez
Complete version:
http://ubuntuone.com/1AFEjfpirEyMazapkorzhX
So with that information, could anyone help me with this problem?