Re: [Mesa-dev] mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!

2017-11-07 Thread Andy Furniss

Emil Velikov wrote:

On 7 November 2017 at 10:58, Andy Furniss  wrote:

IIRC this got (mostly) fixed up in the past and disappeared.

I don't know whether it counts as mesa's fault in all cases but kodi has
started provoking it again.

The kodi commit that it starts at is -

53b30b8a9dbb89573171c5827fbceb92ea255221
x11: factor out glx support

https://github.com/xbmc/xbmc/commit/53b30b8a9dbb89573171c5827fbceb92ea255221


The "mostly" above refers to ffmpeg compiled with opencl which will cause it
when using hwaccel like -

ffmpeg -hwaccel vdpau -i some-h264-vid 

opencl in ffmpeg is IIRC limited (de-shake?) and needs image anyway, so is
not actually useful.


To double-check - do you see behavioural changes, or it's simply the
annoyance of the line showing up?


Behavior is OK - just the message.


Does building Mesa with static LLVM (./configure ...
--disable-llvm-shared-libs ...) help?


Yes, both cases have no message with that.

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!

2017-11-07 Thread Emil Velikov
On 7 November 2017 at 10:58, Andy Furniss  wrote:
> IIRC this got (mostly) fixed up in the past and disappeared.
>
> I don't know whether it counts as mesa's fault in all cases but kodi has
> started provoking it again.
>
> The kodi commit that it starts at is -
>
> 53b30b8a9dbb89573171c5827fbceb92ea255221
> x11: factor out glx support
>
> https://github.com/xbmc/xbmc/commit/53b30b8a9dbb89573171c5827fbceb92ea255221
>
>
> The "mostly" above refers to ffmpeg compiled with opencl which will cause it
> when using hwaccel like -
>
> ffmpeg -hwaccel vdpau -i some-h264-vid 
>
> opencl in ffmpeg is IIRC limited (de-shake?) and needs image anyway, so is
> not actually useful.

To double-check - do you see behavioural changes, or it's simply the
annoyance of the line showing up?
Does building Mesa with static LLVM (./configure ...
--disable-llvm-shared-libs ...) help?

Thanks
Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!

2017-11-07 Thread Andy Furniss

Michel Dänzer wrote:

On 07/11/17 11:58 AM, Andy Furniss wrote:

IIRC this got (mostly) fixed up in the past and disappeared.

I don't know whether it counts as mesa's fault in all cases but kodi has
started provoking it again.

The kodi commit that it starts at is -

53b30b8a9dbb89573171c5827fbceb92ea255221
x11: factor out glx support

https://github.com/xbmc/xbmc/commit/53b30b8a9dbb89573171c5827fbceb92ea255221



The "mostly" above refers to ffmpeg compiled with opencl which will
cause it when using hwaccel like -

ffmpeg -hwaccel vdpau -i some-h264-vid 

opencl in ffmpeg is IIRC limited (de-shake?) and needs image anyway, so
is not actually useful.


This kind of error usually happens when a process ends up linking
multiple versions of LLVM. Maybe OpenGL and OpenCL link against
different versions of LLVM?


ldd /usr/lib/libOpenCL.so.1.0.0

libLLVM-6.0svn.so => /usr/lib/../lib64/libLLVM-6.0svn.so

glxinfo shows mesa is using 6.0.0

ldd on ffmpeg contains both libOpenCL.so.1 and libLLVM-6.0svn.so

ffmpeg is a side issue though - far more will see kodi (unless it's just 
me!)


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!

2017-11-07 Thread Michel Dänzer
On 07/11/17 11:58 AM, Andy Furniss wrote:
> IIRC this got (mostly) fixed up in the past and disappeared.
> 
> I don't know whether it counts as mesa's fault in all cases but kodi has
> started provoking it again.
> 
> The kodi commit that it starts at is -
> 
> 53b30b8a9dbb89573171c5827fbceb92ea255221
> x11: factor out glx support
> 
> https://github.com/xbmc/xbmc/commit/53b30b8a9dbb89573171c5827fbceb92ea255221
> 
> 
> 
> The "mostly" above refers to ffmpeg compiled with opencl which will
> cause it when using hwaccel like -
> 
> ffmpeg -hwaccel vdpau -i some-h264-vid 
> 
> opencl in ffmpeg is IIRC limited (de-shake?) and needs image anyway, so
> is not actually useful.

This kind of error usually happens when a process ends up linking
multiple versions of LLVM. Maybe OpenGL and OpenCL link against
different versions of LLVM?


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!

2017-11-07 Thread Andy Furniss

IIRC this got (mostly) fixed up in the past and disappeared.

I don't know whether it counts as mesa's fault in all cases but kodi has 
started provoking it again.


The kodi commit that it starts at is -

53b30b8a9dbb89573171c5827fbceb92ea255221
x11: factor out glx support

https://github.com/xbmc/xbmc/commit/53b30b8a9dbb89573171c5827fbceb92ea255221


The "mostly" above refers to ffmpeg compiled with opencl which will 
cause it when using hwaccel like -


ffmpeg -hwaccel vdpau -i some-h264-vid 

opencl in ffmpeg is IIRC limited (de-shake?) and needs image anyway, so 
is not actually useful.

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev