I have had a Dell XPS 13 (9315) for a month with Linux pre-installed. After testing it upon delivery, I installed the latest version of Ubuntu (LTS 22.04.1). Since then, the computer's built-in webcam is not recognised by the system. I had tested it before the upgrade and it worked. How can I reconfigure it? I have already contacted DELL support, no physical problem has been detected Thank you in advance.
5 Answers
Cause
This typically happens when the laptop has been installed with Ubuntu 22.04 by the owner. The installation was not carried out using the Dell Ubuntu Recovery Image.
Ubuntu stock install images from non-Dell sources do not contain all the Dell required packages. These packages allow the webcam to function and be detected.
Resolution
Ubuntu tracks and provides instructions for fixing issues from installing the Generic image on the following help site.
The following instructions take you through restoring the camera's full functionality.
If stock Ubuntu 22.04 was installed, the Intel kernel driver is out-of-tree. You must install the stack manually:
Open a terminal window:
The easiest way to open a terminal window is to use the keyboard shortcut: CTRL+ALT+T.
You can also open a terminal window from the search bar on the user interfaces (UI) desktop. Type Terminal into the bar and click on the results that appear.
Type each of the following terminal commands into the terminal window and press Enter:
sudo add-apt-repository ppa:oem-solutions-engineers/oem-projects-meta
For Dell XPS13 Model 9315:
sudo apt install oem-somerville-psyduck-meta
For Dell XPS13 Model 9320:
sudo apt install oem-somerville-tentacool-meta
Then:
sudo apt update
sudo apt full-upgrade
Note: You may see a secondary issue in Ubuntu 22.04 when opening the Cheese application. An error stating 'There was an error playing video from the webcam' appears. The same issue is not seen when opening Cheese using the following terminal command:
sudo cheese -d "Intel MIPI Camera"
Source: Dell Support Knowledgebase
Hope this helps
- 37,461
Instructions above are not correct, those (psysduck and tentacool) are for Ubuntu 20.04. If you are using Ubuntu 22.04 these are the correct steps:
Dell Latitude 9420
sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt install libcamhal0
sudo reboot
Dell XPS 13 9315
sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt install libcamhal-ipu6ep0
sudo reboot
Dell Precision 5470
sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt install libcamhal-ipu6ep0
sudo reboot
Dell Latitude 9430
sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt install libcamhal-ipu6ep0
sudo reboot
These instructions from https://wiki.ubuntu.com/Dell helped me on Ubuntu 22.04 + Dell XPS 13 9315:
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
The page contains similar instructions for other Dell laptops.
Tests
I tested with Google Meet and https://webcamtests.com.
- Chromium: OK
- Firefox: Not OK: the browser sees the camera but shows a black frame.
Warning
The wiki page says:
ppa:oem-solutions-group/intel-ipu6 is a development PPA
So support might improve or break in the future. The package versions installed at the time I tested are:
| package | version |
|---|---|
| linux-modules-ipu6-5.19.0-45-generic | 5.19.0-45.46~22.04.1 |
| linux-modules-ivsc-5.19.0-45-generic | 5.19.0-45.46~22.04.1 |
| linux-modules-ipu6-generic-hwe-22.04 | 5.19.0.45.46~22.04.20 |
| linux-modules-ivsc-generic-hwe-22.04 | 5.19.0.45.46~22.04.20 |
| libcamhal-ipu6ep0 | 0~git202302081109.884b81a~ubuntu22.04.2 |
- 245
Hi for Dell xps 9315 using Ubuntu 22.04.2 LTS x86_64 it was not enough using intel-ipu6 package . I had to install additionally the driver for the ipu6 camera manually. So this way works for me :
To start you have to have intel-ipu6 package
sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt update
sudo apt install libcamhal-ipu6ep0
Then you have to build the driver, I use dkms but there are more possibilities: https://github.com/intel/ipu6-drivers
install driver using dkms
first install dkms then the driver
- install dkms
sudo apt install dkms
2. install ipu6 to load the driver `https://github.com/intel/ipu6-drivers#3-build-with-dkms`
``` bash
git clone https://github.com/intel/ipu6-drivers.git
cd ipu6-drivers
git clone https://github.com/intel/ivsc-driver.git
cp -r ivsc-driver/backport-include ivsc-driver/drivers ivsc-driver/include .
rm -rf ivsc-driver
sudo dkms add .
sudo dkms autoinstall ipu6-drivers/0.0.0
reboot
After the reboot the camera was working in google chrome meet, also the camera led flicker for testing when starting the pc.
- 5
- 1
- 21
Weirdly I have this problem too. Cheese wouldn't work, nor Google Meet. Then I tried Zoom, and it worked! And then Google Meet worked too. Cheese still doesn't work though.
- 153