-
Notifications
You must be signed in to change notification settings - Fork 18
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 does not work after upgrading to Kernel 6.7.1 #69
Comments
same issue for me. |
Same issue for me. |
Same issue on my dell xps 13 9315 |
same issue on Dell Precision 5470. slightly different output when running Kernel: Linux 6.7.0-arch3-1
|
Same here -- I get the following in the kernel buffer when I try to use the webcam:
|
And, would note that now sending the laptop to sleep (e.g. closing the lid) crashes it so I've uninstalled the drivers. |
Works fine on kernel 6.5.9. I'm stuck there for now until it's fixed. |
Can confirm this issue. Laptop hangs on sleep and reboot. Had do go back to kernel 6.6.10. |
Hello @elhossary , I detected the same sleeping issue with the kernel 6.7.0 + archlinux-ipu6-webcam. Actually I noticed that problem before realizing the webcam wasn't working anymore. After downgrading to .6.6.10 too, everything works (sleep and webcam). I have a DELL XPS 13 9315 |
I got a slightly different output with Kernel 6.7.1, but still does not work |
@hecrogon How have you downgraded? I tried downgrading the "linux" and "linux-headers" packages to 6.6.10 and 6.6.8 but the camera still did not work, even when I uninstalled and reinstalled the archlinux-ipu6-webcam script. Thanks! |
Try 6.5.9. It's working for me on that kernel. |
Hey @renatocan, I did the follow dirty trick, just comment the line 125 before running the from
to
|
If you want to rollback arch you should really set the repo to an archive
URL so that your archlinux system is consistent (otherwise you might break
stuff if you only pin a few things). If you do this, then the install
script will only know about the pinned version of the headers anyway. I
kept docs for this (for myself) here:
https://gtf21.notion.site/Package-Management-b683024fee6944088db5517ecbf4d9c2#69069a47e1fa44818d183113410d6735
--
*Gideon Farrell*
Co-founder / CTO
www.converge.io
…On Fri, 26 Jan 2024 at 16:11, Héctor Rojas González < ***@***.***> wrote:
Hey @renatocan <https://github.com/renatocan>,
Probably you are having the same issue I had. After downgrading the linux
and linux-headers packages, the archlinux-ipu6-webcam install.sh
automatically install the last linux-headers available (no matter if you
added to the IgnorePkg.
I did the follow dirty trick, just comment the line 125
https://github.com/stefanpartheym/archlinux-ipu6-webcam/blob/main/install.sh#L125
from
build_and_install "${kernel}-headers"
to
# build_and_install "${kernel}-headers"
—
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACMXW4GKT3TNH6LGPYNMZ3YQPIUTAVCNFSM6AAAAABB6TPEBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGMYTKOJUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks! This was the problem. |
Thanks for the tip. |
is this the solution for newer kernels or just for downgrading? |
If we downgrade and install the script, it re-updates linux-headers. I downgraded linux-headers after installing the script and the camera worked. |
Slightly offtopic, but required for the webcam to work: If I want to downgrade my entire system, any idea how to properly downgrade dbus after I've installed dbus-broker-units? I get file conflicts in /usr/lib/systemd/system/dbus.service, even when replacing broker-units with daemon-units before the downgrade. Is there any fix for 6.7 kernels on the horizon? I start thinking about using a linux-lts kernel, just because of the webcam :( |
Yes, that's what I eventually did. |
@elhossary ah fantastic -- I've switched to 6.6.14-lts and now I have a webcam again 💖 great tip |
Good idea. Instead of downgrading the entire system, I've installed linux-lts in parallel and added a default boot entry for it. |
I guess it has to be addressed to intel instead. Didn't really see bug reports there though except for kernel panic intel/ipu6-drivers#205 |
I downgraded to 6.6.14-lts and still having the same issue, I've purged yay cache with yay -Scc, I uninstalled the non-lts kernel... really struggling to get this working 😢
[ioliva@ioliva-xps9320 ~]$ uname -r
|
It works with many people, so it is unlike in kernel 6.7 that doesn't work with everyone, this means you probably have an individual issue. |
Yep, did that again, no luck. I will try removing PS: actually I understand that many people got it working, it would be nice to know if they did other thing other than downgrading to lts, because when you downgrade you do actually keep the previous headers installed in the pacman cache which are then used in the ./install script, which requires to be removed, so they must have done something other than just installing it. |
The only "weird" thing I see is an error in-between in the
Although the actual
So I don't think it should be a problem anyway |
I got it to work by downgrading the kernel and kernel-header to 6.6.* (no LTS). I used AUR package "downgrade" for this. Afterwards (after a restart) I had to rebuild DKMS modules. However, a few days later i switched to LTS kernel, to be save for future upgrades. |
I:
|
I'm not sure if this is related, but after updating I found that the icamerasrc plugin is blacklisted. It's unclear to me why, or how to fix it.
|
To answer my own question, the blacklisting is due to the plugin raising a SIGSEGV. I managed to get this backtrace, and the culprit seems to be the 'sem' variable being 0x0.
|
I have done a bisection of the kernel code for this issue.
|
Interesting work. Did you forward this to the official firmware project we rely on as well? |
No, but that's only because I'm not actually sure who this bug belongs to. Is it the kernel? Is it the v4l2loopback or the intel modules? Or is the icamerasrc gst plugin? My test for bisection was: does the ./test.sh script run. |
@aplund Thanks for the investigation effort. I observe a similar crash on my setup (XPS13, 6.6.15-2-lts), leading to the same consequence (icamerasrc plugin being blacklisted):
|
I was getting this exact same issue with the plugin being blacklisted. I was able to get it working though kind of haphazardly. Here's exactly what I did:
Not really sure what changed exactly, just kind of winged it. For reference, I'm using a Dell XPS 9320. |
Added a note in the readme to recommend using a LTS kernel. |
has this changed? |
I have not tested it in kernel 6.8 |
I have not tested it either in 6.8.x. Will have a look on the weekend probably. |
I tried to install on 6.8.1, but (this is most likely unrelated to this bug)
|
I managed to build it, but I get no video output However, I'm glad to say that these drivers are being pushed to the mainline kernel! |
there is an opened mr here, personally I didn't test it, but it might help with the issue |
I am still getting a lot of those segfault issues. I have tried everything so far. I was using the LTS kernel, then I downgraded my normal kernel to 6.5.9 which resulted in the same issues, and then to 6.4.9 which also has again the same issues. Dmesg:
test.sh
|
I'm also seeing the same issues as DutchEllie. I'm on kernel 6.9.0-rc1 with a Dell XPS 9640, which has the new meteor lake chip on it. |
I'm going to be super honest here, but I am too drunk to check right now, but I do know I have a ThinkPad X1 Carbon Gen 11 with that OLED 2.5k or something screen. And even more embarrassing is that even while sober I've never figured out what the sensor model number in my device is. Honestly all I want is just a working webcam. How hard can that be? Why does Intel need to make it so difficult? ---- On Thu, 04 Apr 2024 21:10:52 +0200 ***@***.*** wrote ----
I'm also seeing the same issues as DutchEllie. I'm on kernel 6.9.0-rc1 with a Dell XPS 9640, which has the new meteor lake chip on it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
loll ikr? i couldn't figure out my model number either. its not in lspci, lsusb, etc. i'm very thankful that people are working on eventually merging these changes directly into the linux kernel tho. |
Thank you for this. With intel/ipu6-drivers#213, intel/ipu6-drivers#214 and the reverting of the commit you mention here, I have camera working again on my Dell XPS 9320. |
Will close this one now. It probably won't ever work on kernel v6.7.x to v6.9.x. |
Camera stopped working after upgrading to Kernel 6.7.0 in my Alderlake X1C10
The camera's led does not light up as well.
Uninstalled then re-installed it, and no issues during reinstallation.
test.sh output:
Any help?
Edit:
I different output with Kernel 6.7.1
The text was updated successfully, but these errors were encountered: