Nvidia driver

Can someone help me with installing the nvidia driver for the gforce rtx 5080 graphics card nvidia does a driver for it but these are the instuctions Chapter 4. Installing the NVIDIA Driver clear has mud to me

You don't install 3rd party driver in Linux outside its repositories. It's asking for trouble.
Instead search in Zorins menu for driver and it should lead you to the right app to install the driver.

Note; Many have trouble getting the 5xxx series to work correctly, due to buggy driver.

Its not a 3rd party app its the actual driver by the card maker. I tried installing the driver that comes with zorin and my hdmi sound would not work. i go to sound settings and only the sound card is there no hdmi

Yeah, but it's 3rd party in the sense that it doesn't come with Zorin. That was what I mean.
regardless, if you want to build it you need linux headers to your kernel install, also build-essential. Note; Everytime you receive a kernel update, you need to rebuild the driver.

I have bought some speakers but it would be nice if i could get the sound to work through my hdmi like it does in windows

What does this give as output?
inxi -Aa

oh ■■■■ now i know why most people dont like linux

Don't blame linux. Blame Nvidia not to opoen their drivers.

Im on a dual boot and im in windows at the moment

okay, just when you get the time. I'm here all day today.

this is the output
Audio:
Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 8 link-max: gen: 5 speed: 32 GT/s bus-ID: 06:00.1 chip-ID: 10de:22eb
class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 08:00.3
chip-ID: 1022:1457 class-ID: 0403
API: ALSA v: k6.17.0-23-generic status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pw-cat,pw-cli,wpctl

You want install the 595 Driver? If I'm not wrong, this Driver should be available on Zorin. You can take a Look at the ''Additional Drivers'' Tab in Software & Updates. there You should have an Overview about the available Nvidia Drivers.

Alternatively, You could use the Terminal to install the Driver with the Command:

sudo apt install nvidia-driver-595 nvidia-dkms-595

Because You have a Dual-Boot System: Check that Secure Boot and Fast Boot in BIOS are disabled and if Fast Start-Up in Windows is disabled.

FYI - If secure boot is on you can leave it on and just enroll your secure boot keys in the MOK before you install the Nvidia drivers. I wrote up a guide on how to do that:

Also, like Ponce said you may want to make sure Fast Start-up is disabled though!