Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XBMC studers and crash while playing video
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Thu Sep 12, 2013 4:56 pm    Post subject: XBMC studers and crash while playing video Reply with quote

Hello everyone,
My XMBC crashes everytime and I have no clue what's the problem. When I emerge it with vaapi it crashes....without vaapi crashes. The only way I can recover is system reboot. I'm using fglrx. I can't make it even halfway through a movie.

Quote:

Portage 2.2.1 (default/linux/amd64/13.0/desktop, gcc-4.8.1, glibc-2.15-r3, 3.10.10-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.10.10-gentoo-x86_64-AMD_FX-tm-4300_Quad-Core_Processor-with-gentoo-2.2
KiB Mem: 8165836 total, 7014136 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of tree: Thu, 12 Sep 2013 14:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.5-r2, 3.2.5-r2
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.13.4, 1.14
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.8.1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync5.us.gentoo.org/gentoo-portage"
USE="10bit X a52 aac acl acpi alsa amd64 ao apic avx berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac fortran gdbm gif gpm gtk iconv jpeg lame lcms ldap libass libnotify libsamplerate mad matroska mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl session spell sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xorg xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

media-tv/xbmc-12.2-r1 was built with the following:
USE="X alsa bluetooth bluray debug opengl projectm rsxs samba sdl sse sse2 udev usb vaapi xrandr -airplay (-altivec) -avahi -caps -cec -css -gles -goom -java -joystick -midi -mysql (-neon) -nfs -profile -pulseaudio -pvr -rtmp -sftp -upnp -vdpau -webserver" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
[/post]
_________________
http://www.morphos.de/


Last edited by chessmaster on Fri Sep 13, 2013 4:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Thu Sep 12, 2013 5:00 pm    Post subject: Reply with quote

Quote:


12:31:18 T:140011959580416 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 19200
12:31:18 T:140011595876096 DEBUG: CDVDPlayer::HandleMessages - player started 2
12:31:18 T:140011595876096 DEBUG: CDVDPlayer::SetCaching - caching state 0
12:31:18 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:556068063.795000, should be:556303702.229000, error:235638.434000
12:31:18 T:140011959580416 DEBUG: CSoftAE::Run - Sink restart flagged
12:31:18 T:140011959580416 INFO: CSoftAE::LoadSettings - Stereo upmix is enabled
12:31:18 T:140011959580416 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 48000hz
12:31:18 T:140011959580416 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
12:31:18 T:140011959580416 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 19200
12:31:18 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:556466549.229000, should be:556365033.333333, error:-101515.895667
12:31:19 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:557014765.034333, should be:556866293.400333, error:-148471.634000
12:31:20 T:140012228544320 DEBUG: ProcessMouse: trying mouse action leftclick
12:31:20 T:140012228544320 DEBUG: ExecuteXBMCAction : Translating PlayerControl(SeekPercentage(10))
12:31:20 T:140012228544320 DEBUG: ExecuteXBMCAction : To PlayerControl(SeekPercentage(10))
12:31:20 T:140011595876096 DEBUG: CDVDPlayer::SetCaching - caching state 3
12:31:20 T:140011595876096 DEBUG: demuxer seek to: 618184
12:31:20 T:140011595876096 DEBUG: SeekTime - seek ended up on time 618159
12:31:20 T:140011595876096 DEBUG: demuxer seek to: 618184, success
12:31:20 T:140012228544320 DEBUG: CAnnouncementManager - Announcement: OnSeek from xbmc
12:31:20 T:140012228544320 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnSeek
12:31:20 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:557729946.083333, should be:557867501.750000, error:137555.666667
12:31:20 T:140011605309184 DEBUG: CSoftAEStream::Flush
12:31:20 T:140011605309184 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
12:31:20 T:140011622094592 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
12:31:20 T:140011605309184 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(618185866.666667, 1)
12:31:20 T:140011595876096 DEBUG: CDVDPlayer::HandleMessages - player started 1
12:31:20 T:140011595876096 DEBUG: CheckPlayerInit - dropping packet type:2 dts:618159200.000000 to get to start point at 618184000.000000
12:31:20 T:140011622094592 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
12:31:20 T:140011622094592 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(618200900.000000, 0)
12:31:20 T:140011595876096 DEBUG: CDVDPlayer::HandleMessages - player started 2
12:31:20 T:140011595876096 DEBUG: CDVDPlayer::SetCaching - caching state 0
12:31:20 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:617889290.321667, should be:617941229.848667, error:51939.527000
12:31:20 T:140011959580416 DEBUG: CSoftAE::Run - Sink restart flagged
12:31:20 T:140011959580416 INFO: CSoftAE::LoadSettings - Stereo upmix is enabled
12:31:20 T:140011959580416 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 48000hz
12:31:20 T:140011959580416 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
12:31:20 T:140011959580416 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 19200
12:31:22 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:619987668.985667, should be:619975969.428563, error:-11699.557104
12:31:24 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:621975997.828563, should be:621953647.110574, error:-22350.717989
12:31:25 T:140011622094592 DEBUG: CPullupCorrection: detected pattern of length 1: 41708.24, frameduration: 41708.333333
12:31:27 T:140012228544320 DEBUG: ------ Window Deinit (Pointer.xml) ------
12:31:27 T:140012228544320 DEBUG: ------ Window Deinit (VideoOSD.xml) ------
12:31:31 T:140011788084992 DEBUG: Thread Jobworker 140011788084992 terminating (autodelete)
12:31:31 T:140012228544320 INFO: CheckIdle - Closing session to http://www.google.com (easy=0x7f56f8192310, multi=(nil))
12:32:39 T:140011959580416 DEBUG: CSoftAE::FinalizeSamples - Clamping buffer of 4800 samples
12:34:07 T:140011605309184 DEBUG: Previous line repeats 32 times.
12:34:07 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:784445730.210574, should be:784455767.330649, error:10037.120075
12:34:20 T:140011959580416 DEBUG: CSoftAE::FinalizeSamples - Clamping buffer of 4800 samples
12:37:01 T:140011605309184 DEBUG: Previous line repeats 12 times.
12:37:01 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:958945927.604649, should be:958956053.280180, error:10125.675531
12:38:08 T:140011959580416 DEBUG: CSoftAE::FinalizeSamples - Clamping buffer of 4800 samples
12:38:18 T:140012228544320 DEBUG: ------ Window Init (VideoOSD.xml) ------
12:38:19 T:140011622094592 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
12:38:19 T:140011622094592 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
12:38:21 T:140012228544320 WARNING: Previous line repeats 5 times.
12:38:21 T:140012228544320 DEBUG: Window VideoOSD.xml was already loaded
12:38:21 T:140012228544320 DEBUG: Alloc resources: 2869.30m
12:38:21 T:140011622094592 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
12:38:23 T:140011959580416 WARNING: Previous line repeats 2 times.
12:38:23 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:38:28 T:140011605309184 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
12:38:29 T:140011622094592 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
12:38:30 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:38:30 T:140012228544320 DEBUG: ------ Window Init (Pointer.xml) ------
12:38:30 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1047242591.490180, should be:1041326700.000000, error:-5915891.490180
12:38:30 T:140011622094592 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
12:38:30 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1042073532.960000, should be:1041326700.000000, error:-746832.960000
12:38:30 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1041428642.299000, should be:1041327533.333333, error:-101108.965667
12:38:30 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1041428554.667333, should be:1041327533.333333, error:-101021.334000
12:38:32 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:38:36 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1043014421.351333, should be:1041504200.000000, error:-1510221.351333
12:38:39 T:140011622094592 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
12:38:41 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:38:41 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1049303507.740000, should be:1041505033.333333, error:-7798474.406667
12:38:41 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1042823701.952333, should be:1041505866.666667, error:-1317835.285667
12:38:41 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:38:43 T:140011605309184 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1041634626.517667, should be:1041505866.666667, error:-128759.851000
12:38:43 T:140011959580416 DEBUG: CSoftAEStream::GetFrame - Underrun
12:38:43 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:38:44 T:140011959580416 ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - underrun



Tail part of my log with the crash info.
_________________
http://www.morphos.de/
Back to top
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Fri Sep 13, 2013 2:04 am    Post subject: Reply with quote

Vaapi for fglrx is a headache, I never get it worked.
I have to use FernetMenta's branch, which use XvBA for hardware acceleration.

Even though, you need specific version of fglrx driver to make it work.
But in my experience, it still buggy.

Check this thread for more info, there is a gentoo ebuild link to bgo in it.
http://forum.xbmc.org/showthread.php?tid=116996
Back to top
View user's profile Send private message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Fri Sep 13, 2013 4:24 am    Post subject: Reply with quote

chrisyu wrote:
Vaapi for fglrx is a headache, I never get it worked.
I have to use FernetMenta's branch, which use XvBA for hardware acceleration.

Even though, you need specific version of fglrx driver to make it work.
But in my experience, it still buggy.

Check this thread for more info, there is a gentoo ebuild link to bgo in it.
http://forum.xbmc.org/showthread.php?tid=116996


Thanks i got vlc running smooth with vaapi. But XBMC is a full media center! I will post on xbmc for more help debugging this.
_________________
http://www.morphos.de/
Back to top
View user's profile Send private message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Sat Sep 14, 2013 4:41 am    Post subject: Reply with quote

chrisyu wrote:
Vaapi for fglrx is a headache, I never get it worked.
I have to use FernetMenta's branch, which use XvBA for hardware acceleration.

Even though, you need specific version of fglrx driver to make it work.
But in my experience, it still buggy.

Check this thread for more info, there is a gentoo ebuild link to bgo in it.
http://forum.xbmc.org/showthread.php?tid=116996

What version of ati-drivers you have with the fernetmenta's branch ebuild?
_________________
http://www.morphos.de/
Back to top
View user's profile Send private message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Sun Sep 15, 2013 5:57 am    Post subject: Reply with quote

chrisyu wrote:
Vaapi for fglrx is a headache, I never get it worked.
I have to use FernetMenta's branch, which use XvBA for hardware acceleration.

Even though, you need specific version of fglrx driver to make it work.
But in my experience, it still buggy.

Check this thread for more info, there is a gentoo ebuild link to bgo in it.
http://forum.xbmc.org/showthread.php?tid=116996

https://github.com/microcai/gentoo-zh/blob/master/media-tv/xbmc-fernetmenta/xbmc-fernetmenta-9999.ebuild
_________________
http://www.morphos.de/
Back to top
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Wed Sep 18, 2013 4:37 am    Post subject: Reply with quote

chessmaster wrote:
chrisyu wrote:
Vaapi for fglrx is a headache, I never get it worked.
I have to use FernetMenta's branch, which use XvBA for hardware acceleration.

Even though, you need specific version of fglrx driver to make it work.
But in my experience, it still buggy.

Check this thread for more info, there is a gentoo ebuild link to bgo in it.
http://forum.xbmc.org/showthread.php?tid=116996

What version of ati-drivers you have with the fernetmenta's branch ebuild?


The last driver I used is 13.6, it's pointed in their post.

Quote:

What you need:
on AMD GPUs:
- fglrx binary driver(amd catalyst) >= 11.11 (>=fglrx 2:8.911) - 13.6 recommended - installed as debs (see step 2 below) on AMD (integrated) GPUs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum