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.
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.
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.
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...)?
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")
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.
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.