Live tv sometime crashes

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #16
Don't believe - believe is for people in religion. No error is the same without a proper logfile and backtrace as sccplg provided it.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #17
@sccplg: Please also tell them that downgrading ffmpeg to an older version 2.2.x does not produce this error.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
mhoogenbosch Offline
Senior Member
Posts: 144
Joined: Jul 2014
Reputation: 1
Post: #18
(2014-08-11 15:32)fritsch Wrote:  Don't believe - believe is for people in religion. No error is the same without a proper logfile and backtrace as sccplg provided it.
i agree, but since i haven't had the error, cant produce the logfile, but will do when it happens again Smile
find quote
sccplg Offline
Junior Member
Posts: 28
Joined: Jun 2010
Reputation: 0
Location: Italy
Post: #19
One other additional information.

No crash downgrading to:

libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver - 1.3.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc

and latest 2.3.1-Helix-alpha2
find quote
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #20
That's a very good info - if you have more time - you can try to bisect between 1.3.2 and 1.3.1 intel driver - that would be cool :-)

If you need help with bisecting, just contact me on IRC.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
(This post was last modified: 2014-08-11 17:06 by fritsch.)
find quote
sccplg Offline
Junior Member
Posts: 28
Joined: Jun 2010
Reputation: 0
Location: Italy
Bug  RE: Live tv sometime crashes
Post: #21
I've got tried.
This is the result:
git bisect start
# Bad: [82d2ed8d7da3619c0ea467c06604f5626fc0b901] Add more check of H264 slice param to avoid GPU hang Caused by the incorrect parameter
git bisect bad 82d2ed8d7da3619c0ea467c06604f5626fc0b901
# Good: [cc403687155f8b79b3752e32731d44d39c040642] Intel driver 1.3.2
git bisect good cc403687155f8b79b3752e32731d44d39c040642
# Good: [da8a7e9accb5f8e1913440fdd2d662af6a0b7ef1] surface: drop SURFACE_DISPLAYED flag.
git bisect good da8a7e9accb5f8e1913440fdd2d662af6a0b7ef1
# Bad: [107274f309c6c3a7c59b70d5140b781341c7e9c2] H264_Encoding: Add the support of packed slice header to be flexible
git bisect bad 107274f309c6c3a7c59b70d5140b781341c7e9c2
# Bad: [772e94298f2fc42da1f9be69de80664d9055b685] H264_Encoding: Parse the packed header data from user to fix the hacked code of HW skip bytes
git bisect bad 772e94298f2fc42da1f9be69de80664d9055b685
# Bad: [143c53900943c660390122f7fa4a1c5705798fdd] decoder: h264: fix frame store logic for MVC.
git bisect bad 143c53900943c660390122f7fa4a1c5705798fdd
# Good: [d2262e37a4737d0d03004c0b34165180ddb1d956] decoder: h264: Improve AVC_REF_IDX_STATE for MVC.
git bisect good d2262e37a4737d0d03004c0b34165180ddb1d956
# First bad commit: [143c53900943c660390122f7fa4a1c5705798fdd] decoder: h264: fix frame store logic for MVC.

reverting from the master "first bad commit: [143c53900943c660390122f7fa4a1c5705798fdd] decoder: h264: fix frame store for MVC logic." crash does not occur.
Unfortunately,the code of the regression is quite complex for my knowledge ...
Bye
find quote
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #22
Very nice! I added Gwenole , the commiter of this patch, to the bugreport, let's see if he has an idea.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
sccplg Offline
Junior Member
Posts: 28
Joined: Jun 2010
Reputation: 0
Location: Italy
Post: #23
Resolved.Big Grin
For details:
https://bugs.freedesktop.org/show_bug.cgi?id=82466
Thanks very much to all.
Ciao.
find quote
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #24
We have to thank! Your contribution was extraordinary, highly welcome - nice to also have users like you.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
mhoogenbosch Offline
Senior Member
Posts: 144
Joined: Jul 2014
Reputation: 1
Post: #25
how can i apply the patch, i'm not quite familier with these kind of things, but have one channel which constantly fails (only have sound) which looks like the same error. But before i create a new thread for it i want to test if this patch solves it.
find quote
Thebluevoice Offline
Member
Posts: 50
Joined: May 2012
Reputation: 0
Post: #26
I'd like to know how to apply the patch too as all my intel setups are locking up regularly needing to pull the plug Smile

Cheers!
find quote
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #27
Add the wsnipex vaapi ppa and get that va driver.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
Thebluevoice Offline
Member
Posts: 50
Joined: May 2012
Reputation: 0
Post: #28
Hiya,

Ok so googled wsnipex vaapi ppa and va driver and have to honest I was a bit lost!

Just wondering if the fixes are in the latest stable release?

Thanks!
find quote
fritsch Offline
Team-Kodi Developer
Posts: 14,927
Joined: Aug 2011
Reputation: 446
Location: Stuttgart*
Post: #29
The VA driver comes from the OS. Xbmc only uses it.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
Thebluevoice Offline
Member
Posts: 50
Joined: May 2012
Reputation: 0
Post: #30
Thanks Fritsch.

I use openelec so i'll go ask there if they have included a different VA driver in the os Smile

Cheers!
find quote