Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-04-15 Thread Sebastian Ramacher
Hi

On 2017-03-15 10:50:54, Sebastian Ramacher wrote:
> On 2017-03-13 07:13:09, Luke Kenneth Casson Leighton wrote:
> > On Sun, Mar 12, 2017 at 7:01 PM, Sebastian Ramacher
> >  wrote:
> > > Control: tags -1 + moreinfo
> > >
> > > On 2017-03-12 13:31:24, lkcl wrote:
> > >> Package: i965-va-driver
> > >> Severity: important
> > >> Tags: upstream
> > >>
> > >> i'm getting a video stopping half-way through with the following errors
> > >> (reported under vlc):
> > > ...
> > >> [7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
> > >> Skylake - 1.7.3 for hardware decoding.
> > >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> > >> position... corrupted file?
> > >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> > >> at 770798513... skipping to next upper element
> > >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> > >> position... corrupted file?
> > >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> > >> at 772666289... skipping to next upper element
> > >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> > >> position... corrupted file?
> > >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> > >> at 774009777... skipping to next upper element
> > >> [7f16c0c01978] mkv demux error: This element is outside its known 
> > >> parent... upping level
> > >> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> > >
> > > Or is that a problem with the file?
> > 
> >  yes... but it certainly shouldn't just bomb-out like that (it's not a
> > corrupted file from being downloaded, it's a correctly-downloaded
> > confirmed uncorrupted download)
> 
> Yes, but that still leaves the possibilites that the mkv files were created 
> with
> a buggy muxer or vlc's mkv demuxer fails on them.
> 
> Could you share the affected files?
> 
> > > Does the issue happen with every file or only that one?
> > 
> >  on occasion, several files (not all), but it's repeatable and at the
> > exact same place if it occurs.  so for example let's say that vlc
> > stops with the above error at 1m30s into the file, it's going to
> > happen *exactly* at that point *every* time *specifically* for that
> > file and that file only.
> > 
> > > Does it happen with any
> > > other video player (or when disabling hardware acceleration)?
> > 
> >  hmmm good points, i'll find out.  of course i'll have to set up hw
> > accel for other players... resource-hogging might make playback
> > difficult without hwaccel these are 720p files, quite
> > resource-intensive: just have to see how it goes.
> 
> Please do.

Any news regarding this issue? Please also check with 1.8.1 from experimental.

Cheers
-- 
Sebastian Ramacher


signature.asc
Description: PGP signature


Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-03-15 Thread Luke Kenneth Casson Leighton
[off-topic for this bugreport, separate response later, much
appreciated the advice on mpv nicholas!]

On Wed, Mar 15, 2017 at 11:03 PM, Nicholas D Steeves  wrote:
> I noticed something strange in the original bug report:
>
>> > > On 2017-03-12 13:31:24, lkcl wrote:
>> > >> Package: i965-va-driver
>> > >> Severity: important
>> > >> Tags: upstream
>> > >>
>> > >> -- System Information:
>> > >> Debian Release: 7.4
>> > >>   APT prefers testing
>> > >>   APT policy: (500, 'testing'), (500, 'stable')
>> > >> Architecture: amd64 (x86_64)
>> > >> Foreign Architectures: i386
>
> Debian Release: 7.4 with i965-va-driver and kernel from Debian 9?
>
> Luke, I think your base-files needs to be upgraded ;-) Out of
> curiousity, does (as root) "echo n | apt-get dist-upgrade" want to
> upgrade anything?

 it's down to unusual circumstances (constant travel being one of
them).  i run with debian/testing, always have done, and, amazingly,
it works really well.  what's needed gets pulled in on an ad-hoc basis
through "apt-get install {arbitrary package}".  every few years i do a
hardware upgrade: i do a copy of the laptop's hard drive to the new
hard drive, and have repeated that about... errr... four times now :)

 basically i have far too much on here to risk doing anything else.
millions of files, software dating back 10 years.  i use fvwm2 which
is remaining "timeless" and doesn't have the context/snapshot-critical
dependencies that other desktops have.

 it's pretty unusual but works very very well... and is necessary to
minimise the risk of losing the only development machine that i have.

 :)



Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-03-15 Thread Nicholas D Steeves
On Wed, Mar 15, 2017 at 10:50:54AM +0100, Sebastian Ramacher wrote:
> Hi
> 
> On 2017-03-13 07:13:09, Luke Kenneth Casson Leighton wrote:
> > On Sun, Mar 12, 2017 at 7:01 PM, Sebastian Ramacher
> >  wrote:
> > > Control: tags -1 + moreinfo
> > >
> > > On 2017-03-12 13:31:24, lkcl wrote:
> > >> Package: i965-va-driver
> > >> Severity: important
> > >> Tags: upstream
> > >>
> > >> i'm getting a video stopping half-way through with the following errors
> > >> (reported under vlc):
> > > ...
> > >> [7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
> > >> Skylake - 1.7.3 for hardware decoding.
> > >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> > >> position... corrupted file?
> > >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> > >> at 770798513... skipping to next upper element
> > >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> > >> position... corrupted file?
> > >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> > >> at 772666289... skipping to next upper element
> > >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> > >> position... corrupted file?
> > >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> > >> at 774009777... skipping to next upper element
> > >> [7f16c0c01978] mkv demux error: This element is outside its known 
> > >> parent... upping level
> > >> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> > >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> > >
> > > Or is that a problem with the file?
>
> > > Does the issue happen with every file or only that one?
> > 
> >  on occasion, several files (not all), but it's repeatable and at the
> > exact same place if it occurs.  so for example let's say that vlc
> > stops with the above error at 1m30s into the file, it's going to
> > happen *exactly* at that point *every* time *specifically* for that
> > file and that file only.
> > 
> > > Does it happen with any
> > > other video player (or when disabling hardware acceleration)?
> > 
> >  hmmm good points, i'll find out.  of course i'll have to set up hw
> > accel for other players... resource-hogging might make playback
> > difficult without hwaccel these are 720p files, quite
> > resource-intensive: just have to see how it goes.

Hi,

MPV can be very quickly set up to test this.  If you've installed MPV from 
testing:

mpv --hwdec=vaapi --vo=opengl

If performance isn't good enough, try

mpv --hwdec=vaapi --vo=vaapi

If you like MPV, you can configure it permanently here: ~/.config/mpv/mpv.conf

Add the lines:

hwdec=vaapi
vo=opengl or vo=vaapi, depending on which worked for you

I noticed something strange in the original bug report:

> > > On 2017-03-12 13:31:24, lkcl wrote:
> > >> Package: i965-va-driver
> > >> Severity: important
> > >> Tags: upstream
> > >> 
> > >> -- System Information:
> > >> Debian Release: 7.4
> > >>   APT prefers testing
> > >>   APT policy: (500, 'testing'), (500, 'stable')
> > >> Architecture: amd64 (x86_64)
> > >> Foreign Architectures: i386

Debian Release: 7.4 with i965-va-driver and kernel from Debian 9?

Luke, I think your base-files needs to be upgraded ;-) Out of
curiousity, does (as root) "echo n | apt-get dist-upgrade" want to
upgrade anything?

Cheers,
Nicholas

signature.asc
Description: PGP signature


Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-03-15 Thread Sebastian Ramacher
Hi

On 2017-03-13 07:13:09, Luke Kenneth Casson Leighton wrote:
> On Sun, Mar 12, 2017 at 7:01 PM, Sebastian Ramacher
>  wrote:
> > Control: tags -1 + moreinfo
> >
> > On 2017-03-12 13:31:24, lkcl wrote:
> >> Package: i965-va-driver
> >> Severity: important
> >> Tags: upstream
> >>
> >> i'm getting a video stopping half-way through with the following errors
> >> (reported under vlc):
> > ...
> >> [7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
> >> Skylake - 1.7.3 for hardware decoding.
> >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> >> position... corrupted file?
> >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> >> at 770798513... skipping to next upper element
> >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> >> position... corrupted file?
> >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> >> at 772666289... skipping to next upper element
> >> [7f16c0c01978] mkv demux error: Dummy Element at unexpected 
> >> position... corrupted file?
> >> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced 
> >> at 774009777... skipping to next upper element
> >> [7f16c0c01978] mkv demux error: This element is outside its known 
> >> parent... upping level
> >> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> >> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> >> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> >
> > Or is that a problem with the file?
> 
>  yes... but it certainly shouldn't just bomb-out like that (it's not a
> corrupted file from being downloaded, it's a correctly-downloaded
> confirmed uncorrupted download)

Yes, but that still leaves the possibilites that the mkv files were created with
a buggy muxer or vlc's mkv demuxer fails on them.

Could you share the affected files?

> > Does the issue happen with every file or only that one?
> 
>  on occasion, several files (not all), but it's repeatable and at the
> exact same place if it occurs.  so for example let's say that vlc
> stops with the above error at 1m30s into the file, it's going to
> happen *exactly* at that point *every* time *specifically* for that
> file and that file only.
> 
> > Does it happen with any
> > other video player (or when disabling hardware acceleration)?
> 
>  hmmm good points, i'll find out.  of course i'll have to set up hw
> accel for other players... resource-hogging might make playback
> difficult without hwaccel these are 720p files, quite
> resource-intensive: just have to see how it goes.

Please do.

Cheers
-- 
Sebastian Ramacher


signature.asc
Description: PGP signature


Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-03-13 Thread Luke Kenneth Casson Leighton
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


On Sun, Mar 12, 2017 at 7:01 PM, Sebastian Ramacher
 wrote:
> Control: tags -1 + moreinfo
>
> On 2017-03-12 13:31:24, lkcl wrote:
>> Package: i965-va-driver
>> Severity: important
>> Tags: upstream
>>
>> i'm getting a video stopping half-way through with the following errors
>> (reported under vlc):
> ...
>> [7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
>> Skylake - 1.7.3 for hardware decoding.
>> [7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
>> corrupted file?
>> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
>> 770798513... skipping to next upper element
>> [7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
>> corrupted file?
>> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
>> 772666289... skipping to next upper element
>> [7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
>> corrupted file?
>> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
>> 774009777... skipping to next upper element
>> [7f16c0c01978] mkv demux error: This element is outside its known 
>> parent... upping level
>> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
>> [h264 @ 0x7f16c0c30420] co located POCs unavailable
>> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
>> [h264 @ 0x7f16c0c30420] co located POCs unavailable
>> [h264 @ 0x7f16c0c30420] co located POCs unavailable
>
> Or is that a problem with the file?

 yes... but it certainly shouldn't just bomb-out like that (it's not a
corrupted file from being downloaded, it's a correctly-downloaded
confirmed uncorrupted download)

> Does the issue happen with every file or only that one?

 on occasion, several files (not all), but it's repeatable and at the
exact same place if it occurs.  so for example let's say that vlc
stops with the above error at 1m30s into the file, it's going to
happen *exactly* at that point *every* time *specifically* for that
file and that file only.

> Does it happen with any
> other video player (or when disabling hardware acceleration)?

 hmmm good points, i'll find out.  of course i'll have to set up hw
accel for other players... resource-hogging might make playback
difficult without hwaccel these are 720p files, quite
resource-intensive: just have to see how it goes.

l.



Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-03-12 Thread Sebastian Ramacher
Control: tags -1 + moreinfo

On 2017-03-12 13:31:24, lkcl wrote:
> Package: i965-va-driver
> Severity: important
> Tags: upstream
> 
> i'm getting a video stopping half-way through with the following errors
> (reported under vlc):
...
> [7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
> Skylake - 1.7.3 for hardware decoding.
> [7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
> corrupted file?
> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
> 770798513... skipping to next upper element
> [7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
> corrupted file?
> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
> 772666289... skipping to next upper element
> [7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
> corrupted file?
> [7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
> 774009777... skipping to next upper element
> [7f16c0c01978] mkv demux error: This element is outside its known 
> parent... upping level
> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> [h264 @ 0x7f16c0c3f460] co located POCs unavailable
> [h264 @ 0x7f16c0c30420] co located POCs unavailable
> [h264 @ 0x7f16c0c30420] co located POCs unavailable

Or is that a problem with the file?

Does the issue happen with every file or only that one? Does it happen with any
other video player (or when disabling hardware acceleration)?

Cheers
-- 
Sebastian Ramacher


signature.asc
Description: PGP signature


Bug#857552: i965-va-driver: failing to play videos (stops half-way through)

2017-03-12 Thread lkcl
Package: i965-va-driver
Severity: important
Tags: upstream

i'm getting a video stopping half-way through with the following errors
(reported under vlc):
 - 1.7.3 for hardware decoding.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
Skylake - 1.7.3 for hardware decoding.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
Skylake - 1.7.3 for hardware decoding.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
Skylake - 1.7.3 for hardware decoding.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
Skylake - 1.7.3 for hardware decoding.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[7f16c0d62ff8] avcodec decoder: Using Intel i965 driver for Intel(R) 
Skylake - 1.7.3 for hardware decoding.
[7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
corrupted file?
[7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
770798513... skipping to next upper element
[7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
corrupted file?
[7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
772666289... skipping to next upper element
[7f16c0c01978] mkv demux error: Dummy Element at unexpected position... 
corrupted file?
[7f16c0c01978] mkv demux error: Dummy element too large or misplaced at 
774009777... skipping to next upper element
[7f16c0c01978] mkv demux error: This element is outside its known parent... 
upping level
[h264 @ 0x7f16c0c3f460] co located POCs unavailable
[h264 @ 0x7f16c0c30420] co located POCs unavailable
[h264 @ 0x7f16c0c3f460] co located POCs unavailable
[h264 @ 0x7f16c0c30420] co located POCs unavailable
[h264 @ 0x7f16c0c30420] co located POCs unavailable



-- System Information:
Debian Release: 7.4
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash