After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793257 - vaapi and cluttersink don't render correctly in XOrg
vaapi and cluttersink don't render correctly in XOrg
Status: RESOLVED DUPLICATE of bug 792227
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-07 14:47 UTC by Cristian Aravena Romero
Modified: 2018-02-27 16:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
totem (689.02 KB, image/png)
2018-02-07 14:47 UTC, Cristian Aravena Romero
Details
Without package "gstreamer1.0-vaapi" (882.60 KB, image/png)
2018-02-07 15:06 UTC, Cristian Aravena Romero
Details
$GST_DEBUG=vaapipostproc:5 totem file.mkv > output.log 2>&1 (50.29 KB, text/x-log)
2018-02-07 15:43 UTC, Cristian Aravena Romero
Details
$ dpkg -l | grep mesa (2.73 KB, text/plain)
2018-02-07 20:11 UTC, Cristian Aravena Romero
Details
$ CLUTTER_DRIVER=gles2 GST_GL_PLATFORM=egl totem file.mkv (25.35 KB, image/png)
2018-02-08 16:53 UTC, Cristian Aravena Romero
Details
I upgrade to mesa 18.0.0~rc4-1ubuntu1 (2.83 KB, text/plain)
2018-02-27 13:50 UTC, Cristian Aravena Romero
Details

Description Cristian Aravena Romero 2018-02-07 14:47:22 UTC
Created attachment 368072 [details]
totem

Hello,

Open bug in launchpad.net
https://bugs.launchpad.net/bugs/1747929

"I am enclosing screenshot."

Regards,
--
Cristian
Comment 1 Tim-Philipp Müller 2018-02-07 14:57:32 UTC
Does it work if you remove the gstreamer1.0-vaapi package?
Comment 2 Cristian Aravena Romero 2018-02-07 15:06:43 UTC
Created attachment 368075 [details]
Without package "gstreamer1.0-vaapi"

Hello,

Now it looks after removing the package "gstreamer1.0-vaapi"

Regards,
--
Cristian
Comment 3 Víctor Manuel Jáquez Leal 2018-02-07 15:07:46 UTC
I was to say that. But, also, can you paste your vainfo output?
Comment 4 Cristian Aravena Romero 2018-02-07 15:19:02 UTC
(In reply to Víctor Manuel Jáquez Leal from comment #3)
> I was to say that. But, also, can you paste your vainfo output?

Hello Victor,


# vainfo 
libva info: VA-API version 1.0.0
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_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.0 (libva 2.0.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 2.0.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Regards,
--
Cristian
Comment 5 Víctor Manuel Jáquez Leal 2018-02-07 15:28:28 UTC
One last thing, can you upload the debug output of

$ GST_DEBUG=vaapipostproc:5 totem file.mkv > output.log 2>&1 

??

I need to check what are the negotiated caps with the clutter sink
Comment 6 Cristian Aravena Romero 2018-02-07 15:43:58 UTC
Created attachment 368078 [details]
$GST_DEBUG=vaapipostproc:5 totem file.mkv > output.log 2>&1
Comment 7 Víctor Manuel Jáquez Leal 2018-02-07 17:43:44 UTC
Ok GLUploadTexture is negotiated. I also see artifacts in my setup (debian, xorg and mesa 17.3.3) but they are different.

One last question (i hope) which version of mesa are you using?
Comment 8 Cristian Aravena Romero 2018-02-07 20:11:20 UTC
Created attachment 368097 [details]
$ dpkg -l | grep mesa
Comment 9 Víctor Manuel Jáquez Leal 2018-02-08 16:17:38 UTC
Can you try running totem with these environment variables:

$ CLUTTER_DRIVER=gles2 GST_GL_PLATFORM=egl totem file.mkv

??

It seems to be a workaround (use EGL rather than GLX), but I would like to know if that fixes your case, because the artifacts are different.
Comment 10 Cristian Aravena Romero 2018-02-08 16:53:58 UTC
Created attachment 368160 [details]
$ CLUTTER_DRIVER=gles2 GST_GL_PLATFORM=egl totem file.mkv

Hello Victor,

You do not see a movie.

Regards,
--
Cristian
Comment 11 Víctor Manuel Jáquez Leal 2018-02-09 07:33:07 UTC
Yours is a different issue. It is hard to tell right now what's happening. I can reproduce bug #792227 but not this one.
Comment 12 Cristian Aravena Romero 2018-02-27 13:50:22 UTC
Created attachment 369024 [details]
I upgrade to mesa 18.0.0~rc4-1ubuntu1

Hello,

The problem was the package mesa.

Now I can see the video well. 

Regards,
--
Cristian
Comment 13 Víctor Manuel Jáquez Leal 2018-02-27 13:58:40 UTC
So, at the end, this was a duplicate of #792227

Thanks for keeping a track of the issue!

*** This bug has been marked as a duplicate of bug 792227 ***
Comment 14 Cristian Aravena Romero 2018-02-27 14:11:40 UTC
Hello Victor,

(In reply to Víctor Manuel Jáquez Leal from comment #13)

[...]


> Thanks for keeping a track of the issue!

Thanks to you, for your work :-)

Regards,
--
Cristian