After a Motherboard Change my 3060 doesn't work anymore

So, I changed my old msi b450m to a Gigabyte B650M D3hp AX and I had to also change my RAM and my CPU. Now I have Ryzen 5 8500g which was not instantly supported by my motherboard. So I Qflashed it and everything worked fine. Then I added my RTX 3060 and all works but the graphic card. I thought it was a cable problem but I checked it many times. Now I don't know what to do. Please help