totem only shows black screen but no video

Bug #1729998 reported by pinus
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

After installing a fresh Ubuntu 17.10 I can't display videos with totem any more.
If I double-click on an mpeg file the window is opened, sound starts but window stays black.

(totem:22883): Gdk-WARNING **: Native Windows taller than 65535 pixels are not supported
0:00:00.151576109 22883 0x557a6396a950 WARN basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.151845987 22883 0x557a6396a950 WARN basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.164796657 22883 0x557a645a2f70 WARN qtdemux qtdemux.c:3008:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
0:00:00.164970079 22883 0x557a645a2f70 WARN qtdemux qtdemux.c:3008:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 2
0:00:00.165140814 22883 0x557a645a2f70 WARN basesrc gstbasesrc.c:2389:gst_base_src_update_length:<source> processing at or past EOS
mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!
0:00:00.226782448 22883 0x557a645a2f70 WARN vaapidisplay gstvaapidisplay_wayland.c:202:gst_vaapi_display_wayland_bind_display: wayland: get display name
0:00:00.467088487 22883 0x557a6396a950 WARN totem bacon-video-widget.c:2074:bvw_update_tags: Pipeline sent video tags update with no changes

(totem:22883): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
0:00:00.470669545 22883 0x557a645a2ca0 ERROR vaapi gstvaapitexture_egl.c:160:create_objects: failed to create VA surface from 2D texture 8
0:00:00.470705390 22883 0x557a6396a950 WARN cluttervideosink clutter-gst-video-sink.c:1371:clutter_gst_rgb32_upload_gl:<cluttergstvideosink0> GL texture upload failed
0:00:00.470714239 22883 0x557a6396a950 WARN cluttervideosink clutter-gst-video-sink.c:2089:clutter_gst_source_dispatch:<cluttergstvideosink0> Failed to upload buffer
0:00:12.410952966 22883 0x557a63f6cb00 WARN pulse pulsesink.c:702:gst_pulsering_stream_underflow_cb:<audio-sink-actual-sink-pulse> Got underflow

lshw -c video
  *-display
       Beschreibung: VGA compatible controller
       Produkt: Baffin [Radeon RX 460]
       Hersteller: Advanced Micro Devices, Inc. [AMD/ATI]
       Physische ID: 0
       Bus-Informationen: pci@0000:01:00.0
       Version: cf
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: pm pciexpress msi vga_controller bus_master cap_list rom
       Konfiguration: driver=amdgpu latency=0
       Ressourcen: irq:31 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(Größe=256) memory:ef200000-ef23ffff memory:c0000-dffff

I also have issues with VLC, which I could solve by disabling the VA-API via DRM.

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple : VAEntrypointVLD
      VAProfileMPEG2Main : VAEntrypointVLD
      VAProfileVC1Simple : VAEntrypointVLD
      VAProfileVC1Main : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main : VAEntrypointVLD
      VAProfileH264Main : VAEntrypointEncSlice
      VAProfileH264High : VAEntrypointVLD
      VAProfileH264High : VAEntrypointEncSlice
      VAProfileHEVCMain : VAEntrypointVLD
      VAProfileHEVCMain10 : VAEntrypointVLD
      VAProfileNone : VAEntrypointVideoProc

Tags: radeon
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. Please try this as a workaround for totem:

  sudo apt remove gstreamer1.0-vaapi

or this as a workaround for all players:

  sudo apt remove mesa-va-drivers

Changed in totem (Ubuntu):
status: New → Incomplete
tags: added: radeon
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm going to group this with bug 1720820 just to keep us organized and on the same page.

If a fix for bug 1720820 arrives and this bug is not resolved then we can un-duplicate this one.

Revision history for this message
pinus (pinus) wrote :

remove gstreamer1.0-vaapi worked for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.