15

I have got a brand new Dell XPS Plus 9320. It came with Windows 11 but I installed Linux on it (Ubuntu 22.04).

So far, I have made everything work except the webcam.

The webcam is not detected at all.

I have double-checked it is enabled in the UEFI menu.

I have tried disabling it, rebooting and enabling it again.

lsusb does not show anything camera. There is no /dev/videoX device in the system.

I have asked Dell's support and they told me to install Windows to diagnose the problem (which I will not do).

Any suggestions on how to research further?

Thanks.

EDIT: here is the output of lsusb

→ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 27c6:63bc Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 002: ID 8086:0b63 Intel Corp. USB Bridge
Bus 003 Device 004: ID 8087:0033 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

10
  • Pop!_OS is off-topic here. Commented Jun 19, 2022 at 18:15
  • ok, but I have the same problem on 22.04. I am going to rephrase the description then.
    – jfc
    Commented Jun 19, 2022 at 20:58
  • 2
    I have the same problem on a model shipped with Ubuntu 20.04 and immediately upgraded to 22.04. Everything seemed to work fine on 20.04 but now I cannot detect webcam, fingerprint reader and some other device I'm not sure what it was but I noticed it disappeared (looking in the "additional drivers" section of the software and updates settings.
    – Earendil
    Commented Jun 22, 2022 at 13:00
  • @Earendil, I managed to get the fingerprint working with: apt install fprintd libpam-fprintd pam-auth-update
    – jfc
    Commented Jun 23, 2022 at 10:28
  • The camera is also not working in fedora 36 by default. The fingerprint reader does work without any configuration though. Commented Jun 23, 2022 at 20:41

14 Answers 14

11

Check out this bug report: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1955383

I got my webcam working, on a Dell Precision 5470 but the bug is for xps 9320, by first adding this ppa:

sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6

Then install this package

sudo apt install libcamhal-ipu6ep0

After a reboot the webcam should work in a browser. Note that it won't work in cheese: https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1978757

5
  • 2
    I have managed to get the camera appearing by installing libcamhal-ipu6ep0. It appears in v4l2-ctl --list-devices and in Google Meet. But Google Meet never shows the image. If I select "Intel MIPI camera" it says "Camera is starting" for a while and then it just shows a black square. Thank you so much! it seems a step in the right direction even if it is not working for me yet.
    – jfc
    Commented Jul 5, 2022 at 11:17
  • btw, I am running Pop!_OS 22.04 LTS and kernel 5.17.15-76051715-generic.
    – jfc
    Commented Jul 5, 2022 at 11:24
  • thanks! i fixed my Dell Precision 5470 too with this. cheese doesn't work but on MS teams it does
    – cleison
    Commented Dec 2, 2022 at 12:20
  • 1
    To get Cheese working, after installing the driver you can run the Cheese by the following command in terminal: sudo cheese -d "Intel MIPI Camera" Source: dell.com/support/kbdoc/en-nz/000202122/… Commented Mar 20, 2023 at 20:31
  • Thanks: this solved my problem on a Dell XPS 13 with Ubuntu 24
    – CuriousGuy
    Commented Aug 15 at 10:02
4

On my freshly installed Ubuntu 22.04 on my Dell XPS Plus 9320 the trick was to simply select Using HAL library for MIPI camera through Intel IPU6 from libcamhal-ipu6epO (open source) in the Additional Drivers tab in "Software & Updates", applying the changes and then rebooting the computer.

enter image description here

3

Full solution that finally worked for me, from here:

$ sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
$ sudo apt install linux-modules-ipu6-generic-hwe-22.04 linux-modules-ivsc-generic-hwe-22.04
$ sudo apt install libcamhal-ipu6ep0
$ sudo reboot
5
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Apr 28, 2023 at 10:58
  • 2
    Tried a whole bunch of fixes and this one worked, the 2nd line of extra modules being what I needed. XPS 9315 with integrated webcam.
    – Jasper
    Commented May 9, 2023 at 17:47
  • This worked. Thank you!
    – Siksek
    Commented Dec 26, 2023 at 10:04
  • This worked flawlessly with Ubuntu 22.04.3 on my Dell Precision 5680. Commented Feb 14 at 13:24
  • somehow linux-modules-ipu6-generic-hwe-22.04 motivated my system to do a kernel upgrade, which failed (cryptsetup was unable to detect disk for decryption and boot). So check upfront with uname -r if your current kernel version is at least as great as listed by linux-modules-ipu6-KERNEL-VERSION (dependency of the package in the answer)
    – n-0
    Commented Mar 8 at 17:14
1

I just got my hands on the laptop, and with Dell being a pain in the butt about issuing the ISO to everyone, as long as you have Ubuntu 22.04 running, you can download the source from Github, compile and run. If you follow the rabbit hole, there are some deb packages somewhere, but you can always copy the firmware blobs, and make the dkms modules and it should work. Right now I am trying to get everything to compile for Fedora.

https://github.com/intel/ipu6-drivers

5
  • Did you ever sort this out on Fedora? I just got this laptop, and hoped to avoid duplicating the effort of others.
    – netllama
    Commented Jul 23, 2022 at 20:45
  • With newer kernels, it is almost impossible to get anything to compile right, even with full source code. It looks for VSC code in older kernels, which is no longer present since it uses VIDEODEV instead of the V4Loopback stuff. Initially, I could get it to turn on, but it was like 4 FPS, I ran a DNF update, got a newer kernel, and it refused to compile. I had found an older Ubuntu 20.04 ISO for the machine, and it works, but it was way too outdated to be worth wild for me, and upgrading to 22.04 borks everything again. Commented Jul 27, 2022 at 16:23
  • 1
    There are a few detailed Arch Linux forum threads which have progressed far past this point, so I suspect its definitely possible. But that doesn't help me with Fedora, as their build failures are not the same as mine, despite using relatively similar kernel versions.
    – netllama
    Commented Jul 27, 2022 at 20:35
  • Do you have any links? If I can get the one module to build out, I can either create a DKMS for it or hopefully build out an RPM that will work. The one I saw so far was someone in the same position that I had left it, somewhat working using V4loopback and like 4 FPS, and it wouldn't show up in Teams or Zoom due to the /dev/video interface not being used. Commented Jul 29, 2022 at 13:09
  • this is the best thread that I've found bbs.archlinux.org/viewtopic.php?id=277462
    – netllama
    Commented Jul 29, 2022 at 22:41
1

toomas's answer above initially worked for me on Ubuntu 20.04:

sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt install libcamhal-ipu6ep0

But stopped working when I upgraded to 22.04. After trying to use my phone with obs virtual camera + obs droid cam, I encountered this (READ THE SECURE BOOT PROMPTS CAREFULLY IF YOU TRY THIS):

sudo apt-get remove --auto-remove v4l2loopback-dkms
sudo apt-get install v4l2loopback-dkms

original post about reinstalling v4loopback

So that didn't get my obs virtual cam to work, but my intel mipi camera is now working.

1
  • Nice one! I just made it work after reinstalling v4l2loopback-dkms on my Pop-OS 22.04 (using kernel 6.0). Thank you a lot! I'll try the same on my arch machine Commented Jan 2, 2023 at 18:01
1

@toomas answer works for me, which in short involves following the instructions here https://wiki.ubuntu.com/Dell#Known_generic_issues

$ sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
$ sudo apt install libcamhal-ipu6ep0
$ sudo reboot

This did however create new issues. After rebooting I had very bad screen flicker. I found this could be fixed by adding i915.enable_psr=0 nomodeset to boot parameters in the grub configuration as described here Screen flicker after fresh install of Ubuntu 22.04

1

I fixed the same problem using @toomas' answer. I add that in Webcamoid I had to select "Intel MIPI Camera" as a source. After this it worked and it also started working in Cheese.

1
  • If you are going to use info from another answer great you gave credit but what if later that other answer is gone? Better to have included the other answer in this answer.
    – David DE
    Commented Mar 27, 2023 at 10:47
1

after several tries, i've finally discovered what result in a working webcam:

  1. with secure boot enabled, formatted with 22.04.2 (this is not needed, just registering what led me to a working webcam). 22.04.01 was considered insecure by secure boot functionality (i only manage to make my webcam work when using secure boot enabled)
  2. when formatting, turn on third party drivers, add a password for MOK and use it
  3. follow this
  4. switch to 'do not use the device' (on both options) and back for 'using ... for ... (open source) (apply changes both times and restart when needed) List item
  5. after a restart you should be able to sudo cheese -d "Intel MIPI Camera". now microsoft teams and discord should also work
  6. for firefox, do this
1
  • 1
    After several tries, this solution was the only one that worked for me. I had to choose "Do not use the device" for both options in the list: Intel IPU6 and oem-somerville. After that I had to restart Enable first the oem-sommerville -> restarted Enable the Intel MIPI -> Restarted Ubuntu Ubuntu 22.04.2 LTS Kernel: 5.19.0-38-generic Commented Apr 8, 2023 at 4:12
1

to solve this issue we also had to use the same kernel that is installed in the Ubuntu 22.04 provided by Dell in the XPS Plus 9320 13th Gen i7. The current Kernel is 6.0.0-1020-oem.

To install this kernel follow these steps:

sudo apt-add-repository deb http://oem.archive.canonical.com/ jammy jiayi
sudo apt update
sudo apt install linux-oem-22.04b
sudo sudo apt full-upgrade

After the kernel is installed, reboot the system. You might have to change Grub to select this Kernel.

Also, make sure that the oem-somerville-tentacool-meta and libcamhal-ipu6ep0 are installed and enabled in Additional Drivers.

After that, the camera is working in browser apps like Google meet.

I hope this helps you.

1

Update (June 2024): Intel camera drivers will be on kernel 6.10 - so hopefully this struggle will be finally over.


I highly recommend reading this documentation https://wiki.ubuntu.com/Dell#Known_generic_issues (search for IPU6).

These drivers are out-of-tree, more on this here. At the time of this writing, the only certified platform is 20.04 (the packages with Pokemon names, like oem-somerville-mewtwo-meta etc).

For 22.04, the only option the article suggests is to install from the development repository ppa:oem-solutions-engineers/oem-projects-meta. Be aware any updates on your OS can make the camera stop working again if you go with this approach - it happened to me a few times.

0

I have a Dell xps plus with ubuntu 22.04, as Schmoove did I selected Using HAL library for MIPI camera through Intel IPU6 from libcamhal-ipu6epO and the webcam works with meet, teams but not with cheese. So I think the problem is in some settings of cheese.

1
  • not an answer exactly
    – Cagri
    Commented Sep 15, 2022 at 18:09
0

In my case (new Dell XPS Plus 9320 with Lubuntu 22.04) Additional Drivers showed the possibility of using "Using HAL library for MIPI camera through Intel IPU6 from libcamhal-ipu6epO" but I could not select it. I tried manually through the sudo ubuntu-drivers list / sudo ubuntu-drivers install procedure but still did not work. At the end, I had simply to install the corresponding .deb package

0

I had the same issue on XPS 9315 after firmware upgrade on Ubuntu 22.04.

I tried @Tony Liu answer without success but then I solved the issue thank to this thread, proposing the following command lines:

sudo add-apt-repository ppa:oem-solutions-engineers/oem-projects-meta
sudo apt install oem-somerville-tentacool-meta
sudo apt update
sudo apt full-upgrade
sudo systemctl poweroff # this will shut down the computer
0

I follow several steps described ahead, but my webcam only works after some Intel drivers installation.

The steps are: 2.1.2 and 2.1.3, available at: [https://dgpu-docs.intel.com/driver/client/overview.html][1]

Regards,

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. Commented Oct 20, 2023 at 6:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .