osxmidi / LinVst

Linux Windows vst wrapper/bridge
GNU General Public License v3.0
682 stars 41 forks source link

Wine-staging 6.15 breaks linvstserver #201

Closed TheBluestBird closed 2 years ago

TheBluestBird commented 3 years ago

Hello! I'm not sure if it's something important or to worry about but it seems like wine-staging 6.15 and 6.16 break linvstserver on archlinux

Here is how it normally runs

/usr/bin/lin-vst-servertrack.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.14 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

00b0:fixme:thread:GetThreadUILanguage : stub, returning default language.
00b0:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 00CBD9D0, 00000000 00CBD9F8
00b0:fixme:nls:get_dummy_preferred_ui_language (0x38 00CBD9D0 00000000 00CBD9F8) returning a dummy value (current locale)
00b0:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 00CBD9D0, 017CA680 00CBD9F8
00b0:fixme:nls:get_dummy_preferred_ui_language (0x38 00CBD9D0 017CA680 00CBD9F8) returning a dummy value (current locale)
00b0:fixme:wtsapi:WTSRegisterSessionNotification Stub 00010084 0x00000000
00b0:fixme:uxtheme:BufferedPaintInit Stub ()
00b0:fixme:process:SetProcessShutdownParameters (00000155, 00000001): partial stub.
00b0:fixme:process:WTSGetActiveConsoleSessionId stub
00e0:fixme:wtsapi:WTSQueryUserToken 1 02A2FECC semi-stub!
00dc:fixme:ntdll:NtSetInformationToken TokenSessionId stub!
0110:fixme:win:RegisterPowerSettingNotification (00D88C48,{6fe69556-704a-47a0-8f24-c28d936fda47},1): stub
0164:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\atl100.dll" (error=80)
wine: configuration in L"/home/betrayer/.wine" has been updated.
DSSI VST plugin server v0.986
Copyright (c) 2012-2013 Filipe Coelho
Copyright (c) 2010-2011 Kristian Amlie
Copyright (c) 2004-2006 Chris Cannam
LinVst version 4.5.2
Usage: dssi-vst-server <vstname.dll>,<tmpfilebase>

And here is how it runs under 6.15 and above

/usr/bin/lin-vst-servertrack.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.15 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

00b0:fixme:thread:GetThreadUILanguage : stub, returning default language.
00b0:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 00CBD9D0, 00000000 00CBD9F8
00b0:fixme:nls:get_dummy_preferred_ui_language (0x38 00CBD9D0 00000000 00CBD9F8) returning a dummy value (current locale)
00b0:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 00CBD9D0, 017CA680 00CBD9F8
00b0:fixme:nls:get_dummy_preferred_ui_language (0x38 00CBD9D0 017CA680 00CBD9F8) returning a dummy value (current locale)
00b0:fixme:wtsapi:WTSRegisterSessionNotification Stub 00010084 0x00000000
00b0:fixme:uxtheme:BufferedPaintInit Stub ()
00b0:fixme:process:SetProcessShutdownParameters (00000155, 00000001): partial stub.
00b0:fixme:process:WTSGetActiveConsoleSessionId stub
00dc:fixme:ntdll:NtSetInformationToken TokenSessionId stub!
00e0:fixme:wtsapi:WTSQueryUserToken 1 02A1FECC semi-stub!
010c:fixme:win:RegisterPowerSettingNotification (041E7FD0,{6fe69556-704a-47a0-8f24-c28d936fda47},1): stub
0154:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2dc17

As a result none of the plugins are found by DAW.

The same reproduces with LinVst-X

It might be something that was installed in my prefix for sometime and finally went off now with update, but if I have faced it, most probably someone else will. So I wish to assist finding the cause of it or at least finding a workaround

Sorry to bother and thank you for attention and for the product that was making miracles for me all those years

p1xlized commented 3 years ago

i got same thing on 6.15 wine version

osxmidi commented 3 years ago

I'll look into it.

Probably the Wine devs have changed something (again).

osxmidi commented 3 years ago

Downgrade

https://forum.winehq.org/viewtopic.php?f=8&t=34234

TheBluestBird commented 3 years ago

I sure did, but I hope we can find some solution to it, for people not to get stuck with this version of wine

guglielmofratticioli commented 3 years ago

Yeah , same for v6.16

lin-vst-servertrack.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.16 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

0090:fixme:exec:SHELL_execute flags ignored: 0x00000100
003c:err:service:process_send_command service protocol error - failed to write pipe!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"SystemServices" failed to start: 1053
0120:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2cdd7
osxmidi commented 3 years ago

It's due to a Wine Staging bug that interferes with how LinVst (or any winegcc built) program loads.

Hopefully it will be fixed in the next Wine Staging release.

The Wine patches that they accept for a release don't seem to get tested with winegcc built programs, so Wine Staging 6.x has broken those programs more than once because of it.

winegcc is needed to build wine programs using Linux, and Wine Staging seems like it hasn't been tested for compatibility with winegcc made programs before they release a new Wine Staging version.

TheBluestBird commented 3 years ago

So... the bug will just go away in some releases of wine-staging? Sounds like awesome news

TheBluestBird commented 3 years ago

6.16, the problem remains on wine staging and on not staging

TheBluestBird commented 3 years ago

This observation might be interesting: 32bits version works

[blue@crow linvst-bin]$ /usr/bin/lin-vst-servertrack32.exe
006c:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0034:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
DSSI VST plugin server v0.986
Copyright (c) 2012-2013 Filipe Coelho
Copyright (c) 2010-2011 Kristian Amlie
Copyright (c) 2004-2006 Chris Cannam
LinVst version 4.5.2
Usage: dssi-vst-server <vstname.dll>,<tmpfilebase>
(Command line was: )
[blue@crow linvst-bin]$ /usr/bin/lin-vst-servertrack.exe
006c:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0034:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
00fc:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2d277
[blue@crow linvst-bin]$ 
osxmidi commented 3 years ago

Wine Staging 6.17 has been released.

Hopefully it will have a fix.

atomik4 commented 3 years ago

I can confirm that it's working with wine-6.17 (Staging)

TheBluestBird commented 3 years ago

Yes, I can confirm too, tried it today and it works

Levitanus commented 2 years ago

Drag'n'Drop version is marvelous, thank You!