Kernel / sound issue: HP ENVY x360

Sure then try it and see.

1 Like

yay -S linux-next-git

Already running

Are you installing the headers also?

I would have run

yay -S linux-next-git linux-next-git-headers

I think you need headers also don’t you? :thinking:

1 Like

Thank you. I would have completely forgotten that :upside_down_face:

If you need to build a new kernel update at some point again it may be useful. The other option would be to build it in a clean chroot, that way all the dependencies needed to build won’t be installed on your actual system.

As mentioned earlier in this reply, it might be worth building it in a clean chroot that’s what I did, but I don’t know if building in a clean chroot is supported by pamac or yay.

It seems yay doesn’t support that but paru does.

I personally use aurutils because it has that option as well.

Why not? :slight_smile: Thanks for the tip. How can one build it in a clean chroot and what the heck is a chroot anyway? :smiley: You do not mean this one, do you?

https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/

Some AUR helpers support that, it seems paru does. I’m just installing to see if it’s easy enough for you to use. The other option would be for me to compile the kernel for you and then place it somewhere to download. Then you could install it with ā€œpacman -Uā€ but that would depend on whether you trust a stranger to do that for you.

That’s chrooting into your system. I’m talking about this when builing a PKGBUILD in a clean chroot.
https://wiki.archlinux.org/title/chroot

It seems paru supports it but only if you use it with a localrepo.

–chroot [= /path/to/chroot]
Build packages in a chroot. This requires the LocalRepo option to be enabled. Optionally a directory may be passed to specify where to create the chroot.

I have no experience with using paru and local repos to build in a clean chroot, but I could try writing out how to setup aurutils with a localrepo and how to use it.

If I can’t get it to work myself, then I would gladly accept your kind offer. However, I’m generally a friend of learning things myself as much as possible and, in principle, it shouldn’t be rocket science.

If you are open to it, I can try to write you a step by step guide to setting up a local repo and how I use aurutils to build my AUR packages and how to install them with a local repo. But I don’t want to confuse you or anything and I’m not the best at explaining things.

Sure, if you could plese send me some kind of step by step guide, that would be awesome :slight_smile:

I could do it over the weekend sometime and maybe if I have time Friday evening, since I am still busy the rest of this week.

1 Like

Thank you so much. Let’s wait and see if linux-next solves the problem, which we should find out today.

@ricklinux which AUR helper did you use to compile the PKGBUILD for that kernel?

pamac-aur-git

1 Like

Does that support building in a clean chroot, I have never used it?

It’s funny on Mint i don’t remember compiling the mainline kernels. Maybe because it’s a different package manager. I just don’t remember it taking very long to install any mainline kernel. I used to install every RC version until it went to the next mainline kernel.

I don’t know. I have never done that.

Edit: My cpu is very similar to yours but turbo boost is 4.7 and it was roughly the same time to compile.

Did you try building it with pamac?

You could also still try using the git version of pamac as it is what @ricklinux uses.