Code Monkey home page Code Monkey logo

Comments (14)

Slater91 avatar Slater91 commented on June 14, 2024 1

Sure, I will do as soon as I can, hopefully tonight. Thanks for the help, it's really appreciated.

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

Sorry for the delay.

As previous versions of packages from PPAs are deleted, it is also impossible for me to test out the previous version to rule out other possible issues

Older packages can always accessible from https://launchpad.net/~pipewire-debian/+archive... If you want to check with older version you can and report here.

libcamera issue tracker : https://bugs.libcamera.org/

PipeWire issue tracker : https://gitlab.freedesktop.org/pipewire/pipewire/-/issues

Also I couldn't see a big change since 3171 : https://git.linuxtv.org/libcamera.git/log/ So I want you to create an issue regarding the same on libcamera also.

from pipewire-debian.

Slater91 avatar Slater91 commented on June 14, 2024

No worries at all, thank you for your reply and for your help!
I swear I have searched for the better part of an hour for the archives, and yet I could not find anything. At this point I must seriously reconsider my search engine skills.
Jokes aside, I have tried installing pipewire 0.3.38, as 0.3.39 is incompatible with the previous version of libcamera0, and it works perfectly, so there is indeed a bug somewhere. I will open reports on PipeWire's and Libcamera's trackers as well.

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

😅

I will open reports on PipeWire's and Libcamera's trackers as well.

before opening a report to those repos, please try previous version of libcamera0 If something is wrong with this PPA package devs are get offended for wasting their times.
You are saying the version 3072 doesn't have any problem. We can do a git bisect on those nearely 100 commits and can find a commit from where the problem occurs.

from pipewire-debian.

Slater91 avatar Slater91 commented on June 14, 2024

Sorry, I think there is a misunderstanding as maybe I wasn't clear enough. I have installed version 3072 along with PipeWire 0.3.38 and I confirm it works 100%. I couldn't try version 3072 with PipeWire 0.3.39 because the latter is packaged with a hard dependency on version 3171.

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

I couldn't try version 3072 with PipeWire 0.3.39 because the latter is packaged with a hard dependency on version 3171.

exactly what i was going to write. I didn't notice its hard dependent on version 3171. Ok then you can report to the other repos. BTW,

To Reproduce
Install libcamera0 version 0.r3171.43d098ce-1~ubuntu20.04.

should i need to reboot or the moment after installing its happening ?

from pipewire-debian.

Slater91 avatar Slater91 commented on June 14, 2024

should i need to reboot or the moment after installing its happening ?

I reconstructed through the logs that I didn't reboot, but the camera stopped working anyway: at first it worked, but after a minute or so it started doing weird things and broke. I tried opening and closing the application, but at that point it said it couldn't find a camera.

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

The problem is not reproducing here.. I've tried on 2 device

After 2 hrs still I can't reproduce the problem. The camera app I have tested : Cheese, Webcamoid, Kamoso

First I installed pipewire and all its relevant package along with libcamera0 version 3171,

The cheese immediately stops showing images at 640p but when I swithched to 1280p its normally working (At this point, I've not enable any service related to pipewire, thats mean server is pulseaudio), Webcamoid, Kamoso working nomarlly without any issue.

After enabling all pipewire related service there still have no issue except cheese, and the issue was same. There was no sign of breaking the whole usb substem or the single one.

I think 2 hrs is enough to show any problem if its really have problem ?? or For you do you need to wait more than 2 hrs to reproduce the same ?

Can you please install libcamera version 3171 with pipewire version 0.3.38-2 . The dependency of pipewire on libcamera is (>= 3070), So you can install libcamera 3171 without upgrading pipewire. Please try and report me back.

from pipewire-debian.

Slater91 avatar Slater91 commented on June 14, 2024

Have you tried with a laptop with the same camera? The hardware ID is provided in my first message: 04f2:b5ee.
I have tried updating to version 3171 and it does work, albeit patchily: sometimes it does show pictures, sometimes it doesn't. dmesg doesn't show any errors or weird behaviour. I also had to reset the USB HCI/XHCI stack in order for the webcam to work.
The problem does seem to be elsewhere then, probably in PipeWire itself somehow.

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

Have you tried with a laptop with the same camera?

No, But the vendor ID is same (Mine is : 04f2:b509) for both.. BTW may be the problem specific to only that particular hardware. And this hardware is not available to me.

Ok you already filed a bug report : https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1799 , May be devs can tell you to provide more information. If they need any help I will be happily committed.

One thing I think you forget to mention, The commit hash from where libcamera version 3171 has been built and that is 43d098ce5f2733dbde249d33d3b418cbeadfaaa5 . Please mention that. And one thing : the pipewire is built from : f6b1d65e35fd653d11b3c0afe0e818f9eaff8e57

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

Ok.. meanwhile PipeWire 0.3.40 released and package released under Testing Launchpad Repo. I also bump the libcamera version to 3223. Can you please upgrade libcamera to version 3223 with pipewire 0.3.38 and check whether your problem is solved or not ? Then upgrade pipewire to 0.3.40, check again . The testing repo holds pipewire and libcamera only for ubuntu 20.04 for now.

Testing repo can be added :

 sudo add-apt-repository ppa:pipewire-debian/bionic-qt5125 && sudo apt-get update

I'll not release PipeWire to main repo until some bugs related to 0.3.40 gets fixed

from pipewire-debian.

Slater91 avatar Slater91 commented on June 14, 2024

I've just tested it. I can confirm that the webcam is still broken with the new build from the testing repo. What's worse is that now I can't get it to work with PipeWire 0.3.38 with any kernel, either, so I am really at a loss of what to do and what component is at fault here...

from pipewire-debian.

souravdas142 avatar souravdas142 commented on June 14, 2024

Please report to the libcamra issue tracker also, See : #37 (comment)

EDIT : Can you check Installing all other libcamera subpackages whether issue is fixed or not ?

from pipewire-debian.

Slater91 avatar Slater91 commented on June 14, 2024

I've done a lot more research and experimentation to try to nail down the issue better. It looks like, despite my efforts in finding the cause of the issue, I was wrong the entire time and that other issues were at play. At one point I even started suspecting hardware fault! It turns out that it was a bug with TLP (linrunner/TLP#587) all the time and that simply disabling the service was not enough, I had to remove the package for the system to start behaving normally again. The update to the newer libcamera0 package appeared to trigger the issue, but at this point I can safely rule out that this was the case - the update simply showed a symptom of an underlying issue.
Thank you for your help and support in this, I really appreciate it.

from pipewire-debian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.