iXit / wine-nine-standalone

Build Gallium Nine support on top of an existing WINE installation
GNU Lesser General Public License v2.1
272 stars 23 forks source link

Gallium nine on Nvidia proprietary drivers via Zink #126

Open CTRL-ALT-DEL-92 opened 2 years ago

CTRL-ALT-DEL-92 commented 2 years ago

Dear G9 Devs,

As stated in the title of the issue, I'd like to know if G9 could work on nvidia proprietary drivers via mesa Zink. An article on phorornix states that some pending patches could make this possible. The latest Nvidia proprietary drivers (version 495.44) allows zink to work properly, I'm able to render glxgears and I'm even playing knights of the old republic 2 (linux native opengl version) via zink on a gtx960m with nvidia driver 495.44. Giving this command __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink I'm able to force an open gl application to run via zink. I've tried this trick on a wine prefix with G9 installed, when I start my laptop in power saving mode (with intel skylake igpu set as primary) wine ninewinecfg.exe shows me no errors. When I start the laptop in performance mode (nvidia gpu with proprietary driver set as primary) giving the command __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink wine ninewinecfg.exe gives me the error no d3d9 adapter found. I know that is an experimental feature but I'd like to test it out just out of curiosity. Thanks for your usual courtesy and support. Here's the link to the phoronix's article I've mentioned https://www.phoronix.com/scan.php?page=news_item&px=Zink-Gallium-Nine-Vulkan