You are not logged in.

#51 2025-01-02 15:58:35

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

Camera working with linux-6.12.7.arch1-1.1

ls -l /dev/video*
crw-rw---- 1 root video 81, 0 01-02 16:47 /dev/video0
crw-rw---- 1 root video 81, 1 01-02 16:47 /dev/video1

Offline

#52 2025-01-02 22:36:54

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

Reply to https://lore.kernel.org/all/20240925194 … board.com/ link this thread and point out that this end up breaking webcams for several users.
You can probably just click the mailto: link at the very end.

Offline

#53 2025-01-06 17:33:27

loqs
Member
Registered: 2014-03-06
Posts: 18,175

Re: My webcam is not working, i have tried everything to solve it

https://lore.kernel.org/linux-media/Z3u … do.eti.br/ appears upstream report was rejected from the linux-media list for being in html format but was received by those that were on the CC of the email.

Offline

#54 2025-01-09 19:11:30

Livre
Member
Registered: 2025-01-09
Posts: 2

Re: My webcam is not working, i have tried everything to solve it

For what it's worth: After hours of searching and testing, I found that those camera problems don't belong to all cameras, but to specific models. In my case it's the "ID 1b3f:2002 Generalplus Technology Inc. 808 Camera". It worked out of the box, but now it's not recognized anymore. Another camera the
"ID 0471:0308 Philips (or NXP) PCVC680K Webcam [pwc]" still works fine. Anybody got an idea?

Offline

#55 2025-01-09 19:25:11

loqs
Member
Registered: 2014-03-06
Posts: 18,175

Re: My webcam is not working, i have tried everything to solve it

Livre wrote:

Anybody got an idea?

Have you read from post #34 onward?
Edit:
linux 6.12.8-arch1 with 0001-media-uvcvideo-restore-support-for-non-compliant-dev.patch applied
linux-6.12.8.arch1-1.2-x86_64.pkg.tar.zst/linux-headers-6.12.8.arch1-1.2-x86_64.pkg.tar.zst

Last edited by loqs (2025-01-09 20:03:40)

Offline

#56 2025-01-09 20:05:38

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

Livre wrote:

In my case it's the "ID 1b3f:2002 Generalplus Technology Inc. 808 Camera". It worked out of the box, but now it's not recognized anymore.

The same here.

lsusb | grep Camera  
Bus 003 Device 003: ID 1b3f:2002 Generalplus Technology Inc. 808 Camera

Last edited by gerwazy (2025-01-09 20:06:51)

Offline

#57 2025-01-09 21:16:01

loqs
Member
Registered: 2014-03-06
Posts: 18,175

Re: My webcam is not working, i have tried everything to solve it

gerwazy wrote:

It worked out of the box, but now it's not recognized anymore.

Is that with the patch referenced in post #55 applied?

Offline

#58 2025-01-09 21:40:43

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

loqs wrote:

Is that with the patch referenced in post #55 applied?

Before.
This patch won't install correctly without the nvidia-dkms drivers. Installing those drivers requires removing the nvidia and nvidia-lts packages, which will cause issues with other software on my system. I can't risk messing up my system now, as I rely on it for work tomorrow.

Last edited by gerwazy (2025-01-09 21:53:14)

Offline

#59 Yesterday 06:38:02

mesaprotector
Member
Registered: 2024-03-03
Posts: 169

Re: My webcam is not working, i have tried everything to solve it

The patch seems to fix the major issue for me (fortunately I use nvidia-open-dkms already). I have a different webcam:

asuka@Marojejy ~$ lsusb | grep Camera
Bus 001 Device 002: ID 04f2:b7b9 Chicony Electronics Co., Ltd Integrated Camera

I use my webcam through a few different programs, but the one I was testing with here was just mpv (which relies on ffmpeg) through "mpv av://v4l2:/dev/video0" (with a few additional options).The behavior I observed was that mpv opens the webcam but crashes after a few seconds; after a few tries, I was sometimes able to get /dev/video0 to disappear entirely. The following errors also recurred (the first block below spammed constantly while the webcam was open, the second one displayed once at close):

[lavf] error reading packet: No such device. 
[ffmpeg/demuxer] video4linux2,v4l2: ioctl(VIDIOC_DQBUF): No such device
[ffmpeg/demuxer] video4linux2,v4l2: Some buffers are still owned by the caller on close.
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor

Last edited by mesaprotector (Yesterday 06:40:17)

Offline

#60 Yesterday 11:01:52

Livre
Member
Registered: 2025-01-09
Posts: 2

Re: My webcam is not working, i have tried everything to solve it

loqs wrote:
Livre wrote:

Anybody got an idea?

Have you read from post #34 onward?
Edit:
linux 6.12.8-arch1

I forgot to mention that i use the LTS Kernel Linux Archi 6.6.70-1-lts.
Installing the linux-6.12.8.arch1-1 kernel gave following results:
Install DKMS modules
==> ERROR: Missing 6.12.8-arch1-1 kernel headers for module v4l2loopback/0.13.2.

With current Ubuntu studio LTS version the camera works without problems. So it's not a hardware problem.
I wish i could help, but this is beyond my competence

Offline

#61 Yesterday 14:11:24

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

We know what the problem is, the offending kernel commit has been identified, a patch is offered by the developer and you need ot install the header package loqs provided as well in order to build dkms modules against that kernel.

Offline

#62 Yesterday 23:34:47

loqs
Member
Registered: 2014-03-06
Posts: 18,175

Re: My webcam is not working, i have tried everything to solve it

@mesaprotector were the remaining issues also present in linux 6.12.3.arch1-1 / linux-lts 6.6.63-1?

Offline

Board footer

Powered by FluxBB