[mythtv-users] Mythfrontend vaapi segfault
Igor Cicimov
icicimov at gmail.com
Thu Sep 5 04:32:37 UTC 2013
Hi all,
I've been running MythTV with VAAPI for about a year but started
experiencing frontend crashes recently. The error in the system log is:
[ 2836.604128] mythfrontend.re[1650]: segfault at 4 ip 00007f029ad5e366 sp
00007fff9d331398 error 4 in libAMDXvBA.so.1.0[7f029ac4d000+283000]
and I can't see anything suspicious, at least to my eyes, in the frontend
log at the moment the error happens:
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
vaapicontext.cpp:153 (Create) VAAPI: Version: 0.32
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
vaapicontext.cpp:154 (Create) VAAPI: Driver : Splitted-Desktop Systems XvBA
backend for VA-API - 0.7.8
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: H264High Entrypoints:
VLD
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: VC1Advanced
Entrypoints: VLD
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
avformatdecoder.cpp:2104 (ScanStreams) AFD: Opened codec 0x2dfe690,
id(H264) type(Video)
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
avformatdecoder.cpp:1962 (ScanStreams) AFD: codec AAC has 2 channels
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
avformatdecoder.cpp:2104 (ScanStreams) AFD: Opened codec 0x2f6c310, id(AAC)
type(Audio)
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
audio/audiooutputbase.cpp:791 (Reconfigure) AO: Opening audio device
'hdmi:CARD=Generic' ch 2(2) sr 48000 sf signed 16 bit reenc 0
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
openglvideo.cpp:223 (Init) GLVid: Using raw RGBA input textures.
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext
mythplayer.cpp:1737 (InitAVSync) Player(0): Video timing method: USleep
with busy wait
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext tv_play.cpp:5169
(StartPlayer) TV: Created player.
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext tv_play.cpp:2360
(HandleStateChange) TV: Changing from None to WatchingVideo
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext tv_play.cpp:2451
(HandleStateChange) TV: Main UI disabled.
Sep 5 12:52:50 mythtv mythfrontend[1650]: I CoreContext tv_play.cpp:378
(StartTV) TV: Entering main playback loop.
The xvba library hasn't changed since last year:
igorc at mythtv:~$ ls -l /usr/lib32/fglrx/libAMDXvBA.so.1.0
-rw-r--r-- 1 root root 4296072 Aug 4 2012
/usr/lib32/fglrx/libAMDXvBA.so.1.0
and I can't see any errors during startup in X log or system log:
igorc at mythtv:~$ cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 53.461] (II) Loading extension MIT-SCREEN-SAVER
igorc at mythtv:~$ dmesg | grep fglrx
[ 6.585622] fglrx: module license 'Proprietary. (C) 2002 - ATI
Technologies, Starnberg, GERMANY' taints kernel.
[ 6.680083] [fglrx] Maximum main memory to use for locked dma buffers:
3791 MBytes.
[ 6.680267] [fglrx] vendor: 1002 device: 6759 count: 1
[ 6.680846] [fglrx] ioport: bar 4, base 0xee00, size: 0x100
[ 6.681326] [fglrx] Kernel PAT support is enabled
[ 6.681351] [fglrx] module loaded - fglrx 8.96.4 [Mar 12 2012] with 1
minors
[ 54.330640] fglrx_pci 0000:01:00.0: irq 45 for MSI/MSI-X
[ 54.331446] [fglrx] Firegl kernel thread PID: 1409
[ 54.331597] [fglrx] Firegl kernel thread PID: 1410
[ 54.331686] [fglrx] Firegl kernel thread PID: 1411
[ 54.331856] [fglrx] IRQ 45 Enabled
[ 55.918812] [fglrx] Gart USWC size:1236 M.
[ 55.918817] [fglrx] Gart cacheable size:490 M.
[ 55.918822] [fglrx] Reserved FB block: Shared offset:0, size:1000000
[ 55.918824] [fglrx] Reserved FB block: Unshared offset:f921000,
size:3df000
[ 55.918827] [fglrx] Reserved FB block: Unshared offset:7fff4000,
size:c000
igorc at mythtv:~$
I've been pretty happy with the MythTV vaapi support so please let me know
if any more details needed. This is a combined BE/FE box running
Mythbuntu12.04 with latest MythTV 0.25 fixes and PCI Radeon HD 6570 card.
Thanks,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130905/54786657/attachment-0001.html>
More information about the mythtv-users
mailing list