Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 05-09-2018, 07:45 PM   #401
4duhwinnn
Human being with feelings
 
Join Date: Mar 2017
Posts: 859
Default

Quote:
Originally Posted by halfshavedyaks View Post
I am thrilled to see a native linux version of reaper finally available.
I'm completely new to running non-native plugins on linux - has anyone done a guide to getting pre-NA Kontakte working?
I'd suggest getting the latest wine for your distro,
from wineHQ, version 3.7 or so, and then get the LinVst wrapper.
For wine, uninstall any existing wine first.
Add the wineHQ repository to your
package-manager, reload the repositories, and install
the new wine. (Should you need/want
the windows Reaper in wine, also install 'wineasio'.
and choose it in your Reaper device prefs.
Sometimes wineasio needs a manual install, and a link to a
second or third folder that wine is involved with.
And a command must be run to register it with the system:

wine64 regsvr32 wineasio.dll )

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

https://github.com/osxmidi/LinVst

The LinVst wrapper provides several files, copy these three to

/home/your-nik

linvstconvert
linvstconverttree (for wrapping folder contents recursively)
linvst.so
-------------------------
in /usr/bin, copy
linvst.so
lin-vst-server.exe
lin-vst-server.exe.so
lin-vst-server32.exe
lin-vst-server32.exe.so

After Kontakt is installed, launch linvstconvert,
and a little gui opens a nice simple three-button gui
First button press is 'Choose LinVst.so'

browse to, and select your linvst.so
then click the 'Choose dll folder' button
and at the bottom of the list that opens, choose 'other',
and browse to the Kontakt dll folder, and select it,
then press the 'Convert' button, and a Kontakt.so will be created
next to your Kontakt.dll The two must reside together
at that location.

Then put the Kontakt path in Reaper's scan list,
restart Reaper, and you're mainly at home with the rest already.

Linux Reaper needs jackd, and jack midi,
so install the qjackctl connections manager gui,
the details of which are nicely presented here:

http://libremusicproduction.com/arti...g-started-jack

jack-midi is supplied by a2jmidid, and when installed,
it can be launched with command

a2jmidid -j default

which will place the jack-midi connector in the middle tab
of qjackctl's three-tabbed connections panel.

Going back through this topic, and the 'general linux reaper' topic,
and even the old topic that led to these, you'll find
valuable tips to build a tips text file for reference.
If Kontact/Service Manager don't work at first, you may need
wine 'over-rides', where some .dll provided by the wine install,
is replaced by an obtained real version, and placed in

/home/your-nik/.wine/drive_c/windows/system32

The command

winecfg

opens a tabbed config gui,
and the libraries tab has the browse and label
widgets to select and apply an over-ride.
The latest wineHQ has benefitted from
a Kontact user joining the team a while back,
so you might get lucky.

I rename the existing .dll file like 'name-of.dllDEFAULT',
rather than deleting or moving it, to make it
easy to spot in filemanagers, should I need to revert.

The google search wine override kontakt
even has the link to get LinVst, amid other hits.

Welcome to the forum, linux Reaper is great fun,
and the windows version runs well in wine,
so between the two, you should find some success.

Your Komplete should get a decent sale price,
as the NI summer sale is upcoming, and komplete upgrade shoppers
need licenses to upgrade from, at kvr marketplace forum,
among others. You might get enough for the full PianoTeq etc
Cheers

Last edited by 4duhwinnn; 05-09-2018 at 07:51 PM. Reason: clarity spellung
4duhwinnn is offline   Reply With Quote
Old 05-09-2018, 08:02 PM   #402
4duhwinnn
Human being with feelings
 
Join Date: Mar 2017
Posts: 859
Default

https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

This is Jack Winters excellent wiki, where there are a trove of links,
and myriad technical details presented to make things easier
for musicans wanting to maximize their productions.
Put on the coffee, put a log on the fire, and fire up
those wandering synapses, summer is already here!
4duhwinnn is offline   Reply With Quote
Old 05-11-2018, 10:23 AM   #403
4duhwinnn
Human being with feelings
 
Join Date: Mar 2017
Posts: 859
Default

One of the Puppy linux distro-derivative creators,
'Smithy', has integrated LinVst with qtractor,
by way of creating a .pet file. 'pets' are installers for one,
or a group of related dependant files, to add functionality to
a Puppy linux release. In this case, using a
Puppy derivative called Artful-Pup, the dev created
pets for jackd, Cadence, Qtractor/LinVst/some-MDA-effects,
and Audacity, so most any of the many Puppy versions
can be set up for audio production. LinVst will be
available from the multimedia menu, once the qtractor
.pet is installed.

A basic Puppy setup is called 'frugal install', where the
user boots from cd/dvd/usb, and allows the system to create
a growable save-file, in squash format, encrypted if desired,
and placed where it will be found in later boots. C:\
/media/usb0 /media/sdb2 yada yada

Puppy also allows for .sfs files, used to add major functions
at a time desired, but without permanently installing them.
A .sfs file is chosen for loading by a simple utility gui.

Straying towards back on topic, I've used Reaper and wine
in many releases of Puppy Studio/Studio 1337,
which use apps compiled with a custom RT kernel, for a fast,
solid, and portable production experience.
Cheers

Last edited by 4duhwinnn; 05-11-2018 at 10:26 AM. Reason: clarity
4duhwinnn is offline   Reply With Quote
Old 05-14-2018, 03:18 AM   #404
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

Thanks for all the info. I will try installing wine when I get time. I guess I'll start with some simpler plugins before trying to make kontact and service center work.

I had sort of hoped there might be some software that encapsulated wine into a turnkey system specifically for plugins - rather than having to build it up with a wine system install. I guess that wouldn't be very linuxy.

I have very mixed feelings about using wine at all, i'd really rather stay with native stuff, but there's so many little things missing that way.

I have jack, carla, reaper linux and the native linux audio stuff working more or less fine.

I don't have and don't want a working windows install of my plugins to copy files from - i am currently using them on Mac. I hope that's not going to cause extra issues.
halfshavedyaks is offline   Reply With Quote
Old 05-16-2018, 01:46 PM   #405
AlbertoZ
Human being with feelings
 
AlbertoZ's Avatar
 
Join Date: Aug 2009
Location: Italy
Posts: 4
Default

Quote:
Originally Posted by osxmidi View Post
More news on Native Access.

Native Access crashes at around 33% through an install.

I installed a Reaktor demo using Native Access and it stops around 33%.

What is happening is that it's stopping after the download (download uses aria2c.exe) and it actually downloads the file ok in ~/.wine/drive_c/users/user/Downloads but the file is an iso file and it can't mount in Linux (different to real windows) so the install stops at 33%.

If the downloaded iso file is manually mounted in Linux and installed then when Native Access is run again it will say that it's installed.

sudo mkdir -p /mnt/diskiso

sudo mount -o loop ~/.wine/drive_c/users/user/Downloads/isoname.iso /mnt/diskiso

If whatever iso mounter that Native Access is using can be installed using wine then everything would be ok (edit: Native Access seems to have it's own iso driver/mounter that is not working in wine for whatever reasons), otherwise it can be done manually as above.

So as far as I can tell by trying demo installs, Waves Central and Native Access both work (barring individual system problems or whatever).

There is also this workaround used by some Windows users

There's a workaround now that you can pause downloads. I can only speak from Windows perspective. Start your download and pause it. Now go to C: drive and show hidden files, you will see a hidden folder with "ni" in its name. Inside it you will find a "metalink" file, open it in Notepad. At the end of it is the download link, which you copy and paste in your browser. Cancel download from NA, close NA, download via browser, mount ISO, install.
Hello, I tried the above by installing Reaktor 6 and it works like a charm on my Linux Mint 18.3, wine 3.7. First of all thanks for this, I was losing hope of getting Reaktor again on my box... Second, the issue: when I try to install the other isos (for example Reaktor_Blocks.iso, Reaktor_Factory_Library.iso) with the same trick (mounting on /mnt/diskiso and launching the installer from there) it starts the installation process but when the real installation starts you get the message: "Disk Not Found" Please Insert Rektor Blocks disk, see the attached image. In winecfg I tried to mount D:, E:, F:, G:, H: to /mnt/diskiso, but this doesn't seem to work as well. The last error I got from the wine window is:
0036:fixme:ntdll:server_ioctl_file Unsupported ioctl 9c040 (device=9 access=3 func=10 method=0)
0036:fixme:ntdll:server_ioctl_file Unsupported ioctl 9c040 (device=9 access=3 func=10 method=0)
Any suggestion? Thanks again for the great work you're doing here.

Alberto
Attached Images
File Type: jpg reaktor_blobks_fail_install.jpg (55.0 KB, 823 views)
__________________
https://soundcloud.com/albertoz
AlbertoZ is offline   Reply With Quote
Old 05-17-2018, 02:11 AM   #406
alextone
Human being with feelings
 
alextone's Avatar
 
Join Date: Apr 2014
Posts: 306
Default

I had the same problem with kontakt.

This helped me to mount the disks from the dvd drive, and was taken from a post in the winehq forums. I'd credit the poster but i can't find the original post:

mount -t udf -o uid=500,gid=500,unhide /dev/sr0 /mnt

Where uid and gid are your users.

Modify as appropriate for your system.

Alex.
alextone is offline   Reply With Quote
Old 05-17-2018, 05:21 AM   #407
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by alextone View Post
I had the same problem with kontakt.

This helped me to mount the disks from the dvd drive, and was taken from a post in the winehq forums. I'd credit the poster but i can't find the original post:

mount -t udf -o uid=500,gid=500,unhide /dev/sr0 /mnt

Where uid and gid are your users.

Modify as appropriate for your system.

Alex.
Thanks.

I couldn't get Reaktor Blocks or Forms to install but they did using

sudo mount -t udf Form.iso -o uid=500,gid=500,unhide /mnt

and then
cd /mnt

and then
wine "Form Setup PC.exe"

Last edited by osxmidi; 05-17-2018 at 05:46 AM.
osxmidi is offline   Reply With Quote
Old 05-17-2018, 06:10 AM   #408
alextone
Human being with feelings
 
alextone's Avatar
 
Join Date: Apr 2014
Posts: 306
Default

Quote:
Originally Posted by osxmidi View Post
Thanks.

I couldn't get Reaktor Blocks or Forms to install but they did using

sudo mount -t udf Form.iso -o uid=500,gid=500,unhide /mnt

and then
cd /mnt

and then
wine "Form Setup PC.exe"

No problem.



Jack Winter, maybe this would be useful for the linux wiki?

Alex.
alextone is offline   Reply With Quote
Old 05-17-2018, 09:59 AM   #409
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
Default

Quote:
Originally Posted by alextone View Post
Jack Winter, maybe this would be useful for the linux wiki?
Quite possibly, but then I have to write it up...

I'm not sure if linvst, airwave, carla, etc really belongs in that article... I've tried to keep it short and concise, and still find it meandering...

I'm also not sure that I personally would like to write an article on how to run windows vsts on linux, it's bound to take me weeks to do a good job..

Though all anyone has to do is write an email to support at cockos dot com and ask for access to the wiki...! B)

P.S. I think I came up with that mount command, iirc the important part is the unhide parameter. The uid and gid actually ought to correspond to those of your actual user, just was that I happened to have 500:500 when I came up with that. Not sure at all if the uid and gid parts are needed... The unhide option is needed as otherwise it gets mounted as an os/x installer and Setup.exe won't be found.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter is offline   Reply With Quote
Old 05-17-2018, 12:54 PM   #410
4duhwinnn
Human being with feelings
 
Join Date: Mar 2017
Posts: 859
Default

Thanks Jack, osxmidi and alextone, I was actually able to install Form
from the Form.iso disc. There were two other things I did,
as at first the commands provided didn't komplete:

I configured my filemanager not to automatically mount removable media,
pcmanfm in my case, as /dev/sr0 was always 'busy',
and in case the Brasero burning app I had used was limited
in some way, I used the xorriso app to burn a fresh disc

xorriso -as cdrecord -v dev=/dev/sr0 -dao /home/me/Form.iso

Then the provided commands finished the job!

Hopefully Form will go on sale soon, it's quite a fine time
dropping and modding samples. I've got some made using
the discoDSP Bliss sampler that will do nicely, along with
NI's folder, and backup-drive lurkers.
Cheers
4duhwinnn is offline   Reply With Quote
Old 05-21-2018, 08:32 AM   #411
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

I have installed Kontakt from the DVD (I had to use the unhide command as documented earlier on this thread)

I activated it using service center - it all seems fine as far as that. Service center ran fine and accepted my serial number fine.

I have used LinVST successfully with some other plugins.

If I try to run the Kontact app wine says that Kontakt had a major error.

Likewise if I try to open reaper with the plugins in its vst path. It crashed reaper and gives the same wine major error window.

So I'm not sure if I need overrides or if there is something else wrong.

So if I need overrides where do I get them from? I don't have a windows install to copy files from.

I allowed kontact to install in the wine internal directory structure and the copies the 64 bit plugins to my main VST folder and ran LinVST on them there.

Is there a 32 bit/64bit issue here?
halfshavedyaks is offline   Reply With Quote
Old 05-21-2018, 08:39 AM   #412
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

I'm about to start following these instructions, looks a bit complicated...

this one:

https://linuxmusicians.com/viewtopic.php?t=16524

leads to:

https://linuxmusicians.com/viewtopic.php?f=47&t=15541

Last edited by halfshavedyaks; 05-21-2018 at 09:23 AM.
halfshavedyaks is offline   Reply With Quote
Old 05-21-2018, 09:46 AM   #413
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

It worked!

The output level of kontakt seems a bit low - though it sounds alright.

The only other VSTi I have running through wine so far is V3B and that also seems low level is it a wine thing?
halfshavedyaks is offline   Reply With Quote
Old 05-21-2018, 11:34 AM   #414
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
Default

If wanting to use many windows plugins (especially needing overrides), using separate wine prefixes might be a good idea.

A wine prefix is a directory structure that contains the installed programs and a registry. All programs started out of it, share a wineserver and some other helper programs. The wineserver is there to make sure that applications can share resources, communicate, etc.

Basically a wine prefix is a complete windows install, and the best is that you can have many of them. This is useful as they can have different dll overrides, settings, etc. It's also useful as you can make backups, have several versions of the same plugin suite installed in parallel, disable a group of plugins if they cause problems, etc.

My reccommendation is to do something like this.

1 Make a dir to contain the different prefixes: mkdir ~/.wvst-prefix
2 Create a new 64b prefix: WINEPREFIX=~/.wvst-prefix/fabfilter winecfg
3 Install needed overrides: WINEPREFIX=~/.wvst-prefix/fabfilter winetricks ...
4 Install your plugins into the prefix: WINEPREFIX=~/.wvst-prefix/fabfilter wine Setup.exe
5 Create the directory ~/.wvst to contain symlinks: mkdir ~/.wvst
6 In .wvst create a symlink to the dir containing the vst plugins: ln -s ~/.wvst-prefixes/fabfilter/drive_c/Program\ Files/VSTPlugins/ ~/.wvst/fabfilter
7 In reaper add ~/.wvst to the vst search pack.

To speed up load time it's useful to prestart the wineserver before running reaper: WINEPREFIX=~/.wvst-prefixes/fabfilter wineserver -p
And to stop it after reaper exits: WINEPREFIX=~/.wvst-prefixes/fabfilter wineserver -k &

After updating the installed wine version, the registry files will be rescanned which takes time. To speed up loading after updating wine, do: WINEPREFIX=~/.wvst-prefixes/fabfilter wineboot -u

Personally I start reaper from a shell script. I added ~/bin to contain scripts to run and put export PATH=$PATH:$HOME/bin in ~.bashrc.

Then in ~/bin/rp I've put (slimmed down ):
Code:
#/bin/bash
export WINE_RT=40
export STAGING_RT_PRIORITY_BASE=40
export WINE_SRV_RT=41
export STAGING_RT_PRIORITY_SERVER=41

export WINEDEBUG=-all
WINEPREFIX=~/.wvst-prefixes/fabfilter wineserver -p
WINEPREFIX=~/.wvst-prefixes/ik-multimedia wineserver -p
WINEPREFIX=~/.wvst-prefixes/komplete8 wineserver -p
WINEPREFIX=~/.wvst-prefixes/mixed wineserver -p
WINEPREFIX=~/.wvst-prefixes/nebula wineserver -p
WINEPREFIX=~/.wvst-prefixes/sstillwell wineserver -p

/home/jack/reaper-linux/reaper_linux_x86_64/REAPER/reaper5

WINEPREFIX=~/.wvst-prefixes/fabfilter wineserver -k &
WINEPREFIX=~/.wvst-prefixes/ik-multimedia wineserver -k &
WINEPREFIX=~/.wvst-prefixes/komplete8 wineserver -k &
WINEPREFIX=~/.wvst-prefixes/mixed wineserver -k &
WINEPREFIX=~/.wvst-prefixes/nebula wineserver -k &
WINEPREFIX=~/.wvst-prefixes/sstillwell wineserver -k &
Don't forget to make the script executable: chmod 755 ~/bin/rp

LinVst will automatically detect the prefix the plugin is installed in, with other bridges you might have to add some extra configuration.

To remove plugins from reaper just delete the symlink: rm ~/.wvst/fabfiler
To make a backup: cp -r ~/.wvst-prefixes/fabfilter ~/backups/fabfilter
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)

Last edited by Jack Winter; 09-01-2018 at 03:10 AM. Reason: fixing a typo
Jack Winter is offline   Reply With Quote
Old 05-21-2018, 01:21 PM   #415
AlbertoZ
Human being with feelings
 
AlbertoZ's Avatar
 
Join Date: Aug 2009
Location: Italy
Posts: 4
Default

Quote:
Originally Posted by osxmidi View Post
Thanks.

I couldn't get Reaktor Blocks or Forms to install but they did using

sudo mount -t udf Form.iso -o uid=500,gid=500,unhide /mnt

and then
cd /mnt

and then
wine "Form Setup PC.exe"
Hello, I just wanted to confirm that the above is working perfectly, Thanks alextone and osxmidi for the suggestion.
Alberto
__________________
https://soundcloud.com/albertoz
AlbertoZ is offline   Reply With Quote
Old 05-21-2018, 04:49 PM   #416
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

I left out the uid=500,gid=500 and mounted my physical DVD installer disk fine
halfshavedyaks is offline   Reply With Quote
Old 05-23-2018, 05:01 AM   #417
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

The new version of LinVst-2.2-Debian-Stretch (embedded version) is not working with Fedora 28, Wine Staging 3.8 and Reaper 5.90rc9

I just formatted by drive, installed everything, made my directory with WinVST's in and followed the instructions... and now Reaper hangs on start. It eventually comes up with a quit option. If I start again it works, and the Windows plugins have appeared but if I try to load one then it hangs just like the original hang on first run.

Is there some kind of test I can do to find the problem? I have run winecfg, it seems all installed and OK. Cheers!
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-23-2018, 06:12 AM   #418
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
The new version of LinVst-2.2-Debian-Stretch (embedded version) is not working with Fedora 28, Wine Staging 3.8 and Reaper 5.90rc9

I just formatted by drive, installed everything, made my directory with WinVST's in and followed the instructions... and now Reaper hangs on start. It eventually comes up with a quit option. If I start again it works, and the Windows plugins have appeared but if I try to load one then it hangs just like the original hang on first run.

Is there some kind of test I can do to find the problem? I have run winecfg, it seems all installed and OK. Cheers!
Try LinVst-2.2-Ubuntu-14.04.zip

If it doesn't work then try going back to LinVst 2.1 (which isn't that different btw, just some added functions in LinVst 2.2).

I have tested LinVst-2.2-Debian-Stretch.zip with Ubuntu 18.04 and Debian 9 but different systems might do different things.

I'll try to look into it in case I've missed something.

Last edited by osxmidi; 05-23-2018 at 06:17 AM.
osxmidi is offline   Reply With Quote
Old 05-23-2018, 06:42 AM   #419
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Afraid neither version you suggested works

It ends up freezing when scanning the plugins until eventually I get a force quit prompt from Reaper.

https://getfedora.org/en/workstation/
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-23-2018, 04:01 PM   #420
4duhwinnn
Human being with feelings
 
Join Date: Mar 2017
Posts: 859
Default

Quote:
Originally Posted by David Else View Post
The new version of LinVst-2.2-Debian-Stretch (embedded version) is not working with Fedora 28, Wine Staging 3.8 and Reaper 5.90rc9

I just formatted by drive, installed everything, made my directory with WinVST's in and followed the instructions... and now Reaper hangs on start. It eventually comes up with a quit option. If I start again it works, and the Windows plugins have appeared but if I try to load one then it hangs just like the original hang on first run.

Is there some kind of test I can do to find the problem? I have run winecfg, it seems all installed and OK. Cheers!
I would rename all the vst folders in usr/lib, and /home/you,
leaving only one folder for all plugins, and I'd go with

/home/you/.wine/drive_c/Users/Public/Documents/VstPlugins

since that is where U-he windows versions, and some Native Instruments apps
like to reside. To keep access to tools of the trade.

I'd also use the stable Reaper 5.8, just to be lucky, installed in

/home/you/REAPER ...until things get flowing again.

For linux Reaper, I install in /home/me/.1111reaper-newest,
with older versions named accordingly, always keeping a working version
as new ones arive for scrutiny.

...named with .1111xyz because it saves scrolling in filemanagers,
as there is much more frequent fiddling with the contents and rc-releases
in linux than with the windows version.

This will make life easier for LinVst, wine, and you.
With just one folder, it's trivia to delete all the .so files
before converting with a new version of linvst.

If you had U-he or other plugins in the now re-named /home/you/.vst,
once you get some linvst .so versions working from elsewhere,
try the contents of .vst again, and if there is a regression,
you'll have some plugin weeding to do.

There may be some .NETframework issues from time to time,
so if you saw four installlers place their own .Net, I'd try giving
any crucial apps their own wine prefix, and add supporting
plugins to the prefix once the main one was working.

And then proper uninstalls are needed for some apps
to be re-installed properly, something I need to investigate.
Good luck!
4duhwinnn is offline   Reply With Quote
Old 05-23-2018, 11:47 PM   #421
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
Afraid neither version you suggested works

It ends up freezing when scanning the plugins until eventually I get a force quit prompt from Reaper.

https://getfedora.org/en/workstation/
I tried it out with Fedora 28 and win staging 3.8 and I get memory lock rt issues probably because of rt permissions needing to be enabled and then all rt things fail including jack and LinVst.

The wine I installed was

sudo dnf upgrade --advisory FEDORA-2018-0432c6a300

sudo dnf install wine-3.8-1.fc28

and maybe that's part of the problem and I can't seem to install wine staging for Fedora 27 from WineHQ.

I can't get LinVst 2.15 to work either.

Distros usually set rt up but apparently Fedora 28 didn't

https://www.learndigitalaudio.com/li...ting-up-fedora

Last edited by osxmidi; 05-24-2018 at 12:07 AM.
osxmidi is offline   Reply With Quote
Old 05-24-2018, 01:54 AM   #422
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Quote:
Originally Posted by osxmidi View Post
I tried it out with Fedora 28 and win staging 3.8 and I get memory lock rt issues probably because of rt permissions needing to be enabled and then all rt things fail including jack and LinVst.

The wine I installed was

sudo dnf upgrade --advisory FEDORA-2018-0432c6a300

sudo dnf install wine-3.8-1.fc28

and maybe that's part of the problem and I can't seem to install wine staging for Fedora 27 from WineHQ.

I can't get LinVst 2.15 to work either.

Distros usually set rt up but apparently Fedora 28 didn't

https://www.learndigitalaudio.com/li...ting-up-fedora
Thanks so much for looking into this!

If you type
Code:
sudo dnf install wine
you will get the latest development version from the official repo, no need to specify the exact version. It is better to get it from here than the official WineHQ I think as it is checked on the specific version of Fedora you are using. It looks like you have this version installed anyway, so don't worry about it now

So to sum up these are the steps you need to have taken to setup Fedora, NOTE the printf command that changes the RT permissions, this is the vital bit:
Code:
sudo dnf -y --refresh upgrade # update to the latest of everything
sudo dnf -y install jack-audio-connection-kit wine # install jack, wine
printf "# Default limits for users of jack-audio-connection-kit\n\n@jackuser - rtprio 98\n@jackuser - memlock unlimited\n\n@pulse-rt - rtprio 20\n@pulse-rt - nice -20" | sudo tee /etc/security/limits.d/95-jack.conf
Now reboot to make sure the new RT permissions are setup!

Since I wrote that article they fixed the ulimit -a bug, now you can type it and get an accurate report, when you type ulimit -a you should see the correct max locked memory and real-time priority? Is this sorted?

Now inside reaper in my audio/device i have auto start jackd with:

Code:
/usr/bin/jackd -dalsa -dhw:USB -r48000 -p128 -n3 -Xseq
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-24-2018, 04:04 AM   #423
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
Thanks so much for looking into this!

If you type
Code:
sudo dnf install wine
you will get the latest development version from the official repo, no need to specify the exact version. It is better to get it from here than the official WineHQ I think as it is checked on the specific version of Fedora you are using. It looks like you have this version installed anyway, so don't worry about it now

So to sum up these are the steps you need to have taken to setup Fedora, NOTE the printf command that changes the RT permissions, this is the vital bit:
Code:
sudo dnf -y --refresh upgrade # update to the latest of everything
sudo dnf -y install jack-audio-connection-kit wine # install jack, wine
printf "# Default limits for users of jack-audio-connection-kit\n\n@jackuser - rtprio 98\n@jackuser - memlock unlimited\n\n@pulse-rt - rtprio 20\n@pulse-rt - nice -20" | sudo tee /etc/security/limits.d/95-jack.conf
Now reboot to make sure the new RT permissions are setup!

Since I wrote that article they fixed the ulimit -a bug, now you can type it and get an accurate report, when you type ulimit -a you should see the correct max locked memory and real-time priority? Is this sorted?

Now inside reaper in my audio/device i have auto start jackd with:

Code:
/usr/bin/jackd -dalsa -dhw:USB -r48000 -p128 -n3 -Xseq
It looks like it's something to do with that wine staging 3.8 version build that isn't from WineHQ.

The lin-vst-server can't start because of something that that wine version is doing (probably a bug or a library or permissions or whatever).

linvst.so starts lin-vst-server using wine and that's when it stops, so that wine version is not starting lin-vst-server for some reason.

There isn't much that I can do about it.

If you could install a Fedora WineHQ wine version then that might be ok.

I can't test LinVst with the WineHQ wine staging for Fedora 27 from WineHQ because Fedora 28 won't install it, keeps putting up errors about release keys or whatever.

Last edited by osxmidi; 05-24-2018 at 04:13 AM.
osxmidi is offline   Reply With Quote
Old 05-24-2018, 04:50 AM   #424
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

I tried everything to get the wineHQ version installed... arrgghh!

I am hoping there will be a Fedora 28 repo soon and the signing keys work correctly. Also, there will be a new development version soon from the official Fedora repo, so maybe that will work.

I updated my Fedora for audio installation guide, in my previous post I totally forgot you need to add yourself to the jack group!

Code:
sudo usermod -a -G jackuser (your username)
groups
Now do you see jackuser there after typing groups? No chance that could have been the problem rather than the super repo annoyance?
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-24-2018, 05:15 AM   #425
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Quote:
Originally Posted by David Else View Post
I tried everything to get the wineHQ version installed... arrgghh!

I am hoping there will be a Fedora 28 repo soon and the signing keys work correctly. Also, there will be a new development version soon from the official Fedora repo, so maybe that will work.

I updated my Fedora for audio installation guide, in my previous post I totally forgot you need to add yourself to the jack group!

Code:
sudo usermod -a -G jackuser (your username)
groups
Now do you see jackuser there after typing groups? No chance that could have been the problem rather than the super repo annoyance?
For group changes to take effect you need to log out and log back in.
Justin is offline   Reply With Quote
Old 05-24-2018, 07:24 AM   #426
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
I tried everything to get the wineHQ version installed... arrgghh!

I am hoping there will be a Fedora 28 repo soon and the signing keys work correctly. Also, there will be a new development version soon from the official Fedora repo, so maybe that will work.

I updated my Fedora for audio installation guide, in my previous post I totally forgot you need to add yourself to the jack group!

Code:
sudo usermod -a -G jackuser (your username)
groups
Now do you see jackuser there after typing groups? No chance that could have been the problem rather than the super repo annoyance?
Maybe setting some wine environmental variables might help

https://forum.winehq.org/viewtopic.php?f=8&t=29122
osxmidi is offline   Reply With Quote
Old 05-24-2018, 11:58 AM   #427
4duhwinnn
Human being with feelings
 
Join Date: Mar 2017
Posts: 859
Default

Quote:
Originally Posted by David Else View Post
I tried everything to get the wineHQ version installed... arrgghh!

I am hoping there will be a Fedora 28 repo soon and the signing keys work correctly. Also, there will be a new development version soon from the official Fedora repo, so maybe that will work.

I updated my Fedora for audio installation guide, in my previous post I totally forgot you need to add yourself to the jack group!

Code:
sudo usermod -a -G jackuser (your username)
groups
Now do you see jackuser there after typing groups? No chance that could have been the problem rather than the super repo annoyance?
Does sealert show any anomalies?
Cheers
4duhwinnn is offline   Reply With Quote
Old 05-25-2018, 12:35 AM   #428
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
I tried everything to get the wineHQ version installed... arrgghh!

I am hoping there will be a Fedora 28 repo soon and the signing keys work correctly. Also, there will be a new development version soon from the official Fedora repo, so maybe that will work.

I updated my Fedora for audio installation guide, in my previous post I totally forgot you need to add yourself to the jack group!

Code:
sudo usermod -a -G jackuser (your username)
groups
Now do you see jackuser there after typing groups? No chance that could have been the problem rather than the super repo annoyance?
I did get WineHQ 3 stable installed but it didn't make any difference.

I tried LinVst as far back as 1.2 and it wouldn't run with Reaper or Ardour.

I have no idea what it is, but something on Fedora 28 seems to be preventing the wine child process (lin-vst-server) from starting and I havn't seen this before.

If there was a problem passing the command line to wine and lin-vst-server then that could be a reason.

Was Fedora 27 ok? (if you used Fedora 27).

From what I can gather LinVst seems to be ok with Centos 7.4 (another Red Hat based distro).

Last edited by osxmidi; 05-25-2018 at 01:13 AM.
osxmidi is offline   Reply With Quote
Old 05-25-2018, 02:09 AM   #429
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Quote:
Originally Posted by osxmidi View Post
I did get WineHQ 3 stable installed but it didn't make any difference.

I tried LinVst as far back as 1.2 and it wouldn't run with Reaper or Ardour.

I have no idea what it is, but something on Fedora 28 seems to be preventing the wine child process (lin-vst-server) from starting and I havn't seen this before.

If there was a problem passing the command line to wine and lin-vst-server then that could be a reason.

Was Fedora 27 ok? (if you used Fedora 27).

From what I can gather LinVst seems to be ok with Centos 7.4 (another Red Hat based distro).
It was fine with Fedora 24/25/26 and 27, and Centos 7.4. I have tried turning off SELinux and that seems to make no difference.

I don't know what has changed in 28 that might cause this. I know they compiled everything with the latest 8.x GCC, could this have higher security somehow? That along with updating to the latest Gnome version was the main difference I think.

I am not an expert on this stuff, you are saying that there is some other security process (not SELinux as I tried it turned off) that is preventing something running? Or it could be something else?
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-25-2018, 02:20 AM   #430
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Could PAM be something to do with it? I searched the logs (just run the logs program in gnome) and got these at about the time I started Reaper:

Code:
USER_END pid=5869 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

CRED_DISP pid=5869 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-25-2018, 04:28 AM   #431
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

I don't have much of an idea, just guessing.

Sometimes the lin-vst-server does start on some scans but then it doesn't start on other scans or when trying to open the plugin, so it's erratic.

Looks like something has changed for Fedora 28 that results in erratic behaviour when trying to start a wine child process (lin-vst-server).

Tracking down why might take a Fedora expert who knows what changed.
osxmidi is offline   Reply With Quote
Old 05-25-2018, 04:52 AM   #432
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Quote:
Originally Posted by osxmidi View Post
I don't have much of an idea, just guessing.

Sometimes the lin-vst-server does start on some scans but then it doesn't start on other scans or when trying to open the plugin, so it's erratic.

Looks like something has changed for Fedora 28 that results in erratic behaviour when trying to start a wine child process (lin-vst-server).

Tracking down why might take a Fedora expert who knows what changed.
I will place a help request on https://ask.fedoraproject.org/en/questions/ . I am a member. Sometimes you get great advice, and often nobody answers, it's very hit and miss. I can also try the wine maintainer for Fedora, and the Fedora Reddit.

I don't really understand what is going on, could you help phrase the question of what has happened in a way that I could explain?

So is this accurate, or can you add anything?:

Quote:
HEADING Erratic behaviour in Wine trying to start a child process in Fedora 28 with LinVST

BODY I have been sucessfully using LinVST https://github.com/osxmidi/LinVst and Wine since Fedora 24, but since I upgraded to Fedora 28 the lin-vst-server application that lives in /usr/bin can no longer reliably start a wine child service.

I have tried the latest Wine 3.8 version from the official repo, and a version from WineHQ with the same results.

What has changed in Fedora 28 that might be causing this problem?

I have tried with SELinux turned off, so that is not it.

Cheers!
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-25-2018, 05:58 AM   #433
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
I will place a help request on https://ask.fedoraproject.org/en/questions/ . I am a member. Sometimes you get great advice, and often nobody answers, it's very hit and miss. I can also try the wine maintainer for Fedora, and the Fedora Reddit.

I don't really understand what is going on, could you help phrase the question of what has happened in a way that I could explain?

So is this accurate, or can you add anything?:
Yes that's ok.

If you need to get more technical for some reason,

When a wine app (lin-vst-server.exe) is started using the exec function (execlp) from a shared library (linvst.so) it results in erratic behaviour.

------

I tried a realtime kernel to see if that would make a difference but no difference.

sudo dnf copr enable ycollet/linuxmao

sudo dnf install kernel-rt-mao
osxmidi is offline   Reply With Quote
Old 05-25-2018, 06:56 AM   #434
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

I think I might have found a solution for LinVst and Fedora 28.

Try this (for 64 bit vsts only)
Attached Files
File Type: zip LinVst-Fedora28.zip (70.0 KB, 310 views)
osxmidi is offline   Reply With Quote
Old 05-25-2018, 07:45 AM   #435
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Quote:
Originally Posted by osxmidi View Post
I think I might have found a solution for LinVst and Fedora 28.

Try this (for 64 bit vsts only)
BRILLIANT! You did it!

What did you do, and is it easy to add this to the standard LinVST so it just works in the future without needing a special version?

THANKS!!!!!
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 05-25-2018, 07:55 AM   #436
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by David Else View Post
BRILLIANT! You did it!

What did you do, and is it easy to add this to the standard LinVST so it just works in the future without needing a special version?

THANKS!!!!!
Yes, I'll update the LinVst binaries soon.

It was a thing that apparently Fedora 28 can't handle (might be a new kernel bug maybe) but other distros (maybe with older kernels) had no trouble with, the part causing the trouble was some code relating to when LinVst exits.
osxmidi is offline   Reply With Quote
Old 05-26-2018, 07:49 AM   #437
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
Default

Finally had some time to do some testing. I think some wine update broke a few of my prefixes so I had some problems scanning/loading plugins. Have remade 2 prefixes now.

What I can report is that the Stillwell plugins now find the registration files. Thanks a lot for fixing that.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter is offline   Reply With Quote
Old 05-26-2018, 11:33 AM   #438
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

Does Wine interact with Jack on some system level even when Wine is not specifically being used?

After the recent wine update I've had loads of problems with jack / qjackctl hanging - and when that happens I can't get anything jack related to work right until I restart the whole machine. restarting jack isn't enough.

when i started poking around trying to remove jack and reinstall then apt-get wanted to remove wine as well as if it were dependent.
halfshavedyaks is offline   Reply With Quote
Old 05-26-2018, 11:43 AM   #439
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
Default

Quote:
Originally Posted by halfshavedyaks View Post
Does Wine interact with Jack on some system level even when Wine is not specifically being used?

After the recent wine update I've had loads of problems with jack / qjackctl hanging - and when that happens I can't get anything jack related to work right until I restart the whole machine. restarting jack isn't enough.

when i started poking around trying to remove jack and reinstall then apt-get wanted to remove wine as well as if it were dependent.
AFAIK not.. But I just upgraded qjackctl which has started to segfault all by itself. My jack1 server does stay up though, so it's only qjackctl that dies. Maybe try to downgrade qjackctl to the previous versions?
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter is offline   Reply With Quote
Old 05-26-2018, 12:06 PM   #440
halfshavedyaks
Human being with feelings
 
Join Date: May 2018
Posts: 71
Default

Quote:
Originally Posted by Jack Winter View Post
AFAIK not.. But I just upgraded qjackctl which has started to segfault all by itself. My jack1 server does stay up though, so it's only qjackctl that dies. Maybe try to downgrade qjackctl to the previous versions?
thanks

aptitude gave me more sensible dependencies so that part may be ok now.

what version of qjackctl do you recommend? I'm using Mint and have qjackctl 0.4.2 which is already quite old... (but it is what is in the repo)

I really wish distros/repos made downgrades easier...

Last edited by halfshavedyaks; 05-26-2018 at 12:27 PM.
halfshavedyaks is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.