17

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

jfc
  • 271

14 Answers14

12

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

toomas
  • 121
8

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

Schmoove
  • 131
4

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
Archr
  • 141
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

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.

Tony Liu
  • 11
  • 1
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

@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

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.

cleison
  • 111
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.

Ozymandi4s
  • 51
  • 3
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
LucG
  • 101
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,