microphone and built-in camera app not working
hey!
i installed ubuntu 24.10 on my machine (macbook pro m2 max). everything works perfectly except for the built-in camera app (the camera does work on browser but sometimes it's not recognized) and the microphone does not work at all. the system simply does not pick it up.
is there a workaround for this?
thanks a lot in advande!
Thx for the feedback! The gnome camera app seems to have a bug where it doesn't work properly with the camera on those machines yet. For the microphone if I remember correctly there was a known issue on the M2 Pro max too, afaik a fix in the form of a kernel update is WIP.
I have opened bug reports upstream:
https://gitlab.gnome.org/GNOME/snapshot/-/issues/294 https://gitlab.gnome.org/GNOME/cheese/-/issues/189 https://bugs.kde.org/show_bug.cgi?id=505059
To make the camera work there are a couple of components affected:
- Enable YCbCr formats in rust-gst-plugin-gtk4, fixed in Debian with version 0.14.3-1, not yet synced with Ubuntu: https://launchpad.net/ubuntu/+source/rust-gst-plugin-gtk4
- YCbCr fixes in GTK 4.20 (https://gitlab.gnome.org/GNOME/gtk/-/commit/688946294e4e4d9ab96de20852a7cca007576305), available in version 4.20.3 or later
- Mesa fixes for Asahi OpenGL (https://gitlab.freedesktop.org/mesa/mesa/-/commit/aa9f93711692504bc216423cdff76a86b40c6fa3) and Vulkan (https://gitlab.freedesktop.org/mesa/mesa/-/commit/83b97379dc2d7f8db65fd88a8773a495ca70bbd8). These will be available for version 25.2.7 and 25.3.0-rc4 or later, not yet packaged for Ubuntu.
- Fix/Backport Pipewire assertion 'num >= 0' failed: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2582 / https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2583, available from 1.5.82 upwards
- dma-buf kernel bug, fixed in 6.17.7-asahi: https://github.com/AsahiLinux/linux/commit/b664d6e1c94338f069399d1afc289dfc66bfdbc7
Not yet fixed:
- Timestamp issues with pipewire/gstreamer source: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4957
Tracking the fixed packages:
| Package | Fixed version | Debian | Ubuntu | Fedora | Arch |
|---|---|---|---|---|---|
| gstreamer1.0-gtk4 | 0.14.3 | https://packages.debian.org/sid/arm64/gstreamer1.0-gtk4/download | Fixed version not yet packaged/synced from Debian | https://koji.fedoraproject.org/koji/buildinfo?buildID=2854100 | https://archlinuxarm.org/packages/aarch64/gst-plugin-rsfile |
| gtk | 4.20.3 | https://packages.debian.org/sid/arm64/libgtk-4-1/download | https://launchpad.net/ubuntu/+source/gtk4/4.20.3+ds-1 | Fixed version not yet packaged | https://archlinuxarm.org/packages/aarch64/gtk4 |
| mesa | 25.2.7 / 25.3.0-rc4 | https://packages.debian.org/experimental/arm64/libegl-mesa0/download | Fixed version not yet packaged/synced from Debian | https://koji.fedoraproject.org/koji/buildinfo?buildID=2861872 | Fixed in Asahi-ALARM 25.2.5-2 https://github.com/asahi-alarm/PKGBUILDs/tree/main/mesa |
| pipewire | 1.5.82/1.6? | https://packages.debian.org/experimental/arm64/pipewire/download | https://koji.fedoraproject.org/koji/buildinfo?buildID=2856273 | ||
| dma-buf/agx | 6.17.7 | https://salsa.debian.org/bananas-team/wip/linux-asahi or https://git.g3la.de/repos/-/packages/debian/linux-image-6.17.7-asahi-1-cy8aer0/6.17.7-00959-gb664d6e1c943-45 | Fixed version not yet packaged in https://code.launchpad.net/~john-cabaj/+archive/ubuntu/asahi-arm | Fixed in 6.17.7-401.asahi https://copr.fedorainfracloud.org/coprs/g/asahi/kernel/packages/ | Fixed in Asahi-ALARM 6.17.7 https://github.com/asahi-alarm/PKGBUILDs/tree/main/linux-asahi |
Ones those are fixed, the issues with all applications/frontends will be solved, including Cheese/Snapshot/Kamoso.
you can update your table
| Arch | |
|---|---|
| mesa | Fixed in Asahi ALARM mesa v25.2.5-2 (shipped already) see https://github.com/asahi-alarm/PKGBUILDs/tree/main/mesa see https://github.com/asahi-alarm/PKGBUILDs/commit/0b7490e7ed3d7ce0818b5f91a359395ec7a20655 |
Also a couple of hours ago in Asahi ALARM we already shipped the patched kernel:
- https://github.com/asahi-alarm/PKGBUILDs/tree/main/linux-asahi
- https://github.com/asahi-alarm/PKGBUILDs/commit/1dcf26ffcc137ea2e89f0dd2b6f47ef0a2aaee30
- https://github.com/AsahiLinux/linux/releases/tag/asahi-6.17.7-1
- https://github.com/AsahiLinux/linux/commit/b664d6e1c94338f069399d1afc289dfc66bfdbc7
So we just wait for the gtk 4.20.3 release and the pipewire 1.4.x patch release.