OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 881 forks source link

Crash on opening HD live TV using 4.1.3 with VAAPI enabled #3401

Closed Frank-NL closed 10 years ago

Frank-NL commented 10 years ago

As mentioned on the forum topic for 4.1.3. This was working normally up until 4.1.2.

When I open a HD live TV channel XBMC crashes. I enabled debug logging and got the following:

http://sprunge.us/GSIg

Last line is an FFMPEG error: 08:58:13 T:140427077322496 ERROR: ffmpeg[BA0F8700]: [h264] mmco: unref short failure

(the journal only mentions that XBMC has exited and will be restarted)

fritsch commented 10 years ago

Disable VAAPI acceleration and provide another log

2014-08-08 10:04 GMT+02:00 Frank van Klaveren notifications@github.com:

As mentioned on the forum topic for 4.1.3. This was working normally up until 4.1.2.

When I open a HD live TV channel XBMC crashes. I enabled debug logging and got the following:

http://sprunge.us/GSIg

Last line is an FFMPEG error: 08:58:13 T:140427077322496 ERROR: ffmpeg[BA0F8700]: [h264] mmco: unref short failure

Reply to this email directly or view it on GitHub https://github.com/OpenELEC/OpenELEC.tv/issues/3401.

               Key-ID:     0x1A995A9B
               keyserver: pgp.mit.edu

Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B

Frank-NL commented 10 years ago

Same channel, VAAPI disabled, playback works.

Log: http://sprunge.us/DiiP

fritsch commented 10 years ago

Oki - final test. Please record that channel and play the recording afterwards.

Thanks in advance (currently travelling)

2014-08-08 16:04 GMT+02:00 Frank van Klaveren notifications@github.com:

Same channel, VAAPI disabled, playback works.

Log: http://sprunge.us/DiiP

Reply to this email directly or view it on GitHub https://github.com/OpenELEC/OpenELEC.tv/issues/3401#issuecomment-51606180 .

               Key-ID:     0x1A995A9B
               keyserver: pgp.mit.edu

Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B

Frank-NL commented 10 years ago

Playing the recording with VAAPI crashes like live TV: http://sprunge.us/aDHK

Playing the recording without VAAPI works: http://sprunge.us/ajKd

fritsch commented 10 years ago

Okay - then VAAPI is broken in that version - sadly.

I am currently trying to find out what actually is in there, codewise. It seems a backport went wrong. Same crash with that sample: https://dl.dropboxusercontent.com/u/55728161/deinterlacing-test.mp4 ?

Will be back on sundays.

2014-08-08 16:33 GMT+02:00 Frank van Klaveren notifications@github.com:

Playing the recording with VAAPI crashes like live TV: http://sprunge.us/aDHK

Playing the recording without VAAPI works: http://sprunge.us/ajKd

Reply to this email directly or view it on GitHub https://github.com/OpenELEC/OpenELEC.tv/issues/3401#issuecomment-51609860 .

               Key-ID:     0x1A995A9B
               keyserver: pgp.mit.edu

Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B

Frank-NL commented 10 years ago

Yes the same crash indeed: http://sprunge.us/ZTFH

stefansaraev commented 10 years ago

4fc717717795b834f1f9c4404aeb9dd5a7c5aed9 was the switch to libva-intel-driver-git intended ?

fritsch commented 10 years ago

All those are interlaced files. I think the updated fernet patch makes issues in that 13.2 base.

Progressive still works? Helix build with rebased fernet master available? Am 08.08.2014 16:48 schrieb "Stefan Saraev" notifications@github.com:

4fc7177 https://github.com/OpenELEC/OpenELEC.tv/commit/4fc717717795b834f1f9c4404aeb9dd5a7c5aed9 was the switch to libva-intel-driver-git intended ?

Reply to this email directly or view it on GitHub https://github.com/OpenELEC/OpenELEC.tv/issues/3401#issuecomment-51611736 .

Frank-NL commented 10 years ago

I do get Nederland 1 HD (1080i) running by the way but it's dropping and skipping frames: http://sprunge.us/PKZZ

stefansaraev commented 10 years ago

I can share helix build based on my master, later today, if you are interested

Frank-NL commented 10 years ago

Woops sorry that previous log was without VAAPI.

Here's the proper log so playing 1080i with VAAPI: http://sprunge.us/FgWU

Although only Nederland 1 seems to work fine as 1080i channel and the big difference here is that it is the only FTA HD channel.

Frank-NL commented 10 years ago

And finally, 1080p with VAAPI still plays fine for me.

fritsch commented 10 years ago

Please try the helix build by seo. Am 08.08.2014 17:10 schrieb "Frank van Klaveren" notifications@github.com:

And finally, 1080p with VAAPI still plays fine for me.

Reply to this email directly or view it on GitHub https://github.com/OpenELEC/OpenELEC.tv/issues/3401#issuecomment-51614667 .

Frank-NL commented 10 years ago

Will do. Although not earlier than tomorrow. Friday night is for heavy XBMC usage :)

stefansaraev commented 10 years ago

@Frank-NL here

the build contains: libva-driver-intel 1.3.2 + FD81447 patch xbmc-14-1c537f5

note, that this is built from my master, not OE master. mine has diverged a lot. stuff removed. no cheap wifi, no avahi, no airplay/airtunes no vpn and more. do backups and be prepared for reinstall

Frank-NL commented 10 years ago

I have installed your build. It breaks my live TV since there is no hdhomerun driver. However the sample file Fritsch posted plays perfectly:

http://sprunge.us/cPaN

fritsch commented 10 years ago

Thx much. That's what I have expected. Am 09.08.2014 08:48 schrieb "Frank van Klaveren" notifications@github.com:

I have installed your build. It breaks my live TV since there is no hdhomerun driver. However the sample file Fritsch posted plays perfectly:

http://sprunge.us/cPaN

Reply to this email directly or view it on GitHub https://github.com/OpenELEC/OpenELEC.tv/issues/3401#issuecomment-51679097 .

sraue commented 10 years ago

@Frank-NL can be closed? the last testbuild you tested works for you?

Frank-NL commented 10 years ago

Yes for me it's solved. Thanks for providing those builds.

sraue commented 10 years ago

fixed in https://github.com/OpenELEC/OpenELEC.tv/commit/fe594b1558a9f8ab9003b92adbf524d4a0bf37ba