Open michele-perrone opened 1 year ago
There are a lot of missing symbols to solve first. And it seems it fail because it runs out of memory in the end.
I'll add the missing symbols first, then we'll see how it evolve...
Thanks for the reply.
Sure, let me know when I can test this again.
You can now try to update to latest Box64 version and try again.
(note that you were using 0.2.0 version before, you need to use lastest main
version here)
Hi @ptitSeb, many thanks for the amount of work you're putting into this.
It got closer, but it still does not work.
This is the output of the console running jack
(this time, it does not crash!):
[michele@michele-rpi4 ~]$ jackd -d alsa
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_firewire.so'
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
ALSA: channel flush for playback failed (Bad file descriptor)
JackAudioDriver::ProcessAsync: read error, stopping...
Released audio card Audio0
audio_reservation_finish
This is the output of the console running carla-single
:
[michele@michele-rpi4]$ box64 carla-single vst3 "/home/michele/.vst3/yabridge/SWAM/Clarinets/SWAM Clarinet 3.vst3"
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Cores:4
Params database has 15 entries
Box64 with Dynarec v0.2.1 09e748d6 built on Feb 4 2023 12:22:03
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 37 Env var
Looking for carla-single
argv[1]="vst3"
argv[2]="/home/michele/.vst3/yabridge/SWAM/Clarinets/SWAM Clarinet 3.vst3"
Not an ELF file (sign=#!/u)
Error: reading elf header of /usr/bin/carla-single, try to launch natively instead
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Cores:4
Params database has 15 entries
Box64 with Dynarec v0.2.1 09e748d6 built on Feb 4 2023 12:22:03
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 44 Env var
Looking for /home/michele/python3.8-x86_64.AppDir/opt/python3.8/bin/python3.8
argv[1]="/usr/bin/carla-single"
argv[2]="vst3"
argv[3]="/home/michele/.vst3/yabridge/SWAM/Clarinets/SWAM Clarinet 3.vst3"
Rename process to "python3.8"
Error initializing native libcrypt.so.1 (last dlerror is libcrypt.so.1: cannot open shared object file: No such file or directory)
Using emulated /home/michele/python3.8-x86_64.AppDir/opt/python3.8/bin/../../../usr/lib/libcrypt.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
['/usr/lib/carla/carla-bridge-native', 'vst3', '/home/michele/.vst3/yabridge/SWAM/Clarinets/SWAM Clarinet 3.vst3', '(none)', '0']
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Cores:4
Params database has 15 entries
Box64 with Dynarec v0.2.1 09e748d6 built on Feb 4 2023 12:22:03
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 47 Env var
Looking for /usr/lib/carla/carla-bridge-native
argv[1]="vst3"
argv[2]="/home/michele/.vst3/yabridge/SWAM/Clarinets/SWAM Clarinet 3.vst3"
argv[3]="(none)"
argv[4]="0"
Rename process to "carla-bridge-native"
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libGL.so.1
Using native(wrapped) libsndfile.so.1
Using emulated liblo.so.7
Using emulated libfluidsynth.so.3
Using emulated libmagic.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated libgomp.so.1
Using native(wrapped) libpulse-simple.so.0
Using native(wrapped) libpulse.so.0
Using emulated libportaudio.so.2
Using native(wrapped) libasound.so.2
Using emulated libjack.so.0
Using emulated libpipewire-0.3.so.0
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using emulated libinstpatch-1.0.so.2
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libSDL2-2.0.so.0
Using emulated libreadline.so.8
Using emulated libdb-5.3.so
Using native(wrapped) libncursesw.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) liblzma.so.5
Using native(wrapped) libbz2.so.1
Using native(wrapped) libz.so.1
Using emulated libfftw3_threads.so.3
Using emulated libfftw3.so.3
Using emulated libfftw3f_threads.so.3
Using emulated libfftw3f.so.3
Using emulated libfftw3l_threads.so.3
Using emulated libfftw3l.so.3
Using emulated libfftw3q_threads.so.3
Using emulated libfftw3q.so.3
Using emulated libquadmath.so.0
libjack.so.0 loaded successfully!
BDB1539 Build signature doesn't match environment
Cannot open DB environment: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
Cannot lock down 82837504 byte memory area (Cannot allocate memory)
Cannot lock down 136314880 byte memory area (Cannot allocate memory)
Cannot lock down 28835840 byte memory area (Cannot allocate memory)
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_SWAM_Clarinet_3
Jack: Already connected name = SWAM_Clarinet_3
Jack: Clock source : unknown
Jack: JackLibClient::Open name = SWAM_Clarinet_3 refnum = 0
Jack: jack_client_close
Jack: JackClient::Close ref = 0
Jack: JackClient::Deactivate
Jack: JackSocketClientChannel::Stop
Jack: JackPosixThread::Kill
Jack: JackClientSocket::Close
Jack: JackClientSocket::Close
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 2
Cannot unlock down 28835840 byte memory area (Cannot allocate memory)
Jack: JackLibGlobals Destroy 59ad6990
Jack: ~JackLibGlobals
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1
Cannot unlock down 82837504 byte memory area (Cannot allocate memory)
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0
Cannot unlock down 136314880 byte memory area (Cannot allocate memory)
Jack: jack_client_close res = 0
Using emulated /home/michele/.vst3/yabridge/SWAM/Clarinets/SWAM Clarinet 3.vst3/Contents/x86_64-linux/SWAM Clarinet 3.so
Using emulated libyabridge-vst3.so
posix_spawnp(0xffff92c56a1c, "/home/michele/yabridge-5.0.3-x86_64/usr/bin/yabridge-host.exe", 0xffff92c56a40, (nil), 0x59b5a9f0, 0x59b5d130), IsX86=0 / fullpath="/home/michele/yabridge-5.0.3-x86_64/usr/bin/yabridge-host.exe"
posix_spawnp(0xffff92c564c0, "wine", 0xffff92c564f0, (nil), 0x59b5eeb0, 0x59b5e800), IsX86=0 / fullpath="/home/michele/wine-staging-7.22-1-x86_64/usr/bin/wine"
16:55:36 [SWAM Clarinet 3-015QXYfy] Initializing yabridge version 5.0.3
16:55:36 [SWAM Clarinet 3-015QXYfy] [Wine STDERR] /home/michele/yabridge-5.0.3-x86_64/usr/bin/yabridge-host.exe: line 36: /home/michele/wine-staging-7.22-1-x86_64/usr/bin/wine: cannot execute binary file: Exec format error
16:55:36 [SWAM Clarinet 3-015QXYfy] [Wine STDERR] /home/michele/yabridge-5.0.3-x86_64/usr/bin/yabridge-host.exe: line 36: /home/michele/wine-staging-7.22-1-x86_64/usr/bin/wine: cannot execute binary file: Exec format error
16:55:36 [SWAM Clarinet 3-015QXYfy] library: 'libyabridge-vst3.so'
16:55:36 [SWAM Clarinet 3-015QXYfy] host: '/home/michele/yabridge-5.0.3-x86_64/usr/bin/yabridge-host.exe'
16:55:36 [SWAM Clarinet 3-015QXYfy] plugin: '/home/michele/.wine/drive_c/Program Files/Common Files/VST3/SWAM/Clarinets/SWAM Clarinet 3.vst3'
16:55:36 [SWAM Clarinet 3-015QXYfy] plugin type: 'VST3'
16:55:36 [SWAM Clarinet 3-015QXYfy] realtime: 'yes'
16:55:36 [SWAM Clarinet 3-015QXYfy] sockets: '/run/user/1000/yabridge-SWAM Clarinet 3-015QXYfy'
16:55:36 [SWAM Clarinet 3-015QXYfy] wine prefix: '/home/michele/.wine'
16:55:36 [SWAM Clarinet 3-015QXYfy] wine version: '<ERROR SPAWNING WINE: Exec format error >'
16:55:36 [SWAM Clarinet 3-015QXYfy]
16:55:36 [SWAM Clarinet 3-015QXYfy] config from: '<defaults>'
16:55:36 [SWAM Clarinet 3-015QXYfy] hosting mode: 'individually, 64-bit'
16:55:36 [SWAM Clarinet 3-015QXYfy] other options: '<none>'
16:55:36 [SWAM Clarinet 3-015QXYfy]
16:55:36 [SWAM Clarinet 3-015QXYfy] Enabled features:
16:55:36 [SWAM Clarinet 3-015QXYfy] - bitbridge support
16:55:36 [SWAM Clarinet 3-015QXYfy] - CLAP support
16:55:36 [SWAM Clarinet 3-015QXYfy] - VST3 support
16:55:36 [SWAM Clarinet 3-015QXYfy]
16:55:36 [SWAM Clarinet 3-015QXYfy] [Wine STDERR] /home/michele/yabridge-5.0.3-x86_64/usr/bin/yabridge-host.exe: line 36: /home/michele/wine-staging-7.22-1-x86_64/usr/bin/wine: Success
16:55:36 [SWAM Clarinet 3-015QXYfy] The Wine host process has exited unexpectedly. Check the output above for more information.
terminate called without an active exception
[carla] WARNING: Caught exception while scanning file, will not load this plugin
[carla] Plugin failed to load, error was:
Failed to get plugin description
The lines saying "Exec format error
" caught my eye. Maybe something to do with the binfmt
deamon?
There are still many issue with memory allocation. You seems to run out of memory running it.
Thanks for the feedback. So I did also another test to see if I could load a plugin without yabridge, because that involves another layer of complexity, so I tried an internal carla
plugin.
Output of jack
:
[michele@michele-rpi4 ~]$ jackd -d alsa
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_firewire.so'
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
JackLinuxFutex::Signal name = jack_sem.1000_default_system already deallocated!!
JackAudioDriver::ProcessGraphAsyncMaster: ResumeRefNum error
status error: Bad file descriptor
ALSA: channel flush for playback failed (Bad file descriptor)
JackAudioDriver::ProcessAsync: read error, stopping...
Released audio card Audio0
audio_reservation_finish
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot create new client
Output of carla-single
:
[michele@michele-rpi4]$ carla-single internal audiogain
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Cores:4
Params database has 15 entries
Box64 with Dynarec v0.2.1 09e748d6 built on Feb 4 2023 12:22:03
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 44 Env var
Looking for /home/michele/python3.8-x86_64.AppDir/opt/python3.8/bin/python3.8
argv[1]="/usr/bin/carla-single"
argv[2]="internal"
argv[3]="audiogain"
Rename process to "python3.8"
Error initializing native libcrypt.so.1 (last dlerror is libcrypt.so.1: cannot open shared object file: No such file or directory)
Using emulated /home/michele/python3.8-x86_64.AppDir/opt/python3.8/bin/../../../usr/lib/libcrypt.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
['/usr/lib/carla/carla-bridge-native', 'internal', '(none)', 'audiogain', '0']
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Cores:4
Params database has 15 entries
Box64 with Dynarec v0.2.1 09e748d6 built on Feb 4 2023 12:22:03
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 47 Env var
Looking for /usr/lib/carla/carla-bridge-native
argv[1]="internal"
argv[2]="(none)"
argv[3]="audiogain"
argv[4]="0"
Rename process to "carla-bridge-native"
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libGL.so.1
Using native(wrapped) libsndfile.so.1
Using emulated liblo.so.7
Using emulated libfluidsynth.so.3
Using emulated libmagic.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated libgomp.so.1
Using native(wrapped) libpulse-simple.so.0
Using native(wrapped) libpulse.so.0
Using emulated libportaudio.so.2
Using native(wrapped) libasound.so.2
Using emulated libjack.so.0
Using emulated libpipewire-0.3.so.0
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using emulated libinstpatch-1.0.so.2
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libSDL2-2.0.so.0
Using emulated libreadline.so.8
Using emulated libdb-5.3.so
Using native(wrapped) libncursesw.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) liblzma.so.5
Using native(wrapped) libbz2.so.1
Using native(wrapped) libz.so.1
Using emulated libfftw3_threads.so.3
Using emulated libfftw3.so.3
Using emulated libfftw3f_threads.so.3
Using emulated libfftw3f.so.3
Using emulated libfftw3l_threads.so.3
Using emulated libfftw3l.so.3
Using emulated libfftw3q_threads.so.3
Using emulated libfftw3q.so.3
Using emulated libquadmath.so.0
libjack.so.0 loaded successfully!
BDB1539 Build signature doesn't match environment
Cannot open DB environment: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
Cannot lock down 82837504 byte memory area (Cannot allocate memory)
Cannot lock down 136314880 byte memory area (Cannot allocate memory)
Cannot lock down 28835840 byte memory area (Cannot allocate memory)
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_audiogain
Jack: Already connected name = audiogain
Jack: Clock source : unknown
Jack: JackLibClient::Open name = audiogain refnum = 0
Jack: jack_client_close
Jack: JackClient::Close ref = 0
Jack: JackClient::Deactivate
Jack: JackSocketClientChannel::Stop
Jack: JackPosixThread::Kill
Jack: JackClientSocket::Close
Jack: JackClientSocket::Close
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 2
Cannot unlock down 28835840 byte memory area (Cannot allocate memory)
Jack: JackLibGlobals Destroy 5f7dd9b0
Jack: ~JackLibGlobals
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1
Cannot unlock down 82837504 byte memory area (Cannot allocate memory)
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0
Cannot unlock down 136314880 byte memory area (Cannot allocate memory)
Jack: jack_client_close res = 0
Jack: jack_client_open Audio Gain (Mono)
Jack: JackLibGlobals Init 0
Jack: JackLibGlobals
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
BDB1539 Build signature doesn't match environment
Cannot open DB environment: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
Jack: JackGenericClientChannel::ServerCheck = default
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackClientSocket::Close
Jack: JackLibClient::JackLibClient table = 5f80ad10
Jack: JackLibClient::Open name = Audio Gain (Mono)
Jack: JackSocketClientChannel::Open name = Audio Gain (Mono)
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackServerSocket::Bind : addr.sun_path /dev/shm/jack_Audio Gain (Mono)_1000_0
Jack: JackSocketClientChannel::Start
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackSocketClientChannel::Init
Jack: JackServerSocket::Close /dev/shm/jack_Audio Gain (Mono)_1000_0
Cannot read socket fd = 9 err = Success
Cannot open Audio Gain (Mono) client
CheckRes error
Jack: JackSocketClientChannel::Stop
Jack: JackPosixThread::Kill
Jack: JackClientSocket::Close
Jack: JackClientSocket::Close
Jack: JackLibClient::~JackLibClient
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
Jack: JackLibGlobals Destroy 5f80acf0
Jack: ~JackLibGlobals
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[carla] Carla assertion failure: Failure to open client, condition "client != nullptr" in file ../backend/engine/CarlaEngineJack.cpp, line 1997
[carla] Plugin failed to load, error was:
Failed to register plugin client
Sigfault/Segbus while quitting, exiting silently
There are still many issue with memory allocation. You seems to run out of memory running it.
Are you referring to the Cannot lock down XXXXXXX byte memory area (Cannot allocate memory)
messages?
Besides, I don't quite get it. The output of ulimit -l
is unlimited
. In /etc/security/limits.conf
, I have the following lines:
@audio - rtprio 99
@audio - memlock unlimited
My user is in the audio
group, of course.
Yes, I'm refering to those messages.
Hey @ptitSeb,
To add to this, I'm also getting a similar error when attempting to use wineasio; this is the output after running wine64 regsvr32 wineasio64.dll
. Any help would be much appreciated!
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 47b8e2a9 built on Feb 17 2024 16:14:16
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 51 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/louis/scripts/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /usr/local/bin/wine64
Apply RC params for wine64
Applying BOX64_MAXCPU=64
argv[1]="regsvr32"
argv[2]="wineasio64.dll"
Rename process to "wine64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/louis/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 47b8e2a9 built on Feb 17 2024 16:14:16
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 53 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/louis/scripts/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /home/louis/wine/bin/wine64
Apply RC params for wine64
Applying BOX64_MAXCPU=64
argv[1]="regsvr32"
argv[2]="wineasio64.dll"
Rename process to "wine64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/louis/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
posix_spawn(0x7fbcaeebec, "/home/louis/wine/bin/wineserver", (nil), (nil), 0x7fbcaeebf0["/home/louis/wine/bin/wineserver", "", ...], 0x7fbcaeef70), IsX64=1, IsX86=0 IsScript=0 envp is context->envv
=> posix_spawn(0x7fbcaeebec, "/usr/local/bin/box64", (nil), (nil), 0x7fdd89a3a0 ["/usr/local/bin/box64", "/home/louis/wine/bin/wineserver", ""...:1], 0x7fdd89aa60)
posix_spawn returned 0
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 47b8e2a9 built on Feb 17 2024 16:14:16
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 53 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/louis/scripts/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /home/louis/wine/bin/wineserver
Rename process to "wineserver"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
002c:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
002c:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
002c:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
002c:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
002c:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
002c:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
0034:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
0034:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
0034:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
0034:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0034:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
0034:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
003c:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
003c:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
003c:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
003c:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
003c:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
003c:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
0044:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
0044:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
0044:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
0044:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0044:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
0044:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
0050:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
0050:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
0050:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
0050:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0050:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
0050:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
0074:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
0074:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
0074:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
0074:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0074:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
0074:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
00b4:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
00b4:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
00b4:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
00b4:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
00b4:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
00b4:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
00cc:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
00cc:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
00cc:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
00cc:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
00cc:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
00cc:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
00ec:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
00ec:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
00ec:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
00ec:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0024:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
00ec:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
00ec:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
0024:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
0024:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
0024:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0024:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
0024:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 47b8e2a9 built on Feb 17 2024 16:14:16
BOX64: Wine64 detected, WINEPRELOADRESERVE="000400000-0004ae000"
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 55 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/louis/scripts/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /home/louis/wine/bin/wine64
Apply RC params for wine64
Applying BOX64_MAXCPU=64
argv[1]="C:\windows\system32\conhost.exe"
argv[2]="--unix"
argv[3]="--width"
argv[4]="80"
argv[5]="--height"
argv[6]="24"
argv[7]="--server"
argv[8]="0x10"
Rename process to "wine64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/louis/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
00fc:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
00fc:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
00fc:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
00fc:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
Using emulated /home/louis/wine/lib64/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
00fc:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
00fc:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using emulated /home/louis/wine/lib64/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 47b8e2a9 built on Feb 17 2024 16:14:16
BOX64: Wine64 detected, WINEPRELOADRESERVE="000400000-000432000"
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 55 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/louis/scripts/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /home/louis/wine/bin/wine64
Apply RC params for wine64
Applying BOX64_MAXCPU=64
argv[1]="E:\home\louis\wine\lib64\wine\x86_64-windows\regsvr32.exe"
argv[2]="wineasio64.dll"
Rename process to "wine64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/louis/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
0118:err:virtual:map_fixed_area out of memory for 0x6fffffc50000-0x6ffffffe9000
0118:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffc50000-0x7ffffffe9000, unix_prot 0x7.
0118:err:virtual:map_fixed_area out of memory for 0x6fffffa80000-0x6fffffc39000
0118:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffe30000-0x7ffffffe9000, unix_prot 0x7.
0118:err:virtual:map_fixed_area out of memory for 0x6fffff440000-0x6fffffa6b000
0118:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffff9c0000-0x7ffffffeb000, unix_prot 0x7.
Using emulated /home/louis/wine/lib64/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using emulated /home/louis/wine/lib64/wine/x86_64-unix/winex11.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Using emulated /home/louis/wine/lib64/wine/x86_64-unix/wineasio64.dll.so
Error loading needed lib libjack.so.0
Error loading one of needed lib
Error initializing needed lib /home/louis/wine/lib64/wine/x86_64-unix/wineasio64.dll.so
0118:err:module:open_builtin_so_file failed to load .so lib "/home/louis/wine/lib64/wine/x86_64-unix/wineasio64.dll.so"
hey guys any luck with this?
Hi! I am trying to use a combination of
box64
,wine64
and yabridge for running x64 Windows audio plugins on my Raspberry Pi 4. I am already able to use these three together, but then to launch the plugins, I need to run an x64 plugin host like carla, Ardour, Qtractor, Element, ...I have tested all of the clients above, but none of them work with
box64
except forcarla-single
, a subproject ofcarla
that provides a command-line tool for launching plugins.The problem is,
carla-single
relies onjack
for the audio input/output, and there seems to be a communication issue between the client-side (libjack.so.2
is emulated) and server-side (nativejackd
audio server running on ARM). Thejackd
server quits with a segmentation fault whencarla-single
tries to connect to its channels.I think that wrapping
libjack.so.2
can solve this issue. Is it something doable?To troubleshoot this, I open two consoles, one for launching
jackd
, and another one for launchingcarla-single
.This is the output of the console running
jackd
:And this is the output of the console running
carla-single
: