Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-29 Thread haagch+mesadev
On 29.09.2016 01:45, Andy Furniss wrote: > Mark Thompson wrote: >> On 28/09/16 11:47, Andy Furniss wrote: >>> Andy Furniss wrote: Andy Furniss wrote: > I started to get some numbers but found a possible bug = I > made a 1000 frame 15mbit 1080p50 mkv with ffmpeg/libx264. >

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-28 Thread Andy Furniss
Mark Thompson wrote: On 28/09/16 11:47, Andy Furniss wrote: Andy Furniss wrote: Andy Furniss wrote: I started to get some numbers but found a possible bug = I made a 1000 frame 15mbit 1080p50 mkv with ffmpeg/libx264. Using it as source for transcode (s/w or h/w dec) it came out far too low b

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-28 Thread Mark Thompson
On 28/09/16 11:47, Andy Furniss wrote: > Andy Furniss wrote: >> Andy Furniss wrote: >> >>> I started to get some numbers but found a possible bug = I made a 1000 >>> frame 15mbit 1080p50 mkv with ffmpeg/libx264. >>> >>> Using it as source for transcode (s/w or h/w dec) it came out far too >>> low b

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-28 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: I started to get some numbers but found a possible bug = I made a 1000 frame 15mbit 1080p50 mkv with ffmpeg/libx264. Using it as source for transcode (s/w or h/w dec) it came out far too low bitrate. After re-applying debugging patch to mesa it turns ou

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-28 Thread Andy Furniss
Andy Furniss wrote: I started to get some numbers but found a possible bug = I made a 1000 frame 15mbit 1080p50 mkv with ffmpeg/libx264. Using it as source for transcode (s/w or h/w dec) it came out far too low bitrate. After re-applying debugging patch to mesa it turns out that framerate is b

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-27 Thread Andy Furniss
Mark Thompson wrote: On 27/09/16 16:48, Andy Furniss wrote: Ok, thanks, so with that I am back to where I was before it stopped working. In summary baseline works but JM ref decoder doesn't like the pocs. b frames don't work properly, but then they don't with gst vaapi either. They do work wi

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-27 Thread Mark Thompson
On 27/09/16 16:48, Andy Furniss wrote: > Ok, thanks, so with that I am back to where I was before it stopped working. > > In summary baseline works but JM ref decoder doesn't like the pocs. > > b frames don't work properly, but then they don't with gst vaapi either. They > do work with gst omx.

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-27 Thread Andy Furniss
Mark Thompson wrote: On 27/09/16 00:49, Andy Furniss wrote: Mark Thompson wrote: --- A simple fix to the problem described here: . With this applied, the driver no longer hangs/crashes when vaSyncSurface() is called

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-27 Thread Christian König
I just pushed the patch for now cause this is really a rather obvious bugfix. Please keep digging thinks like this up. Thanks for the help, Christian. Am 27.09.2016 um 02:18 schrieb Mark Thompson: On 27/09/16 00:49, Andy Furniss wrote: Mark Thompson wrote: --- A simple fix to the problem de

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-26 Thread Mark Thompson
On 27/09/16 00:49, Andy Furniss wrote: > Mark Thompson wrote: >> --- >> A simple fix to the problem described here: >> . >> >> With this applied, the driver no longer hangs/crashes when vaSyncSurface() >> is called in pla

Re: [Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-26 Thread Andy Furniss
Mark Thompson wrote: --- A simple fix to the problem described here: . With this applied, the driver no longer hangs/crashes when vaSyncSurface() is called in places other than for the first time after an encode operat

[Mesa-dev] [PATCH] st/va: Fix vaSyncSurface with no outstanding operation

2016-09-26 Thread Mark Thompson
--- A simple fix to the problem described here: . With this applied, the driver no longer hangs/crashes when vaSyncSurface() is called in places other than for the first time after an encode operation (including a secon