The pc has turn on before this all happened. Everything was fine I could turn it off and on but for the first 2 days of having the pc it now has this problem. The last time this happened it automatically came back on all I did was leave it powered then after 20 minutes it comes on but It will no longer turn on.
The RAM is Corsair is a vengeance 2x16
Whats wrong with the CX i have?
it is a cheap power supply and regardless of whether it is new there is a high possibility that it has a problem.With the rest you have, even if you connect the cables correctly to the motherboard, it is not allowed that your computer does not start.
@triplex1 is on to something here. It IS starting to sound like a bad capacitor in the power supply discharging when it's not running. These are critical to startup loads, and if they're malfunctioning, you get situations where it will not consistently fire up. Cheaper components, particuarly power supplies, tend to have quality issues, unfortunately. I have a CX650F myself that I haven't had problems with, but at the same time, that PSU has very little use on it. My 5900X has an RM850x.
That said, I misread your post to understand that this was only occurring when it was going into sleep mode, which WOULD point to a memory issue. But are you sure it's not turning on, and maybe just not displaying video? My 5900X refused to wake from sleep as well, with no-video POSTs every 8-10 cold starts, due to memory issues. Drove me nuts for months until someone suggested a memory training issue, at which point I found that my RAM kit was not listed for that board and processor.
THAT said, even if the PSU is flaky, you could still have issues with both components. So, you really should check your RAM's SKU (as in part number, not just the brand / series / configuration) against the manufacturer's compatibility list for that board.
It's just not as cut-and-dried as 2x16 Corsair Vengeance, unfortunately. For instance, there might be a dozen different part numbers for Vengeance 2x16 kits, and not all them will work well on this board or that board, or with this processor or that processor. Which is why there are so many different part numbers in a series.
Different portions of these part numbers will refer to latency, speed, and other differences. Here is a
screenshot showing examples of this... (2x16 Corsair with 5000-series CPU, as you've mentioned, but I can't get any more specific than that.
So it really is necessary to check the actual part number against
Asus' guaranteed compatibility list for this board. Especially with Ryzen, and be sure to note which series. Keep in mind, a manufacturer can't possibly test ALL RAM kits, so while absence from the list does not guarantee incompatibility, chances are if it's not listed, it's either not tested, or had problems. The only way to know for sure, is if it IS on the list.
I've seen problems with this across three of my own systems, in fact. A 1700, the 5900X, and a 3600X test bed built to test the 5900X build's other components on a different board.
5000-series APU / 5000-series CPU are, in fact different, and may, in fact, have differences in which RAM kits are guaranteed to be compatible. To simplify, Ryzens with model #s ending in G are APU. Those without are CPUs, which may or may not come in X variants, that lend themselves more easily to Ryzen Master and manual overclocking.
Additionally, it so happens I have this exact board (which, as noted, gave me fits with memory instability for several months before I figured it out), and to be frank, I'm not impressed at this point. I bought it in 2022, it's been in twice for RMA, was replaced in March, and the replacement is already dead. It's still under warranty, but when the replacement arrives this time, I'm selling it and won't be buying Asus components in the future.
Asus customer service is terrible in my experience. I don't think anyone in that department actually knows what they're doing, and GamersNexus has called them out big-time on their AM5 offerings for tricking people into voiding their warranty for necessary BIOS updates to address issues that THEY created.
While it was going, however, I can say that Ryzen Master was able to get 5.0 to 5.025 out of my 5900X on both the original and replacement (a refurb). But that doesn't matter much when it's been in and out of my machine at least 8 times trying to troubleshoot issues.
By contrast, my 5900X can still manage low to high 4.9s on the Gigabyte B550 Aorus Master it currently runs on, a fairly minor difference in the grand scheme of things, as it seems to hum along at 3600-4800 most of the time. But I digress. Hopefully, you'll have better luck with yours. Just something to be aware of.
To clarify, what
@triplex1 and I are saying is not so much in the spirit of dumping on your build, as to not be surprised if there are issues, as certain cheaper component series are known to have issues from time to time.
EDIT: Also, let me know if you do have issues with parts that are not under warranty or can't afford retail for replacements. I myself am on a fixed income from disability, so I know what it's like. I just consolidated my 5900X build into a cabinet, and have a few decent parts sitting around (including a RAM kit bought for the Asus Tuf B550-plus board) that I'm willing to part with for cheap if they would help you.