This is a list of different Viper Presets for Huawei D Series, regardless the operating system. If anyone find this repo useful, give star plz.
The "ImpulseResponse" needs to be in the installation folder of your Viper in Windows. In Linux they will be recognized in the directory as "Kernels" (That is what they are actually for your soundcard).
Some presets of this repo requires that files.
- HUAWEI | Bassy Wired: Kugou Viper 3D Surround
- Clear | Natural | Normal : X-FI Fidelity Only Crystalizer-Mid
- ENHACED | Tube: HTC One X Beats Audio
- Bassy | Universal: Rockbox Chafen
Maybe you have linux installed and noticed that there's only dummy output. The solution is simplier than you think.
"esof" is the firmware that this computer needs to detect the DAC. I had troubles installing it in my current distro so I did just one step that also improves performance:
These are the steps for Debian based / Ubuntu Distros:
- Install the Linux Xanmod Kernel, but the V4 version, you will notice in the page that there are only (apparently) 3 versions. Follow the instructions like in their link [https://xanmod.org/]. In step 3, do this command:
sudo apt update && sudo apt install linux-xanmod-x64v4
This kernel has esof installed by default. Remember to reboot after the installation.
- Check the sound level. After the reboot you will se that your speakers are detected, but if you try to raise the volume you barely hear something.
Just write in terminal
alsamixer
Then select your soundcard (remember to press fn first to access to the options from terminal). Check the sound outputs and raise the bars. I don't recommend to raise them to the top, just 90%. You can try on your own.
Enjoy!
In my experience Viper4Linux is so different to Viper4Windows on the same machine. This mod is better if you will have speakers or headphones connected, so for the speakers there will be almost no difference.
- Then, install all the gstreamer plugin dependencies
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
-
Check if you have the neccesary tools to make the compilation.
sudo apt install build-essential git autoconf automake autopoint libtool cmake
-
Download all the files required. (Check the directory where you will clone)
git clone https://github.com/noahbliss/Viper4Linux.git
git clone https://github.com/Audio4Linux/gst-plugin-viperfx
git clone https://github.com/vipersaudio/viperfx_core_binary.git
- Compile
cd gst-plugin-viperfx
cmake -B build -S .
make -C build
cd build
- Copy the files to where is supposed to be the gstreamer plugin. It may be different, if the command doesn't work then search where is located first
sudo cp libgstviperfx.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/
Then, do the following
gst-inspect-1.0 viperfx
If a message about something related to viper appears, well done, you installed it correctly. Maybe some dependencies needs to be installed to do the previous command, check them all and continue when the message appears.
- Install the main library for viper.
Do this where you cloned the repositories and check if the origin directory exists.
sudo cp viperfx_core_binary/libviperfx_x64_linux.so /lib/libviperfx.so
Then copy the executable to
cp viper /usr/local/bin
- Install Viper GUI
Dependencies
sudo apt install -y qtcreator qtbase5-dev qt5-qmake cmake
Download the latest release from [https://github.com/Audio4Linux/Viper4Linux-GUI/releases]