upvote
Because it's a fixed platform under their control, they can provide hardware features that aren't generally available for general purpose PCs. Things like hardware decompression units, unified memory, etc. Those hardware features can help performance quite a lot.
reply
Not exactly related to what the OP is saying but a PC can have hundreds of possible configurations (between CPU, graphics card, RAM, etc) while a console is fixed so developing for PC is much harder to get right. GPU code is particularly tricky as compatibility, performance, features, etc vary so much between vendors and generations that you end up shipping the shader code and compiling on the first run of the game. You still need to test as many configurations as possible to make sure there's no edge cases where it doesn't work
reply
In my opinion PC is still easier than consoles. There are weird bugs in special cases, but most of them tend to pop up when doing weird edge case things in graphics. There's a lot more care needed of course with checking capabilities and you can make fewer assumptions. But generally on the games I've worked on PC has been just getting the game run, then doing tests to find those issues and set system requirements.

Meanwhile, I've had to dedicate many months to optimizing things on consoles because they are so much more constrained in memory, processing power, etc. Unless it's a brand new console, but then you instead get a lot more low-level API and even hardware bugs you need to work around.

reply
I think the Xbox kind of is Windows PC, except there are a bunch of things it needs to do like code signing, locking things down if updates aren't installed, not exposing a bunch of internals that would otherwise be okay for a regular PC etc. Probably there are performance improvements that can be made in the operating system that are hard for regulars PCs (like segment heap on regular Windows, probably stripping out a bunch of unneeded services, the ability to dedicate a huge majority of CPU time to the game process).
reply
There can be all sorts of subtle 'bugs' in how strictly specs are implemented. Variation between, say, NVIDIA and AMD is unsurprising and very common, but it can also manifest as different behavior between different driver versions and different architectures.

These systems and specs are so broad and complex that it is very common to accidentally stumble into an execution path that causes issues in some hardware configuration.

reply
Adding to what lentil soup said, having that unified architecture on console also allows for their built in libraries to optimize specifically against their built in constraints. Meaning you can eek extra performance that wouldn't be possible on a PC on that set of known hardware.
reply
Yeah, its just bullshit - both PS5 and whatever is the current Xbox called are just locked down overpriced PCs.

And the Steam Deck & Steam Machine demonstrate you can just, you know, make them normal PCs that can be used as borh consoles and for normal PC things, without fucking the user over.

reply