lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250908120354.73d83f86@foz.lan>
Date: Mon, 8 Sep 2025 12:03:54 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: "Alexandre Courbot" <gnurou@...il.com>
Cc: "Albert Esteve" <aesteve@...hat.com>, "Michael S. Tsirkin"
 <mst@...hat.com>, "Mauro Carvalho Chehab" <mchehab@...nel.org>, "Hans
 Verkuil" <hverkuil@...all.nl>, "Jason Wang" <jasowang@...hat.com>, "Xuan
 Zhuo" <xuanzhuo@...ux.alibaba.com>, Eugenio Pérez
 <eperezma@...hat.com>, <gurchetansingh@...gle.com>,
 <daniel.almeida@...labora.com>, <adelva@...gle.com>,
 <changyeon@...gle.com>, <nicolas.dufresne@...labora.com>,
 <linux-kernel@...r.kernel.org>, <linux-media@...r.kernel.org>,
 <virtualization@...ts.linux.dev>
Subject: Re: [PATCH v3] media: add virtio-media driver

Em Fri, 20 Jun 2025 21:03:34 +0900
"Alexandre Courbot" <gnurou@...il.com> escreveu:

> Hi Mauro,
> 
> Really appreciating the time you are spending reviewing and testing
> this! m(__)m Thanks also for sharing your script, I've learned a few
> things I didn't know about crosvm. :P

I'm resuming the tests with virtio-media. I did some tests here, running
camorama and qv4l2, setting the maximum resolution allowed by uvcvideo on a
C920 camera, e.g. 2304x1296.

Such setup works with camorama, on both host and VM (acessed via ssh
with X11 forward), both at the same machine.

However, when I run qv4l2, top presents a really high load:

	1752251 mchehab   20   0   10,4g   1,6g   1,6g S  1182   2,5   9:21.86 crosvm                  

(It can reach up to 2400% on my machine, which has 24 CPU threads).

and the image freezes.

The same setup works fine when calling it directly from the host. No
idea if this could be some bug at crosvm, or if there are dead locks
somewhere.

Thanks,
Mauro

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ