Linux XBMC Freezes on Live TV
#1
Hi.
Today I had the odd problem that XBMC freezes everytime when it switches to the advertisment blocks.
this is my log

Code:
19:17:35 T:140253013468928  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
19:17:35 T:140253013468928  NOTICE:  (VDPAU) Close
19:17:35 T:140253013468928 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:17:35 T:140252996683520  NOTICE: Opening audio stream: 3 source: 256
19:17:35 T:140252996683520  NOTICE: Finding audio codec for: 86019
19:17:35 T:140253005076224  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
19:17:35 T:140253013468928 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:17:35 T:140253005076224 WARNING: CActiveAEStream::AddData - timeout waiting for buffer, paused: 0, cache time: 0.000000, free buffers: 0
19:17:35 T:140252996683520  NOTICE: Opening video stream: 0 source: 256
19:17:35 T:140252996683520  NOTICE: Creating video codec with codec id: 2
19:17:35 T:140252996683520  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
19:17:35 T:140253013468928  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
19:17:35 T:140253013468928  NOTICE:  (VDPAU) Close
19:17:35 T:140253013468928 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:17:35 T:140253013468928  NOTICE:  fps: 25.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 540
19:17:35 T:140253013468928  NOTICE: Display resolution USER : HDMI1: 1920x1080 @ 59.99Hz (18)
19:17:36 T:140254827702080  NOTICE: Using GL_TEXTURE_2D
19:17:36 T:140254827702080  NOTICE: GL: Using VAAPI render method
19:17:36 T:140254827702080  NOTICE: GL: NPOT texture support detected
19:17:36 T:140254827702080  NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:17:36 T:140252996683520   ERROR: Get - failed to get stream
19:20:10 T:140253013468928  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
19:20:10 T:140253013468928  NOTICE:  (VDPAU) Close
19:20:18 T:140253005076224 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available

I Always get the "ERROR: Get - failed to get stream" message when I sucessfully(!) start a TV Channel. But when Advertisment block came it freezes

I am using Openelec with TVHeadend on the same device(intel nuc)
Reply
#2
Does anybody know what I could do about that?
Reply
#3
Start posting a non cut logfile, e.g. Debug Log

And a NUC does not use VDPAU -> therefore disable it.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
I can see this behavoir under

xbmc (selfcompiled on NUC) (12.X , 13.x edge)
xbmc (12.x, 13.x)
openelec (3.x, 4.x, 4.2.1)

It happens when the content resolution switches. I guess that you have watched content with 4:3 format. I'm seeing this issue also e.g. on ZDF Neo. Some of the old Star Trek Series are aired in 4:3 too. When ZDF Neo switches from the normal content to StarTrek - picture freezes, I hear the sound for 3 secs and then X (!) has crashed.

The same happens the other way: when watching e.g. recorded content in 4:3. When the stream switches back to normal Format I can see this freeze.

I've recorded a Simpson Episode. The recording starts shortly before the end of the previous Simpson Episoed. It's finished (Lisa hits a cake, Bart is inside an airing shaft), switched to commercial: picture freezes, audio continues for a couple of sec: freeze

Last message is the same as yours:

WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available

I believe that this is not the error itself. The pictures freezes and then something is rotten. IMHO: disabling VDPAU solves the problem but is not the reason: the switch into VDPAU seem to be wrong.

No problem on PI: I've tried two different versions of openelc and raspbmc (or so.)

(I've also tried different tvheadend versions - doesn't seem to make a differenc. It would be nice if you could report your configuration. Maybe I can stop looking within the stream application.)

Intel D34010WY, 8 G, mSata / live tv from tvheadend server on opensuse 13.1

(This is an issue over at githug/openelec too - I've copied the description for the guys over there..."
Reply
#5
@tomwoe please try master branch. i think this is fixed already
Reply
#6
(2014-10-13, 10:28)FernetMenta Wrote: @tomwoe please try master branch. i think this is fixed already

O.K. I've switch back to dev disk.

Is there a special tag I should try ?

(Current git 139705 fails to compile at xbmc/filesystem/FileFactory.o with an error:

FileFactory.cpp:214:63: error: cannot allocate an object of abstract type âXFILE::CBlurayFileâ
else if (url.IsProtocol("bluray")) return new CBlurayFile();
^
In file included from FileFactory.cpp:88:0:
BlurayFile.h:30:9: note: because the following virtual functions are pure within âXFILE::CBlurayFileâ:
class CBlurayFile : public IFile
^
In file included from FileFactory.h:30:0,
from FileFactory.cpp:26:
IFile.h:98:19: note: virtual ssize_t XFILE::IFile::Read(void*, size_t)
virtual ssize_t Read(void* bufPtr, size_t bufSize) = 0;
^
make[1]: *** [FileFactory.o] Error 1

Unfortunatly the last version I've tried 14.0a3 fails also to compile within WinSystemX11.cppSmile

....

O.K: 14.0a4 fails too with the error:

WinSystemX11.cpp: In member function âvirtual bool CWinSystemX11::ResizeWindow(int, int, int, int)â:
WinSystemX11.cpp:197:3: error: âXOutputâ was not declared in this scope
Reply
#7
I do have the same problem with XBMC 2:13.2~git20140817.2155-final-0trusty on a new and clean Ubuntu 14.04.

It happens when I watch ORF2E (unencrypted SD TV via DVB-S). The channel switched from 16:9 to 4:3 in between shows.

I have tried to capture the debug logs today. It crashed when I was going to the home screen:

Code:
19:51:24 T:140168159692736   DEBUG: ProcessMouse: trying mouse action leftclick
19:51:24 T:140168159692736   DEBUG: Activating window ID: 10000
19:51:24 T:140168159692736   DEBUG: ------ Window Deinit (MyPVR.xml) ------
19:51:24 T:140168159692736   DEBUG: ------ Window Init (Home.xml) ------
19:51:26 T:140167130117888  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
19:51:26 T:140167130117888  NOTICE:  (VDPAU) Close
19:51:33 T:140167349184256 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:51:49 T:140167752505088   DEBUG: Thread JobWorker 140167752505088 terminating (autodelete)
19:53:14 T:140166674929408   DEBUG: EPG - UpdateFromScraper - updating EPG for channel 'LT1-OOE' from client '1'

Are there any further details I can provide?

Thanks
M
Reply
#8
What about a Debug Log?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
There was a bug in the tvheadend addon related to this, though I don't think it made everything freeze. It's been fixed in pvr.tvh but hasn't been backported to the official addon.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Freezes on Live TV0