Sonarworks Headphone Calibration Plugin

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

finotti
Established Member
Posts: 528
Joined: Thu Sep 01, 2011 9:07 pm
Has thanked: 86 times
Been thanked: 23 times

Re: Sonarworks Headphone Calibration Plugin

Post by finotti »

rudolfs.bundulis wrote:Hi Everyone,

So with the 4.1.5.27 release of the Sonarworks Reference 4, we also will try to beta the Linux plugin. I currently put the plugin on a Google Drive share here (https://drive.google.com/drive/folders/ ... Lg0DNwBPZq), since we need to do the landing page for Linux which is currently not present, but I wanted to share this with everyone here asap.

Since we don't have an installer for Linux, here are 4 trial keys (since I counted 4 interested persons in this thread):

AQMGU7-57W53J-ZQ1965-4QBTMP
ESP12R-99XYFK-GQKPEA-Y9269Z
EJBS2U-84EPEQ-KV39WF-ATEFM1
NXUGC9-8PZ978-MCZJPU-CBXM4F

Maybe you can post when you use them so that others do not try the same key.

If more keys are needed, please contact our QA guy <redacted>. I'd be very interrested in the feedback, so if possible post it here or mail Martins.

As I said, we have only a 64bit version, built against an old enough glibc. We tested it on Ubuntu 18.10 with Bitwig and Ardour, seemed fine, since it is all X11 based I guess KDE should work as well but who knows. Anyhow, thanks for everyone who can try this out and I'm hoping for any feedback (good or bad).
If no one objects, I would like to claim the first one (AQMGU7-57W53J-ZQ1965-4QBTMP)? (If no one objects by tomorrow morning, I will try to use it.)
Last edited by finotti on Sat May 08, 2021 2:08 pm, edited 1 time in total.
User avatar
funkmuscle
Established Member
Posts: 2801
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 129 times
Been thanked: 31 times

Re: Sonarworks Headphone Calibration Plugin

Post by funkmuscle »

The license key, how do we use it? I'm currently not at home and sorry if I didn't read any of the other messages just in case you explained it there but before I left I did install it and it crashed whatever application I was using
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

The plugin will display a dialog that will ask to activate it, then you enter the key and email and you're good. If you get to the point where it loads it is really self explanatory.

Can you give some details as for the crash? OS (is the bitness 64bit?), DAW, any chance of pasting the ldd output from our so on your OS?
Last edited by rudolfs.bundulis on Wed Aug 22, 2018 6:42 pm, edited 1 time in total.
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: Sonarworks Headphone Calibration Plugin

Post by Loki Harfagr »

Here using Slackware [v14.2]

I am also interested in trying it as a beta (tested it with win-bridge(s) and was much interested but it usually crashed after only a few minutes...)

As for the 'machine-id' question, it doesn't exist here as such but the initial instance of the file should exist if not deleted as:

Code: Select all

/var/lib/dbus/machine-id
Then you may simply link or copy it to be seen in /etc/
Note that in case it 'd be absent (for anyhoo reason) you may recreate it (as root obviously) with:

Code: Select all

dbus-uuidgen --ensure
Then, knowing this I've just tried to install and test it but when at the crucial moment of "validation" (after giving my email and the last key in the 4 listed in the initial announcement here, hope I didn't just rot it doing so) it displays "Validating" and a moving "sine function" animation but still sits there waiting and no cigar ;-/

Then, I guess either I've been confused within the validation process or there still is something missing in either my distro or the inner validation process requirements.

Hope it helps somehow, and pardon my globish 'though I've got an excuse as I'm fr_FR)
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi Loki,

After the first crash I already though that my optimism from the in house tests was way off, so nice to hear that actually someone had some success. What DAW are you using?

Thanks for the explanation for others about the machine-id, it seems that maybe it was a bad decision to use that , I really hoped that it is there on most recent distros.

As for the activation, we download the calibration profiles during that time, so it actually may take some time (even though the backend is in US I've seen cases where downloading the whole thing can have taken up to 3 minutes, and it will time out if it won't make it).

Since you seem like a hands on guy, can you check in wireshark or other way if there is actually traffic going through? Also we will be placing everything under ~/.sonarworks, maybe you can check if that has been created and is something in there. Again thanks for the feedback, and if anything you can also contact me at rudolfs.bundulis at sonarworks.com
User avatar
funkmuscle
Established Member
Posts: 2801
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 129 times
Been thanked: 31 times

Re: Sonarworks Headphone Calibration Plugin

Post by funkmuscle »

rudolfs.bundulis wrote: One thing for Arch users, we are using /etc/machine-id for a unique software instance id generation and I have heard that some people do remove this on Arch, so that could be an issue.
I just saw this. Yes I'm using Arch64bit and don't know what /etc/machine-id is so I've never removed it unless it was by the devs.
rudolfs.bundulis wrote:The plugin will display a dialog that will ask to activate it, then you enter the key and email and you're good. If you get to the point where it loads it is really self explanatory.

Can you give some details as for the crash? OS (is the bitness 64bit?), DAW, any chance of pasting the ldd output from our so on your OS?
I would launch Ardour or MixBus 32C then load your VST into the master buss, from there about 2 secs would go back and the DAW crashes.
Jack Winter
Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: Sonarworks Headphone Calibration Plugin

Post by Jack Winter »

I use Archlinux with KDE and Reaper.

If no one objects I'll claim key #2 in about 8 hours.

So far I've installed it, inserted it on the master bus, and seen the plugin and activation windows appear.

I do have /etc/machine-id.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
User avatar
funkmuscle
Established Member
Posts: 2801
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 129 times
Been thanked: 31 times

Re: Sonarworks Headphone Calibration Plugin

Post by funkmuscle »

oh wait, Jack I have it too.
Jack Winter
Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: Sonarworks Headphone Calibration Plugin

Post by Jack Winter »

Then I'll claim #3 :)
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
finotti
Established Member
Posts: 528
Joined: Thu Sep 01, 2011 9:07 pm
Has thanked: 86 times
Been thanked: 23 times

Re: Sonarworks Headphone Calibration Plugin

Post by finotti »

OK, I've tried to install it tonight.

I'm using Ardour 5.12 (from KXStudio). I've added the plugin, which led me through the registration process. (I've used the first key.) After a while it completed and said it was successful! On the other hand, the "Information and Licensing" window that came up showed "21 days left". (See attached picture.) So, I am not sure the process actually worked or if I'm running only the free-trial...

It all seemed great, but as soon as I clicked on the headphone calibration drop down, it froze, and froze Ardour. I had to "kill -9" Ardour, but I could not stop jack. Cadence also seemed to be frozen.

I rebooted and loaded the plugin in an empty Ardour session. The plugin came up and went through usage windows (..., remove it when rendering, ...). I could scroll just fine through them. But again, as soon as I clicked on headphone calibration, it froze the plugin, Ardour and Cadence (and I could not restart jack).

I'm running an up to date Debian Sid/Unstable system, with a Focusrite 2i2 2nd generation. Here is some system info:

Code: Select all

# inxi -A -v3
System:    Host: debian Kernel: 4.18.0-3.slh.2-aptosid-amd64 x86_64 bits: 64 compiler: gcc v: 8.2.0 
           Desktop: KDE Plasma 5.13.4 Distro: Debian GNU/Linux buster/sid base: Debian GNU/Linux buster/sid 
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: N/A 
           Mobo: ASUSTeK model: Z87-PRO v: Rev 1.xx serial: 140120922701297 UEFI: American Megatrends v: 2103 
           date: 08/18/2014 
CPU:       Topology: Quad Core model: Intel Core i7-4771 bits: 64 type: MT MCP arch: Haswell rev: 3 
           L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 55973 
           Speed: 3580 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 3580 2: 3603 3: 3769 4: 3705 5: 3709 
           6: 3738 7: 3624 8: 3696 
Graphics:  Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.1 driver: intel resolution: 1280x1024~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Desktop v: 4.5 Mesa 18.1.6 direct render: Yes 
Audio:     Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: N/A bus ID: 00:03.0 
           Card-2: Intel 8 Series/C220 Series High Definition Audio driver: N/A bus ID: 00:1b.0 
           Card-3: Logitech QuickCam Communicate STX type: USB driver: gspca_zc3xx,snd-usb-audio bus ID: 2:7 
           Card-4: Focusrite-Novation Scarlett 2i2 USB type: USB driver: snd-usb-audio bus ID: 2:6 
           Sound Server: ALSA v: k4.18.0-3.slh.2-aptosid-amd64 
Network:   Card-1: Intel Ethernet I217-V driver: e1000e v: 3.2.6-k port: f080 bus ID: 00:19 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: e0:3f:49:a3:4c:a6 
           IF-ID-1: virbr0 state: down mac: 52:54:00:ee:b0:d7 
           IF-ID-2: virbr0-nic state: down mac: 52:54:00:ee:b0:d7 
Drives:    Local Storage: total: 9.36 TiB used: 4.91 TiB (52.4%) 
Info:      Processes: 300 Uptime: 17m Memory: 31.29 GiB used: 2.48 GiB (7.9%) Init: systemd runlevel: 5 
           Compilers: gcc: 8.2.0 Shell: bash v: 4.4.23 inxi: 3.0.20
And:

Code: Select all

# ldd .vst/Sonarworks\ Reference\ 4\ VST\ Plugin.so 
        linux-vdso.so.1 (0x00007ffd41eae000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f4056936000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f4056724000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f405671f000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f40566fe000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f405656a000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f40563ad000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f405800a000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f4056183000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f4055f7f000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f4055d79000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f4055b62000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4055b58000)
Please let me know if I can provide any further info.
Attachments
sonarworks.png
sonarworks.png (111.68 KiB) Viewed 2028 times
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi finotti,

glad to hear you were able to get so far. As for the freezing - when clicking the button we open a file open dialog (so can you check if it isn't for some reason under the daw window or smth?), but sadly the JUCE SDK which we are using (it's kinda bad but sadly it is a de facto standard for audio plugins) is actually calling kdialog or zenity underneath to show the dialog. So you could check if any of those is available, even though that should not explain the blocking. If none of those two are installed maybe they are available as packages?

Again, thanks for the feedback.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi funkmuscle,

I just checked the Mixbus32c on Ubuntu 18.10, everything worked, so it is most likely an OS not the Mixbus32c issue. I noticed they warn that they have 2 versions (gcc5 and non-gcc5). Our plugin is compiled with gcc5, but the c++ runtime is statically linked in, so that should not be an issue. But still - do you know if you are using the gcc5 or the non-gcc5 one?
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: Sonarworks Headphone Calibration Plugin

Post by Loki Harfagr »

Hello Rudolfs,

thanks to your comments I could try a bit further, seems at my first tests I was not patient enough for the initialization/DL of calibration profiles to complete.
As you mentionned ~/.sonarworks and I could see it had been created and the .settings file was listing a log of profiles DL'ing I started it all again and at least this time the init finalized and I then face the main Ref4 screen.
I could check under the SW button that the rolling temp license was correctly activated:
http://l0k1.free.fr/more/pox/screen-201 ... icense.png
Problem then is I'm facing this profile selection request and when I try to click the profile selector it stays ther doing nothing:
http://l0k1.free.fr/more/pox/screen-201 ... lugins.png
though, I can see there are profiles I could check and test which probably means the DL phase went alright:

Code: Select all

# tree ~/.sonarworks/ | grep -i 'beyerdynamic.*[79][79]0.*250' 
    │   ├── Beyerdynamic DT 770 Pro 250 Ohm Average.swhp
    │   ├── Beyerdynamic DT 990 Pro 250 Ohm Average.swhp
Worse then is that when I try several times to click the profile selector it ends with an ALSA crash:
http://l0k1.free.fr/more/pox/screen-201 ... acrash.png
The DAW doesn't freeze nor crash but of course is now pretty useless without an audio interface ;-)

Well, I hope this description helped in some way, I'm of course fully willing to perform any other specific test you might need (as long as it wouldn't imply risky system or libs mods ;-).

Here are a few details about my platform:

distro: Slackware 14.2 (multilib-able but this won't have any importance here since your plugin is fully 64)
machine: 4.4.144 #2 SMP Thu Jul 26 12:45:38 CDT 2018 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
audio: 1. Intel PCH - HDA Intel PCH, ALC887-VD Analog
2. USB - Scarlett 2i4 USB, USB Audio

No problem of mem or disk resources:

Code: Select all

# free -m
              total        used        free      shared  buff/cache   available
Mem:          15969        1958        1716         142       12294       13271
Swap:         15624         378       15246
 
# df -hTl ~/.sonarworks 
Filesystem     Type   Size  Used Avail Use% Mounted on
/dev/dm-0      btrfs  520G  273G  244G  53% /home
No missing library:

Code: Select all

# ldd /usr/lib64/vst/Sonarworks_Reference_4_VST_Plugin.so 
	linux-vdso.so.1 (0x00007ffdcc998000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fd6c6180000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fd6c5f6e000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fd6c5d6a000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd6c5b4c000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fd6c5843000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fd6c547d000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fd6c7809000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fd6c525e000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fd6c505b000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fd6c4e56000)
Important note: I tested with Mixbus32C 5.0.186 flavour gcc5 AND also had a test with a *standard NOT-gcc5* install, but it made no difference at all.

Cheers.
Jack Winter
Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: Sonarworks Headphone Calibration Plugin

Post by Jack Winter »

I tried to do the online registration but failed a couple of times, it would download for a while and then nothing more would happen. Maybe it would make sense to implement a progression bar, and possibly to abort after a certain timeout has been exceeded. The reason the download failed might very well lie in my atrocious connection speed. I am on vacation and connected at 27 mbps over 3G, but I get around 0.5-1 mbps with some exceptions.

So I did the offline registration of key number 3, got the license file and got "success". Still when I close the registration window the plugin displays "plugin" not activated, I don't seem to be able to do anything in it, and at the next instatiation I have to start the registration again.

The system is an up to date Archlinux/KDE with /etc/machine-id, the host is an up to date reaper. Here is some additional detail:

Linux balder 4.14.59-rt37-1-rt-lts #1 SMP PREEMPT RT Sat Aug 18 15:46:49 CEST 2018 x86_64 GNU/Linux

ldd .vst/Sonarworks\ Reference\ 4\ VST\ Plugin.so
linux-vdso.so.1 (0x00007fffb15b6000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fce10df6000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fce10be4000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fce10bdf000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fce10bbe000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fce10a39000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fce10875000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007fce124e1000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fce1064a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fce10446000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fce10240000)

Please let me know what other information would be useful.

Edit: I get the impression that the GUI is ok but that in spite of declaring success, the plugin simply isn't registered. I can click on the speaker/headphone buttons, but they simply bring up the registration dialog again.
Last edited by Jack Winter on Thu Aug 23, 2018 10:49 am, edited 1 time in total.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
finotti
Established Member
Posts: 528
Joined: Thu Sep 01, 2011 9:07 pm
Has thanked: 86 times
Been thanked: 23 times

Re: Sonarworks Headphone Calibration Plugin

Post by finotti »

rudolfs.bundulis wrote:Hi finotti,

glad to hear you were able to get so far. As for the freezing - when clicking the button we open a file open dialog (so can you check if it isn't for some reason under the daw window or smth?), but sadly the JUCE SDK which we are using (it's kinda bad but sadly it is a de facto standard for audio plugins) is actually calling kdialog or zenity underneath to show the dialog. So you could check if any of those is available, even though that should not explain the blocking. If none of those two are installed maybe they are available as packages?

Again, thanks for the feedback.
Both were installed.

Code: Select all

# apt policy kdialog
kdialog:
  Installed: 4:17.08.3-2
  Candidate: 4:17.08.3-2
  Version table:
 *** 4:17.08.3-2 500
        500 http://httpredir.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

# apt policy zenity
zenity:
  Installed: 3.28.1-1
  Candidate: 3.28.1-1
  Version table:
 *** 3.28.1-1 500
        500 http://httpredir.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
I just tried again. The plugin started fine again and showed the windows of intro again.

Now, I waited to click on the "load calibration". Somethings "worked", some did not. I could click on the "sn" logo and see my 21 days left. I could click on the "Studio Reference" on/off. It turned the area under the graph red, but the color of on/off button did not change. Click on it again did not seem to do anything.

None of the other on/off buttons worked (bass boost, predefined, safe headroom, mono), but maybe they need a profile first? Dry/wet dial also did not move.

Also, I could not close the "Load a calibration profile to start". But, none of this froze the interface or Ardour.

When I finally clicked on the "load calibration", I could find no new window. (Nothing really happened.) I minimize all others looking for it... And again, the plugin was frozen. The working buttons above were not working anymore.

Closing the plugin (double click the plugin strip in Ardour) could close the window, but opening again opened a window with no content. It was line an empty frame. Ardour was not frozen, but I could not quit it. (Maybe that was the case before too... I am not sure.)

Nothing unusual show up in top. (Nothing using too much CPU or memory.) The Ardour terminal just shows:

Code: Select all

[...]
Emulate VST Bypass Port for Sonarworks Reference 4
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
actually writing state to /home/finotti/Recordings/test/test.tmp
renaming state to /home/finotti/Recordings/test/test.pending
Butler drops pool trash
I had to close it with Ctrl+C from the terminal. And this time I could stop jack and Cadence was not frozen... (!?)

Let me know if I can be of any help.
Post Reply