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

Native Direct3D 9 will be unavailable #156

Closed johnfkinfuzz closed 1 year ago

johnfkinfuzz commented 1 year ago

I'm running arch with a NVIDIA 8600 GT and i'm trying to use wine-nine to play Skyrim but when i run the command wine ninewinecfg, i get this:

$ wine ninewinecfg 002c:fixme:winediag:LdrInitializeThunk wine-staging 8.4 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 0118:fixme:imm:ImeSetActiveContext (00020058, 1): stub 0118:fixme:imm:ImmReleaseContext (0001006A, 00020058): stub err:d3d9nine:present_has_d3dadapter No available backends. Native Direct3D 9 will be unavailable. For more information visit https://github.com/iXit/wine-nine-standalone err:d3d9nine:d3dadapter9_new Your display driver doesn't support native D3D9 adapters. 007c:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub 007c:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub

I don't know what to do, i already installed the requirements...

lorn10 commented 1 year ago

This looks like something is missing in regard to the Mesa Gallium side.

Did you really have installed all required packages? I think the wine-nine arch package is not enough. You have also to install the Gallium part of Gallium Nine. Unfortunately I have no idea about Arch Linux but on Debian/Ubuntu it is:

sudo apt install libd3dadapter9-mesa sudo apt install libd3dadapter9-mesa:i386 sudo apt-get install libegl1:i386

And after that I have just to install the wine part of Gallium Nine via winetricks:

winetricks -q galliumnine

Now you have just to search the corresponding Arch Linux equivalents for these commands. :wink:

Final note, your GeForce 8600 GT is using the nv50 Mesa driver, right? This should work so far I know but there are not a lot of feedback about the current stage of Gallium Nine with this driver.

johnfkinfuzz commented 1 year ago

I think i solved it by uninstalling the NVIDIA driver from AUR and generating a new xorg.conf file to use the default one. This is what i get now:

$ wine ninewinecfg 002c:fixme:winediag:LdrInitializeThunk wine-staging 8.4 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented! 0118:fixme:imm:ImeSetActiveContext (00020058, 1): stub 0118:fixme:imm:ImmReleaseContext (0001006A, 00020058): stub nine:adapter9:ctor: Your card is at the limit of Gallium Nine requirements. Some games may run into issues because requirements are too tight Native Direct3D 9 v0.9.0.396-release is active. For more information visit https://github.com/iXit/wine-nine-standalone 0084:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub 0084:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub

I was trying to gain some performance using wine-nine but it seems like my GPU is not enough to play on linux, thanks for answer me anyway (And sorry for my bad English)

lorn10 commented 1 year ago

Yes, Gallium Nine only works with Gallium drivers. :+1:

It doesn't work with the proprietary Nvidia driver (and the old Mesa classic ones).