-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on Ubuntu 24.04 with kernel 6.8 #228
Comments
I have a dell precision 5680 and it is now working in 24.04 too... |
What kernel version do you have? |
I've tried 6.8 and 6.9 and 6.91 and it doesn't work no matter what I do.
…On Tue, May 21, 2024, 10:07 rmasad ***@***.***> wrote:
What kernel version do you have?
Any extra step do you do that fix the camara?
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAETWKCECSZSJAWLSTDKAUTZDN5MXAVCNFSM6AAAAABH2YM5WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGA3TCNBWGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
What's more strange is that I go back to kernel 6.5.0-35-generic (where it worked before) and it doesn't work anymore. |
I was silly enough to upgrade kernel to 6.8 and the driver the latest and my camera doesn't work anymore:
Before I had kernel 6.6 for 3 months and it worked fine. Unfortunately rolling back to kernel 6.6 and even all 4 ipu6 repos to ~February did help. |
Ubuntu 24.04 with kernel and packages from the 6.8.0-32 series (currently in noble-proposed) do work out of the box. To get the noble-proposed packages, one need to select Software & Updates->Developer Options->pre-release updates, apt update, and apt install the 6.8.0-32 linux image, module, and dkms packages. These image and module packages contain the upstream kernel patches and intel-ipu6 drivers. For example, it just works with zoom. It is not perfect, however. Sometimes the video hangs and needs to be reset. Sometimes these hangs prevent the system from suspending which requires a reboot. But it's usable. Hoping that this will soon be reliable? I should say: I have a Carbon X11 Gen 11. For some reason, this hardware is particularly finicky by combining experiences of others. |
Hmmm. No updates available after toggling pre-release updates then apt update. |
I think you need to
Hopefully, I didn't miss one (this is by memory). I also seemed to need:
Not 100% sure that this is right. But it worked. |
What if you are using mainline 6.9.1 ?
…On Wed, May 22, 2024 at 7:14 PM Martin Weinberg ***@***.***> wrote:
I think you need to apt install the packages directly. Not an apt upgrade.
So stuff like:
apt install linux-generic-hwe-24.04/noble-proposed linux-headers-generic-hwe-24.04/noble-proposed
apt install linux-modules-ipu6-6.8.0-32-generic/noble-proposed
Hopefully, I didn't miss one (this is by memory). I also seemed to need:
apt reinstall intel-ipu6-dkms
Not 100% sure that this is right. But it worked.
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAETWKBOVHXSBPBDMZZZPITZDVGILAVCNFSM6AAAAABH2YM5WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGA3DMMBQGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@The9Cat I tried what you proposed and nothing. What catches my attention is that when doing v4l2-ctl --list-devices I get only one device (and not the 3 that appear in the blog post I sent before): $ v4l2-ctl --list-devices
Intel MIPI Camera (platform:v4l2loopback-000):
/dev/video0 |
Thanks. But this caused my trackpad to not work and a few issues with the screen itself. Rolled back to 6.8.0-31. |
That's strange. My understanding is that this noble-proposed kernel set applies the patches from this site (https://github.com/intel/ipu6-drivers) to the standard Ubuntu 6.8.0 kernel source. So I'm surprised that this breaks things for @heredia21 . Sorry about that. One could try one of the methods in the README for the 6.9.1 mainline. I'm prepared to wait for maintainer support, myself. |
@rmasad I'm mystified. You rebooted to the new kernel and nothing? When you say 'nothing', what did you try? For example, Seems to me that your system must have configured the camera at some level or you would not see anything in
At that point, I can use |
@The9Cat the output of
|
That's strange. I thought that issue was fixed in the latest source but maybe not. I had to copy |
It works on kernel 6.5.0-35 but not on 6.8.0-32. I leave the logs of
|
Same here, noble 24.04 (with kernel 6.8.0.31) and no camera :-( However I don't have the same logs [ 2.978150] kernel: intel_ipu6: loading out-of-tree module taints kernel. The package was install via apt reinstall intel-ipu6-dkm |
@yger I believe that you need the following steps:
Also, you may not need all of these packages, depending on your use case. the image and ipu6 modules packages may be sufficient. Also, I needed the Also, just so everyone knows: I'm just a user trying to provide info to the developers to get this thing fixed. So I'm sharing my experience to help anyone who's willing to try but I'm not in a position to really fix this myself. |
@rmasad I've also seen stuff like this. You might try rebooting again, just to test. I've found that most of the time it boots correctly but not every time. Some sort of hardware timing issue? Not sure. I'm currently finding it to be mostly reliable but not 100%. |
Thanks a lot for the help, really appreciated. Sadly however, I followed all your suggestion and the problem remains. I now have kernel 6.8.0.35, but sill the following [ 2.984544] kernel: intel_ipu6: loading out-of-tree module taints kernel. I'm using a Dell Precision 5470, and loooking forward for a possible fix! |
Hm. I don't have a good answer for this. A few things/questions come to mind:
|
did you manage to solve this , I have the same issue , Ubuntu 24.04, kernel 6.9 laptop xps 16, I tried many methods but no lucks here is the output of my sudo grep ipu6 /var/log/dmesg: [ 4.842580] kernel: intel_ipu6: loading out-of-tree module taints kernel. |
@hao-yao I believe that the Ubuntu package maintainer has integrated your kernel patches, the in-tree ivsc driver, and ipu6 drivers into the 6.8.0-35 series now in noble-proposed. Is this any way for you to check if this is enough? It does seem to work, although it occasionally times out. Restarting the v4l2-relayd often gets it working, but not always. |
@MarjanHJ As in my e-mails above, you might try the 6.8.0-35 series now in noble-proposed. It does work for me (most of the time) but as you can see by reading this thread, it does not work for everyone. Also note: there is some confusion about the fw location. You might try, as I suggested here, copying the fw file that you need for your sensor, in this case |
@The9Cat thanks for your response, I have already updated my kernel to 6.9 because my audio was not working with kernel 6.8 as well , fortunately audio is working now with 6.9 mainline but camera is still not working, I have also copied the firmware file and didn't work, I hope someone can suggest a way to solve this. thanks |
6.8.0-35 still not working |
Also struggling with getting ipu6 camera working on noble. My HW is Dell Precision 5680. Related to the claim by @The9Cat that it should "work out of the box", I fail to understand how exactly? I thought these cameras requires the gstreamer1.0-icamera package to work, and I cannot find any package containing this in standard noble repositories? What packages should I need, from where? |
I also still haven't managed to fix this issue, my laptop is xps 16 , ubuntu 24.04, I updated the kernel to 6.9 and that fixed my audio but tried many things including copying firmware etc but camera is still not working. |
@AntiNSA Both the |
When I have time this weekend, I plan to see if the generic kernel will work for me. |
On |
Following up on the comment from @cft3ck from last week, I've also found that if I add the I still find that the camera occasionally hangs, and I need to execute But this is progress! |
After a few months of trying, I've finally made my IPU6 camera work. Tried lots of distributions (arch, fedora, ubuntu) and all possible kernel versions. Here is my working combination: Laptop: Samsung Galaxy Book 3 Pro (960XFG) installation steps:
The most important string here is
BTW: added a PR to fix the problem described in 5th step - intel/ipu6-camera-hal#121 |
@semyon-gordeev : thanks for the tips i managed to make it work too, i followed what you did except for the 5th part. Laptop: DELL Latitude 7440 |
Just followed the steps by @semyon-gordeev , now I get privacy shutter detected, even though it's not. I've tried with the lights on and off. In my additional drivers I have both the |
Anybody have this working on a Dell XPS 9320 Plus with kernel 6.8.0-40-generic? I tried following @semyon-gordeev 's instructions but the dkms status for the driver says "added" and I get a build error along the way. |
@jmoonware yes, same model, but I'm using ➜ ~ dkms status
ipu6-drivers/0.0.0, 6.8.0-1009-oem, x86_64: installed
ipu6-drivers/0.0.0, 6.8.0-1010-oem, x86_64: built
ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2~24.04.1, 6.8.0-1010-oem, x86_64: installed |
Sob |
@luigimassa This probably results from Ubuntu driver module providing a driver and dkms installed source. it is not necessarily a problem if you have the latest source from the ipu6-drivers master branch. |
Thank you |
I forgot to mention I am still on the 22.04 jammy release - probably my issue. However, I was able to solve my problem - I bought a Logitech C920 USB camera. Works like a charm! |
I am sorry but I am getting a bit discouraged with Canonical and their QA for the LTS release. All sub-versions of Ubuntu, running 22.04.4, and the 6.8 kernel seem to have problems. I have been looking at the Ubuntu forum and there are all sorts of problem being reported with the 6.8 kernel. I now have three laptops that have serious problems with this kernel: Dell XPS 15 Series 7530 (my wife’s laptop) will not boot with this kernel – screen flicker with the encrypted /home partition. Reveted to 6.5 kernel. |
I created a new Ubuntu installation on a different partition on my drive. I was unable to make the video camera work using the generic kernel. I installed the oem kernel and the camera works. This leads me to believe there are still things in the oem kernel that have yet to be ported to the generic kernel. This thread has got quite long, so I figured posting a consolidated process and current status may be helpful for others. Notes: System: Dell XPS 13 9340 (2024 model)
Via the "Software & Updates" GUI Application > Additional Drivers Tab select: |
@bryan977 I confirm the same on Dell XPS 16 9640. |
It works on mine Is it working on 24.04 ? |
Not working on mine. Currently running |
Thanks @bryan977 your commands fixed the webcam on my Dell Precision 5690 on Ubuntu 24.04:
@c3phas without using the oem kernel and ipu6 oem kernel modules it was not working on my machine. Actually I used these commands to make it work:
So I used the 24.04a instead of 24.04 packages. I did not try 24.04, but should work too. |
On a Dell Latitude 9420, the driver seems to be installed but I am getting a black screen and nothings recording with cheese. I tried:
Not sure if the information below helps:
|
I haven't had any success with the different approaches (with the generic kernel and oem-solutions-group ipu6 driver, as with OEM kernel and HAL library) on an Ubuntu 24.04 system and a Dell Latitude 7450. The sensor is referenced as OVTI02E1:00. If anyone finds a solution ... :) |
@luigimassa and @PhilipYip1988: I had to select libcamhal0 in "additional drivers" and not intel-ipu6-dkms. I did not install the package intel-ipu6-dkms. Cheese does not work for me either. But the webcam works in chrome, chromium and firefox. You can test it for example here: https://mozilla.github.io/webrtc-landing/gum_test.html @dascore: It seems that I have the same sensor on my Dell Precision 5690 and it's working with my approach (see above).
|
@ctausendfreund: thanks for the feedback. With your approach, I have this first:
If I fix the firmware location, as copy ipu6epmtl_fw.bin to intel folder, I have this:
But it still not working. I stll have a lot of: |
I love that this Lord of The Flies environment seems to be the one and only place on the web that contains step by step instructions for getting these webcams to work and that Intel has completely ignored this ticket and refused to comment or get involved at all. Thank you to those that have stepped in to share the results of your hours of trial and error. Because clearly Intel can't be bothered. |
Previously, I managed to get the camera working with this guide on Ubuntu 23.04: https://dshedd.com/2023/07/18/fixing-lenovos-mipi-camera-problems-on-ubuntu-22-04/
Today, I updated to Ubuntu 24.04 (kernel 6.8.0-31-generic) and my camera stopped working. I repeated the steps and still have problems.
The text was updated successfully, but these errors were encountered: