openAVproductions / openAV-Luppp

Luppp is a live performance tool, created by OpenAV productions.
http://openavproductions.com/luppp
GNU General Public License v3.0
256 stars 43 forks source link

Git Version info could not be read #326

Open MaexPow opened 1 year ago

MaexPow commented 1 year ago

I went trough the installation and installed all the necessary packages including ninja and the ntk replacement that was posted in this forum. meson build is set up. I went to cd build After I type ninja i get the following: [1/3] Generating src/version.hxx with a custom command

After I type ./luppp i get the following: _[Luppp] main:78: Git: Version info could not be read. [Luppp] main:94: Built with BUILDTESTS enabled [Luppp] Gui:460: Loaded preferences Speicherzugriffsfehler (Speicherabzug geschrieben)

I checked and installed git when I use the command git --version my terminal shows me: git version 2.34.1

How to get Lupp running

harryhaaren commented 1 year ago

Hi,

The "Segfault" error (Speicherabzug) is not due to the git version info not being read. I'm not sure why Luppp is segfaulting (aka, accessing a bad/NULL pointer in the C language..) Would you describe the system that you're running? (What version of JACK, do other apps work as expected?)

Are you familiar with C debugging at all, or would you be willing to learn? With a few commands, we might be able to root-cause why this segfault is happening... Luppp works fine here - so right now I cannot reproduce the issue to help/fix it..

Regards, -Harry

MaexPow commented 1 year ago

I reinstalled Jack and get the following: Gui:460: Loaded preferences connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) jackd 0.125.0rc1 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd 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

JACK is running in realtime mode, but you are not allowed to use realtime scheduling. Please check your /etc/security/limits.conf for the following line and correct/add it if necessary:

@audio - rtprio 99

After applying these changes, please re-login in order for them to take effect.

You don't appear to have a sane system configuration. It is very likely that you encounter xruns. Please apply all the above mentioned changes and start jack again! connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed Speicherzugriffsfehler (Speicherabzug geschrieben)

MaexPow commented 1 year ago

Okay I am using Ubuntu 22.04, when i check my Jack Version by using command: jackd -V i get the following output: jackd version 0.125.0rc1 tmpdir /dev/shm protocol 25

I followed the instructions from the previous output (adding the line to limits.conf) and afterwards adding myself to audio group. Now the output on trying to start Luppp is like that:

[Luppp] main:78: Git: Version info could not be read. [Luppp] main:94: Built with BUILD_TESTS enabled [Luppp] Gui:460: Loaded preferences connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) jackd 0.125.0rc1 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd 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

no message buffer overruns JACK compiled with System V SHM support. loading driver .. creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode cannot load driver module alsa connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed Speicherzugriffsfehler (Speicherabzug geschrieben)