Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They are recompiling the shaders. Xbox Series shaders are raw RDNA2 machine code, these projects are recompiling them to SPIRV to allow them to run under DX12 or Vulkan on PCs.
 help



US law (17 U.S.C. § 117(a)(1)) explicitly allows copies and adaptations necessary to run a program:

> Notwithstanding the provisions of section 106, it is not an infringement for the owner of a copy of a computer program to make or authorize the making of another copy or adaptation of that computer program provided:

> (1) that such a new copy or adaptation is created as an essential step in the utilization of the computer program in conjunction with a machine and that it is used in no other manner

So (1) running a shader (or other code) compiler is legal if it is necessary to e.g. use it with another GPU, and of course a compiler per se is not infringing in the first place, and (2) you do not need a license to load a program that you purchased into RAM. This is a false meme. As much as corporations like to pretend they have the right to tell you what hardware you are allowed to use, they have been defeated multiple times in court on this point. Emulation and translation for compatibility are explicitly legal, and actually risk validity of copyright and trademark claims if you try to use them as a barrier to competition.

No doubt this is part of why they want a download-only future where you simply cannot purchase things.


Copyright scholar and lawyer here! (Not legal advice; consult your own licensed attorney.)

Section 117(a)(1) was intended to provide an exception to the general rule that no copies are allowed except those permitted by the copyright owner so that software would actually work: i.e., for making an ephemeral copy from the source media into RAM.

The law on exceptions for reserve engineering and interoperability (§ 1201(f)) is nuanced, complex, and not well settled. Judicial interpretations tend to be fact driven. Also, § 1201(f)(1) requires that the person doing the reverse engineering possess a lawful copy of the subject software in the first place.

Given its complexity, I would caution against making sweeping conclusions about what is and isn't permitted under the law. You're likelier to provide wrong answers than correct ones.


1201 seems irrelevant? The compatibility layers in question only work with xbox programs that have no copy protection, and as far as I know, no one's released any tools or instructions to bypass or remove any copy protection technology. On its own, these libraries are only one piece of the puzzle to be able to run xbox programs (fairly boring platform pieces as far as I know. Again, basic stuff like shader compilers to translate from one GPU language to another). You would have to figure out your own way to remove protection from your copy.

As far as I know as well, the first of these compatibility layers that some of these new ones are ultimately derived from are at least several months old.


I wonder if that counts. When you play a game in the normal way today you usually also compile the shaders to fit your specific hardware. And i mean, when gaming on linux DXVK does literally do the exact same thing by turning the compiled shader bytecode into SPIRV for Vulkan.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: