longjunyu2 / winlator

Android application for running Windows applications with Wine and Box86/Box64
https://winlator.org
Other
307 stars 39 forks source link

[feature request] add documentation for .wcp and .rcp files #112

Open magbulogtong81 opened 2 months ago

magbulogtong81 commented 2 months ago

I was trying to add my own VirGL .wcp, but I had to decompress some existing .wcp files like the turnip and dxvk .wcp just to know how it works. but even then, I don't know where is the virgl_test_server path is, and I don't know if I need to replace that or if I can just add another and tell winlator to use my own virgl_test_server script

lvonasek commented 2 months ago

The VirGL server is compiled directly into the app (there is no WCP support for changing the server): https://github.com/longjunyu2/winlator/tree/main/app/src/main/cpp/virglrenderer/server

With WCP you could replace the driver itself (which should be enough to fix the issues). You can see the file structure inside of this archive: https://github.com/longjunyu2/winlator/blob/main/app/src/main/assets/graphics_driver/virgl-23.1.9.tzst

Note that you can copy your driver directly into Z:\usr\lib inside of the container.

nakele commented 1 month ago

I'm my experience with mobox, virgl 18 and 19 were the only 2 version that did not give black screen with exynos-mali. Additionally, the opengl tests (gpu caps viewer) for light shadow and radial blur works well while fails in newer virgl. Additionally, in EnvMapping+dx9 test, reflections aren't back but are properly rendered, while are completely black with newer virgl version

Dx9 games tested: