Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera not working after resuming from suspend; Dell Precision 5680 running Ubuntu 24.04 #255

Open
AaronM04 opened this issue Jul 17, 2024 · 0 comments

Comments

@AaronM04
Copy link

AaronM04 commented Jul 17, 2024

I had the camera working fine with Ubuntu 23.10 but then I upgraded to 24.04 and it only works after a fresh reboot. Using https://mozilla.github.io/webrtc-landing/gum_test.html I see it working (fading from black) after a fresh reboot. Upon suspending and resuming that getUserMedia test page shows all black in the camera even though there is green "Success!" text beneath it.

Before the upgrade to 24.04 I ran:

sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu6
sudo apt autopurge 'oem-*-meta' 'libipu*' 'libcamhal*'
sudo apt remove v4l2-relayd

After the upgrade I ran these, then rebooted:

sudo apt install v4l2-relayd
sudo add-apt-repository  ppa:oem-solutions-group/intel-ipu6
sudo apt install gstreamer1.0-icamera

Here are the devices I see in 24.04 after suspend/resume:

❯ cat /sys/class/video4linux/*/name                                                 

Intel IPU6 CSI-2 0
Intel IPU6 CSI2 BE SOC 2
Intel IPU6 CSI2 BE SOC 3
Intel IPU6 CSI2 BE SOC 4
Intel IPU6 CSI2 BE SOC 5
Intel IPU6 CSI2 BE SOC 6
Intel IPU6 CSI2 BE SOC 7
Intel IPU6 CSI-2 1
Intel IPU6 CSI-2 2
Intel IPU6 CSI-2 3
Intel IPU6 CSI-2 4
Intel IPU6 CSI-2 5
Intel IPU6 CSI-2 6
Intel IPU6 CSI-2 7
Intel IPU6 CSI2 BE SOC 0
Intel IPU6 CSI2 BE SOC 1
Intel MIPI Camera
Intel IPU6 BE SOC capture 0
Intel IPU6 BE SOC capture 1
Intel IPU6 BE SOC capture 2
Intel IPU6 BE SOC capture 3
Intel IPU6 BE SOC capture 4
Intel IPU6 BE SOC capture 5
Intel IPU6 BE SOC capture 6
Intel IPU6 BE SOC capture 7

After a fresh reboot, there are two additional lines:

Intel IVSC CSI
ov02c10 18-0036

Kernel version:

❯ uname -srv
Linux 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun  7 15:25:01 UTC 2024

Attached is the dmesg (see link below). The resume is around line 1683. I am happy to assist with tracking down this bug!

ipu6_suspend_resume_dmesg.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant