Totem Video player displays distorted video (Intel Ivy Bridge)

Bug #1970013 reported by prathamesh
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gstreamer1.0
Fix Released
Unknown
gstreamer-vaapi (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
totem (Ubuntu)
Invalid
High
Unassigned

Bug Description

Impact
------
Videos are unplayable in apps like Ubuntu's default video player for people using some Intel graphics cards including Ivy Bridge.

Test Case
---------
On an affected system, install the update.
Then try playing the video.
It should display normally.

What Could Go Wrong
-------------------
If one of the fixes is bad then it might break video or audio playback, or could crash any application that tries to use gstreamer.

Original Bug Report
-------------------
Ubuntu 22.04 freshly installed along with ubuntu-restricted-extra package. Default totem player unable to play videos properly. videos looks distorted. Forwarding videos does not work. Video get stopped once forwarded.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 23 11:02:49 2022
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f9]
InstallationDate: Installed on 2022-04-22 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: LENOVO 34601F4
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-25-generic root=UUID=be040347-6300-407e-9e19-da58389c3a6f ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/19/2013
dmi.bios.release: 2.59
dmi.bios.vendor: LENOVO
dmi.bios.version: G6ET99WW (2.59 )
dmi.board.asset.tag: Not Available
dmi.board.name: 34601F4
dmi.board.vendor: LENOVO
dmi.board.version: NO DPK
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.ec.firmware.release: 1.4
dmi.modalias: dmi:bvnLENOVO:bvrG6ET99WW(2.59):bd11/19/2013:br2.59:efr1.4:svnLENOVO:pn34601F4:pvrThinkPadX1Carbon:rvnLENOVO:rn34601F4:rvrNODPK:cvnLENOVO:ct10:cvrNotAvailable:skuLENOVO_MT_3460:
dmi.product.family: ThinkPad X1 Carbon
dmi.product.name: 34601F4
dmi.product.sku: LENOVO_MT_3460
dmi.product.version: ThinkPad X1 Carbon
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.1-1ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
prathamesh (prathamesh-musicguitar) wrote :
affects: ubuntu → xorg (Ubuntu)
Revision history for this message
prathamesh (prathamesh-musicguitar) wrote :

Please check attached image

Changed in xorg (Ubuntu):
status: New → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This appears to be a bug rather than a question.

affects: xorg (Ubuntu) → totem (Ubuntu)
Changed in totem (Ubuntu):
status: Invalid → New
summary: - Totem Video player play distroted video
+ Totem Video player displays distorted video
summary: - Totem Video player displays distorted video
+ Totem Video player displays distorted video (Intel Ivy Bridge)
Changed in totem (Ubuntu):
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Is that under and xorg or wayland session? Does changing make a difference? Could you add your 'journalctl -b 0' log after triggering the issue?

Changed in totem (Ubuntu):
status: New → Incomplete
Revision history for this message
prathamesh (prathamesh-musicguitar) wrote :

Please check attach log file.

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

The screenshot in comment #2 looks somewhat like the many VAAPI bugs I fixed circa 2017. They're really hard to debug and to fix. Although this bug may not be VAAPI but some other problem with the new OpenGL renderer. I would not expect the log in comment #5 to give any hints.

Revision history for this message
John Smith (xcdb) wrote :

My Ubuntu 22.04 also affected. It's work fine under xorg session, but distorted under wayland.
cpu: i7 3612qm (Ivy Bridge).

Revision history for this message
nothor (nothor84) wrote :

I'm also affected with fresh install of Ubuntu 22.04 --> Image distorted or directly doesn't reproduce the video.

I only have xorg session due to my NVIDIA GPU

Laptop HP-15-bc451ns with Hybrid GPU
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

Using VLC the videos are OK

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

nothor, does the distortion look the same as comment #2?

Revision history for this message
Jonathan (jonathansimpsontw) wrote (last edit ):

This also affects me too. It's more of an annoyance (at least in my case), as clicking the back arrow in the top left corner, and then clicking on the video thumbnail temporarily fixes the issue. It's opening video files directly that causes this glitch for me.

Changed in gstreamer1.0 (Ubuntu):
status: New → Confirmed
Changed in totem (Ubuntu):
status: Incomplete → Confirmed
Changed in gstreamer1.0:
status: Unknown → Fix Released
Changed in totem:
status: Unknown → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gstreamer1.0:
status: Fix Released → Unknown
Changed in gstreamer1.0:
status: Unknown → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The gstreamer!2459 fix is in gstreamer1.0-vaapi version 1.20.3 which is now in Ubuntu 22.10. Can anyone confirm the fix?

Installing this directly in Ubuntu 22.04 *might* also work:
https://launchpad.net/ubuntu/+archive/primary/+files/gstreamer1.0-vaapi_1.20.3-1_amd64.deb

affects: gstreamer1.0 (Ubuntu) → gstreamer-vaapi (Ubuntu)
Changed in gstreamer-vaapi (Ubuntu):
status: Confirmed → Fix Released
no longer affects: totem
Revision history for this message
eric-1111 (eric-1111) wrote :

I confirm the fix. My system: Intel i5-3570K CPU / Ivy Bridge / Mesa Intel® HD Graphics 4000 (IVB GT2)

Ubuntu 22.10 live CD 2022-06-25 + ubuntu-restricted-extras(gstreamer1.0-vaapi version 1.20.3):(Install gstreamer1.0-vaapi produces video only, no sound)
Wayland: works
X11: works

Ubuntu 22.04:
gstreamer1.0-vaapi_1.20.3-1_amd64.deb ( + libgstreamer-plugins-bad1.0-0 >= 1.20.2. I downloaded 1.20.3 from kinetic/Ubuntu 22.10)
Wayland : works
X11: same as before(works)

Changed in totem (Ubuntu):
status: Confirmed → Invalid
Jeremy Bícha (jbicha)
no longer affects: totem (Ubuntu Jammy)
Changed in gstreamer-vaapi (Ubuntu Jammy):
status: New → In Progress
Changed in gstreamer-vaapi (Ubuntu):
importance: Undecided → High
Changed in gstreamer-vaapi (Ubuntu Jammy):
importance: Undecided → High
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello prathamesh, or anyone else affected,

Accepted gstreamer-vaapi into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gstreamer-vaapi/1.20.1-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gstreamer-vaapi (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
eric-1111 (eric-1111) wrote (last edit ):

I confirm the fix. My system: Intel i5-3570K CPU / Ivy Bridge / Mesa Intel® HD Graphics 4000 (IVB GT2)
Pre-release updates(jammy-proposed): enabled

Ubuntu 22.04 fresh install & update to latest + gstreamer1.0-vaapi(1.20.1-ubuntu1) + libgstreamer-plugins-bad1.0-0(1.20.3-0ubuntu1)+ ubuntu-restricted-extras

Video sample: https://test-videos.co.uk/vids/bigbuckbny/mp4/h264/720/Big_Buck_Bunny_720_10s_30MB.mp4 (video only)

Wayland: works (video was distored before the fix)
X11: same as before(works)

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gstreamer-vaapi - 1.20.1-1ubuntu1

---------------
gstreamer-vaapi (1.20.1-1ubuntu1) jammy; urgency=medium

  * Cherry-pick 1.20.3 fix for scrambled videos for some Intel systems
    (LP: #1970013)

 -- Jeremy Bicha <email address hidden> Mon, 11 Jul 2022 09:39:43 +0200

Changed in gstreamer-vaapi (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gstreamer-vaapi has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Joseph Yasi (joe-yasi) wrote :

The updated gstreamer-vaapi 1.20.1-1ubuntu1 is uninstallable from jammy-updates due to a unmet dependency:
The following packages have unmet dependencies:
 gstreamer1.0-vaapi : Depends: libgstreamer-plugins-bad1.0-0 (>= 1.20.3) but 1.20.1-1ubuntu2 is to be installed.

The package is dependent on >= 1.20.3 of libgstreamer-plugins-bad1.0-0 which isn't in the archive.

$ apt depends gstreamer1.0-vaapi
gstreamer1.0-vaapi
  Depends: libc6 (>= 2.34)
  Depends: libegl1
  Depends: libgl1
  Depends: libgles2 (>= 1.0.0)
  Depends: libglib2.0-0 (>= 2.67.3)
  Depends: libgstreamer-gl1.0-0 (>= 1.20.0)
  Depends: libgstreamer-plugins-bad1.0-0 (>= 1.20.3)
  Depends: libgstreamer-plugins-base1.0-0 (>= 1.20.0)
  Depends: libgstreamer1.0-0 (>= 1.20.0)
  Depends: libudev1 (>= 183)
  Depends: libva-drm2 (>= 1.1.0)
  Depends: libva-wayland2 (>= 1.3.0)
  Depends: libva-x11-2 (>= 1.0.9)
  Depends: libva2 (>= 2.2.0)
  Depends: libwayland-client0 (>= 1.20.0)
  Depends: libx11-6
  Depends: libxrandr2
  Suggests: <gstreamer1.0-vaapi-doc>

Revision history for this message
Gabriel de Perthuis (g2p) wrote :

Posted a new bug tagged regression-update: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1983042

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.