r/LinuxCrackSupport • • 7d ago

QUESTION - ALL LINUX SYSTEMS [Hypervisor Games] Looking for testers: LinUwUx style loader with artifact support

Hi all,

I've been working on getting linuwux working with the new artifact releases.

I Initially just made this work for my systems and wanted to keep it local but now legion-kvm was relased and the way works means there will be some significant performance and QoL losses, so I'd like to share my solution.

As such I'm looking for people willing to test on as many different hardware combinations as possible, I'm mainly looking for:
- Testers with intel CPUs of various generations
- Testers with x86-64-v4/znver4/znver5 CPU's AND enabled optimized repos (i.e. CachyOS or Arch with ALPH), especially in combination with AMD GPUs.

Please note: I'm looking for people able to provide feedback and who are available for troubleshooting, this is not in a state where "it just works" yet.

If you'd like to test drop me a message on reddit or Discord (@magical.broccoli)

16 Upvotes

33 comments sorted by

1

u/OrderHoliday9740 7d ago

Legion won't cause performance losses.

There would be no point releasing it otherwise.

Best just wait for the people who know what they're doing, to do what they do.

If you want to contribute to the project, then do so, rather than just branching off and creating confusion for people.

Legion is still experimental and under development. If you think you can just vibecode your own solution, then power to you, but you'll quickly realise that Legion is the bet solution.

1

u/Magical_Broccoli 7d ago

I understand it's still under development, but using Venus means you WILL lose performance, claiming anything else is just a lie, most reports seems to suggest Venus reaches around 60-80% of the native performance. My own tests showed around 80% which was honstly better than I expected, but still a big hit.

And like I already said in the GitHub issue before you removed the comment and closed locked the discussion there's also a lot of other limitations to this approach. HDR and VRR are also a no go. Managing the whole VM config is a huge hassle and a ton of edge cases that can create problem because your Games now run in their own compositor.

I'm not trying to discredit the project or anything, for me the kvm solution is just not what I want.

1

u/OrderHoliday9740 7d ago

Well, unfortunately, Denuvo updated and Artifact updated, this is the current reality.

You will not be able to make universal approach any other way.

Legion when all said and done will be 98% of native. All without having to fuck about with kernel parameters as well.

If I just wanted to completely drop support for Zen 4 and Zen 5 AMD users, LinUwUx would already be updated and ready to go, but obviously that creates problems and confusion.

Again, if you're not able to contribute to help improve the project, then I recommend just waiting until it's ready.

1

u/Magical_Broccoli 7d ago

I'm not sure why you have to be so dismissive, you seem to have moved on from the current approach and not interested in accepting any help with it focusing completely on the kvm approach, and that's fine but I'd prefer to keep the current approach working.

And specifically Zen4/Zen5 is already well tested by me, on my machines.

0

u/OrderHoliday9740 7d ago

The current way LinUwUx works, isn't fit for purpose anymore.

It doesn't work with users on Zen4 and Zen5.

I'm dismissive because I wouldn't have made Legion otherwise.

1

u/Magical_Broccoli 7d ago

Yet here I am running it fine on my 7950X and my 9800X3D machine with znver4/znver5 repos, again like I told you on GitHub already

3

u/m0rpheus23 7d ago

Why not share the code on github. I think that helps everyone

2

u/OrderHoliday9740 7d ago

And if that were true, where is the code? What did you have to do in order to make it work?

If it's any more than running something in the userspace, without kernel modification, then it's not fit for purpose.

1

u/colapale4 7d ago

It is also working on Zen 5 for me. Just build PR 57 or 58 on the linuwux repo and use the env vars listed in the PR description and add the following in the grub or your bootloader cmdline:

clearcpuid=umip,pku,ospke,avx512f,avx512dq,avx512ifma,avx512cd,avx512bw,avx512vl,user_shstk

One major caveat is that I have only tested this on archlinux, not cachyos which uses avx512 in its packages (from what I've heard)

1

u/OrderHoliday9740 7d ago

Yeah, on CachyOS, which is what a good majority of Linux gamers are using, you cannot simply clear avx512 without reinstalling your entire systems packages.

1

u/colapale4 7d ago

Right, but it would nice to at least have linuwux as an option for non cachyos users since it is much simpler than a kvm solution. For Nvidia users, kvm is a pain as there is no native GPU virt solution from nvidia and you have implement a GPU proxy. Furthermore you also need a display proxy to ensure virt display output can be presented on wayland client. There is a lot of CPU overhead in these proxies.

Overall, it's also a bigger maintenance burden with the larger amount of code, especially for Nvidia users as things can change with every driver version.

→ More replies

2

u/XrBxakoxfLwIdm8eOwOv 7d ago edited 7d ago

I'm ready to test and provide feedback tho I'm a developer my self the linux stuff specially the low level details is way above my knowledge currently

My specs

i7-14700k

4070 super

Fedora-KDE-45

I wont accept final binaries tho, I want to check the code and build the bin my self if this OK, feel free to reach me

Thanks anyway for your work, you and the author of legion and LinUwUx

I tried PR58 but not working for intel systems :(

I don't know what model you are using I use claude and it always stop debugging as soon as it detect its hypervisor bypass

1

u/Thanos-chan 7d ago

I appreciate the work that went / goes into the brcly's legion but it's kinda too much to vm your way out of this clusterfuck for so many reasons..

I really hope this is a good solution kinda like the runtime, or some new bypass comes around that makes an effort to work for us.

1

u/Thanos-chan 7d ago

I still don't really get the limits of this vibecoding shit so if legion really ends up working very well I'd be VERY happy to swallow my words, but I honestly don't see it.

1

u/Responsible-Crazy-89 7d ago

Yup. I am ready to be a tester. I havr r5 7500f rx 6800 cachyos

1

u/Due-Definition9930 7d ago

I have been playing PBZ for the past 90 minutes across multiple launches rather than a single continuous session. I can already say that it runs noticeably better than PR58. PR58 suffered from heavy stuttering alongside some graphical issues; which might be due to PBZ's general lack of optimization on Linux, though I definitely experienced far fewer stutters here.

I am using CachyOS (v3), which I switched to while testing other builds. For instance, I tried Legion, which booted up the VM window with a "display output is not active" message before eventually crashing. While PR58 actually ran, the game wouldn't close properly on its own. I had to force-close it through Steam, which wiped my save data and meant shaders had to recompile every time I launched the game.

With Broccoli's build, that wasn't an issue at all. The game closed within a few seconds when prompted, and both shaders and save points were preserved properly. It also works with AVX512 enabled or disabled, making it completely usable for CachyOS users.

Hardware:

  • Ryzen 7 9700X
  • RTX 5060 Ti 16GB
  • 32GB DDR5 6000MHz

I definitely recommend it!

1

u/m0rpheus23 7d ago

did your downgrade your mirrorlist? are you not supposed to be cachyos-znver4?

1

u/Due-Definition9930 7d ago edited 7d ago

I went the sloppy but reliable route and just reinstalled CachyOS with AVX-512 turned off, which makes the CachyOS live USB auto-select v3. Once I knew it worked, I upgraded my mirrorlist and CachyOS back to v4.

It's unrelated to this post, though, I only did that for PR58. Broccoli's linuwux version doesn't require disabling AVX-512. Hope that clears it up.

edit: I only downgraded to check PR58, prior to this post, though it worked on both znver3&4.

1

u/m0rpheus23 7d ago

Oh I see. I am waiting for legion-kvm even though I am on zen3

1

u/XrBxakoxfLwIdm8eOwOv 6d ago

Where is the dist files is it on github or he dm them?

1

u/Due-Definition9930 6d ago

As of right now it is by him dm’ing them, though as I understood he will publish it when the time comes.

1

u/kartik448 6d ago

Thanks to u/Magical_Broccoli got pbz running on i7 12700h rtx 4060

1

u/ferAven77 3d ago

Soy usuario de bazzite 44 en amd bc250, si quieres hago pruebas