Unsolved
5 Posts
0
3031
XPS 13 9315, webcam not working on Linux Ubuntu 22.04
XPS 13 9315
Greetings,
My Dell XPS 9315 laptop's webcam is not working on Ubuntu. The operating system is based on Ubuntu 22.04 Jammy which I retreived from running "lsb_release -a".
syedm@pop-os:~$ lsb_release -a
LSB Version: core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Pop
Description: Pop!_OS 22.04 LTS
Release: 22.04
Codename: jammy
I have attempted to add the recommeded solution ppas and whichever steps I found on Dell forums (this one is for XPS 9320) I have tried added the package for oem-somerville-psyduck-meta (for Dell XPS 9315 i.e. my laptop according to the post) but it does not exist.
$ 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
and other solutions on sites for this issue
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
For now, nothing has seemed to work when I use the command
sudo cheese -d "Intel MIPI Camera"
The webcam program launches but is blank and the terminal shows the following messages,
syedm@pop-os:~$ sudo cheese -d "Intel MIPI Camera"
../src/intel/isl/isl.c:2235: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
(cheese:27269): GLib-GObject-CRITICAL **: 10:25:17.813: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed
(cheese:27269): GLib-GObject-CRITICAL **: 10:25:17.887: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed
^C
Please let me know how I can fix this and get my webcam working.
Other useful outputs that might help,
lsusb,
syedm@pop-os:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 8086:0b63 Intel Corp. USB Bridge
Bus 002 Device 002: ID 27c6:63ac Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 002 Device 004: ID 8087:0033 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
My xinput list,
syedm@pop-os:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ LXT2021:00 29BD:3201 id=9 [slave pointer (2)]
⎜ ↳ VEN_04F3:00 04F3:3242 Mouse id=10 [slave pointer (2)]
⎜ ↳ VEN_04F3:00 04F3:3242 Touchpad id=11 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=17 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Intel HID events id=12 [slave keyboard (3)]
↳ Intel HID 5 button array id=13 [slave keyboard (3)]
↳ Dell Privacy Driver id=14 [slave keyboard (3)]
↳ Dell WMI hotkeys id=15 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
If my webcam is the id=9 device then it's list-props is as follows (let me know if it's any different,
syedm@pop-os:~$ xinput list-props 9
Device 'LXT2021:00 29BD:3201':
Device Enabled (189): 1
Coordinate Transformation Matrix (191): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix (327): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix Default (328): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event6"
Device Product ID (314): 10685, 12801
v4l2-ctl list output,
syedm@pop-os:~$ v4l2-ctl --list-devices
Intel MIPI Camera (platform:v4l2loopback-000):
/dev/video0
lsof this device is,
syedm@pop-os:~$ sudo lsof /dev/video0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
v4l2-rela 1090 root mem CHR 81,0 586 /dev/video0
v4l2-rela 1090 root 6u CHR 81,0 0t0 586 /dev/video0
v4l2-rela 1090 root 7u CHR 81,0 0t0 586 /dev/video0
and,
syedm@pop-os:~$ ls -ltrh /dev/video0
crw-rw----+ 1 root video 81, 0 Jul 16 09:08 /dev/video0
Regards
Syed Mustafa Ahmed
syedmustafaahmad
5 Posts
1
July 16th, 2023 00:00
Greetings,
I have managed to find a fix myself. I compiled the drivers for the webcam using the github repositories and with the help of this answer. Thankyou to that person.
The steps I followed are like this,
1. I followed all the stuff which I mentioned in the original post (which does not work) but it is the setup and set of packages I had.
2. Compile from the dell github repositories, [1, 2]
To launch webcam properly, (through webcam software like cheese), run it through terminal like,
where "Intel MIPI Camera" is my webcam on /dev/video0
Hope this solution works for you as well. Cheers!
Regards,
Syed Mustafa Ahmed