FAIL Kubuntu 21.10

https://www.merging.com/products/alsa_r ... s67_driver
Forum rules
The Merging Technologies team cannot be held responsible for support queries logged on the public forums. If a support query is logged here and only here, it may not be found and dealt with by the appropriate team.
If you need assistance please contact tech support.
JuanPC2018
Posts: 4
Joined: Fri May 27, 2022 02:28

FAIL Kubuntu 21.10

Postby JuanPC2018 » Fri May 27, 2022 02:43

:/media/Kubuntu/HDD/Merging Ravena Hapi Horus/ravenna-alsa-lkm/driver$ sudo make
make -C /lib/modules/5.13.0-44-generic/build/ M=/media/Kubuntu/HDD/Merging Ravena Hapi Horus/ravenna-alsa-lkm/driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-44-generic'
make[1]: *** No rule to make target 'Ravena'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-44-generic'
make: *** [Makefile:14: modules] Error 2

ngwese
Posts: 5
Joined: Sat Aug 14, 2021 22:30

Re: FAIL Kubuntu 21.10

Postby ngwese » Wed Jun 08, 2022 03:22

There is a fork of the Merging driver which has been updated to compile cleanly on newer kernels which can be found here:
https://github.com/bondagit/ravenna-als ... s67-daemon

I'm currently trying to find a stable configuration which this fork of the driver on an embedded device based on the 5.15 kernel. The binary build of the user space butler daemon will not run on modern Linux distributions without hacking around libcurl dependencies as reported in other threads. I have had some success using https://github.com/bondagit/aes67-linux-daemon in combination with Anubis/Hapi interfaces. While one can configure the streams manually I've found that the Linux driver is prone to glitches and dropouts on every configuration I've tried from Celeron based mini pc to top a top shelf AMD Threadripper workstation.

JuanPC2018
Posts: 4
Joined: Fri May 27, 2022 02:28

Re: FAIL Kubuntu 21.10

Postby JuanPC2018 » Thu Jun 09, 2022 01:39

i was making a mistake,
$ make
cannot_be_done_with_spaces_in_the_Folder_Path...

Download
https://merging.com/support/downloads#alsa-linux
make again
compiles,
but gives different errors.

the
https://github.com/bondagit/ravenna-alsa-lkm
also gives errors.

will try the others:
https://github.com/oyvv/ravenna-alsa-lkm
https://github.com/ACMILabs/alsa-ravenna-lkm
https://github.com/nicolassturmel/ravenna-alsa-lkm
https://github.com/bondagit/ravenna-als ... s67-daemon

ACMILabs is broken,
all the others give similar error:

~/Down/oyvv-ravenna-alsa-lkm-master/driver$ make
make -C /lib/modules/5.13.0-48-generic/build/ M=/home/k/Down/oyvv-ravenna-alsa-lkm-master/driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-48-generic'
CC [M] /home/k/Down/oyvv-ravenna-alsa-lkm-master/driver/c_wrapper_lib.o
CC [M] /home/k/Down/oyvv-ravenna-alsa-lkm-master/driver/audio_driver.o
/home/k/Down/oyvv-ravenna-alsa-lkm-master/driver/audio_driver.c: In function ‘mr_alsa_audio_pcm_capture_copy_internal’:
/home/k/Down/oyvv-ravenna-alsa-lkm-master/driver/audio_driver.c:1210:9: error: implicit declaration of function ‘__put_user_x’; did you mean ‘__put_user_8’? [-Werror=implicit-function-declaration]
1210 | __put_user_x(1, val, (unsigned long __user *)src, ret_pu);
| ^~~~~~~~~~~~
| __put_user_8
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:281: /home/k/Down/oyvv-ravenna-alsa-lkm-master/driver/audio_driver.o] Error 1
make[1]: *** [Makefile:1879: /home/k/Down/oyvv-ravenna-alsa-lkm-master/driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-48-generic'
make: *** [Makefile:14: modules] Error 2


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

:~/Down/ravenna-alsa-lkm-aes67-daemon/driver$ make
make -C /lib/modules/5.13.0-48-generic/build/ M=/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-48-generic'
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/c_wrapper_lib.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/audio_driver.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/manager.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/module_main.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/PTP.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/module_interface.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/module_netlink.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/module_timer.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/EtherTubeNetfilter.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/RTP_streams_manager.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/RTP_audio_stream.o
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/RTP_audio_stream.c: In function ‘PrepareBufferLives’:
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/RTP_audio_stream.c:1044:41: warning: unused variable ‘delta’ [-Wunused-variable]
1044 | int64_t delta = self->m_tRTPStream.m_ui64LastAudioSampleReceivedSAC - pManager->get_global_SAC(pManager->user);
| ^~~~~
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/RTP_stream.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/RTP_stream_info.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_EthUtils.o
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_EthUtils.c: In function ‘MTAL_DumpID’:
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_EthUtils.c:107:25: warning: unused variable ‘by’ [-Wunused-variable]
107 | uint8_t by = (ullID >> (ui32 * 8)) & 0xFF;
| ^~
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_EthUtils.c: In function ‘MTAL_DumpAppleMIDI’:
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_EthUtils.c:556:50: warning: unused variable ‘pSynch’ [-Wunused-variable]
556 | TAppleMIDI_Synch_Packet* pSynch = (TAppleMIDI_Synch_Packet*)pAppleMIDI_PacketBase;
| ^~~~~~
/home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_EthUtils.c:580:56: warning: unused variable ‘pAppleMIDI_IN_NO_OK_BY_Packet’ [-Wunused-variable]
580 | TAppleMIDI_IN_NO_OK_BY_Packet* pAppleMIDI_IN_NO_OK_BY_Packet = (TAppleMIDI_IN_NO_OK_BY_Packet*)pAppleMIDI_PacketBase;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTAL_LKernelAPI.o
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MTConvert.o
LD [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MergingRavennaALSA.o
MODPOST /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/Module.symvers
CC [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MergingRavennaALSA.mod.o
LD [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MergingRavennaALSA.ko
BTF [M] /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MergingRavennaALSA.ko
Skipping BTF generation for /home/k/Down/ravenna-alsa-lkm-aes67-daemon/driver/MergingRavennaALSA.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-48-generic'
Last edited by JuanPC2018 on Thu Jun 09, 2022 02:16, edited 1 time in total.

JuanPC2018
Posts: 4
Joined: Fri May 27, 2022 02:28

Re: FAIL Kubuntu 21.10

Postby JuanPC2018 » Thu Jun 09, 2022 02:01

a shame, others work ok in Win and Mac:
WormHole2,
FXMax Teleport
"VEP" Vienna Ensemble Pro 5 / 6 / 7
rtpMIDI
ipMIDI nerds.de
etc...

Network Audio & MIDI is Amazing.