Kontakt Player 6 ?

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

Moderators: MattKingUSA, khz

jonetsu
Established Member
Posts: 2036
Joined: Sat Jun 11, 2016 12:05 am
Has thanked: 10 times
Been thanked: 22 times

Kontakt Player 6 ?

Post by jonetsu »

Hello all,

Does Kontakt Player 6 works reasonably well ? By 'reasonably' I mean rather quickly (no lengthy workarounds) and with a high percentage of success.

The reason for asking is Lunaris, which is made of pads created by a bunch of well-known sound designers (of which I have sound sets for different synths), and is at 40% off now: https://www.luftrum.com/lunaris/

Cheers.

P.S.: Thanks to ubuntuuser for the latest explanations and details on winecfg !
jonetsu
Established Member
Posts: 2036
Joined: Sat Jun 11, 2016 12:05 am
Has thanked: 10 times
Been thanked: 22 times

Re: Kontakt Player 6 ?

Post by jonetsu »

I gave it a try. First by downloading Native Access and then running it, wher eit asks about installing Kontakt 6 and Reaktor 6. wine had a problem during install. Which is a bit curious since an installation is just about unpacking and copying files here and there, modifying config files, nothing drastic. I guess.

Then the executable that was installed was Kontakt.exe. No .dll ? Is Kontakt an exe binary only ? Or is it that the installation did not run full path ?
linvstK6.jpg
linvstK6.jpg (13.71 KiB) Viewed 3772 times
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

Kontakt Player 5.x and 6.x (can try turning multiprocessing off for some setups).

Some additional dll overrides (below) might be needed for Kontakt.

Kontakt when used with Wine (Stable) 4.x needs a msvcp140.dll override whereas Kontakt used with Wine Staging 4.x doesn't.

To override a Wine dll, copy the windows dll (64 bit) to ~/.wine/drive_c/windows/system32 and then override the dll to be native by entering the dll name in the winecfg Libraries option tab.

Native Access might need a msvcp140.dll override.

Temp directory paths might need to be setup in the registry for some Native Access installs (Use regedit to import Waves.reg in the Waves folder).

Native Access can abort or crash partway through a download (because Wine can have problems mounting the downloaded iso file) but the iso file has been downloaded, so a manual mounting and install of the downloaded iso file or a manual unzipping and install of the downloaded zip file in ~/.wine/drive_c/users/user/Downloads is needed.

All NI iso files need to be mounted using udf and the unhide option (because they are dual PC/Mac iso files).

sudo mount -t udf file.iso -o unhide /mnt

run winecfg and check the Drives tab for a windows drive letter associated with /mnt

cd /mnt and run the installer (wine setup.exe)

To unmount the iso change to a drirectory away from /mnt and then sudo umount /mnt

For cd installs

sudo mount -t udf -o unhide /dev/sr0 /mnt

The winbind and libntlm0 and gnutls packages might need to be installed for net access.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

jonetsu wrote:I gave it a try. First by downloading Native Access and then running it, wher eit asks about installing Kontakt 6 and Reaktor 6. wine had a problem during install. Which is a bit curious since an installation is just about unpacking and copying files here and there, modifying config files, nothing drastic. I guess.

Then the executable that was installed was Kontakt.exe. No .dll ? Is Kontakt an exe binary only ? Or is it that the installation did not run full path ?
linvstK6.jpg

The Kontakt vst is a dll and the Kontakt standalone is a exe.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

This is what is in Waves.reg

wine regedit

Add the following environment string variables under HKEY_CURRENT_USER\Environment (New String Value)

COMMONPROGRAMFILES C:\Program Files\Common Files

PROGRAMFILES C:\Program Files

COMMONPROGRAMFILES(X86) C:\Program Files (x86)\Common Files

PROGRAMFILES(X86) C:\Program Files (x86)

PUBLIC C:\users\Public

-----------------

for 32 bit only systems it's

COMMONPROGRAMFILES C:\Program Files\Common Files

PROGRAMFILES C:\Program Files

PUBLIC C:\users\Public
Last edited by ubuntuuser on Sun Dec 08, 2019 7:49 am, edited 1 time in total.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

Also

set realtime priorities

If they are not set then cpu spiking can occur with Kontakt and other plugins.


sudo edit /etc/security/limits.conf

add

@audio - rtprio 99

------

sudo edit /etc/group

change

audio:x:29:pulse

to audio:x:29:pulse,<your_username>

------------

sudo edit /etc/security/limits.d/audio.conf

@audio - rtprio 95
@audio - memlock unlimited
#@audio - nice -19
glowrak guy
Established Member
Posts: 2325
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 256 times

Re: Kontakt Player 6 ?

Post by glowrak guy »

jonetsu wrote:Hello all,
Does Kontakt Player 6 works reasonably well ?
In additon to the above, maybe 16 gig ram as a baseline?
I've had good luck installing NI products based on the LinVst git page
instructions, and the 3 over-rides mentioned in the Waves folder
from the list on the left of the page, with Mint 18, and wine-staging 4.21/22.
I wrote up the installation steps/commands I used,
scroll down near the bottom over here:

https://www.kvraudio.com/forum/viewtopi ... &start=120

NI items worked in Reaper, both linux native, and with wine.
Reaktor, Massive, Absynth, Rounds, Replika, will need to clear disk space for Kontakt itself,
IK's sale ate my hard drive space :shock: :wink:

Some NI support staff preferences tips for the K6 sound library install:

https://support.native-instruments.com/ ... ror-en-us-

An app, wincdemu is mentioned as needed to mount iso files in win 7, maybe it would work in wine
and be useful for something?

http://wincdemu.sysprogs.org/tutorials/install/

Cheers
glowrak guy
Established Member
Posts: 2325
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 256 times

Re: Kontakt Player 6 ?

Post by glowrak guy »

Got K6 running in wine/reaper without problems, very nice sounds,
but in a terrible interface*, and on a 17" monitor, there is some screen jockeying needed
for some libs. But it's worth the pain. I remember in high school,
the sweet rally-girl/celloist/scholar up the street had to lug the huge instrument on the school bus
one day :shock: (I was instantly in love :mrgreen: ) But the times. they are a changin' :wink:

K6 cpu usage seems high compared to Sampletank playing similar material.
And SampleTank gui wins hands down, so buying K6 might best be considered
if there is some great sound library(s) that meets your needs, while robbing you of
those precious banjo/mandolin practice hours needed to learn the many K6 capabilities
and foibles

*NI knows the deep love that exists the Kontakt gui :lol:
But it won't likely be fixed any time soon, too much work,
too little profit to gain. I'd guess a whole new app
will appear someday, that could play the existing sound libs,
while keeping the old gui on breathing tubes forever :lol:

Cheers
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

Another thing is that from my testing (with Wine Staging), Kontakt tries to install the vc redist dlls and it doesn't seem to get installed, probably because it thinks that the Wine Staging's inbuilt dll's are already the vc redist dll's.

So if someone wants the real vc redist dlls to be installed (in a dll override way) then winetricks vcrunxxxx works.

Some things might need the real vc redist dll overrides instead of Wine Staging's own dll's.
glowrak guy
Established Member
Posts: 2325
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 256 times

Re: Kontakt Player 6 ?

Post by glowrak guy »

I took your advice to run Kontakt on a single cpu core,
and it makes a huge difference! You shared knowledge
makes many good things possible 8)

I think I like that the installer's redists get lost in the shuffle,
if the app itself is working well enough.
I can't prove it, but suspect when a very rare issue in
windows setups never gets fixed by sundry support staffs,
it's because of a shoddy line of code somewhere in some companies
redist...and because it only effects a handful of customers,
support staffs just roundfile it, when the customer
stops shouting. :evil:
Cheers
glowrak guy
Established Member
Posts: 2325
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 256 times

Re: Kontakt Player 6 ?

Post by glowrak guy »

ubuntuuser wrote:Another thing is that from my testing (with Wine Staging), Kontakt tries to
I did another install of Kontakt, but on a .wine that had quite a few over-rides,
and also had robocopy installed. Wine-staging 4.21 on Bodhi linux,
a ubuntu based distro that uses the Moksha system gui.

The install of Native Access locked up while it attempted to
install the NI 'iso driver'. Robocopy was not part of the recent successful install,
so I removed it. Now Native Access proceeded with the iso-driver install
in the next attempt, but again failed, this time with lots of d3d related errors.

I had over-rides for d3d 8, 9, 10, 11 and a 10 offshoot, so I removed them,
putting the original wine versions back in their place. On the next install attempt,
Native Access installed OK, and I was able to install Kontakt and Reaktor.

The only over-rides used were mfc140, mfc42, and mfc42u
as mentioned in the Waves section at your site. It looks
like wineHQ is making good progress. At some point, a spreadsheet
for all the bits and bobs used by x,y, and z, will be very handy.
Cheers
glowrak guy
Established Member
Posts: 2325
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 256 times

Re: Kontakt Player 6 ?

Post by glowrak guy »

KVR member zzzoom mentioned this, regarding Waves registrations:

"Regarding the use of network device MAC as machine ID for software activation, I found out that Waves does the same thing!

If you have multiple network adapters, including virtual ones with a MAC address, there is no way to predict which one will be chosen for this use.

I found out the hard way when I removed a virtual network adapter from my machine. Afterwards my Waves plugins informed me that they were no longer registered. So I had to burn my Waves "once a year" license recovery to get them working again.

Waves does offer an alternative method which lets you move your licenses onto a USB flash drive instead. But that MAC address thing is just weird!"

-------------------------------------------------------------------------------------

Maybe in addition to being weird, it's a lazy sloppy way, and preferred
by the more shallow coding slackers? ( I can code a postage stamp, on a good day,
so I probably shouldn't rail too loud at those making a paycheck from their coding...)
Cheers
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

glowrak guy wrote:
ubuntuuser wrote:Another thing is that from my testing (with Wine Staging), Kontakt tries to
I did another install of Kontakt, but on a .wine that had quite a few over-rides,
and also had robocopy installed. Wine-staging 4.21 on Bodhi linux,
a ubuntu based distro that uses the Moksha system gui.

The install of Native Access locked up while it attempted to
install the NI 'iso driver'. Robocopy was not part of the recent successful install,
so I removed it. Now Native Access proceeded with the iso-driver install
in the next attempt, but again failed, this time with lots of d3d related errors.

I had over-rides for d3d 8, 9, 10, 11 and a 10 offshoot, so I removed them,
putting the original wine versions back in their place. On the next install attempt,
Native Access installed OK, and I was able to install Kontakt and Reaktor.

The only over-rides used were mfc140, mfc42, and mfc42u
as mentioned in the Waves section at your site. It looks
like wineHQ is making good progress. At some point, a spreadsheet
for all the bits and bobs used by x,y, and z, will be very handy.
Cheers
I also had the iso install error and setting Windows 10 in winecfg seemed to fix it, maybe that was why it worked but maybe not.

Waves Central doesn't work anymore because they changed from using robocopy to using powershell and powershell doesn't work in a complete way with Wine.
jonetsu
Established Member
Posts: 2036
Joined: Sat Jun 11, 2016 12:05 am
Has thanked: 10 times
Been thanked: 22 times

Re: Kontakt Player 6 ?

Post by jonetsu »

Thanks a lot for the information. I'm with a dilemna as I'm a bit wary about making changes to the wine setup that could actually affect negatively the current setup, like causing problems in using the VSTs that do work fine now. Do you know if the changes you have mentioned are totally safe to the current setup ?

Cheers.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Kontakt Player 6 ?

Post by ubuntuuser »

I think they are ok.

Kontakt uses the vc runttime dlls (2015 I think) and winetricks vcrun2015 can be an option to install the real vc runtime dlls (instead of Wines builtin dlls) but you can try Kontakt without it.

If you are using Wine-Stable then you might need the dll overrides I mentioned, if you are using Wine-Staging then I don't think any dll overrides are needed,
Post Reply