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.
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.
# Report Nvidia GPUs as AMD GPUs by default. This is enabled by default
# to work around issues with NVAPI, but may cause issues in some games.
#
# Supported values: True, False
# dxgi.nvapiHack = True
nteract with the Windows Nvidia drivers which aren’t there
Funny story. I was trying to get RayTracing working under Wine for a few days and finally found the solution (needed to download the nvlibs zip from GitHub and run the installer).
Couple weeks later I went back into Wine and it was broken. After another 3 days of struggling, I decided to redownload nvlibs and run the installer, when I noticed it only symlinks the needed libraries into WINEPREFIX. Me, being the resource miser I am, had removed the folder from ~/Downloads when I thought I was done with it ...
Those running Intel Arc Graphics on Linux can now enjoy the Hogwarts Legacy game under Valve's Steam Play.
Earlier this year Intel's Mesa developers added the ability to conceal the Vulkan vendor to workaround game-specific issues.
When the game was running under Linux via Steam Play and seeing Intel graphics were being utilized, XeSS was being triggered.
With the Hogwarts Legacy game it's a similar story of XeSS being triggered and causing problems under Linux...
So the simple workaround is again to conceal the Vulkan vendor so the game engine doesn't know Intel graphics are being utilized.
This patch adds the Hogwarts Legacy (HogwartsLegacy.exe) detection to DriConf and then sets the force_vk_vendor=-1 behavior to allow this popular game to work on Intel graphics under Linux.
Terf stands for "Trans exclusionary Radical feminist", which is a type of feminist that pushes for women's rights, but doesn't support transgender rights, and thinks MtF transgender people don't count as women.
A lot of people have boycotted Hogwarts legacy because of her political views. Personally, I think it's a bit extreme to boycott a great game made by a studio and developers that have nothing to do with her views just because she gets royalties on it, but that's a matter of personal opinion
J.K. Rowling's anti-trans rhetoric and activism has enough influence to lead directly or otherwise to the further persecution and discrimination against an already marginalised minority group.
She at some point opted for or was identified by those with similar views as the term TERF, a 'trans-exclusionary radical feminist' (the acronym is arguably problematic). The queer community and queer allies use the term with a implied derogatory connotation. A number of TERFs who picked up on this connotation now believe that it is an insult, and do not wish to be labelled as such (despite TERFs coining the term themseIves).
AFAIK the game does the opposite (it supports trans... people... damn that was hard to write...) which is the reason I never bought it, so unless I'm wrong you would not support Rowling by buying it because it's trying to do the opposite. There's even a trans character in a pub.
it supports trans… people… damn that was hard to write… which is the reason I never bought it
Not sure I'm understanding... You're saying you didn't buy the game because the content of it is pro trans? And what about that sentence was hard to write?
you would not support Rowling by buying it because it’s trying to do the opposite. There’s even a trans character in a pub.