I manage to fix the camera twice for both 22.04 and 24.04. I don't have a clear answer but I can walk you through my findings and experiences. Always check the date of a posted solution, this issue has threads since 2020 with solutions that don't work anymore!
1 - Apparent reasons and routes
You probably know by now, this is all to do with Dell/intel driver vs. specific system/kernel upgrades.
There are three elements/route that appear repeatedly:
- Ubuntu "Additional Drivers" (search among your apps): any attempt (maybe more than one) to install drivers need to toggled on in this menu. Remember to reboot afterwards.
- Installing driver: You will find a handful of "solution" that require installing driver and packages. Mind there is always a "catch" regarding versions.
- ipu6-drivers / dkms: You will come across options to manually patch and install the proper intel driver.
2 - Solutions
2.1 - Ubuntu jammy 22.04
I've tried so many different solution and packages, in the end only the dkms building is what worked for me. This thread has a very short step-by-step, which I am pasting here:
step 1 - install intel-ipu6 package
sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
sudo apt update
sudo apt install libcamhal-ipu6ep0
step 2 - install dkms
sudo apt install dkms
step 3 - install the driver with the correct patch
IMPORTANT: this solution is based on the kernel version <= 6.6. You can check your kernel version using neofetch or running uname -r on the terminal. For a different kernel version, check the repo to apply the right patch (mind their explanation is not great for beginners, check more about it on the end of this post in section 2.2 step 1).
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
step 4 - Additional drivers
Search for "Additional drivers" on your system. If there are any options to be enabled, make sure they are and do try changing and rebooting. As I said before, I only understand 50% of the reasoning behind it all.
My system:
.-/+oossssoo+/-. xxx@xxx-XPS-9315
`:+ssssssssssssssssss+:` --------------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.5 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: XPS 9315
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.8.0-51-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 6 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2375 (dpkg), 14 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 2560x1440
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 42.9
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru-prussiangreen [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru-prussiangreen [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: 12th Gen Intel i7-1250U (12) @
.ossssssssssssssssssdMMMNysssso. GPU: Intel Device 46aa
-+sssssssssssssssssyyyssss+- Memory: 3924MiB / 15615MiB
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.
2.2 - Ubuntu numbat 24.04
After upgrading from 22.04 to 24.04, my camera stopped working again.
IMPORTANT: I tried removing the dkms - ipu6-drivers, applying the correct patches and reinstalling, however that did not work straight away. Because of that, I can not guarantee whether this step is part of the solution or not.
step 1 - install dkms ipu6-drivers
The driver repo has poorly explanation for beginners. I will try my best here:
Check your kernel version
uname -r
Clone the repo:
git clone https://github.com/intel/ipu6-drivers.git
cd ipu6-drivers
Apply the right patches using the git command. You can find the required patch based on your kernel version on the [link] above(https://github.com/intel/ipu6-drivers?tab=readme-ov-file#1-build-with-kernel-source-tree).
git apply --stat <path_to_patch>
Install the driver with dkms
sudo dkms add .
sudo dkms autoinstall ipu6-drivers/0.0.0
step 2 - Install basic packages
Then I installed basic driver solutions with apt based on this proposed solution:
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
step 3 - check the "Additional Drivers"
Then, make sure to select the right option on the "Additional Drivers". To me, it worked selecting: Using Dynamic loading plugin for IPU6 camera (ipu6ep) from libcamhal-ipu6ep (open source).
I confess this step was a bit of trial and error with reboots between each change.
My system post update:
.-/+oossssoo+/-. xxx@xxx-XPS-9315
`:+ssssssssssssssssss+:` --------------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 24.04.1 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: XPS 9315
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.8.0-51-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 1 hour, 4 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2352 (dpkg), 16 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.2.21
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 2560x1440
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 46.0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru-prussiangreen [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru-prussiangreen [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: 12th Gen Intel i7-1250U (12) @
.ossssssssssssssssssdMMMNysssso. GPU: Intel Alder Lake-UP4 GT2 [Iris
-+sssssssssssssssssyyyssss+- Memory: 4428MiB / 15615MiB
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.