Kontakt player decided to stop working on me...

Discuss running non-Linux applications and plugins on Linux, for example via wine

Moderators: MattKingUSA, khz

Death
Established Member
Posts: 372
Joined: Sun Oct 11, 2015 1:43 pm
Been thanked: 32 times

Re: Kontakt player decided to stop working on me...

Post by Death »

Ok. Well I'm testing things out. If I make any progress, I'll let you know just incase it's useful to you. Good luck :)
MachinaeWolf
Established Member
Posts: 20
Joined: Sun Sep 29, 2019 3:35 am

Re: Kontakt player decided to stop working on me...

Post by MachinaeWolf »

I haven't found a solution but I see the plugin Syntronik is suffering from the same issue and error.
glowrak guy
Established Member
Posts: 2315
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 251 times

Re: Kontakt player decided to stop working on me...

Post by glowrak guy »

I have Kontakt 6 and Syntronik 1.2 in Mint 18, using windows Reaper
and the latest wine-staging, 2.17 I think. along with a motley crew
of dll over-rides. Both instruments work OK.
You might want to rename and backup your .wine folder,
and start fresh, with the latest version, copy giant sound libs
back if things start working. Once working, if there are any
freeware plugins you rely on, add them back only when you're
actually going to use it/them. There are still
oldies that aren't goodies out there. :wink:

Wine is improving nicely, so I'll be doing a setup without over-rides
for comparison soon. I think I have some redundencies that might
make trouble.
MachinaeWolf
Established Member
Posts: 20
Joined: Sun Sep 29, 2019 3:35 am

Re: Kontakt player decided to stop working on me...

Post by MachinaeWolf »

glowrak guy wrote:I have Kontakt 6 and Syntronik 1.2 in Mint 18, using windows Reaper
and the latest wine-staging, 2.17 I think. along with a motley crew
of dll over-rides. Both instruments work OK.
You might want to rename and backup your .wine folder,
and start fresh, with the latest version, copy giant sound libs
back if things start working. Once working, if there are any
freeware plugins you rely on, add them back only when you're
actually going to use it/them. There are still
oldies that aren't goodies out there. :wink:

Wine is improving nicely, so I'll be doing a setup without over-rides
for comparison soon. I think I have some redundencies that might
make trouble.
Well unfortunately whatever the issue is affecting kontakt player for me is also affecting Native Access which is the only way to download a newer copy of kontatk player if there is even a newer version available. I had already tried redoing my whole setup by wiping the wine prefix and installing everything over again but that didn't fix it :/
glowrak guy
Established Member
Posts: 2315
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 251 times

Re: Kontakt player decided to stop working on me...

Post by glowrak guy »

Native Access can fail in rare windows fiascos, too. And when a troublesome version
is released, it's SOL for a few customers, because it auto-updates. But I think there is an env variable
that can be set to block auto-update.

Is your wine ID set as win 8? That might help. Myself, I think there are
too many loose canon c++ vcrun redistibutables around, for coders and support staff
to comprehend, and multiple .net frameworks adding to the slumgullion.

On a fresh install, I would try installing just one main app, maybe Syntronik in
your case. You mentioned reinstalling everything, and the villain
may be in the herd.

You might also switch wine versions if not yet tried, there are
stable and newer-than-stable wine-stagings at wineHQ, and then
whatever your repo has.
You might need a different linux if this isn't resolved.
Wine-staging needs all of a standard repository wine removed/renamed,
before installing it (but some of the many dependencies will need
to be reinstalled later.)

I have a Manjaro on a small SSD, that was working well, but it's been weird sailing
for a couple months. Using yay for package management worked originally,
then the updates just stopped coming in.
(sorry if just obvious ideas are posted, done for others coming by later
to whom it may be new)
Cheers
glowrak guy
Established Member
Posts: 2315
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 251 times

Re: Kontakt player decided to stop working on me...

Post by glowrak guy »

Below are the over-rides I use. Chosen based on tips, terminal output,
google results etc. But now I compare file sizes of what wine provides,
compared to msoft originals. If the file size difference is glaring, I'll add
the over-ride. As wine improves, the provided dlls may approach
the size of the original, so in that case, I hold off on the over-ride,
until further tests can be done.

concrt140
d2d1 (some people configure it as disabled at times)
d3d10
d3d11
d3d9
d3dx9_35
d3dx9_41
gdiplus
mfc90
mscoree
msvcm80
msvcp140
msvcp80
msvcr120
msxml3
ucrtbase
mfc42 and umfc42 (Place these two in C:/windows/syswow64
atl100
api-ms-win-core-libraryloader-l1-2-0.dll
api-ms-win-core-sysinfo-l1-2-1.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
MachinaeWolf
Established Member
Posts: 20
Joined: Sun Sep 29, 2019 3:35 am

Re: Kontakt player decided to stop working on me...

Post by MachinaeWolf »

glowrak guy wrote:Native Access can fail in rare windows fiascos, too. And when a troublesome version
is released, it's SOL for a few customers, because it auto-updates. But I think there is an env variable
that can be set to block auto-update.

Is your wine ID set as win 8? That might help. Myself, I think there are
too many loose canon c++ vcrun redistibutables around, for coders and support staff
to comprehend, and multiple .net frameworks adding to the slumgullion.

On a fresh install, I would try installing just one main app, maybe Syntronik in
your case. You mentioned reinstalling everything, and the villain
may be in the herd.

You might also switch wine versions if not yet tried, there are
stable and newer-than-stable wine-stagings at wineHQ, and then
whatever your repo has.
You might need a different linux if this isn't resolved.
Wine-staging needs all of a standard repository wine removed/renamed,
before installing it (but some of the many dependencies will need
to be reinstalled later.)

I have a Manjaro on a small SSD, that was working well, but it's been weird sailing
for a couple months. Using yay for package management worked originally,
then the updates just stopped coming in.
(sorry if just obvious ideas are posted, done for others coming by later
to whom it may be new)
Cheers
I've only gone with the regular wine from the repo or wine-staging from the arch repo. Well the thing is whenever I started my wine prefix fresh to test all this the only things I had installed was native access, kontakt player, and some winetricks things.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt player decided to stop working on me...

Post by ubuntuuser »

The current Native Access install hangs on the ISO Driver Install on Debian 10/Wine Staging 4.17 with Windows 7 set in winecfg.

I changed it to Windows 10 in winecfg and it installed ok.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt player decided to stop working on me...

Post by ubuntuuser »

Seeing that the problem seems to with the vcredist files, then maybe using winetricks vcrun2015 might help.
MachinaeWolf
Established Member
Posts: 20
Joined: Sun Sep 29, 2019 3:35 am

Re: Kontakt player decided to stop working on me...

Post by MachinaeWolf »

Should I uninstall vcrun2017 then? vcrun2015 and vcrun2017 conflict with each other.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt player decided to stop working on me...

Post by ubuntuuser »

MachinaeWolf wrote:Should I uninstall vcrun2017 then? vcrun2015 and vcrun2017 conflict with each other.
Well it seems that 2015 and 2017 are the same thing, and 2017 is just an updated 2015 so whatever Kontakt 6 installs is what you should stick with.

Your problem is with api-ms-win-crt-runtime-l1-1-0.dll (unimplemented function) for some reason, maybe because of the redist install.

An unimplemented function error in Wine usually means that the app is using the inbuilt Wine dll and a dll override might fix the unimplemented function error.

If your resist install was ok, then you should not be seeing unimplemented function errors from api-ms-win-crt-runtime-l1-1-0.dll
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt player decided to stop working on me...

Post by ubuntuuser »

So, doing a search for api-ms-win-crt-runtime-l1-1-0.dll on my system with Kontakt 6 installed comes up with

ls -la /opt/wine-staging/lib64/wine/fakedlls/api-ms-win-crt-runtime-l1-1-0.dll
-rw-r--r-- 1 root root 5640 Oct 20 01:04 /opt/wine-staging/lib64/wine/fakedlls/api-ms-win-crt-runtime-l1-1-0.dll

ls -la /home/user/.wine/drive_c/windows/system32/api-ms-win-crt-runtime-l1-1-0.dll
-rw-r--r-- 1 user user 5640 Oct 22 22:52 /home/user/.wine/drive_c/windows/system32/api-ms-win-crt-runtime-l1-1-0.dll


and it seems that the Wine inbuilt api-ms-win-crt-runtime-l1-1-0.dll is the same as what is in the windows/system32 directory.


So maybe you need a api-ms-win-crt-runtime-l1-1-0.dll override for some reason, to get around the unimplemented function api-ms-win-crt-runtime-l1-1-0.dll error but I don't need it on my system (Debian 10).

I'm not actually sure how and how much of the vcredist actually gets installed with Wine, maybe the vcredist skips some files as it sees Wines inbuilt files and thinks they are already there.

I don't know if winetricks 2017 installs the redist files (real windows dll files in the redist package) as overrides.
MachinaeWolf
Established Member
Posts: 20
Joined: Sun Sep 29, 2019 3:35 am

Re: Kontakt player decided to stop working on me...

Post by MachinaeWolf »

ubuntuuser wrote:
MachinaeWolf wrote:Should I uninstall vcrun2017 then? vcrun2015 and vcrun2017 conflict with each other.
Well it seems that 2015 and 2017 are the same thing, and 2017 is just an updated 2015 so whatever Kontakt 6 installs is what you should stick with.

Your problem is with api-ms-win-crt-runtime-l1-1-0.dll (unimplemented function) for some reason, maybe because of the redist install.

An unimplemented function error in Wine usually means that the app is using the inbuilt Wine dll and a dll override might fix the unimplemented function error.

If your resist install was ok, then you should not be seeing unimplemented function errors from api-ms-win-crt-runtime-l1-1-0.dll
Well I tried setting the override to native (windows) but it didn't fix it. As far as I know all the wine things and winetricks things I installed installed properly.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt player decided to stop working on me...

Post by ubuntuuser »

After winetricks vcrun2017

/ls -la /home/user/.wine/drive_c/windows/syswow64/api-ms-win-crt-runtime-l1-1-0.dll
-rw-r--r-- 1 user user 24552 Jul 19 11:37 /home/user/.wine/drive_c/windows/syswow64/api-ms-win-crt-runtime-l1-1-0.dll

so winetricks vcrun2017 installs a real (overridden) api-ms-win-crt-runtime-l1-1-0.dll from the 2017 redist whereas the Kontakt 6 redist install didn't and the Wine inbuilt api-ms-win-crt-runtime-l1-1-0.dll was being used instead.

The unimplemented function error that you get in usually points to a bad install or something on the system not being right, maybe incompatible installs.

On my system (Debian 10) Kontakt 6 works with Wines inbuilt api-ms-win-crt-runtime-l1-1-0.dll and doesn't need an override and I don't get api-ms-win-crt-runtime-l1-1-0.dll unimplemented function errors, so theoretically your system should be the same unless their is some sort of setup error or you have a Kontakt 6 version later than mine or some other app you have installed has interfered somehow with the redist files that might have been installed etc etc.

Do a search on your system for api-ms-win-crt-runtime-l1-1-0.dll and get the sizes, it should be 24552 bytes in your system32 folder if the vcredist real api-ms-win-crt-runtime-l1-1-0.dll (overridden) is being used.

Usually in cases like this just start from the beginning (delete the wine prefix (rm -R /home/user/.wine) and run winecfg to build a new wineprefix) and just install Kontakt 6 and nothing else and then see what happens and then if you get an unimplemented function error install winetricks vcrun2017.
MachinaeWolf
Established Member
Posts: 20
Joined: Sun Sep 29, 2019 3:35 am

Re: Kontakt player decided to stop working on me...

Post by MachinaeWolf »

Ok so the one in ~/.wine/drive_c/windows/syswow64 is 24552 bytes but the one in ~/.wine/drive_c/windows/system32 is 24344 bytes.
Post Reply