noahbliss / viper4linux Goto Github PK
View Code? Open in Web Editor NEWImplementation of the libviper library for modern Linux desktops.
License: GNU General Public License v3.0
Implementation of the libviper library for modern Linux desktops.
License: GNU General Public License v3.0
I'm running Arch with USB Audio - Sabaj.
Strangely, options in Viper4Linux GUI are not clickable , so I cannot change anything.
Eg. Clarity box is checked and I cannot uncheck it, the same with the bass etc....
Equalizer is chosen but if I pick different one and click Apply, the previous one appears...
Do not know where to look for solution...
Help me with the
location=$your_alsa_sink_path_here
I don't understand it completely. How can I find my alsa sink path.
I am getting this :
/home/ishan/bin/viper: line 16: kill: (11015) - No such process Setting original sink to full volume... Failed to get sink information: No such entity Changing primary sink to Viper... Moving existing audio streams to Viper... ERROR: from element /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: Internal data stream error. Additional debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll.
And not sound output.
Selecting previously unselected package viper4linux-gui.
(Reading database ... 350774 files and directories currently installed.)
Preparing to unpack viper4linux-gui_2.2-32.deb ...
Unpacking viper4linux-gui (2.2-32) ...
dpkg: dependency problems prevent configuration of viper4linux-gui:
viper4linux-gui depends on qtbase5-dev (>= 5.9.5); however:
Package qtbase5-dev is not installed.
viper4linux-gui depends on libgl1-mesa-dev; however:
Package libgl1-mesa-dev is not installed.
viper4linux-gui depends on gstreamer-1.0; however:
Package gstreamer-1.0 is not installed.
dpkg: error processing package viper4linux-gui (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.5+21.10.20210710-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
viper4linux-gui
When I stop viper.sh the master volume rises to 100%
-- Checking for modules 'gstreamer-1.0>=1.0;gstreamer-base-1.0>=1.0;gstreamer-controller-1.0>=1.0;gstreamer-audio-1.0>=1.0'
-- No package 'gstreamer-audio-1.0' found
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
CMakeLists.txt:8 (pkg_check_modules)
This has given us more jump scares than we would like. Whenever I load Viper4Linux on my arch system, it does not respect my volume levels and instantly changes it to 100% which is quite loud. I use some 120W Logitech speakers, so it is loud enough to wake up the dead!!!! Other times, I can not get any sound upon launch and the only way to bring the sound is to do a reload through the app which then the volume maxes out.
Is there a way to prevent this from happening other than ensuring my master volume on the speakers with the hardware volume control is down to zero??
Hey I noticed there's a small typo that might confuse linux newcomers
in Manual section step 2
git clone git clone https://github.com/Audio4Linux/gst-plugin-viperfx
which probably should be
git clone https://github.com/Audio4Linux/gst-plugin-viperfx
Hey,
Viper4Linux stopped working on my ubuntu 19.10 setup.
here is the output i get on gui:
root@tarik-latitude-7280:/opt/viper/Viper4Linux# viper-gui
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
Reloading...
Reloading App Config...
WRITE: ""
Looks like it was already dead...? Deleted pidfile.
You have to specify a module index or name
Unloaded Viper sink.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Setting original sink to full volume...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Changing primary sink to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Moving existing audio streams to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstPulseSink:pulsesink0: Failed to connect: Connection refused
Additional debug info:
pulsesink.c(614): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline0/GstPulseSink:pulsesink0
WRITE: ""
Looks like it was already dead...? Deleted pidfile.
You have to specify a module index or name
Unloaded Viper sink.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Setting original sink to full volume...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Changing primary sink to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Moving existing audio streams to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstPulseSink:pulsesink0: Failed to connect: Connection refused
Additional debug info:
pulsesink.c(614): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline0/GstPulseSink:pulsesink0
Dont know where to start troubleshooting, i ve uninstalled and re-installed following the steps on the main github documentation, no luck. still doesnt work.
thanks
Hi. I'm on KDE-Mint. I figuered, that Vpier works, but only if I set the Input of the audio-playing app to "Viper" and the gst-launch-Playback to the inbuild speakers.
Problem is. Everytime I start viper or a media app, it sets the gst-launch-stram to "Viper", and I have to manually adjust.
Can I change something in the "viper" file to make this setting immanent?
Thanx for your effort
I'm trying to get this to run on Fedora 27 (and yes I'm a linux noob, but I'm eager to learn). Maybe somebody can help me out.
This are all the different commands I had to run compared to the current README.
sudo dnf install @development-tools gstreamer1 gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-bad-free-devel autoconf automake libtool
This means I'm using gstreamer 1.12.4-1.fc27. Could this be (one of) the issue(s)?
sudo cp libgstviperfx.so /usr/lib64/gstreamer-1.0/
The viper script seems to throw a SIGSEGV, but I do see the viper sink after starting:
--
Name: alsa_output.pci-0000_00_1b.0.analog-stereo
Description: Intern geluid Analoog stereo
--
Name: viper
Description: Viper4Linux
$ viper start
Setting original sink to full volume...
Changing primary sink to Viper...
$ Caught SIGSEGV
Spinning. Please run 'gdb gst-launch-1.0 7217' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^C
$ viper status
Not yet fully implemented.
There is a pidfile. Gstreamer may be running at pid: 7217.
There is an idfile. The viper sink seems to be loaded at id: 52.
Any idea how to debug this? The viper.log seems to be empty.
Hello,
did you managed SIGSERV error on ARM machines? I just compiled the library, but it throws up with an error:
$ ./viper start Killed process. Deleted pidfile. Unloaded Viper sink. Setting original sink to full volume... Changing primary sink to Viper... Moving existing audio streams to Viper... $~/Viper4Linux$ Caught SIGSEGV Spinning. Please run 'gdb gst-launch-1.0 15676' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
However, when I check on that
./viper status
it says, there is a process and viper sink seems to be loaded.
I don't know if it eventually works, or not? If there is an error, I suppose, it doesn't.
The machine is Orange Pi Zero with Armbian (Debian for arm devices).
Originally posted by @Qbunjo in #1 (comment)
Hello!
I'm trying to run Viper but it crashes with SIGSEGV.
OS: Gentoo Linux
Kernel: 5.10.27-x86_64
'viper start' command:
Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
Caught SIGSEGV
'dmesg':
[20078.735929] ptrace attach of "gst-launch-1.0 -v pulsesrc device=viper.monitor ! viperfx fx-enable=true conv-enable=false conv-ir-path= conv-cc-level=0 vhe-enable=false vhe-level=0 vse-enable=false vse-ref-bark=7600 vse-bark-cons=10 eq-enable=false eq-band1=0 eq-band2=0 eq-band3=0 eq-band4=0 eq-band5=0 eq-band6=0 eq-band7=0 eq-band8=0 eq-band9=0 eq-band10=0 colm-enable=false colm-widening=100 colm-depth=0 ds-enable=false ds-level=0 reverb-enable=false reverb-roomsize=30 reverb-width=40 reverb-damp=10 reverb-wet=20 reverb-dry=80 agc-enable=true agc-ratio=100 agc-volume=110 agc-maxgain=145 vb-enable=true vb-mode=0 vb-freq=120 vb-gain=350 vc-enable=true vc-mode=0 vc-level=380 cure-enable=false cure-level=0 tube-enable=false ax-enable=false ax-mode=0 fetcomp-enable=true fetcomp-threshold=4 fetcomp-ratio=0 fetcomp-kneewidth=0 fetcomp-autoknee=true fetcomp-gain=2 fetcomp-autogain=true fetcomp-attack=51 fetcomp-autoattack=true fetcomp-release=38 fetcomp-autorelease=true fetcomp-meta-kneemulti=5
im install as aur,when run viper start, it display that
┌─[virgo@virgo-pc] - [~] - [四 9月 27, 22:53]
└─[$] <> viper start
Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
WARNING: erroneous pipeline: could not set property "eq-band1" in element "viperfx0" to "4.5"
os:manjaro
my /etc/viper4linux/devices.conf :
desc="Speakers" location=alsa_output.pci-0000_00_1b.0.analog-stereo
when i run ./autogen.sh
i get an issue
autoreconf: Entering directory
autoreconf: configure.ac not using Gettext
I found a solution on another forum which suggested adding the following to the end of configure.ac
AM_GNU_GETTEXT_VERSION
AM_GNU_GETTEXT_REQUIRE_VERSION
whice leaves me with
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
autogen.sh failed
I used yay -S viper4linux-git to get most of the work done.
then configured device.conf with desc="Speakers" location=alsa_output.pci-0000_00_1f.3.analog-stereo
When started viper gives this:
Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
WARNING: erroneous pipeline: no element "pulsesrc"
If asked for a status:
[ERROR]
There is a pidfile. However, there is no process running with the expected pid.
There is an idfile. The viper sink seems to be loaded at id: 98.
OS: Manjaro Linux
I used yay -S viper4linux-git and viper4linux-gui-git.
then configured device.conf with desc="Speakers" location=alsa_output.pci-0000_00_1f.3.analog-stereo
When started viper(viper start) gives this:
Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
WARNING: erroneous pipeline: no element "pulsesrc"
If asked for a status:
[ERROR]
There is a pidfile. However, there is no process running with the expected pid.
There is an idfile. The viper sink seems to be loaded at id: 29.
OS: Manjaro Linux
I Copied the text basicly form an other post because i have the same problem, but reboot didnt helped me. I also tried to delete the devices.conf file. didnt helped at all, i have this problem like for 1year on Manjaro KDE
I've installed viper4linux via zypper and there's no audio output. And I did up the master volume from gui - not sure of what other changes I might have to do. Please help
Found a feature bug, but it looks like if viper is activated while a voice input program is running, it will process the mic input along with any other system input and force it through the viper stream. This results in odd behavior where all viper input (like computer audio and music) are also routed to the mic application (such as discord.) So please be aware, if you start Viper after these applications, the people you are talking to may be able to hear your computer audio.
TODO: Add feature for blacklisting audio streams for being processed by viper.
If anyone wants to submit some code for resolving this feel free, otherwise I am just leaving this issue for my reference.
Great plugin, i found that i was missing the following:
sudo apt-get install libgstreamer1.0-dev
sudo apt-get install libgstreamer-plugins-base1.0-dev
These were required to get ./autogen.sh to run.
Best,
Rob
I have tried both countermeasures by editing files and restarting pulse. no good. sound is good for a while then it would skip. different intervals, 6 to 25 seconds so no buffer related. any ideas?
Hi, thanks for your work.
System: Artix Linux (Arch) with XFCE
Language: German
I installed viper4linux-git from AUR.
It depends on
After that, it said no element "pulsesrc"
I googled quite a bit to find that i had to install
Could you add it to your readme as dependency for Arch?
with pactl list sinks | grep "Name: "
i get
Name: alsa_output.pci-0000_28_00.1.hdmi-stereo-extra1
Name: alsa_output.pci-0000_2a_00.3.analog-stereo
After first time starting viper, there was no folder "viper4linux" in .config, so i created it.
Following your readme, i added
desc="Speakers"
location=alsa_output.pci-0000_2a_00.3.analog-stereo
but i get
~]$ viper start
Setting original sink to full volume...
Sie müssen einen Senkennamen/-Indexwert und einen Portnamen angeben
Changing primary sink to Viper...
Moving existing audio streams to Viper...
~]$ WARNUNG: Fehlerhafte Leitung: Kein Element »device«
So, is the format of the sinkname wrong? What portname?
Hello.
I have seen on OBS, that there are packages available for Tumbleweed and Leap 15.1. Are there any plans on setting up a repo for 15.2 and future releases?
Thanks.
Sorry if this is the wrong place but is there more documentation on how to edit the audio.conf file? I have no idea what the abbreviations mean. I would like to add more bass and diable the surround effect which is leaning to one channel.
make command outputs this
make all-recursive
make[1]: Entering directory '/home/atta/viper/gst-plugin-viperfx'
Making all in src
make[2]: Entering directory '/home/atta/viper/gst-plugin-viperfx/src'
/bin/sh ../libtool --tag=CC --tag=disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/orc-0.4 -Wall -g -O2 -Wall -MT libgstviperfx_la-gstviperfx.lo -MD -MP -MF .deps/libgstviperfx_la-gstviperfx.Tpo -c -o libgstviperfx_la-gstviperfx.lo test -f 'gstviperfx.c' || echo './'
gstviperfx.c
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.42-b88ce-dirty.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[2]: *** [Makefile:458: libgstviperfx_la-gstviperfx.lo] Error 63
make[2]: Leaving directory '/home/atta/viper/gst-plugin-viperfx/src'
make[1]: *** [Makefile:400: all-recursive] Error 1
make[1]: Leaving directory '/home/atta/viper/gst-plugin-viperfx'
make: *** [Makefile:332: all] Error 2
Is there a resource of some sort I could read up on to understand all the options that viper has to offer and what they mean/do?
If you like it, please feel free to copy the changes. I can make my repo private, if you include the changes. You can also change it to load it from config, just change in Viper4Linux/viper the dynsys parameters to
dynsys-enable="$dynsys_enable" dynsys-ycoeffs="$dynsys_ycoeffs" dynsys-sidegain="$dynsys_sidegain" dynsys-xcoeffs="$dynsys_xcoeffs" dynsys-bassgain="$dynsys_bassgain"
Output:
$ pacaur -S viper4linux-git
:: Package viper4linux-git not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for gst-plugin-viper4linux (dependency tree: viper4linux-git gst-plugin-viper4linux)
Note that gst-plugin-viper4linux-git is available, but can't be installed since it can't find libviperfx, which is available as libviperfx-nonfree-bin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.