cheese display corrupted under Ubuntu 22.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cheese |
Fix Released
|
Unknown
|
|||
OEM Priority Project |
Fix Released
|
Critical
|
Unassigned | ||
cheese (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
clutter-gst-3.0 (Ubuntu) |
Fix Released
|
High
|
Jeremy Bícha | ||
Jammy |
Fix Released
|
High
|
Jeremy Bícha |
Bug Description
Impact
======
The cheese app is unusable with color bands showing in the main view.
This bug doesn't affect all webcams. It's unknown what percentage of webcams are affected.
Test Case
========
On a system that experiences this bug:
Install the update
Run the cheese app
Verify that the main view shows what your webcam can see normally.
Click the camera button in the bottom toolbar area.
Check if the photo looks normal. You can find it in ~/Pictures/Webcam
What Could Go Wrong
===================
Only 4 apps in Ubuntu use clutter-gst: empathy, cheese, lyricue, pinpoint
clutter-gst has been archived by GNOME. (It's recommended for apps to use GTK4 instead of GTK3 + Clutter). That means it's not possible for this patch to be accepted upstream. Instead, distros like Arch Linux are applying this patch.
This patch removes 2 renderers that don't work (RGBx and BGRx) but still keeps ones that do work: RGBA and BRGA.
Original Bug Report
===================
The cheese application produces a corrupted display under Ubuntu 22.04 with a Logitech C525 webcam. When started from the command line, cheese produces repeated warnings of the form...
(cheese:4175): cheese-WARNING **: 05:15:48.706: A lot of buffers are being dropped.: ../libs/
There may be a timestamping problem, or this computer is too slow.
Adding /etc/modprobe.
with 'options uvcvideo nodrop=1' doesn't solve the problem. This issue is not seen in either Ubuntu 21.10 or under Fedora-
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: cheese 41.1-1build1
ProcVersionSign
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 5 05:15:35 2022
ExecutablePath: /usr/bin/cheese
InstallationDate: Installed on 2022-03-31 (4 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220326)
MachineType: Gigabyte Technology Co., Ltd. X570 UD
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
TERM=xterm-
XDG_RUNTIME_
PATH=(custom, no user)
RelatedPackageV
cheese 41.1-1build1
cheese-common 41.1-1build1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/18/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F32
dmi.board.
dmi.board.name: X570 UD
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: X570 MB
dmi.product.name: X570 UD
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-03-31 (4 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220326)
MachineType: Gigabyte Technology Co., Ltd. X570 UD
NonfreeKernelMo
Package: cheese 41.1-1build1
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
cheese 41.1-1build1
cheese-common 41.1-1build1
Tags: wayland-session third-party-
Uname: Linux 5.15.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/18/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F32
dmi.board.
dmi.board.name: X570 UD
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: X570 MB
dmi.product.name: X570 UD
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Changed in cheese (Ubuntu Jammy): | |
status: | In Progress → Triaged |
assignee: | Matthew Ruffell (mruffell) → nobody |
Changed in clutter-gst-3.0 (Ubuntu): | |
importance: | Undecided → High |
Changed in clutter-gst-3.0 (Ubuntu Jammy): | |
importance: | Undecided → High |
no longer affects: | cheese (Ubuntu Jammy) |
Changed in clutter-gst-3.0 (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in clutter-gst-3.0 (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in oem-priority: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
tags: | added: oem-priority |
description: | updated |
Changed in cheese (Ubuntu): | |
status: | Triaged → Invalid |
Changed in clutter-gst-3.0 (Ubuntu): | |
assignee: | nobody → Jeremy Bicha (jbicha) |
Changed in clutter-gst-3.0 (Ubuntu Jammy): | |
assignee: | nobody → Jeremy Bicha (jbicha) |
Changed in cheese: | |
status: | Unknown → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1967843
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.