Skip to content

This repo is intented to help people to have a better experience with sound in this line brand computers. They have nice quality sound, but it can be better.

Notifications You must be signed in to change notification settings

Areck83/HuaweiD-Viper-Presets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

HuaweiD-Viper-Presets

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.

Dependency list of the presets

Windows

  • 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

Do you want sound on Linux for Huawei Matebook D?

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:

  1. 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.

  1. 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!

Viper4Linux Installation

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.

  1. 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
  1. Check if you have the neccesary tools to make the compilation. sudo apt install build-essential git autoconf automake autopoint libtool cmake

  2. 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
  1. Compile
cd gst-plugin-viperfx  
cmake -B build -S .
make -C build
cd build
  1. 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.

  1. 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
  1. 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]

About

This repo is intented to help people to have a better experience with sound in this line brand computers. They have nice quality sound, but it can be better.

Topics

Resources

Stars

Watchers

Forks