No Camera Found laptop (Microsoft Surface Book 2)

Asked by G Noel

I am new to Linux & I cannot seem to get either of the built-in cameras to be recognized. What am I missing to be able to share video &/or my screen in a Google Meet, Zoom or Teams meeting?

Here are the details about my laptop:
# System Details Report
---

## Report details
- **Date generated:** 2024-06-11 15:31:03

## Hardware Information:
- **Hardware Model:** Microsoft Corporation Surface Book 2
- **Memory:** 16.0 GiB
- **Processor:** Intel® Core™ i7-8650U × 8
- **Graphics:** Intel® UHD Graphics 620 (KBL GT2)
- **Graphics 1:** NVIDIA GeForce GTX 1060
- **Disk Capacity:** (null)

## Software Information:
- **Firmware Version:** 394.779.768
- **OS Name:** Ubuntu 24.04 LTS
- **OS Build:** (null)
- **OS Type:** 64-bit
- **GNOME Version:** 46
- **Windowing System:** X11
- **Kernel Version:** Linux 6.8.0-35-generic

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
G Noel (ginoel) said :
#1

Front & back cameras appear to be supported for Surface Book 2 but I'm still not sure what I need to do: https://github.com/linux-surface/linux-surface/wiki/Camera-Support

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

https://turlucode.com/how-to-install-ubuntu-18-04-on-surface-book-2/

Seems there is a custom kernel to make stuff work.

Revision history for this message
G Noel (ginoel) said :
#3

I tried everything starting from 'Install linux-image-surface kernel" to "Post installation" but the camera still isn't working. Please let me know if there is anything else I can try.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

For diagnostic purposes, what output do you receive for the commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo lsusb
sudo lspci
sudo dmesg | grep -i -E 'firm|cam|ipu|ov5|ov7|ov8|ov9'

(not sure whether it will help, though)

Revision history for this message
G Noel (ginoel) said :
#5

I've tried a bunch of solutions, so perhaps that's why I still can't get it to work. But here's the output from a copy/paste of the commands from above...

Linux gnoel-Surface-Book-2 6.9.3-surface-2 #2 SMP PREEMPT_DYNAMIC Mon Jun 10 23:37:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 045e:0942 Microsoft Corp. L1 USB2 Hub
Bus 001 Device 003: ID 045e:091e Microsoft Corp. XBOX ACC
Bus 001 Device 004: ID 045e:0944 Microsoft Corp. L2 USB2 Hub
Bus 001 Device 005: ID 045e:0922 Microsoft Corp. Surface Keyboard
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 007: ID 1286:204c Marvell Semiconductor, Inc. Bluetooth and Wireless LAN Composite
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 045e:0941 Microsoft Corp. L1 USB3 Gen1 Hub
Bus 002 Device 003: ID 045e:0943 Microsoft Corp. L2 USB3 Gen1 Hub
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:05.0 Multimedia controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit (rev 01)
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:14.3 Multimedia controller: Intel Corporation CSI-2 Host Controller (rev 01)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.4 Communication controller: Intel Corporation iTouch Controller (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless
02:00.0 3D controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
[ 0.000000] AMD AuthenticAMD
[ 0.210186] PCI: ECAM [mem 0xe0000000-0xefffffff] (base 0xe0000000) for domain 0000 [bus 00-ff]
[ 0.210195] PCI: not using ECAM ([mem 0xe0000000-0xefffffff] not reserved)
[ 0.282532] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.319480] PCI: ECAM [mem 0xe0000000-0xefffffff] (base 0xe0000000) for domain 0000 [bus 00-ff]
[ 0.324294] PCI: ECAM [mem 0xe0000000-0xefffffff] reserved as ACPI motherboard resource
[ 0.367598] ACPI: \_SB_.PCI0.CAMP: New power resource
[ 0.386138] pci 0000:00:05.0: DMAR: Passthrough IOMMU for integrated Intel IPU
[ 0.535064] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.535938] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.536782] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.537602] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.538444] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.539287] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.540097] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 0.541471] ACPI: thermal: [Firmware Bug]: No valid trip points!
[ 1.352255] surface_serial_hub serial0-0: SAM firmware version: 182.2304.139
[ 4.118573] systemd[1]: Mounting snap-firmware\x2dupdater-127.mount - Mount unit for firmware-updater, revision 127...
[ 4.652904] ov8865 i2c-INT347A:00: supply dvdd not found, using dummy regulator
[ 4.653005] ov8865 i2c-INT347A:00: supply dovdd not found, using dummy regulator
[ 4.653026] ov8865 i2c-INT347A:00: supply avdd not found, using dummy regulator
[ 4.657460] ipu3_imgu: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.677801] ipu3-imgu 0000:00:05.0: enabling device (0000 -> 0002)
[ 4.677952] ipu3-cio2 0000:00:14.3: Found supported sensor INT33BE:00
[ 4.678023] ipu3-imgu 0000:00:05.0: device 0x1919 (rev: 0x1)
[ 4.678048] ipu3-imgu 0000:00:05.0: physical base address 0x00000000c2000000, 4194304 bytes
[ 4.678813] ov8865 i2c-INT347A:00: supply dvdd not found, using dummy regulator
[ 4.679347] ov8865 i2c-INT347A:00: supply dovdd not found, using dummy regulator
[ 4.679487] ipu3-cio2 0000:00:14.3: Found supported sensor INT347A:00
[ 4.680060] ov8865 i2c-INT347A:00: supply avdd not found, using dummy regulator
[ 4.681659] ipu3-cio2 0000:00:14.3: Found supported sensor INT347E:00
[ 4.681929] ipu3-cio2 0000:00:14.3: Connected 3 cameras
[ 4.681950] ipu3-cio2 0000:00:14.3: enabling device (0000 -> 0002)
[ 4.681973] ov5693 i2c-INT33BE:00: supply avdd not found, using dummy regulator
[ 4.682030] ov5693 i2c-INT33BE:00: supply dovdd not found, using dummy regulator
[ 4.682040] ov5693 i2c-INT33BE:00: supply dvdd not found, using dummy regulator
[ 4.682150] ipu3-cio2 0000:00:14.3: device 0x9d32 (rev: 0x1)
[ 4.695909] ov7251 i2c-INT347E:00: supply vdddo not found, using dummy regulator
[ 4.704385] ov7251 i2c-INT347E:00: supply vddd not found, using dummy regulator
[ 4.705104] ov7251 i2c-INT347E:00: supply vdda not found, using dummy regulator
[ 4.712628] ov7251 i2c-INT347E:00: OV7251 revision 7 (1F) detected at address 0x60
[ 4.783410] ipu3-imgu 0000:00:05.0: loaded firmware version irci_irci_ecr-master_20161208_0213_20170112_1500, 17 binaries, 1212984 bytes
[ 4.804160] ov8865 i2c-INT347A:00: Instantiated dw9719 VCM
[ 5.316104] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 5.660457] audit: type=1400 audit(1718286728.551:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="cam" pid=897 comm="apparmor_parser"

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

The log files show two cameras (probably front and rear). What output do you now receive for the command

cam --list

Revision history for this message
G Noel (ginoel) said :
#7

Here is what I get from cam --list

cam: command not found

Revision history for this message
G Noel (ginoel) said :
#8
Revision history for this message
Manfred Hampl (m-hampl) said :
#9

cam is contained in the package libcamera-tools

Revision history for this message
G Noel (ginoel) said :
#10

Hmmm, not sure what that means I typed "libcamera-tools cam --list" & got this: libcamera-tools cam --list.

I just googled install libcamera-tools & found this: https://libcamera.org/getting-started.html
I copy/pasted the code at the top in terminal & got this:
Cloning into 'libcamera'...
remote: Enumerating objects: 39446, done.
remote: Counting objects: 100% (39446/39446), done.
remote: Compressing objects: 100% (12614/12614), done.
remote: Total 39446 (delta 30657), reused 34857 (delta 26657)
Receiving objects: 100% (39446/39446), 7.30 MiB | 6.59 MiB/s, done.
Resolving deltas: 100% (30657/30657), done.
meson: command not found
ninja: command not found

I've been trying different things & found this: https://github.com/linux-surface/linux-surface/wiki/Camera-Support but none of the commands work. I think I found the bin files but they are in a zst that I don't have permission to uncompress. All other commands return results that include "command not found", so I'm clearly doing something wrong.

This is a fresh install, I'm don't know why this is so messed up already.

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

You misunderstood "cam is contained in the package libcamera-tools"

You have to install the Ubuntu package libcamera-tools and this will provide the application "cam".

Either in a terminal execute the command

sudo apt install libcamera-tools

or search in the software center (or in synaptic, or other package management tools) for the package libcamera-tools and install it from there.

Revision history for this message
G Noel (ginoel) said :
#12

Hmmmm... when I tired "sudo apt install libcamera-tools", this is the result:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libcamera-tools

Revision history for this message
G Noel (ginoel) said :
#13

PS - I still get the same result after "sudo apt update"

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

What output do you receive for the command

sudo apt update

Revision history for this message
G Noel (ginoel) said :
#15

Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Hit:2 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu noble InRelease
Hit:3 https://pkg.surfacelinux.com/debian release InRelease
Get:4 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [90.9 kB]
Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [163 kB]
Get:6 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [42.8 kB]
Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [54.8 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [26.7 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [20.1 kB]
Fetched 524 kB in 3s (160 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

It just occurred to me - am I running into these repository issues because I originally installed Ubuntu from a USB?

Revision history for this message
G Noel (ginoel) said :
#16
Revision history for this message
Manfred Hampl (m-hampl) said :
#17

Your package management system is wrongly configured. You are missing all standard Ubuntu package repositories.

What is the output of the command

cat -n /etc/apt/sources.list

Revision history for this message
G Noel (ginoel) said :
#18

I get no result from that command. All I see is a fresh command line

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

What output do you receive for the command

ls -l /etc/apt/sources.list /etc/apt/sources.list.d

Revision history for this message
G Noel (ginoel) said :
#20

ls -l /etc/apt/sources.list /etc/apt/sources.list.d results....

-rw-r--r-- 1 root root 0 Jun 11 15:13 /etc/apt/sources.list

/etc/apt/sources.list.d:
total 28
-rw-r--r-- 1 root root 9438 Jun 12 21:57 graphics-drivers-ubuntu-ppa-noble.sources
-rw-r--r-- 1 root root 0 Jun 11 15:18 launchpad-ubuntu-ppa-noble.sources
-rw-r--r-- 1 root root 0 Jun 11 15:18 launchpad-ubuntu-ppa-noble.sources.save
-rw-r--r-- 1 root root 66 Jun 15 14:17 linux-surface.list
-rw-r--r-- 1 root root 0 Jun 11 15:18 ubuntu-desktop-ubuntu-ppa-noble.sources
-rw-r--r-- 1 root root 0 Jun 11 15:18 ubuntu-desktop-ubuntu-ppa-noble.sources.save
-rw-r--r-- 1 root root 0 Jun 11 15:18 ubuntu-esm-apps.sources
-rw-r--r-- 1 root root 0 Jun 11 15:18 ubuntu-esm-apps.sources.save
-rw-r--r-- 1 root root 0 Jun 11 15:18 ubuntu-esm-infra.sources
-rw-r--r-- 1 root root 0 Jun 11 15:18 ubuntu-esm-infra.sources.save
-rw-r--r-- 1 root root 181 Jun 12 21:57 ubuntu.sources
-rw-r--r-- 1 root root 2552 Apr 24 06:51 ubuntu.sources.curtin.orig
-rw-r--r-- 1 root root 181 Jun 11 15:18 ubuntu.sources.save

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

And what is the output of the command

cat -n /etc/apt/sources.list.d/ubuntu.sources

Revision history for this message
G Noel (ginoel) said :
#22

 cat -n /etc/apt/sources.list.d/ubuntu.sources results....
    1 Types: deb
     2 URIs: http://security.ubuntu.com/ubuntu/
     3 Suites: noble-security
     4 Components: main restricted universe multiverse
     5 Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

You should edit that file with your favorite text editor (e.g. with the command "sudo gedit /etc/apt/sources.list.d/ubuntu.sources" or "sudo nano ..." or "sudo vi ..." etc.)

Insert the following block of lines at the top of the file (and an empty line to separate this new block from the one already in the file):

Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

save the file and close the editor, and finally run the command

sudo apt update
sudo apt full-upgrade

I assume that there will be several updates waiting to be installed.

and finally run also

sudo apt install libcamera-tools

Revision history for this message
G Noel (ginoel) said :
#24

Reminder that I am new to Linux so I have no experience with a text editor. So I googled Ubuntu text editor & found this: https://askubuntu.com/questions/913609/what-are-the-default-text-editors-in-different-flavours-of-ubuntu

I tried to install the first 3 text editors on the list with the command sudo apt-get install [name] & they all end up with the same final result of... E: Unable to locate package [name]

Do I need to reinstall Linux or something? It seems I can't install anything new.

Revision history for this message
Manfred Hampl (m-hampl) said :
#25

Sorry, my fault, I did not realize that you currently you cannot install an additional text editor, so you have to use one that is already installed, and the default since Ubuntu 23.10 is gnome-text-editor.

Try the following command in a terminal window:

sudo gnome-text-editor /etc/apt/sources.list.d/ubuntu.sources

and insert the block of lines as described in comment #23

Revision history for this message
G Noel (ginoel) said :
#26

Confirming that I did everything...

sudo gnome-text-editor /etc/apt/sources.list.d/ubuntu.sources

In the new window, I replaced the text that was there with the following, saved & closed...
Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Then back in Terminal, I did the following commands...
sudo apt update
sudo apt full-upgrade
sudo apt install libcamera-tools

Then I rebooted & opened the Camera app that still says No Camera Found

Revision history for this message
Manfred Hampl (m-hampl) said :
#27

The change in the configuration file was meant to repair you package management system.

I did not tell that you should replace the contents, but I wrote that you should add that block of lines in addition to what was already there in the file!

In any case, as the next step please install all available updates and the libcamera-tools package, such that you can then try the "cam" command.

Open a terminal window and issue the commands

sudo apt update
sudp apt full-upgrade
sudo apt install libcamera-tools
cam --list

What output do you receive?

Revision history for this message
G Noel (ginoel) said :
#28

Oh shoot - do I need to go back to re-add what I replaced in gnome? If so, can you tell me what I need to paste back in there?

I ran all the commands (I fixed the typo in the full-upgrade command so it also worked) & here is the result from the last command:

[0:16:39.829238082] [4191] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[0:16:39.829282934] [4191] INFO Camera camera_manager.cpp:284 libcamera v0.2.0
Available cameras:

PS I do have IR camera turned off in Bios. But I don't think that's the issue because I turned it on & rebooted & go the same result. Besides, it seems the IR camera isn't supported anyway.

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

1. Yes, you should re-add the removed lies into the sources list configuration file.

Issue the same command as before

sudo gnome-text-editor /etc/apt/sources.list.d/ubuntu.sources

Replace the current contents with the following lines (without the quote indicators):
==Quote==

Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

==End of quote==

2. For the camera problem:

What output do you receive for the commands
groups
ls -la /dev/video*

Revision history for this message
G Noel (ginoel) said :
#30

THANKS! Replaced what was in gnome window with the 2 paragraphs above, saved & closed.

Result of groups command:
gnoel adm cdrom sudo dip plugdev users lpadmin

Result of ls -la /dev/video* command:
crw-rw----+ 1 root video 81, 0 Jun 21 08:30 /dev/video0
crw-rw----+ 1 root video 81, 1 Jun 21 08:30 /dev/video1
crw-rw----+ 1 root video 81, 10 Jun 21 08:30 /dev/video10
crw-rw----+ 1 root video 81, 11 Jun 21 08:30 /dev/video11
crw-rw----+ 1 root video 81, 12 Jun 21 08:30 /dev/video12
crw-rw----+ 1 root video 81, 13 Jun 21 08:30 /dev/video13
crw-rw----+ 1 root video 81, 2 Jun 21 08:30 /dev/video2
crw-rw----+ 1 root video 81, 3 Jun 21 08:30 /dev/video3
crw-rw----+ 1 root video 81, 4 Jun 21 08:30 /dev/video4
crw-rw----+ 1 root video 81, 5 Jun 21 08:30 /dev/video5
crw-rw----+ 1 root video 81, 6 Jun 21 08:30 /dev/video6
crw-rw----+ 1 root video 81, 7 Jun 21 08:30 /dev/video7
crw-rw----+ 1 root video 81, 8 Jun 21 08:30 /dev/video8
crw-rw----+ 1 root video 81, 9 Jun 21 08:30 /dev/video9

Revision history for this message
Manfred Hampl (m-hampl) said :
#31

You are missing the rights to use a camera, because you are not member of the "video" group

See https://github.com/linux-surface/linux-surface/wiki/Camera-Support#ensure-your-user-account-has-permissions

Revision history for this message
G Noel (ginoel) said :
#32

Hmmm... I can't get past the first step on "Ensure your user account has permissions"

When I copy/pasted the entire section in Terminal:
$ sudo usermod -aG video $USER
$ newgrp video

I get this result:
$: command not found
$: command not found

When I put this in Terminal: sudo usermod -aG video $USER
I get no result.

When I put this in Terminal: sudo usermod -aG video $gnoel@gnoel-Surface-Book-2
I get this result: usermod: user '@gnoel-Surface-Book-2' does not exist

Revision history for this message
Manfred Hampl (m-hampl) said :
#33

You have to type the commands without dollar sign (which most probably is already shown in your terminal window).

Revision history for this message
G Noel (ginoel) said :
#34

Here is what I get at the cam --list step...

[6:07:59.444313876] [10328] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[6:07:59.444356607] [10328] INFO Camera camera_manager.cpp:284 libcamera v0.2.0
Available cameras:

Revision history for this message
G Noel (ginoel) said :
#35

I followed the steps to "Build libcamera from the latest git source" from here: https://github.com/linux-surface/linux-surface/wiki/Camera-Support#build-libcamera-from-the-latest-git-source

Then I went back to follow the steps to "Ensure your user account has permissions" from here: https://github.com/linux-surface/linux-surface/wiki/Camera-Support#ensure-your-user-account-has-permissions

and now this is the result of cam --list
[26:57:22.411484804] [25949] INFO Camera camera_manager.cpp:313 libcamera v0.3.0+74-d978832d
[26:57:22.504914562] [25950] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov8865.yaml' not found for IPA module 'ipu3'
[26:57:22.505196392] [25950] INFO IPU3 ipu3.cpp:1141 Registered Camera[0] "\_SB_.PCI0.I2C3.CAMR" connected to CSI-2 receiver 0
[26:57:22.506228221] [25950] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov5693.yaml' not found for IPA module 'ipu3'
[26:57:22.506350487] [25950] INFO IPU3 ipu3.cpp:1141 Registered Camera[1] "\_SB_.PCI0.I2C2.CAMF" connected to CSI-2 receiver 1
Available cameras:
1: Internal back camera (\_SB_.PCI0.I2C3.CAMR)
2: Internal front camera (\_SB_.PCI0.I2C2.CAMF)

Revision history for this message
G Noel (ginoel) said :
#36

Just confirming my camera app still says "No camera found"

Revision history for this message
Manfred Hampl (m-hampl) said :
#37

Which camera app are you using?

Have you tried the program qcam?

Revision history for this message
G Noel (ginoel) said :
#38

I'm using Camera the GNOME project 46.2
I googled how to install qcam & found this on QtCAM: https://connectwww.com/how-to-install-qtcam-webcam-software-on-ubuntu/5131/

But when I get to the 3rd step to install it, I get the same issue... E: Unable to locate package qtcam

Is there anyway I can fix everything with a new install of Ubuntu? It seems like my system is totally messed up.

Revision history for this message
Manfred Hampl (m-hampl) said :
#39

Why do you always want to install software from somewhere else?

qcam is part of the Ubuntu-provided package libcamera-tools (similar to "cam").

What happens when you issue the command

qcam

Revision history for this message
G Noel (ginoel) said :
#40

Oh wow - that opened up a new dialog box & worked!

But if I go to Google to start a meeting, it still can't find my camera (or mic) & being able to use Google meet, zoom or teams is what I need.

Revision history for this message
Manfred Hampl (m-hampl) said :
#41

The instruction https://github.com/linux-surface/linux-surface/wiki/Camera-Support#applications tells something about "gstreamer libcamerasrc plugin" and "pipewire-plugin-libcamera". Unfortunately it seems that they are not provided in any Ubuntu package and I do not know how to acquire them.

Revision history for this message
Manfred Hampl (m-hampl) said :
#42

Maybe my previous comment was wrong, I just spotted a package that might be one of them: gstreamer1.0-libcamera
Try installing it

sudo apt install gstreamer1.0-libcamera

and then try using the gnome camera program and/or a browser

Revision history for this message
G Noel (ginoel) said :
#43

So still no progress with Camera app or Google Meet.

I went back to qcam & although the video works in the pop up, I noticed there appears to be errors in the Terminal results. Here is what shows in Terminal after qcam...

QSocketNotifier: Can only be used with threads started with QThread
[23:31:21.803647355] [29153] INFO Camera camera_manager.cpp:313 libcamera v0.3.0+74-d978832d
[23:31:21.924958715] [29163] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov8865.yaml' not found for IPA module 'ipu3'
[23:31:21.925225390] [29163] INFO IPU3 ipu3.cpp:1141 Registered Camera[0] "\_SB_.PCI0.I2C3.CAMR" connected to CSI-2 receiver 0
[23:31:21.926275819] [29163] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov5693.yaml' not found for IPA module 'ipu3'
[23:31:21.926397467] [29163] INFO IPU3 ipu3.cpp:1141 Registered Camera[1] "\_SB_.PCI0.I2C2.CAMF" connected to CSI-2 receiver 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
[23:31:32.029392527] [29153] INFO Camera camera.cpp:1183 configuring streams: (0) 1280x720-NV12
Using software format conversion from NV12
[23:31:32.185150999] [29163] INFO V4L2 v4l2_videodevice.cpp:1820 /dev/video11[48:cap]: Zero sequence expected for first frame (got 1)
[23:31:32.193278069] [29163] INFO V4L2 v4l2_videodevice.cpp:1820 /dev/video7[38:cap]: Zero sequence expected for first frame (got 1)
[23:31:32.193326253] [29163] INFO V4L2 v4l2_videodevice.cpp:1820 /dev/video9[41:cap]: Zero sequence expected for first frame (got 1)
[23:31:47.462349403] [29153] INFO Camera camera.cpp:1183 configuring streams: (0) 1280x720-NV12
Using software format conversion from NV12
[23:31:47.657848051] [29163] INFO V4L2 v4l2_videodevice.cpp:1820 /dev/video11[48:cap]: Zero sequence expected for first frame (got 1)
[23:31:47.666490776] [29163] INFO V4L2 v4l2_videodevice.cpp:1820 /dev/video7[38:cap]: Zero sequence expected for first frame (got 1)
[23:31:47.666556174] [29163] INFO V4L2 v4l2_videodevice.cpp:1820 /dev/video9[41:cap]: Zero sequence expected for first frame (got 1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#44

There seems to be another package with a libcamera-plugin for pipewire: libspa-0.2-libcamera. Try installing that, too.

Revision history for this message
G Noel (ginoel) said :
#45

I installed libspa-0.2-libcamera & Camera App still does not recognize the camera

Revision history for this message
G Noel (ginoel) said :
#46

I suspect it has something to do with the drivers

Revision history for this message
Launchpad Janitor (janitor) said :
#47

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
G Noel (ginoel) said :
#48

I still can't join any online meetings. There has to be a solution. What else can I try?

Can you help with this problem?

Provide an answer of your own, or ask G Noel for more information if necessary.

To post a message you must log in.