Bug 1867306 - Cheese doesn't offer all supported resolutions (only offers 640x480)
Summary: Cheese doesn't offer all supported resolutions (only offers 640x480)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cheese
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-08 13:55 UTC by Tomas Mlcoch
Modified: 2021-05-25 16:38 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-25 16:38:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Mlcoch 2020-08-08 13:55:30 UTC
Description of problem:

When I run cheese, it only offers 640x480 resolution.

If I want to see all supported resolutions, I have to run cheese like:
$ LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so cheese


Version-Release number of selected component (if applicable):
$ rpm -q cheese libv4l
cheese-3.34.0-3.fc32.x86_64
libv4l-1.18.0-4.fc32.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run "cheese"
2. Go to "preferences" to "Webcam" tab and see offered resolutions for video and photo

Actual results:
Only 640x480 resolution is offered.

Expected results:
All supported resolutions of the camera are offered, which means:
* 640x480
* 1280x720
* 1920x1080


Additional info:
================

dmesg

[ 1346.227180] usb 2-1: new high-speed USB device number 12 using xhci_hcd
[ 1346.360448] usb 2-1: New USB device found, idVendor=0458, idProduct=6006, bcdDevice=50.02
[ 1346.360453] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1346.360455] usb 2-1: Product: Genius Webcam
[ 1346.360458] usb 2-1: Manufacturer: KYE Systems corp.
[ 1346.360459] usb 2-1: SerialNumber: Genius Audio
[ 1346.362566] uvcvideo: Found UVC 1.00 device Genius Webcam (0458:6006)
[ 1346.365243] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[ 1346.365247] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 1346.365250] uvcvideo 2-1:1.0: Entity type for entity Extension 4 was not initialized!
[ 1346.365451] input: Genius Webcam: Genius Webcam as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input39
[ 1346.446870] usbcore: registered new interface driver snd-usb-audio

journalctl

čec 30 08:31:55 thinkpad kernel: usb 2-1: new high-speed USB device number 12 using xhci_hcd
čec 30 08:31:55 thinkpad kernel: usb 2-1: New USB device found, idVendor=0458, idProduct=6006, bcdDevice=50.02
čec 30 08:31:55 thinkpad kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
čec 30 08:31:55 thinkpad kernel: usb 2-1: Product: Genius Webcam
čec 30 08:31:55 thinkpad kernel: usb 2-1: Manufacturer: KYE Systems corp.
čec 30 08:31:55 thinkpad kernel: usb 2-1: SerialNumber: Genius Audio
čec 30 08:31:55 thinkpad kernel: uvcvideo: Found UVC 1.00 device Genius Webcam (0458:6006)
čec 30 08:31:55 thinkpad kernel: uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
čec 30 08:31:55 thinkpad kernel: uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
čec 30 08:31:55 thinkpad kernel: uvcvideo 2-1:1.0: Entity type for entity Extension 4 was not initialized!
čec 30 08:31:55 thinkpad kernel: input: Genius Webcam: Genius Webcam as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input39
čec 30 08:31:55 thinkpad mtp-probe[4532]: checking bus 2, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
čec 30 08:31:55 thinkpad mtp-probe[4532]: bus: 2, device: 12 was not an MTP device
čec 30 08:31:55 thinkpad kernel: usbcore: registered new interface driver snd-usb-audio
čec 30 08:31:55 thinkpad mtp-probe[4546]: checking bus 2, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
čec 30 08:31:55 thinkpad mtp-probe[4546]: bus: 2, device: 12 was not an MTP device
čec 30 08:31:55 thinkpad systemd[1534]: Reached target Sound Card.


$ v4l2-ctl --list-devices

Genius Webcam: Genius Webcam (usb-0000:00:14.0-1):
    /dev/video2
    /dev/video3
 
Integrated Camera: Integrated C (usb-0000:00:14.0-8):
    /dev/video0
    /dev/video1


$ v4l2-ctl --list-formats-ext -d 2
ioctl: VIDIOC_ENUM_FMT
    Type: Video Capture
 
    [0]: 'MJPG' (Motion-JPEG, compressed)
        Size: Discrete 1920x1080
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 640x480
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 1280x720
            Interval: Discrete 0.033s (30.000 fps)
    [1]: 'YUYV' (YUYV 4:2:2)
        Size: Discrete 640x480
            Interval: Discrete 0.033s (30.000 fps)


$ v4l2-ctl --list-formats-ext -d 3
ioctl: VIDIOC_ENUM_FMT
    Type: Video Capture

Comment 1 Tomas Mlcoch 2020-08-08 13:56:25 UTC
$ v4l-info /dev/video2
 
### v4l2 device info [/dev/video2] ###
general info
    VIDIOC_QUERYCAP
    driver                  : "uvcvideo"
    card                    : "Genius Webcam: Genius Webcam"
    bus_info                : "usb-0000:00:14.0-3.2.2"
    version                 : 5.7.11
    capabilities            : 0x84a00001 [VIDEO_CAPTURE,?,?,STREAMING,(null)]
 
standards
 
inputs
    VIDIOC_ENUMINPUT(0)
    index                   : 0
    name                    : "Camera 1"
    type                    : CAMERA
    audioset                : 0
    tuner                   : 0
    std                     : 0x0 []
    status                  : 0x0 []
 
video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
    index                   : 0
    type                    : VIDEO_CAPTURE
    flags                   : 1
    description             : "Motion-JPEG"
    pixelformat             : 0x47504a4d [MJPG]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
    index                   : 1
    type                    : VIDEO_CAPTURE
    flags                   : 0
    description             : "YUYV 4:2:2"
    pixelformat             : 0x56595559 [YUYV]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
    type                    : VIDEO_CAPTURE
    fmt.pix.width           : 640
    fmt.pix.height          : 480
    fmt.pix.pixelformat     : 0x56595559 [YUYV]
    fmt.pix.field           : NONE
    fmt.pix.bytesperline    : 1280
    fmt.pix.sizeimage       : 614400
    fmt.pix.colorspace      : SRGB
    fmt.pix.priv            : 4276996862
 
controls
    VIDIOC_QUERYCTRL(BASE+0)
    id                      : 9963776
    type                    : INTEGER
    name                    : "Brightness"
    minimum                 : -10
    maximum                 : 10
    step                    : 1
    default_value           : 0
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
    id                      : 9963777
    type                    : INTEGER
    name                    : "Contrast"
    minimum                 : 1
    maximum                 : 32
    step                    : 1
    default_value           : 16
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+2)
    id                      : 9963778
    type                    : INTEGER
    name                    : "Saturation"
    minimum                 : 0
    maximum                 : 20
    step                    : 1
    default_value           : 10
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+3)
    id                      : 9963779
    type                    : INTEGER
    name                    : "Hue"
    minimum                 : -5
    maximum                 : 5
    step                    : 1
    default_value           : 0
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+12)
    id                      : 9963788
    type                    : BOOLEAN
    name                    : "White Balance Temperature, Auto"
    minimum                 : 0
    maximum                 : 1
    step                    : 1
    default_value           : 1
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+16)
    id                      : 9963792
    type                    : INTEGER
    name                    : "Gamma"
    minimum                 : 100
    maximum                 : 200
    step                    : 1
    default_value           : 180
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+24)
    id                      : 9963800
    type                    : MENU
    name                    : "Power Line Frequency"
    minimum                 : 0
    maximum                 : 2
    step                    : 1
    default_value           : 1
    flags                   : 0
    VIDIOC_QUERYCTRL(BASE+26)
    id                      : 9963802
    type                    : INTEGER
    name                    : "White Balance Temperature"
    minimum                 : 2800
    maximum                 : 6500
    step                    : 1850
    default_value           : 6500
    flags                   : 16
    VIDIOC_QUERYCTRL(BASE+27)
    id                      : 9963803
    type                    : INTEGER
    name                    : "Sharpness"
    minimum                 : 0
    maximum                 : 10
    step                    : 1
    default_value           : 5
    flags                   : 0

Comment 2 Tomas Mlcoch 2020-08-08 13:57:01 UTC
$ v4l-info /dev/video3

### v4l2 device info [/dev/video3] ###
general info
    VIDIOC_QUERYCAP
    driver                  : "uvcvideo"
    card                    : "Genius Webcam: Genius Webcam"
    bus_info                : "usb-0000:00:14.0-3.2.2"
    version                 : 5.7.11
    capabilities            : 0x84a00001 [VIDEO_CAPTURE,?,?,STREAMING,(null)]
 
standards
 
inputs
 
video capture
VIDIOC_G_FMT(VIDEO_CAPTURE): Invalid argument
 
controls

Comment 3 Fedora Program Management 2021-04-29 16:35:24 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Ben Cotton 2021-05-25 16:38:06 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.