hello so lately my pc has been glitching like when i'm tabbing between a game for example to my browser my cursor would disappear or reappear depending on where i move it to, but it would also display the wrong icon like how cursors have icons so i factory reset my pc in hopes that it would fix it. after i factory reset my pc was working for like 10 hrs more then i went to sleep and i woke up to my pc not displaying anything and my mouse and keyboard lights being off and it wouldnt work so i spent hrs and hrs figuring out what was wrong seeing if any of the upgrades i did caused anything and eventually i found out that it was my cpu that isnt displaying anything. its really weird bcuz my cpu has no damage to it from the outside like it dont look fried or anything and i went to sleep with nothing but my desktop like there was no programs running so i dont know why it would just randomly die with nothing running like if there was a very demanding game running i would get it but there wasnt so idk what happened and also my display after factory resetting flicked black 2x in like the top right of my screen. it barely did it and wasnt bad but that happened before i went to sleep and i woke up with it completely gone idk whats wrong with my cpu i have a ryzen 7 5700g and the old cpu i put into my pc that im on rn that fixed it is a ryzen 5 5300g the cpu upgrade i did that 6 months ago and ive had no problems until yesterday and today i really want my newer cpu to work bcuz it is better and i cant afford to buy another cpu rn and im scared that if i did it would just break so is there anything i could do that would fix it and also i think that the nvidia driver broke my pc ik it sounds crazy but after installing the last driver my pc is working right now without that cursor thing it was still happening until like an hr ago when i changed it using nvcleaninstall it would happen alot when alt tabbing and theres nothing wrong yet i will reply to this or edit it whatever i can do if smth does happen but it seems good but putting in my other cpu and if it dont work again is so much work and its 1 am so i cant be asked to try it rn i just hope theres a fix idk why my cpu would just randomly die like that and im sure its my cpu bcuz after switching only that my pc is working again