cbeley / beleyenv

A dev-focused, idempotent system bootstrap script for ChromeOS's officially supported Linux container. Designed for me, but flexible enough for you to use too!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XPS 13 Plus Camera Support for Ubuntu 22.10

cbeley opened this issue · comments

The camera works fine with Ubuntu 22.04 LTS, as tested by me and confirmed in https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1955383 .

Unfortunately, Ubuntu 22.10 does not support it on Kernel 5.19.0-23-generic.

I believe once it is released on "linux-firmware" in https://bugs.launchpad.net/ubuntu/kinetic/+source/linux/+bug/1987595, it may work.

It is possible to get the camera working on Ubuntu 22.10 by switching back to 5.15.0-53-generic. However, using the older kernel with Ubuntu 22.04 results in occasional hard crashes, requiring a hard reset to reboot.

For my reference: The timing to get the grub menu to come up is borderline impossible by default. I changed the following temporarily:

in /etc/default/grub, add/modify the following for easy saving and ability to select:

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=-1

Kind of annoying. Gnome 43 is a huge upgrade, but not having a camera is also annoying...

It seems the hangs may actually be related to #28, which happens on both 5.15.0-53, 5.19.0-23-generic, and 6.0.9.

Now that I know what triggers the bug, I've been using 5.15.0-53 on Ubuntu 22.10 without much issue. Though, performance does feel better when on 5.19.0-23.

I've had good luck running 5.15.0-53-generic on demand when I need to use my camera on ubuntu 22.10. No crashes or anything that isn't related to #28, which seems to mostly be a non-issue.

I'll update this later with some notes on how to grab the 5.15.0-53-generic kernel for Ubuntu 22.10, since it's not obvious how to do so (without going through the trouble of signing it yourself).

This now seems to be working on Ubuntu 22.10 with Kernel 5.19.0-31-generic and latest ubuntu updates. Nice.