Zorin Core 18 Kernel Update

Hi,

I'm trying to update Zorin Core 18 Kernel and not getting very far.

I installed Mainline -

sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update && sudo apt install mainline

And downloaded 6.18.1 but cannot figure out how to actually switch the kernel. I've tried rebooting as I read elsewhere on the forum this is all I needed to do but it's still running 6.14.

How do I complete this process?

At grub menu at boot click on "Advanced options for Zorin" and then select the kernel you want to boot from.

When it does not work or is not shown you may need to disable secure boot.

1 Like

Thank you.

When I enter the menu (ESC key) during boot. It just lists 6.14.0-generic, not 6.18 or 6.18.1.

The 6.18 and 6.18.1 I have installed just has these version number. But the kernel that is running is 6.14.0-37.37~24.0.4.1

Have I somehow installed the wrong kernels from the wrong repository?

Checking my BIOS is a little odd.

I have only "Customer" or "Standard" for secure boot. And it's state is "User".

Checking here. It seems Secure Boot is Off.

https://www.asus.com/uk/support/faq/1049829/

I've just confirmed that:

udo mokutil --sb-state
SecureBoot disabled

Did you get errors during installation?
I haven't tried to install a later kernel on Zorin 18 yet, only on Zorin 17.
If you want you can try liquorix.

I'm seeing a stack of errors here. I just decided to try what you suggested. But first making sure everything was updated.

sudo apt update
sudo apt upgrade

Then I errored with:

Building module:
Cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'ma
ke' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.18.0-061800-generic IGNORE_X
EN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.18.0-061800-generic/bui
ld LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.18.0-061800-generic (x86_
64)
Consult /var/lib/dkms/nvidia/580.95.05/build/make.log for more information.
dkms autoinstall on 6.18.0-061800-generic/x86_64 failed for nvidia(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.18.0-061800-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-unsigned-6.18.0-061800-generic (--con
figure):
 installed linux-image-unsigned-6.18.0-061800-generic package post-installation 
script subprocess returned error exit status 11
Errors were encountered while processing:
 linux-headers-6.18.1-061801-generic
 linux-headers-6.18.0-061800-generic
 linux-image-unsigned-6.18.1-061801-generic
 linux-image-unsigned-6.18.0-061800-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've only just started with Zorin today. I might just kill it all and start again. This looks very unhealthy considering it's a new install.

It also keeps booting in a weird way. Where my taskbar is invisible and clicking the Workspace button shows the normal GNOME taskbar ... really, really weird.

So I've got this working!

I reopened Mainline Kernels and uninstalled the 6.18 and 6.18.1 I had installed (had the normal Linux icons, not sure if that is significant), then rebooted.

Then did updates:

sudo apt update
sudo apt upgrade

All went OK. Then ran the following command:

curl -s 'https://liquorix.net/install-liquorix.sh' | sudo bash

Which completed without any errors, then rebooted.

uname -r

Now returns:

6.18.4-1-liquorix-amd64

So it looks like everything is good.

But it hasn't fixed the audio issues I was trying to address :smiley:

Hmm ... audio dropping out in YouTube which is really annoying.

Do you have only audio problems in youtube and nowhere else?
Which browser do you use? Did you test it with brave? Does the problem appear with downloaded videos?

Is it only the audio which makes problems or does the computer go into suspend while watching videos?

What audio output do you use (speakers, headphones...)? How are they connected (cable, bluetooth...)?

Beneath @Forpli's Points: Have You installed all the Audio Codecs?

It's really only YouTube. It's like the ducking process when using a compressor in a recording studio. Just the starts of words chopped off.

It's using the NVIDIA driver to the speakers in my monitors over HDMI.

Using FireFox, I uninstalled Brave. Haven't tried with any downloaded media yet.

I have installed all the codecs.

In which package format is firefox installed? If it is a flatpak, try it with the .deb/apt version of a browser instead (e.g. firefox you can install with "sudo apt install firefox")

Ahhhh ... that's a very good point I didn't consider.

Additionally nVidia prefers xorg to Wayland compositor, so at login time when you select your user name, a cog appears lower right of screen. Click on that and change to 'Zorin on xorg'.

Additionally turn hardware acceleration off in Firefox. You should try zen browser, it is a fork of Firefox.

OK, thanks all. Loads of things to try.

You might also want to install most of the ALSA packages except for JACK and OSS using Synaptic Package Manager. I also recommend you install Audacious audio player and change Settings there to ALSA. This solved my surround sound issues globally. Streaming via a browser still only plays through front speakers as browsers can't access surround sound systems period.

I've just tried playing some mp3s in Rhythmbox and although it played fine for 2 minutes it started doing the same. Which rules out it being FireFox.

Going to try the other suggestions.

So, the Packages available in Gnome Software and additional Stuff what You can intsall over the Terminal, yes?

Yup, those were the packages I've installed.