Intel Gets Hogwarts Legacy Running On Linux Driver By Pretending Not To Be Intel Graphics
Intel Gets Hogwarts Legacy Running On Linux Driver By Pretending Not To Be Intel Graphics

Intel Gets Hogwarts Legacy Running On Linux Driver By Pretending Not To Be Intel Graphics

I'm glad they found a way, but at the same time - what the hell? Why is it OK for game devs of this magnitude to have a hardcoded hardware list? Look for feature support, not a string that is easy to manipulate outside your control!
The problem in this case is that they automatically trigger XeSS, which isn't bad unto itself (unless it can't be deactivated, which this sounds like).
The GPU does support XeSS but it crashes on Linux. If they just added a toggle/cmd flag to disable the feature changing the vendorId wouldn't be necessary.
Could the game developers simply add this toggle for XeSS?
I would bet money that Intel's dev rel team worked closely with Avalanche to add XeSS support to sell more Intel GPUs.
Most likely the Hogwarts devs were said, "sure, do whatever you want on your own hardware, just don't you dare break anything on any other platform while we're trying to ship". The easiest way to green light this and know nothing else would be affected would be to hard code everything behind Intel's vendor IDs.
So this probably isn't a case of Intel working around a game dev's code, it's probably a case of Intel working around its own code.
IIRC, with an Nvidia card DXVK will spoof an AMD card in a lot of games because otherwise the game will try to interact with the Windows Nvidia drivers which aren't there.
You remember correctly. From the DXVK conf file: