cheese not recognize resolution in MJPG format

Bug #1882896 reported by Alex Tu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cheese
Fix Released
Unknown
OEM Priority Project
Fix Released
Wishlist
Yuan-Chen Cheng
cheese (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

reproduce step:
 - open cheese
 - open preferences -> resolution
 - only resolution from YUYV format in options

the patches there works well and waiting for merge: https://gitlab.gnome.org/GNOME/cheese/-/merge_requests/17

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cheese 3.34.0-1build1
ProcVersionSignature: Ubuntu 5.6.0-1008.8-oem 5.6.4
Uname: Linux 5.6.0-1008-oem x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Jun 10 15:23:02 2020
InstallationDate: Installed on 2020-04-12 (58 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200411)
MachineType: Dell Inc. XPS 13 9380
RelatedPackageVersions:
 cheese 3.34.0-1build1
 cheese-common 3.34.0-1build1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/05/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.7.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.7.0:bd08/05/2019:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9380
dmi.product.sku: 08AF
dmi.sys.vendor: Dell Inc.

Revision history for this message
Alex Tu (alextu) wrote :
Revision history for this message
Alex Tu (alextu) wrote :

$ v4l2-ctl -D -d /dev/video0 --list-formats-ext
Driver Info:
        Driver name : uvcvideo
        Card type : Integrated_Webcam_HD: Integrate
        Bus info : usb-0000:00:14.0-6
        Driver version : 5.6.14
        Capabilities : 0x84a00001
                Video Capture
                Metadata Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'MJPG' (Motion-JPEG, compressed)
                Size: Discrete 1280x720
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 960x540
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 848x480
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x360
                        Interval: Discrete 0.033s (30.000 fps)
        [1]: 'YUYV' (YUYV 4:2:2)
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x360
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 424x240
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 320x240
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 320x180
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 160x120
                        Interval: Discrete 0.033s (30.000 fps)

Changed in oem-priority:
importance: Undecided → High
tags: added: oem-priority originate-from-1881688 somerville
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1882896

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Alex Tu (alextu) wrote :

$ udevadm info /dev/video0
P: /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
N: video0
L: 0
S: v4l/by-path/pci-0000:00:14.0-usb-0:5:1.0-video-index0
S: v4l/by-id/usb-CN09357GLOG0088EB05MX03_Integrated_Webcam_HD_200901010001-video-index0
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
E: DEVNAME=/dev/video0
E: MAJOR=81
E: MINOR=0
E: SUBSYSTEM=video4linux
E: USEC_INITIALIZED=6424906
E: ID_V4L_VERSION=2
E: ID_V4L_PRODUCT=Integrated_Webcam_HD: Integrate
E: ID_V4L_CAPABILITIES=:capture:
E: ID_VENDOR=CN09357GLOG0088EB05MX03
E: ID_VENDOR_ENC=CN09357GLOG0088EB05MX03
E: ID_VENDOR_ID=0bda
E: ID_MODEL=Integrated_Webcam_HD
E: ID_MODEL_ENC=Integrated_Webcam_HD
E: ID_MODEL_ID=5672
E: ID_REVISION=8813
E: ID_SERIAL=CN09357GLOG0088EB05MX03_Integrated_Webcam_HD_200901010001
E: ID_SERIAL_SHORT=200901010001
E: ID_TYPE=video
E: ID_BUS=usb
E: ID_USB_INTERFACES=:0e0101:0e0201:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=uvcvideo
E: ID_PATH=pci-0000:00:14.0-usb-0:5:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_5_1_0
E: ID_FOR_SEAT=video4linux-pci-0000_00_14_0-usb-0_5_1_0
E: COLORD_DEVICE=1
E: COLORD_KIND=camera
E: DEVLINKS=/dev/v4l/by-path/pci-0000:00:14.0-usb-0:5:1.0-video-index0 /dev/v4l/by-id/usb-CN09357GLOG0088EB05MX03_Integrated_Webcam_HD_200901010001-video-index0
E: TAGS=:snap_chromium_chromium:seat:uaccess:snap_chromium_chromedriver:

description: updated
affects: linux (Ubuntu) → cheese (Ubuntu)
Alex Tu (alextu)
tags: removed: originate-from-1881688
tags: added: originate-from-1881688
Revision history for this message
Alex Tu (alextu) wrote :
Rex Tsai (chihchun)
Changed in oem-priority:
importance: High → Wishlist
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

The patch lives in https://gitlab.gnome.org/GNOME/cheese/-/merge_requests/17 it's merged on Sep 21 2020.

However, it does not exist in cheese-3.34.0 nor cheese deb 3.38.0-3 in debian/unstable.

To really fix it, the first step is to land this change in debian.

Changed in oem-priority:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
status: New → Confirmed
Changed in cheese (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

cheese version 41 is release at 2021-Nov-15, https://download.gnome.org/sources/cheese/41/

quick check r40, it contains those patch in #6. and jammy have version 41.1-1

Given so, close this one.

Changed in oem-priority:
status: Confirmed → Fix Released
Changed in cheese (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

bug #1967843 suggests the changes are creating problems on some cameras

Changed in cheese:
status: Unknown → Fix Released
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.