FS#70994 - [wine-nine] wine-nine not working with wine 6.8 and 6.9

Attached to Project: Community Packages
Opened by Florian Léger (fleger) - Sunday, 23 May 2021, 14:14 GMT
Last edited by Toolybird (Toolybird) - Monday, 30 January 2023, 04:07 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

wine-nine doesn't work with wine>=6.8.
This is because starting with wine 6.8, dlls and exes are expected to be located in architecture-specific directories.

Installing the dlls into these directories fixes the issue for me:
install -Dm755 "${srcdir}/fakeinstall"/bin/ninewinecfg.exe.so "${pkgdir}"/usr/lib/wine/x86_64-unix/ninewinecfg.exe.so
install -Dm755 "${srcdir}/fakeinstall"/bin/ninewinecfg.exe.fake "${pkgdir}"/usr/lib/wine/x86_64-windows/ninewinecfg.exe

install -Dm755 "${srcdir}/fakeinstall"/bin32/ninewinecfg.exe.so "${pkgdir}"/usr/lib32/wine/i386-unix/ninewinecfg.exe.so
install -Dm755 "${srcdir}/fakeinstall"/bin32/ninewinecfg.exe.fake "${pkgdir}"/usr/lib32/wine/i386-windows/ninewinecfg.exe

install -Dm755 "${srcdir}/fakeinstall"/lib/d3d9-nine.dll.so "${pkgdir}"/usr/lib/wine/x86_64-unix/d3d9-nine.dll.so
install -Dm755 "${srcdir}/fakeinstall"/lib/d3d9-nine.dll.fake "${pkgdir}"/usr/lib/wine/x86_64-windows/d3d9-nine.dll

install -Dm755 "${srcdir}/fakeinstall"/lib32/d3d9-nine.dll.so "${pkgdir}"/usr/lib32/wine/i386-unix/d3d9-nine.dll.so
install -Dm755 "${srcdir}/fakeinstall"/lib32/d3d9-nine.dll.fake "${pkgdir}"/usr/lib32/wine/i386-windows/d3d9-nine.dll


Additional info:
* package version(s): wine-nine 0.8.0-1, wine 6.8-1 or wine 6.9-1 or wine-staging 6.9-1
* link to upstream bug report, if any

Steps to reproduce:
With a clean wine prefix :
- wine ninewinecfg
Result: Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
Expected: Nine configuration utility starts.


This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 30 January 2023, 04:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  wine-nine 0.8-2
Comment by Emil (xexaxo) - Sunday, 23 May 2021, 16:29 GMT
Above looks perfectly reasonable, although I think we should open an upstream bugreport.
They could detect the wine version and use the correct path during `ninja install`.
Comment by Thomas Monjalon (tmonjalo) - Sunday, 03 October 2021, 14:18 GMT
Testing with wine 6.16, there are above issues and also a crash when trying to run ninewinecfg.exe
Please any update?
Comment by Laurent Carlier (lordheavy) - Sunday, 03 October 2021, 17:31 GMT
please test wine-nine-0.8-2
Comment by Thomas Monjalon (tmonjalo) - Sunday, 03 October 2021, 18:55 GMT
Installed wine-nine-0.8-2 and run wine ninewinecfg, setup works fine, thanks.
The initial bug is fixed.

Then running a DirectX9 game, I see this error in a wine popup:
Required library d3d9.dll does not exist.

I see the lib is available in /usr/lib/wine/x86_64-windows/d3d9.dll
Should it be installed in the wine prefix?
Comment by Emil (xexaxo) - Sunday, 03 October 2021, 19:21 GMT Comment by Thomas Monjalon (tmonjalo) - Sunday, 03 October 2021, 21:10 GMT
Retried from scratch, and noticed a fatal error in the log when enabling or disabling Gallium Nine:

0108:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2d277

Packages installed:
wine 6.16-1
wine-gecko 2.47.2-2
wine-mono 6.3.0-1
wine-nine 0.8-2
winetricks 20210825-1
vkd3d 1.2-1
Comment by Emil (xexaxo) - Sunday, 29 January 2023, 12:09 GMT
Upstream were not interested in fixing this, although Laurent resolved it with wine-nine 0.8-2. Thank you \o/

Loading...