FS#77917 - videodev crash "Unknown pixelformat 0x00000000"

Attached to Project: Arch Linux
Opened by Topo Lino (opotonil) - Monday, 20 March 2023, 10:12 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 28 March 2023, 22:27 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This happens when I boot the PC normally, seems only a warning, but it is filling the logs.

Additional info:

It is happening with package linux and linux-lts (I am not sure if the trouble is with kernel or at other package).

[ 20.494538] ------------[ cut here ]------------
[ 20.494539] Unknown pixelformat 0x00000000
[ 20.494550] WARNING: CPU: 1 PID: 1201 at drivers/media/v4l2-core/v4l2-ioctl.c:1500 v4l_enum_fmt+0x114a/0x1ba0 [videodev]
[ 20.494568] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm cmac algif_hash algif_skcipher af_alg bnep nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(POE) nvidia(POE) snd_soc_avs snd_soc_hda_codec intel_rapl_msr intel_rapl_common snd_hda_ext_core intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp snd_soc_core snd_hda_codec_hdmi coretemp snd_compress kvm_intel snd_hda_codec_realtek ac97_bus snd_hda_codec_generic rtl8723be snd_pcm_dmaengine kvm btcoexist irqbypass snd_hda_intel rtl8723_common snd_intel_dspcfg crct10dif_pclmul snd_intel_sdw_acpi crc32_pclmul rtl_pci polyval_clmulni rtlwifi snd_hda_codec polyval_generic gf128mul ghash_clmulni_intel snd_hda_core sha512_ssse3 mei_hdcp snd_hwdep dell_wmi aesni_intel uvcvideo mei_pxp btusb mac80211 snd_pcm dell_smbios videobuf2_vmalloc btrtl btbcm iTCO_wdt crypto_simd videobuf2_memops vfat btintel fat videobuf2_v4l2 cryptd libarc4 btmtk r8169 rapl dell_smm_hwmon intel_pmc_bxt ee1004 videodev realtek
[ 20.494610] iTCO_vendor_support intel_cstate dcdbas snd_timer mei_me bluetooth cfg80211 mdio_devres intel_uncore videobuf2_common dell_wmi_aio ledtrig_audio snd i2c_i801 wmi_bmof sparse_keymap pcspkr ecdh_generic dell_wmi_descriptor mc soundcore libphy i2c_smbus rfkill mei crc16 acpi_pad mousedev lzo_rle joydev mac_hid crypto_user dm_mod fuse loop zram bpf_preload ip_tables x_tables hid_multitouch usbhid i915 btrfs blake2b_generic xor raid6_pq drm_buddy intel_gtt libcrc32c crc32c_generic sdhci_pci drm_display_helper cqhci cec sdhci crc32c_intel mmc_core xhci_pci ttm xhci_pci_renesas video wmi
[ 20.494641] CPU: 1 PID: 1201 Comm: pipewire Tainted: P W IOE 6.2.7-arch1-1 #1 d0ef1d2ba4aa7f22be04df39dde66a4c3cc73dc4
[ 20.494643] Hardware name: Dell Inc. Inspiron 24-7459/0503P4, BIOS 1.15.1 01/12/2021
[ 20.494644] RIP: 0010:v4l_enum_fmt+0x114a/0x1ba0 [videodev]
[ 20.494662] Code: c7 c3 70 c7 30 c1 81 fe 64 76 73 64 0f 84 ef f0 ff ff 41 80 7c 24 0c 00 0f 85 ae ef ff ff 48 c7 c7 d9 d5 30 c1 e8 26 55 5c f2 <0f> 0b 48 c7 c2 f5 d5 30 c1 49 8d 4c 24 2c 49 8d 7c 24 0c 31 ed be
[ 20.494663] RSP: 0018:ffffb44b43b3bcd0 EFLAGS: 00010282
[ 20.494665] RAX: 0000000000000000 RBX: ffffffffc130cc21 RCX: 0000000000000027
[ 20.494666] RDX: ffffa04bf4261648 RSI: 0000000000000001 RDI: ffffa04bf4261640
[ 20.494667] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb44b43b3bb60
[ 20.494668] R10: 0000000000000003 R11: ffffffffb56c9a68 R12: ffffb44b43b3bde0
[ 20.494669] R13: 0000000000000000 R14: ffffa048e2a19780 R15: ffffa04883b58018
[ 20.494670] FS: 00007f93f6956740(0000) GS:ffffa04bf4240000(0000) knlGS:0000000000000000
[ 20.494672] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 20.494673] CR2: 000055e1cbfef088 CR3: 000000015d84c005 CR4: 00000000003706e0
[ 20.494674] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 20.494675] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 20.494676] Call Trace:
[ 20.494677] <TASK>
[ 20.494678] __video_do_ioctl+0x1c5/0x4b0 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 20.494699] video_usercopy+0x139/0x710 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 20.494718] ? __pfx___video_do_ioctl+0x10/0x10 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 20.494738] v4l2_ioctl+0x4a/0x60 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 20.494756] __x64_sys_ioctl+0x91/0xd0
[ 20.494759] do_syscall_64+0x5c/0x90
[ 20.494761] ? v4l2_ioctl+0x4a/0x60 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 20.494779] ? __x64_sys_ioctl+0xac/0xd0
[ 20.494781] ? syscall_exit_to_user_mode+0x1b/0x40
[ 20.494784] ? do_syscall_64+0x6b/0x90
[ 20.494786] ? do_syscall_64+0x6b/0x90
[ 20.494788] entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ 20.494791] RIP: 0033:0x7f93f6a7553f
[ 20.494795] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 20.494796] RSP: 002b:00007ffcdf42e280 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 20.494798] RAX: ffffffffffffffda RBX: 0000000000000034 RCX: 00007f93f6a7553f
[ 20.494799] RDX: 000055e1cbfc23cc RSI: ffffffffc0405602 RDI: 0000000000000034
[ 20.494800] RBP: 0000000000000034 R08: 00007ffcdf42e070 R09: 000000000000000b
[ 20.494801] R10: 00007f93f5e1adc0 R11: 0000000000000246 R12: 000055e1cbfc23cc
[ 20.494802] R13: 000055e1cbfc21d8 R14: 000055e1cbfc23a0 R15: 0000000000000000
[ 20.494806] </TASK>
[ 20.494806] ---[ end trace 0000000000000000 ]---

[...]

[ 1039.070046] ------------[ cut here ]------------
[ 1039.070047] Unknown pixelformat 0x00000000
[ 1039.070056] WARNING: CPU: 4 PID: 2529 at drivers/media/v4l2-core/v4l2-ioctl.c:1500 v4l_enum_fmt+0x114a/0x1ba0 [videodev]
[ 1039.070074] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm cmac algif_hash algif_skcipher af_alg bnep nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(POE) nvidia(POE) snd_soc_avs snd_soc_hda_codec intel_rapl_msr intel_rapl_common snd_hda_ext_core intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp snd_soc_core snd_hda_codec_hdmi coretemp snd_compress kvm_intel snd_hda_codec_realtek ac97_bus snd_hda_codec_generic rtl8723be snd_pcm_dmaengine kvm btcoexist irqbypass snd_hda_intel rtl8723_common snd_intel_dspcfg crct10dif_pclmul snd_intel_sdw_acpi crc32_pclmul rtl_pci polyval_clmulni rtlwifi snd_hda_codec polyval_generic gf128mul ghash_clmulni_intel snd_hda_core sha512_ssse3 mei_hdcp snd_hwdep dell_wmi aesni_intel uvcvideo mei_pxp btusb mac80211 snd_pcm dell_smbios videobuf2_vmalloc btrtl btbcm iTCO_wdt crypto_simd videobuf2_memops vfat btintel fat videobuf2_v4l2 cryptd libarc4 btmtk r8169 rapl dell_smm_hwmon intel_pmc_bxt ee1004 videodev realtek
[ 1039.070113] iTCO_vendor_support intel_cstate dcdbas snd_timer mei_me bluetooth cfg80211 mdio_devres intel_uncore videobuf2_common dell_wmi_aio ledtrig_audio snd i2c_i801 wmi_bmof sparse_keymap pcspkr ecdh_generic dell_wmi_descriptor mc soundcore libphy i2c_smbus rfkill mei crc16 acpi_pad mousedev lzo_rle joydev mac_hid crypto_user dm_mod fuse loop zram bpf_preload ip_tables x_tables hid_multitouch usbhid i915 btrfs blake2b_generic xor raid6_pq drm_buddy intel_gtt libcrc32c crc32c_generic sdhci_pci drm_display_helper cqhci cec sdhci crc32c_intel mmc_core xhci_pci ttm xhci_pci_renesas video wmi
[ 1039.070142] CPU: 4 PID: 2529 Comm: chrome Tainted: P W IOE 6.2.7-arch1-1 #1 d0ef1d2ba4aa7f22be04df39dde66a4c3cc73dc4
[ 1039.070144] Hardware name: Dell Inc. Inspiron 24-7459/0503P4, BIOS 1.15.1 01/12/2021
[ 1039.070144] RIP: 0010:v4l_enum_fmt+0x114a/0x1ba0 [videodev]
[ 1039.070161] Code: c7 c3 70 c7 30 c1 81 fe 64 76 73 64 0f 84 ef f0 ff ff 41 80 7c 24 0c 00 0f 85 ae ef ff ff 48 c7 c7 d9 d5 30 c1 e8 26 55 5c f2 <0f> 0b 48 c7 c2 f5 d5 30 c1 49 8d 4c 24 2c 49 8d 7c 24 0c 31 ed be
[ 1039.070163] RSP: 0018:ffffb44b45e97cc0 EFLAGS: 00010282
[ 1039.070164] RAX: 0000000000000000 RBX: ffffffffc130cc21 RCX: 0000000000000027
[ 1039.070165] RDX: ffffa04bf4321648 RSI: 0000000000000001 RDI: ffffa04bf4321640
[ 1039.070166] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb44b45e97b50
[ 1039.070167] R10: 0000000000000003 R11: ffffffffb56c9a68 R12: ffffb44b45e97dd0
[ 1039.070168] R13: 0000000000000000 R14: ffffa048890adcc0 R15: ffffa04883b58018
[ 1039.070169] FS: 00007fed76752b00(0000) GS:ffffa04bf4300000(0000) knlGS:0000000000000000
[ 1039.070171] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1039.070172] CR2: 00001ca000215100 CR3: 000000020088e006 CR4: 00000000003706e0
[ 1039.070173] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1039.070174] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1039.070175] Call Trace:
[ 1039.070176] <TASK>
[ 1039.070177] __video_do_ioctl+0x1c5/0x4b0 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 1039.070196] video_usercopy+0x139/0x710 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 1039.070214] ? __pfx___video_do_ioctl+0x10/0x10 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 1039.070234] v4l2_ioctl+0x4a/0x60 [videodev 48b80a74c04f0a5282a0bf8b84bfca15bccacee7]
[ 1039.070250] __x64_sys_ioctl+0x91/0xd0
[ 1039.070253] do_syscall_64+0x5c/0x90
[ 1039.070255] ? do_syscall_64+0x6b/0x90
[ 1039.070257] ? syscall_exit_to_user_mode+0x1b/0x40
[ 1039.070260] ? do_syscall_64+0x6b/0x90
[ 1039.070262] ? exc_page_fault+0x74/0x170
[ 1039.070265] entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ 1039.070267] RIP: 0033:0x7fed7750dbdd
[ 1039.070271] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[ 1039.070272] RSP: 002b:00007ffca1185e20 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1039.070274] RAX: ffffffffffffffda RBX: 00007ffca1185fe0 RCX: 00007fed7750dbdd
[ 1039.070275] RDX: 00007ffca1185ee0 RSI: ffffffffc0405602 RDI: 0000000000000017
[ 1039.070276] RBP: 00007ffca1185e70 R08: 00001ca000215000 R09: 00001ca0002c8168
[ 1039.070277] R10: 0000000000000008 R11: 0000000000000246 R12: 00007ffca1185e80
[ 1039.070278] R13: 00001ca0002262a0 R14: 0000000000000017 R15: 00001ca000321260
[ 1039.070281] </TASK>
[ 1039.070282] ---[ end trace 0000000000000000 ]---

Steps to reproduce:

Boot PC and start GNOME session.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 28 March 2023, 22:27 GMT
Reason for closing:  Upstream
Comment by loqs (loqs) - Monday, 20 March 2023, 16:57 GMT Comment by Topo Lino (opotonil) - Monday, 20 March 2023, 18:58 GMT
Yeah, it seems only a warning. The trouble it is that is happening all time not when I use the cam so it is filling the logs. With kernel 6.1.12 did not happen.

lsusb -v -d 8086:0a66

Bus 002 Device 002: ID 8086:0a66 Intel Corp. RealSense 3D Camera (Front F200)
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 9
idVendor 0x8086 Intel Corp.
idProduct 0x0a66 RealSense 3D Camera (Front F200)
bcdDevice 27.80
iManufacturer 1 Intel(R) RealSense(TM) 3D Camera (Front F200)
iProduct 2 Intel(R) RealSense(TM) 3D Camera (Front F200)
iSerial 3 046151566403
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0650
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 440mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 5
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 5
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.10
wTotalLength 0x0051
dwClockFrequency 48.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x0000000a
Auto-Exposure Mode
Exposure Time (Absolute)
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
bUnitID 2
bSourceID 1
wMaxMultiplier 16384
bControlSize 3
bmControls 0x0000177f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Gain
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x00
VideoControl Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 3
guidExtensionCode {b8ec416e-a3ac-4580-8d5c-0bee1597e43d}
bNumControls 3
bNrInPins 1
baSourceID( 0) 1
bControlSize 3
bmControls( 0) 0x06
bmControls( 1) 0x00
bmControls( 2) 0x00
iExtension 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 2
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 9
bMaxBurst 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 5
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x01c5
bEndpointAddress 0x83 EP 3 IN
bmInfo 0
bTerminalLink 4
bStillCaptureMethod 0
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 9
guidFormat {32595559-0000-0010-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 180
dwMinBitRate 1843200
dwMaxBitRate 55296000
dwMaxVideoFrameBufferSize 640
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 2457600
dwMaxBitRate 73728000
dwMaxVideoFrameBufferSize 640
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 424
wHeight 240
dwMinBitRate 3256320
dwMaxBitRate 97689600
dwMaxVideoFrameBufferSize 848
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 360
dwMinBitRate 7372800
dwMaxBitRate 221184000
dwMaxVideoFrameBufferSize 1280
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 9830400
dwMaxBitRate 294912000
dwMaxVideoFrameBufferSize 1280
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 848
wHeight 480
dwMinBitRate 13025280
dwMaxBitRate 390758400
dwMaxVideoFrameBufferSize 1696
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 7
bmCapabilities 0x00
Still image unsupported
wWidth 960
wHeight 540
dwMinBitRate 16588800
dwMaxBitRate 497664000
dwMaxVideoFrameBufferSize 1920
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 8
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 29491200
dwMaxBitRate 442368000
dwMaxVideoFrameBufferSize 2560
dwDefaultFrameInterval 333333
bFrameIntervalType 4
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
dwFrameInterval( 2) 2000000
dwFrameInterval( 3) 5000000
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 9
bmCapabilities 0x00
Still image unsupported
wWidth 1920
wHeight 1080
dwMinBitRate 66355200
dwMaxBitRate 995328000
dwMaxVideoFrameBufferSize 3840
dwDefaultFrameInterval 333333
bFrameIntervalType 4
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
dwFrameInterval( 2) 2000000
dwFrameInterval( 3) 5000000
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 4
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.10
wTotalLength 0x0044
dwClockFrequency 48.000000MHz
bInCollection 1
baInterfaceNr( 0) 3
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 5
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 6
guidExtensionCode {a55751a1-f3c5-4a5e-8d5a-6854b8fa2716}
bNumControls 7
bNrInPins 1
baSourceID( 0) 5
bControlSize 3
bmControls( 0) 0x7f
bmControls( 1) 0x00
bmControls( 2) 0x00
iExtension 6
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 7
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 6
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 9
bMaxBurst 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 4
VideoStreaming Interface Descriptor:
bLength 20
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 7
wTotalLength 0x0344
bEndpointAddress 0x82 EP 2 IN
bmInfo 0
bTerminalLink 7
bStillCaptureMethod 0
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
bmaControls( 1) 0
bmaControls( 2) 0
bmaControls( 3) 0
bmaControls( 4) 0
bmaControls( 5) 0
bmaControls( 6) 0
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 1
bNumFrameDescriptors 2
guidFormat {32595559-0000-0010-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 147456000
dwMaxBitRate 147456000
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwBytesPerLine 1280
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 240
dwMinBitRate 73728000
dwMaxBitRate 73728000
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwBytesPerLine 1280
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 2
bNumFrameDescriptors 2
guidFormat {5a564e49-2d90-4a58-920b-773f1f2c556b}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 9830400
dwMaxBitRate 294912000
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwBytesPerLine 1280
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 240
dwMinBitRate 4915200
dwMaxBitRate 270336000
dwDefaultFrameInterval 90909
bFrameIntervalType 6
dwBytesPerLine 1280
dwFrameInterval( 0) 90909
dwFrameInterval( 1) 166666
dwFrameInterval( 2) 333333
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 2000000
dwFrameInterval( 5) 5000000
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 3
bNumFrameDescriptors 2
guidFormat {495a4e49-1a66-a242-9065-d01814a8ef8a}
bBitsPerPixel 24
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 14745600
dwMaxBitRate 442368000
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwBytesPerLine 1920
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 240
dwMinBitRate 7372800
dwMaxBitRate 405504000
dwDefaultFrameInterval 90909
bFrameIntervalType 6
dwBytesPerLine 1920
dwFrameInterval( 0) 90909
dwFrameInterval( 1) 166666
dwFrameInterval( 2) 333333
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 2000000
dwFrameInterval( 5) 5000000
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 4
bNumFrameDescriptors 2
guidFormat {52564e49-2d90-4a58-920b-773f1f2c556b}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 9830400
dwMaxBitRate 294912000
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwBytesPerLine 1280
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 240
dwMinBitRate 4915200
dwMaxBitRate 270336000
dwDefaultFrameInterval 90909
bFrameIntervalType 6
dwBytesPerLine 1280
dwFrameInterval( 0) 90909
dwFrameInterval( 1) 166666
dwFrameInterval( 2) 333333
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 2000000
dwFrameInterval( 5) 5000000
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 5
bNumFrameDescriptors 2
guidFormat {49524e49-2d90-4a58-920b-773f1f2c556b}
bBitsPerPixel 24
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 14745600
dwMaxBitRate 442368000
dwDefaultFrameInterval 166666
bFrameIntervalType 5
dwBytesPerLine 1920
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 2000000
dwFrameInterval( 4) 5000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 240
dwMinBitRate 7372800
dwMaxBitRate 405504000
dwDefaultFrameInterval 90909
bFrameIntervalType 6
dwBytesPerLine 1920
dwFrameInterval( 0) 90909
dwFrameInterval( 1) 166666
dwFrameInterval( 2) 333333
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 2000000
dwFrameInterval( 5) 5000000
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 6
bNumFrameDescriptors 2
guidFormat {49564e49-57db-5e49-8e3f-f479532b946f}
bBitsPerPixel 8
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 73728000
dwMaxBitRate 737280000
dwDefaultFrameInterval 33333
bFrameIntervalType 5
dwBytesPerLine 640
dwFrameInterval( 0) 33333
dwFrameInterval( 1) 41666
dwFrameInterval( 2) 83333
dwFrameInterval( 3) 166666
dwFrameInterval( 4) 333333
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 240
dwMinBitRate 36864000
dwMaxBitRate 368640000
dwDefaultFrameInterval 33333
bFrameIntervalType 5
dwBytesPerLine 640
dwFrameInterval( 0) 33333
dwFrameInterval( 1) 41666
dwFrameInterval( 2) 83333
dwFrameInterval( 3) 166666
dwFrameInterval( 4) 333333
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
VideoStreaming Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 16 (FORMAT_FRAME_BASED)
bFormatIndex 7
bNumFrameDescriptors 1
guidFormat {494c4552-1314-f943-a75a-ee6bbf012e23}
bBitsPerPixel 8
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bVariableSize 0
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 17 (FRAME_FRAME_BASED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 147456000
dwMaxBitRate 983040000
dwDefaultFrameInterval 25000
bFrameIntervalType 4
dwBytesPerLine 640
dwFrameInterval( 0) 25000
dwFrameInterval( 1) 50000
dwFrameInterval( 2) 83333
dwFrameInterval( 3) 166666
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 0 (Unspecified)
bTransferCharacteristics 0 (Unspecified)
bMatrixCoefficients 0 (Unspecified)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
** UNRECOGNIZED: 14 ff 42 49 53 54 00 01 01 08 10 00 00 00 00 00 01 07 ff 3f
Comment by loqs (loqs) - Monday, 20 March 2023, 20:00 GMT
From the lusub output:
guidFormat {32595559-0000-0010-8000-00aa00389b71} YUY2 kernel supported
guidFormat {5a564e49-2d90-4a58-920b-773f1f2c556b} INVZ kernel supported
guidFormat {495a4e49-1a66-a242-9065-d01814a8ef8a} INZI kernel supported
guidFormat {52564e49-2d90-4a58-920b-773f1f2c556b} INVR
guidFormat {49524e49-2d90-4a58-920b-773f1f2c556b} INRI
guidFormat {49564e49-57db-5e49-8e3f-f479532b946f} INVI kernel supported
guidFormat {494c4552-1314-f943-a75a-ee6bbf012e23} RELI
The issue being the three formats without kernel support that will trigger the warning. You could patch the kernel to disable the warning or recognize the formats if you need to use the camera.
It does not happen using linux 6.1.12 but it does happen linux-lts 6.1.20?
Edit:
Attached patch adds the missing formats. This does not make them usable only allows them to be recognized.
Comment by Topo Lino (opotonil) - Tuesday, 21 March 2023, 19:15 GMT
Yes, it does not happen using linux 6.1.12 but it does happen using linux-lts 6.1.20 (and too using kernel 6.1.18 on Fedora, last week I was trying SilverBlue). I attach full log with linux 6.1.12, I have downgraded to this version.

On linux 6.2.7 I see the warning from my first post and:
# journalctl -b | grep "Unknown video format"
mar 19 13:18:18 desktop kernel: uvcvideo 2-7:1.3: Unknown video format 52564e49-2d90-4a58-920b-773f1f2c556b
mar 19 13:18:18 desktop kernel: uvcvideo 2-7:1.3: Unknown video format 49524e49-2d90-4a58-920b-773f1f2c556b
mar 19 13:18:18 desktop kernel: uvcvideo 2-7:1.3: Unknown video format 494c4552-1314-f943-a75a-ee6bbf012e23

On linux 6.1.12 I don't see the warning, I only see:
# journalctl -b | grep "Unknown video format"
mar 21 19:49:17 desktop kernel: uvcvideo 2-7:1.3: Unknown video format 52564e49-2d90-4a58-920b-773f1f2c556b
mar 21 19:49:17 desktop kernel: uvcvideo 2-7:1.3: Unknown video format 49524e49-2d90-4a58-920b-773f1f2c556b
mar 21 19:49:17 desktop kernel: uvcvideo 2-7:1.3: Unknown video format 494c4552-1314-f943-a75a-ee6bbf012e23

Maybe on linux 6.1.12 if "uvcvideo" module param "trace" is 0 don't show warnings (for me, this seems the correct way). And some change between linux 6.1.12 and linux 6.1.18 makes it don't respect the "uvcvideo" module param "trace". The changelog of linux 6.1.16 show quite work on "v2l".

I will install "toolbox" or "distrobox" to try to build linux 6.2.7 with your patch (I will need a few days to get enough time), but I doubt it can be accepted as patch on package "linux" from Arch or on kernel upstream. I would prefer a more permanent solution, like the one used in linux 6.1.12.

I really appreciate your interest and help.
   dmesg.txt (83.3 KiB)
Comment by loqs (loqs) - Tuesday, 21 March 2023, 20:24 GMT
Can you determine which kernel between 6.1.12 and 6.1.18 introduced the issue? You can find the linux-lts packages in the ALA [1] covering 6.1.12 to 6.1.18.
If the trace param is not having any effect what about /sys/module/uvcvideo/parameters/uvc_dbg_param ?

[1] https://wiki.archlinux.org/title/Arch_Linux_Archive
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 18:26 GMT
- linux-6.1.16: It is not affected.
- linux-6.1.17: I can not find it, but only has two commits and not seems related [1].
- linux-6.1.18: It is affected.

So 6.1.18 introduced the issue. I think the culprit commit is [2] or maybe [3]. What do you think?

I can't find "/sys/module/uvcvideo/parameters/uvc_dbg_param" (kernel 6.1.18):
# ls -l /sys/module/uvcvideo/parameters/
total 0
-rw-r--r-- 1 root root 4096 mar 22 20:04 clock
-rw-r--r-- 1 root root 4096 mar 22 20:04 hwtimestamps
-rw-r--r-- 1 root root 4096 mar 22 20:04 nodrop
-rw-r--r-- 1 root root 4096 mar 22 20:04 quirks
-rw-r--r-- 1 root root 4096 mar 22 20:04 timeout
-rw-r--r-- 1 root root 4096 mar 22 20:04 trace


[1] https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.17
[2] https://github.com/torvalds/linux/commit/50459f103edfe47c9a599d766a850ef6014936c5
[3] https://github.com/torvalds/linux/commit/41ddb251c68ac75c101d3a50a68c4629c9055e4c
Comment by loqs (loqs) - Wednesday, 22 March 2023, 19:26 GMT
May as well bisect between 6.1.17 and 6.1.18
$ git bisect start
status: waiting for both good and bad commits
$ git bisect bad v6.1.18
status: waiting for good commit(s), bad commit known
$ git bisect good v6.1.17
Bisecting: 100 revisions left to test after this (roughly 7 steps)
[6a675a6d57d31da43d8da576465c1cd5d5b0bd3d] scsi: mpi3mr: Use number of bits to manage bitmap sizes

https://drive.google.com/file/d/1bx8JkRO9Z4EK18h04CBpAqxvKobXhbWN/view?usp=share_link linux-6.1.17.r100.g6a675a6d57d3-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1CE-AK0cZFfZmEqmTWwYCFHEnKZ8-gQaP/view?usp=share_link linux-headers-6.1.17.r100.g6a675a6d57d3-1-x86_64.pkg.tar.zst
Edit:
Assuming the above is good
$ git bisect good
Bisecting: 50 revisions left to test after this (roughly 6 steps)
[b0a8195a84a725ca7936c213b5e056d2a3ab2a94] USB: isp1362: fix memory leak with using debugfs_lookup()

https://drive.google.com/file/d/14QP1e7CeROYY6N1mmixaab3Sw89raXNp/view?usp=share_link linux-6.1.17.r150.gb0a8195a84a7-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/16pYl3VXCwdajUJVYMIoWmGZ4Xxy-q25c/view?usp=share_link linux-headers-6.1.17.r150.gb0a8195a84a7-1-x86_64.pkg.tar.zst
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 19:56 GMT
Wow. I have limited, or after seeing this very limited, knowledge of git.

- linux-6.1.17.r100.g6a675a6d57d3: It is not affected.
- linux-6.1.17.r150.gb0a8195a84a7: It is affected.
Comment by loqs (loqs) - Wednesday, 22 March 2023, 20:24 GMT
https://wiki.archlinux.org/title/Bisecting_bugs_with_Git

$ git bisect bad
Bisecting: 24 revisions left to test after this (roughly 5 steps)
[acfed4676a5900264927380ed32d921cd4059d6b] media: uvcvideo: Handle errors from calls to usb_string

https://drive.google.com/file/d/1VmBR7JxnGnsw8OCcut0qz8NOm8-_YrE7/view?usp=share_link linux-6.1.17.r125.gacfed4676a59-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/142W2YcLxD0ifHpxu5rbz9QmML6sWMOct/view?usp=share_link linux-headers-6.1.17.r125.gacfed4676a59-1-x86_64.pkg.tar.zst
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 20:33 GMT
- linux-6.1.17.r125.gacfed4676a59: It is affected.
Comment by loqs (loqs) - Wednesday, 22 March 2023, 20:55 GMT
$ git bisect bad
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[ada41093fb1b6cdc0bed7cd02bbf1b42a3f9a4fc] ASoC: mediatek: mt8195: add missing initialization

https://drive.google.com/file/d/1Fv0XeiKGX0pR7l_rxgzocjFT_ELpsWGk/view?usp=share_link linux-6.1.17.r112.gada41093fb1b-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1m1r5tW2oEIa3AW47BU8xY_HcLVKX3IUT/view?usp=share_link linux-headers-6.1.17.r112.gada41093fb1b-1-x86_64.pkg.tar.zst

Edit:
Assuming the last one was good

$ git bisect good
Bisecting: 6 revisions left to test after this (roughly 3 steps)
[8caa60c20ae19797a663792ec2a439e07b4c4345] bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support

https://drive.google.com/file/d/1Ndm0TdDgycDnbk75TQ4gD11lOA7ggctJ/view?usp=share_link linux-6.1.17.r118.g8caa60c20ae1-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/19R7CmaQFcPUhZs9jdcLJQUYrrACS566i/view?usp=share_link linux-headers-6.1.17.r118.g8caa60c20ae1-1-x86_64.pkg.tar.zst
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 21:24 GMT
- linux-6.1.17.r112.gada41093fb1b: It is not affected.
- linux-6.1.17.r118.g8caa60c20ae1: It is not affected.
Comment by loqs (loqs) - Wednesday, 22 March 2023, 21:51 GMT
$ git bisect good
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[60ac0a6de6b06c20ee9c684e7f1c080d8f9fb564] iommu/amd: Fix error handling for pdev_pri_ats_enable()

https://drive.google.com/file/d/19_uG2E36qxXo5CsddUinENVupM9_T71Q/view?usp=share_link linux-6.1.17.r121.g60ac0a6de6b0-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1so9VLvbsWBDppFWBpBNxDd__VhP8lyxv/view?usp=share_link linux-headers-6.1.17.r121.g60ac0a6de6b0-1-x86_64.pkg.tar.zst
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 21:59 GMT
- linux-6.1.17.r121.g60ac0a6de6b0: It is not affected.
Comment by loqs (loqs) - Wednesday, 22 March 2023, 22:32 GMT
$ git bisect good
Bisecting: 1 revision left to test after this (roughly 1 step)
[2c8ea08b86a5789449c5eb3da23e3864bb58c16a] media: uvcvideo: Remove format descriptions

https://drive.google.com/file/d/1lKdOcWwI78VZgZDDJX8jKreemM4r8pEm/view?usp=share_link linux-6.1.17.r123.g2c8ea08b86a5-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1HCSNsCh6m7vuqX4bDaEFALCaEiDvpqxJ/view?usp=share_link linux-headers-6.1.17.r123.g2c8ea08b86a5-1-x86_64.pkg.tar.zst
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 22:44 GMT
- linux-6.1.17.r123.g2c8ea08b86a5: It is affected.
Comment by loqs (loqs) - Wednesday, 22 March 2023, 23:02 GMT
$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[7b41160db12083e6a0231c64f626c6011c1f7e3b] PCI/ACPI: Account for _S0W of the target bridge in acpi_pci_bridge_d3()

https://drive.google.com/file/d/1xR4HMdJpaC30v2s02PDz_Wp3O5nT3FCZ/view?usp=share_link linux-6.1.17.r122.g7b41160db120-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1leoPlTcEpYMpkIowMl7iy-LpxibcvuOc/view?usp=share_link linux-headers-6.1.17.r122.g7b41160db120-1-x86_64.pkg.tar.zst

Assuming good

git bisect good
2c8ea08b86a5789449c5eb3da23e3864bb58c16a is the first bad commit
commit 2c8ea08b86a5789449c5eb3da23e3864bb58c16a
Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Tue Nov 15 18:44:29 2016 +0200

media: uvcvideo: Remove format descriptions

[ Upstream commit 50459f103edfe47c9a599d766a850ef6014936c5 ]

The V4L2 core overwrites format descriptions in v4l_fill_fmtdesc(),
there's no need to manually set the descriptions in the driver. This
prepares for removal of the format descriptions from the uvc_fmts table.

Unlike V4L2, UVC makes a distinction between the SD-DV, SDL-DV and HD-DV
formats. It also indicates whether the DV format uses 50Hz or 60Hz. This
information is parsed by the driver to construct a format name string
that is printed in a debug message, but serves no other purpose as V4L2
has a single V4L2_PIX_FMT_DV pixel format that covers all those cases.

As the information is available in the UVC descriptors, and thus
accessible to users with lsusb if they really care, don't log it in a
debug message and drop the format name string to simplify the code.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>

drivers/media/usb/uvc/uvc_driver.c | 24 ++----------------------
drivers/media/usb/uvc/uvc_v4l2.c | 2 --
drivers/media/usb/uvc/uvcvideo.h | 2 --
3 files changed, 2 insertions(+), 26 deletions(-)

Which is one of the two commits you thought could be the cause.
Comment by Topo Lino (opotonil) - Wednesday, 22 March 2023, 23:21 GMT
- linux-6.1.17.r122.g7b41160db120: It is not affected.

Looks like I hit right! XD

Thank you very much for your work and effort, really.

Comment by Toolybird (Toolybird) - Thursday, 23 March 2023, 22:01 GMT
Nice one @loqs! So what's the status here? @opotonil, have you reported upstream?
Comment by Topo Lino (opotonil) - Friday, 24 March 2023, 18:58 GMT
No @Toolybird, I have not reported to upsetram. I'm out for a few days.
Comment by Topo Lino (opotonil) - Tuesday, 28 March 2023, 17:36 GMT
@Toolybird, people from Fedora already have a patch [1], they will provided to upstream.

@loqs, I have another bug since time ago. I have build two kernels using PKGBUILD of "linux-lts" with "tar.xz" and now I have located it at "v3.11.0" but when I try to use PKGBUILD of "linux" with "git" to bisect, I can't find "tag v3.10.176" and it not build and if I change the sources neither. Can you share PKGBUILD that did you use here? Thanks and excuseme the offtopic.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2180107
Comment by loqs (loqs) - Tuesday, 28 March 2023, 21:03 GMT
The fix is has been posted for review [1]. Can you start a new issue on the forums for the new bisection as I suspect it will take more than a one post response.

[1] https://patchwork.kernel.org/project/linux-media/patch/20230327091051.404184-1-hpa%40redhat.com/
Comment by Toolybird (Toolybird) - Tuesday, 28 March 2023, 22:27 GMT
Thanks again @loqs for your help on this one. And thanks @opotonil for exploring "other" avenues :) The patch should find its way into Arch eventually so no point in keeping the ticket open for now.

Loading...