Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2026 18:45:58 -0300
From:      Nilton Jose Rizzo <rizzo@rizzo.eng.br>
To:        Baptiste Daroussin <bapt@nours.eu>, freebsd-current@freebsd.org
Subject:   Re: uvideo not wrok fine
Message-ID:  <43193a69-cd0f-474a-9626-44421ad39316@rizzo.eng.br>
In-Reply-To: <22C82D84-9DA8-473F-88A9-7DAE88F234BD@nours.eu>
References:  <9fe285ad-e92c-468c-a3b1-4539acef7064@rizzo.eng.br> <22C82D84-9DA8-473F-88A9-7DAE88F234BD@nours.eu>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Em 18/07/2026 02:36, Baptiste Daroussin escreveu:
>
> Le 14 juillet 2026 01:42:07 GMT+02:00, Nilton Jose Rizzo<rizzo@rizzo.eng.br> a écrit :
>> Hi all,
>>
>> I upgraded my desktop last weekend and decided to try the new *uvideo*driver from OpenBSD.
>>
>> When I run |pwcview|, the image is displayed incorrectly: it is horizontally duplicated and shows interlaced lines.
>>
>> If I switch back to |webcamd|, the webcam works normally.
>>
>> I also tested it with *Google Meet*and *Jitsi Meet*in Firefox.
>>
>> On Google Meet, I receive a warning indicating that my webcam is not functioning properly.
>>
>> Has anyone experienced this issue or have any suggestions on how to troubleshoot it?
>>
>> My web cam is HD Pro C920 USB
>>
>> ugen0.2: <HD Pro Webcam C920 Logitech, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
>>
>> $ usbconfig -v -d ugen0.2
>> ugen0.2: <HD Pro Webcam C920 Logitech, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
>> ugen0.2.2: uaudio0: <vendor 0x046d HD Pro Webcam C920, class 239/2, rev 2.00/0.11, addr 3>
>>
>>    bLength = 0x0012
>>    bDescriptorType = 0x0001
>>    bcdUSB = 0x0200
>>    bDeviceClass = 0x00ef  <Miscellaneous device>
>>    bDeviceSubClass = 0x0002
>>    bDeviceProtocol = 0x0001
>>    bMaxPacketSize0 = 0x0040
>>    idVendor = 0x046d
>>    idProduct = 0x082d
>>    bcdDevice = 0x0011
>>    iManufacturer = 0x0000  <no string>
>>    iProduct = 0x0002  <HD Pro Webcam C920>
>>    iSerialNumber = 0x0001  <1BC69C1F>
>>    bNumConfigurations = 0x0001
>>
>> When uvideo load, show this message
>>
>> uvideo0 on uhub1
>> uvideo0: <vendor 0x046d HD Pro Webcam C920, class 239/2, rev 2.00/0.11, addr 3> on usbus0
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: too many PU descriptors found!
>> uvideo0: 3 format(s), iface_index=1, endpoint=0x81, psize=3060, isoc
>> uvideo0: default format: pixfmt=0x56595559, 640x480, max_fbuf=4147200
>> uvideo0: UVC camera on /dev/video0
>>
>>
>
> try updating UVIDEO_MAX_PU and UVIDEO_MAX_CT from 8 to 32.
>
> in sys/dev/usb/video/uvideo.c
>
> best regards,
> Bapt

I change these values, PU warnings was gone.

My Webcam not work fine yet.

See this jpeg screenshot from pwcview using default values to fps and 
resolution (sif).

https://imgur.com/a/YG89hK5


ugen0.2: <vendor 0x046d HD Pro Webcam C920> at usbus0
uvideo0 on uhub1
uvideo0: <vendor 0x046d HD Pro Webcam C920, class 239/2, rev 2.00/0.11, 
addr 3> on usbus0
uvideo0: 3 format(s), iface_index=1, endpoint=0x81, psize=3060, isoc
uvideo0: default format: pixfmt=0x56595559, 640x480, max_fbuf=4147200
uvideo0: UVC camera on /dev/video0
uaudio0 on uhub1
uaudio0: <vendor 0x046d HD Pro Webcam C920, class 239/2, rev 2.00/0.11, 
addr 3> on usbus0
uaudio0: No playback.
uaudio0: Record[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms 
buffer. (selected)
uaudio0: Record[0]: 24000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms buffer.
uaudio0: Record[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms buffer.
uaudio0: No MIDI sequencer.
pcm6 on uaudio0
uaudio0: No HID volume keys found.
uvideo0: stream open: nframes=51, psize=3060, maxVideoFrameSize=153600, 
maxPayloadSize=800, alt=11, isoc
uvideo0: stream open: nframes=51, psize=3060, maxVideoFrameSize=153600, 
maxPayloadSize=800, alt=11, isoc



-- 
**************************
* Dr. Nilton Jose Rizzo  *
* Engenheiro Eletrônico  *
* Doutor pela COPPE/UFRJ *
* Telegram: @njrizzo     *
**************************

[-- Attachment #2 --]
<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <div class="moz-cite-prefix">Em 18/07/2026 02:36, Baptiste Daroussin
      escreveu:<br>
    </div>
    <blockquote type="cite"
      cite="mid:22C82D84-9DA8-473F-88A9-7DAE88F234BD@nours.eu">
      <pre wrap="" class="moz-quote-pre">

Le 14 juillet 2026 01:42:07 GMT+02:00, Nilton Jose Rizzo <a class="moz-txt-link-rfc2396E" href="mailto:rizzo@rizzo.eng.br">&lt;rizzo@rizzo.eng.br&gt;</a> a écrit :
</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">Hi all,

I upgraded my desktop last weekend and decided to try the new *uvideo*driver from OpenBSD.

When I run |pwcview|, the image is displayed incorrectly: it is horizontally duplicated and shows interlaced lines.

If I switch back to |webcamd|, the webcam works normally.

I also tested it with *Google Meet*and *Jitsi Meet*in Firefox.

On Google Meet, I receive a warning indicating that my webcam is not functioning properly.

Has anyone experienced this issue or have any suggestions on how to troubleshoot it?

My web cam is HD Pro C920 USB

ugen0.2: &lt;HD Pro Webcam C920 Logitech, Inc.&gt; at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

$ usbconfig -v -d ugen0.2
ugen0.2: &lt;HD Pro Webcam C920 Logitech, Inc.&gt; at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.2.2: uaudio0: &lt;vendor 0x046d HD Pro Webcam C920, class 239/2, rev 2.00/0.11, addr 3&gt;

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x00ef  &lt;Miscellaneous device&gt;
  bDeviceSubClass = 0x0002
  bDeviceProtocol = 0x0001
  bMaxPacketSize0 = 0x0040
  idVendor = 0x046d
  idProduct = 0x082d
  bcdDevice = 0x0011
  iManufacturer = 0x0000  &lt;no string&gt;
  iProduct = 0x0002  &lt;HD Pro Webcam C920&gt;
  iSerialNumber = 0x0001  &lt;1BC69C1F&gt;
  bNumConfigurations = 0x0001

When uvideo load, show this message

uvideo0 on uhub1
uvideo0: &lt;vendor 0x046d HD Pro Webcam C920, class 239/2, rev 2.00/0.11, addr 3&gt; on usbus0
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: too many PU descriptors found!
uvideo0: 3 format(s), iface_index=1, endpoint=0x81, psize=3060, isoc
uvideo0: default format: pixfmt=0x56595559, 640x480, max_fbuf=4147200
uvideo0: UVC camera on /dev/video0


</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">

try updating UVIDEO_MAX_PU and UVIDEO_MAX_CT from 8 to 32.

in sys/dev/usb/video/uvideo.c

best regards,
Bapt
</pre>
    </blockquote>
    <p>I change these values, PU warnings was gone.</p>
    <p>My Webcam not work fine yet.</p>
    <p>See this jpeg screenshot from pwcview using default values to fps
      and resolution (sif).</p>
    <p><a class="moz-txt-link-freetext" href="https://imgur.com/a/YG89hK5">https://imgur.com/a/YG89hK5</a></p>;
    <p><br>
    </p>
    <p>ugen0.2: &lt;vendor 0x046d HD Pro Webcam C920&gt; at usbus0<br>
      uvideo0 on uhub1<br>
      uvideo0: &lt;vendor 0x046d HD Pro Webcam C920, class 239/2, rev
      2.00/0.11, addr 3&gt; on usbus0<br>
      uvideo0: 3 format(s), iface_index=1, endpoint=0x81, psize=3060,
      isoc<br>
      uvideo0: default format: pixfmt=0x56595559, 640x480,
      max_fbuf=4147200<br>
      uvideo0: UVC camera on /dev/video0<br>
      uaudio0 on uhub1<br>
      uaudio0: &lt;vendor 0x046d HD Pro Webcam C920, class 239/2, rev
      2.00/0.11, addr 3&gt; on usbus0<br>
      uaudio0: No playback.<br>
      uaudio0: Record[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms
      buffer. (selected)<br>
      uaudio0: Record[0]: 24000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms
      buffer.<br>
      uaudio0: Record[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms
      buffer.<br>
      uaudio0: No MIDI sequencer.<br>
      pcm6 on uaudio0<br>
      uaudio0: No HID volume keys found.<br>
      uvideo0: stream open: nframes=51, psize=3060,
      maxVideoFrameSize=153600, maxPayloadSize=800, alt=11, isoc<br>
      uvideo0: stream open: nframes=51, psize=3060,
      maxVideoFrameSize=153600, maxPayloadSize=800, alt=11, isoc<br>
      <br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
**************************
* Dr. Nilton Jose Rizzo  *
* Engenheiro Eletrônico  *
* Doutor pela COPPE/UFRJ *
* Telegram: @njrizzo     *
**************************</pre>
  </body>
  <lt-container></lt-container>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43193a69-cd0f-474a-9626-44421ad39316>