Ryzen 2400 freezes randomly

Hi there!
Firstly, I’d like to thank for your assitance.
I have a ryzen 2400G with vega 11 graphics integrated. Both with debien and fedora the machine freezes randomly, but mostly when I watch a video, either in youtube or a local one. It’s not always the same thing, it might last some minutes, or quite a few seconds playing.
I’ve installed mesa graphics in fedora, but cannot get to solve the issue. Same thing with debian, sadly, not with windows, where it never freezes, eventhoug I would play several videos.

Do you have any ideas on this?

Can you give us the output of inxi -CSMGxxDuP in preformatted or code block format?