EDIT : IT SEEMS AS THOUGH THESE ISSUES ARE TIED TO THE KUBUNTU DISTRO IM USING, JUST THOUGHT ID MENTION IT HERE IN CAPS TO GET UR ATTENTION (also i cant edit titles i dont think)

I recently moved over to linux to avoid win 10 eol and choose kubuntu (after borking my ubuntu installation with a manual kde install xd). The only experience i have is from fucking about on the steam deck and copy pasting sudo apt install commands.

Everything worked and works fine but randomly my entire desktop environment will freeze except my mouse and the application launcher popup thingy (idk the name, the one tied to the windows button). Normally i'll wait a couple of minutes then it will be responsive or ill have to force shutdown.

Another issue is where my screen will go black (this can happen after a program crash or fullscreen change) but some windows wont, as if windows are only being shown to my screen when they are being updated (for example moving a window showed its contents but not moving it would make it go black)

very crude screenshot of what the issue looks like (this is with steam and firefox open btw if anyone cares) 

Info:
i have tried ctrl+alt+f1 to switch to a terminal but it shows a black screen unless its f3 or higher
ctrl+alt+f2 is my desktop
I tried disabling a compositor or something but that only fixed the black screen flicker issue

My rig: (idk if you need this but i thought id put as much in as i can)
AMD Ryzen 9 5950X 16Core
62.7 Gib of Ram (as reported in the about this system menu)
NVIDIA RTX 3080 (i am aware about the possible driver issues and have not tired the community made driver)

Software info:
Kubuntu 24.04
KDE Plasma Version 5.27.11

KDE Frameworks Version 5.115.0
Qt Version 5.15.13
Graphics Platform: X11

(incase i overtyped lol, i dont normally use reddit)
TLDR; KDE freezes and can flicker black when windows aren't being updated