Video plays back as grayscale and compressed on left

Bug #1978153 reported by corrado venturini
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GStreamer
New
Unknown
gstreamer-vaapi (Ubuntu)
Triaged
High
Unassigned
intel-media-driver (Ubuntu)
Triaged
High
Unassigned
intel-media-driver-non-free (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

press 'printscreen' the window for screenshot/screencast open, start screencast the video produced is gray and compressed on the left part of the screen.
see attachment

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.1-0ubuntu0.1
ProcVersionSignature: Ubuntu 5.15.0-37.39-generic 5.15.35
Uname: Linux 5.15.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 9 20:59:20 2022
DisplayManager: gdm3
InstallationDate: Installed on 2022-06-01 (8 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
RelatedPackageVersions: mutter-common 42.1-0ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
corrado venturini (corradoventu) wrote :

Sorry, the video is wrongly played by totem, using MPV the video is ok.

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

That video is playing correctly in totem on both 22.04 and 20.04 here. Can you provide a screenshot of when the bug is happening?

affects: gnome-shell (Ubuntu) → totem (Ubuntu)
Changed in totem (Ubuntu):
status: New → Incomplete
summary: - screencast video are gray and compressed on left
+ Screencast video plays back as gray and compressed on left
Revision history for this message
corrado venturini (corradoventu) wrote : Re: Screencast video plays back as gray and compressed on left

attaching screeshot

Revision history for this message
corrado venturini (corradoventu) wrote :

same problem on ubuntu 22.10 with totem: Installed: 42.0-1ubuntu2

corrado@corrado-n3-kk-0601:~$ inxi -SCGx
System:
  Host: corrado-n3-kk-0601 Kernel: 5.15.0-27-generic arch: x86_64 bits: 64
    compiler: gcc v: 11.2.0 Desktop: GNOME v: 42.2
    Distro: Ubuntu 22.10 (Kinetic Kudu)
CPU:
  Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP
    arch: Ice Lake rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 6 MiB
  Speed (MHz): avg: 897 high: 1002 min/max: 400/1000 cores: 1: 1001 2: 735
    3: 1002 4: 1002 5: 829 6: 700 7: 970 8: 940 bogomips: 19046
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Dell driver: i915 v: kernel
    bus-ID: 00:02.0
  Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-6:3
  Display: wayland server: X.Org v: 1.22.1.2 with: Xwayland v: 22.1.2
    compositor: gnome-shell driver: gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 22.0.1
    direct render: Yes
corrado@corrado-n3-kk-0601:~$

Revision history for this message
corrado venturini (corradoventu) wrote :

problem also with any webm video created by cheese

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

I believe that totem now uses gstreamer1.0-gl for rendering, starting in Ubuntu 22.04. So that should be tracked too.

summary: - Screencast video plays back as gray and compressed on left
+ Video plays back as grayscale and compressed on left
Changed in totem (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you get the issue if you do

$ gst-play-1.0 --videosink="glsinkbin sink=gtkglsink" video.webm
(where video.webm is the filename of what you try to play)

Does uninstalling gstreamer1.0-vaapi fixes the issue?

Changed in totem (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
corrado venturini (corradoventu) wrote :

with gst-play-1.0 --videosink="glsinkbin sink=gtkglsink" ...
i have the same problem

Revision history for this message
corrado venturini (corradoventu) wrote :

after removing gstreamer1.0-vaapi the problem DISAPPEAR

Revision history for this message
corrado venturini (corradoventu) wrote :

removing gstreamer1.0-vaapi solves also the problem
https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1978288

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

Sounds like you're the lucky one because other people aren't getting as far with gstreamer1.0-vaapi installed (bug 1962630).

affects: gst-plugins-base1.0 (Ubuntu) → gstreamer-vaapi (Ubuntu)
no longer affects: totem (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, I can confirm the issue and reported it upstream on https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1273

Changed in gstreamer-vaapi (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in gstreamer:
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

installing intel-media-va-driver-non-free instead of intel-media-va-driver seems to workaround the issue

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

Wow, yes installing intel-media-va-driver-non-free fixes it.

Changed in intel-media-driver-non-free (Ubuntu):
status: New → Fix Released
Changed in intel-media-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
corrado venturini (corradoventu) wrote :

Problem still occur ub Ubuntu 22.10 with
corrado@corrado-n3-kk-0908:~$ apt policy intel-media-va-driver-non-free
intel-media-va-driver-non-free:
  Installed: (none)
  Candidate: 22.4.3+ds1-1
  Version table:
     22.4.3+ds1-1 500
        500 http://archive.ubuntu.com/ubuntu kinetic/multiverse amd64 Packages
corrado@corrado-n3-kk-0908:~$ apt policy intel-media-va-driver
intel-media-va-driver:
  Installed: 22.4.3+dfsg1-1
  Candidate: 22.4.3+dfsg1-1
  Version table:
 *** 22.4.3+dfsg1-1 500
        500 http://archive.ubuntu.com/ubuntu kinetic/universe amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n3-kk-0908:~$ apt policy totem
totem:
  Installed: 43~rc-1ubuntu1
  Candidate: 43~rc-1ubuntu1
  Version table:
 *** 43~rc-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n3-kk-0908:~$

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

Yes comment #16 shows the bug is in intel-media-va-driver. But if you install intel-media-va-driver-non-free instead then that should be free of the bug.

tags: added: kinetic
Changed in intel-media-driver (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Changed in intel-media-driver-non-free (Ubuntu):
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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