Question Monitor randomly shows "no signal" when running certain games ?

Feb 27, 2023
9
0
10
I have recently built my PC and when i play certain games such as Apex, world of warships and snowrunner, my pc randomly goes no signal.I have sent my pc for stress testing and it seems like there is no issue.After not getting signal, when i plug my DP cable from my gpu to my integrated graphics, there will be signal and i will have to restart my PC and plug my DP cable back from integrated graphics to GPU in order for it to work. what could be the issue?

specs:
CPU: AMD Ryzen 7 7700X
Cooler: Corsair H100 RGB
Motherboard: ASUS TUF B650M-PLUS GAMING WI-FI
RAM: Corsair Vengeance RGB DDR5 32GB (2x16GB) 5200Mhz
GPU: ASUS TUF RX 6900 XT O16G GAMING
SSD: Samsung 990 Pro 1TB
HDD: Seagate BarraCuda 2TB
Power Supply: Corsair RM850 Gold
Casing: Fractal Design Pop Mini Air RGB Black Clear Tint
 
Feb 27, 2023
9
0
10
My monitor is a prism X270 240hz.The thing is when I use the other Monitor which is 144hz it also has the same problem but I would say its less frequent.I was wondering if it would be my wall socket is not providing enough power or inconsistent power causing this issue