EVGA

Working Guide: Using Nu Audio in Linux

Author
tigerdognew
New Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2020/04/21 21:39:54
  • Location: Del Mar, California USA
  • Status: offline
  • Ribbons : 2
2020/05/30 09:05:46 (permalink)

Linux Support At Last

EVGA have released limited support for the Nu Audio (not Pro) under Linux.   It's pretty bare-bones, but it's enough to allow enjoying the quality of the Nu's hardware and design without needing Windows.  A little background:  internally the Nu is constructed as a USB audio device and an USB-to-PCIe bridge, on the same module.  Linux kernel has supported USB 2.0 audio devices for years, and as of kernel 5.4, even has a special tweak so that the EVGA Nu is recognized as DSD capable.  None of the enhanced functions (Nahimic audio EQ, sound tweaks, etc.) are available in Linux.  Support is, as I say, bare-bones.

Windows Still Needed

There is one hitch:  the EVGA Nu requires different firmware under Linux, and as of this writing, firmware can only be changed under Windows.  At least temporarily, install the card in a Windows system and install the normal EVGA driver and utility.  This is important - several settings must be made under Windows, before moving the card to Linux.  A few things to tweak:
  • Lighting Effects:  if you want to use any of the Nu's cool lighting features, or just to turn them off, do that using the Windows utility.
  • Output:  the Nu Utility allows you to select line out, headphone, or both outputs.  This cannot be done under Linux, so click to activate both of them.
  • Volume:   The Nu has two volume controls.   The main one controls the output level from the Digital Analog Converter (DAC).  The second is an analog control that works for line and headphone outputs.  Use the headphone volume to crank the headphone output to or near the highest level.  This also cannot be changed under Linux.
The good news is, these tweaks are retained by the Nu through firmware reflashing and between system restarts (like from Windows to Linux.)

Firmware Update

Operating under Linux requires different firmware from the current Windows drivers.  EVGA makes Linux firmware available here:  https://cdn.evga.com/nuaudiocard/NU_Audio_FW_for_Linux.zip  Download and unzip the firmware files and firmware update program under Windows.   The download archive includes a PDF describing the process. and I found the firmware update process to be straightforward.  There are two firmware versions: 
  • EVGA_Audio_XMOS_20200515_Ver0x001_Linux_MinIn_DFU_IS25LP016D.bin  installs with Microphone input active
  • EVGA_Audio_XMOS_20200515_Ver0x002_Linux_LineIn_DFU_IS25LP016D.bin installs with Line input active.
There is no mechanism to switch from mic to line input once running under Linux. 
After firmware update, restart the system under Linux.   I think the settings will also be retained if you have to move the Nu to a different computer.

Under (Ubuntu) Linux

First check to make sure the Nu is seen and active.  Open a terminal and run alsamixer.  Push F6; the Nu should be listed - select it.  Initial volume level is low, and increasing the volume using the Pulseaudio volume control doesn't help.  You must use alsamixer from the CLI to set levels at 100% (see attached screenshot)  According to EVGA, only the "PCM Front" control is active.  It feeds that analog section mentioned above.  Set it to the maximum level, then use the Pulseaudio volume control to set volume to a comfortable level.   If you use the Nu for recording, push F5 and confirm "Line" or "Mic" matches the firmware you've loaded above.   Set the record level at 100%.
At this point, you're ready to enjoy the EVGA Nu's quality sound for playback under Linux.  If you intend to use the Nu for recording, read on.

Recording

I use my Nu for audio recording - I remaster old vinyl for fun and self-torture.  Here are a few quirks I've found.
  • PulseAudio:  Pulse reports the Nu as a 4.0 channel card.  It's not.  
  • PulseAudio sampling:  in Ubuntu, Pulse initializes the card and sets the recording sample rate and type.  To change the default, edit /etc/pulse/daemon.conf.  I've set mine to 192KHz/32bit format, like this:

default-sample-format = s32le
default-sample-rate = 192000
alternate-sample-rate = 48000

 
  • Sample rates above 192KHz:  on Line input, the Nu employs an excellent ASMedia Analog/Digital Converter (ADC) supporting sample rates up to 384KHz.  At rates above 192KHz, however, the ADC's internal DC-offset filter is disabled.  This results in odd behavior like level meters being permanently pegged at a high level.  It also means you'll need to manually remove DC offset from recorded files using a suitable post-processor.
  • Audacity:  I struggled quite a bit with Audacity under Ubuntu.  The package installed from the Ubuntu software/snap store is not the most current version.  Even worse, it does not allow direct access to the Nu hardware through Alsa.  Instead, recording happens through pulse.  IMO, this is not a satisfactory solution because it inhibits Audacity's abilty to change the recording parameters.  Instead, consider installing the latest Audacity package for Ubuntu from this page https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/audacity
    Once installed, edit the launcher/shortcut or invoke from CLI like this: 
    pasuspender -- audacity %F

    This suspends pulseaudio while audacity is running, giving Audacity complete control of the audio chain.  Select the Nu as input and output devices.  Invoking Audacity this way Audacity to set the sample rate, bit depth, etc.  Watch the output volume - you'll need to control it inside Audacity, since Pulse is suspended.

Conclusion

I hope this guide is helpful to those of us who don't live in Windows every day.  The Nu is a great product.  I hope EVGA continues to enhance support under Linux.  My thanks to Lee at EVGA and the people over at audiophilestyle.com, whose efforts made this whole thing come together.
 

Attached Image(s)

#1

16 Replies Related Threads

    Cool GTX
    EVGA Forum Moderator
    • Total Posts : 30983
    • Reward points : 0
    • Joined: 2010/12/12 14:22:25
    • Location: Folding for the Greater Good
    • Status: offline
    • Ribbons : 122
    Re: Working Guide: Using Nu Audio in Linux 2020/06/01 08:39:04 (permalink)
    Thanks for the Guide

    Learn your way around the EVGA Forums, Rules & limits on new accounts Ultimate Self-Starter Thread For New Members

    I am a Volunteer Moderator - not an EVGA employee

    https://foldingathome.org -->become a citizen scientist and contribute your compute power to help fight global health threats

    RTX Project EVGA X99 FTWK Nibbler EVGA X99 Classified EVGA 3080Ti FTW3 Ultra


    #2
    tigerdognew
    New Member
    • Total Posts : 41
    • Reward points : 0
    • Joined: 2020/04/21 21:39:54
    • Location: Del Mar, California USA
    • Status: offline
    • Ribbons : 2
    Re: Working Guide: Using Nu Audio in Linux 2020/06/01 17:08:47 (permalink)
    Cool GTX
    Thanks for the Guide



    Please share your experiences, especially if there's room for improvement.  This is a work in progress for all of us, I think.
    #3
    simersby
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2019/09/23 06:02:00
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2020/06/02 13:19:21 (permalink)
    Will I be able to use it in both windows and Linux(dualboot)
    #4
    Cool GTX
    EVGA Forum Moderator
    • Total Posts : 30983
    • Reward points : 0
    • Joined: 2010/12/12 14:22:25
    • Location: Folding for the Greater Good
    • Status: offline
    • Ribbons : 122
    Re: Working Guide: Using Nu Audio in Linux 2020/06/02 14:54:06 (permalink)
    simersby
    Will I be able to use it in both windows and Linux(dualboot)


    sorry for the delay ... had to release your post from filter
     
    as each OS is a separate boot  - I do not see why it would cause issues

    Learn your way around the EVGA Forums, Rules & limits on new accounts Ultimate Self-Starter Thread For New Members

    I am a Volunteer Moderator - not an EVGA employee

    https://foldingathome.org -->become a citizen scientist and contribute your compute power to help fight global health threats

    RTX Project EVGA X99 FTWK Nibbler EVGA X99 Classified EVGA 3080Ti FTW3 Ultra


    #5
    tigerdognew
    New Member
    • Total Posts : 41
    • Reward points : 0
    • Joined: 2020/04/21 21:39:54
    • Location: Del Mar, California USA
    • Status: offline
    • Ribbons : 2
    Re: Working Guide: Using Nu Audio in Linux 2020/06/02 15:26:25 (permalink)
    simersby
    Will I be able to use it in both windows and Linux(dualboot)

    Short answer - yes!
    Long answer - yes!  I do this, also.  When you boot into Windows after running Linux, the EVGA Windows driver will notice the Linux firmware on the card.  You'll be prompted to close all audio applications and update the firmware to match the Windows driver's expectation.  Before you shut down and boot to Linux, you'll need to use the stand-alone updater described above, and flash the Linux software back onto the card.  I've done this multiple times with no ill effects.
    #6
    simersby
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2019/09/23 06:02:00
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2020/06/02 15:32:36 (permalink)
    Cool GTX
    simersby
    Will I be able to use it in both windows and Linux(dualboot)


    sorry for the delay ... had to release your post from filter
     
    as each OS is a separate boot  - I do not see why it would cause issues


    No worries.
    Thanks for your answer, I appreciate your help with Linux support, we need it.
    My question: is changing the firmware(microcode) will let me continue to use Nu Audio with Windows? Or I need to have 2 different firmwares for Linux and Windows?
    #7
    simersby
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2019/09/23 06:02:00
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2020/06/02 16:06:05 (permalink)
    tigerdognew
    simersby
    Will I be able to use it in both windows and Linux(dualboot)

    Short answer - yes!
    Long answer - yes!  I do this, also.  When you boot into Windows after running Linux, the EVGA Windows driver will notice the Linux firmware on the card.  You'll be prompted to close all audio applications and update the firmware to match the Windows driver's expectation.  Before you shut down and boot to Linux, you'll need to use the stand-alone updater described above, and flash the Linux software back onto the card.  I've done this multiple times with no ill effects.


    Thanks for your guide and fast answer. Having this option is a good sign. I hope EVGA will make some native apps and drivers for Linux.
    Again, thanks!
    #8
    TraubeMinze
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2020/06/19 09:22:38
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2020/06/19 09:27:58 (permalink)
    How high should i do the Main Volume for the DAC? Zou have only specified the headphone volume.
     
    #9
    tigerdognew
    New Member
    • Total Posts : 41
    • Reward points : 0
    • Joined: 2020/04/21 21:39:54
    • Location: Del Mar, California USA
    • Status: offline
    • Ribbons : 2
    Re: Working Guide: Using Nu Audio in Linux 2020/06/19 09:52:10 (permalink)
    Under Windows, I have tried the DAC main volume at 80% and 100%;  I don't notice any real difference when I move to Linux.   I think the DAC digital output is controlled by Alsa under linux, so maybe this setting has no impact at all.  A 100% correct answer needs to come from someone from EVGA who has detailed knowledge of how the Linux firmware operates.
    #10
    TraubeMinze
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2020/06/19 09:22:38
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2020/06/19 09:58:29 (permalink)
    Thank you, 
     
    but will i able to turn down the headphone volume in Linux? (Not the Main DAC) 
    #11
    tigerdognew
    New Member
    • Total Posts : 41
    • Reward points : 0
    • Joined: 2020/04/21 21:39:54
    • Location: Del Mar, California USA
    • Status: offline
    • Ribbons : 2
    Re: Working Guide: Using Nu Audio in Linux 2020/06/19 11:47:10 (permalink)
    TraubeMinze
    will i able to turn down the headphone volume in Linux? (Not the Main DAC) 

    Short answer:  yes
    Long answer:  yes.  ALSAmixer gives control over the output level, by turning down the DAC output.  The headphone output is in series after the DAC output, so turning down the DAC turns down the volume to the headphones also.  PulseAudio (as used by Ubuntu and others) seems to reduce volume in the digital realm, independent of ALSA.  "Seems" because I don't know whether it's manipulating the bitstream separately from ALSA, or sending instructions to ALSA.  Someone smarter than me needs to answer this.
    #12
    magictoaster
    New Member
    • Total Posts : 17
    • Reward points : 0
    • Joined: 2010/06/07 07:22:51
    • Location: Canada
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2020/12/11 11:15:39 (permalink)
    Thanks for the guide! 

    AMD Ryzen 9 5900X | ROG Crosshair VIII Dark Hero | 64GB Crucial Ballistix 3600 MHz DDR4 | EVGA GeForce RTX 3080 Ti FTW3 ULTRA GAMING | 2x 1TB WD_BLACK SN850 NVMe | Seasonic Prime TX-850 | Fractal Design Meshify 2 Compact
    #13
    tigerdognew
    New Member
    • Total Posts : 41
    • Reward points : 0
    • Joined: 2020/04/21 21:39:54
    • Location: Del Mar, California USA
    • Status: offline
    • Ribbons : 2
    Re: Working Guide: Using Nu Audio in Linux 2020/12/28 17:16:05 (permalink)
    If anyone is still watching this thread, I've uncovered one odd behavior:  under Xubuntu 20.04, everything works, until the system goes into "suspend" mode.  Upon awakening, there's no audio.  I've only been able to get it back by rebooting.  I normally don't use suspend, so for me it's not an issue, just throwing this out in case anyone else sees this.
    #14
    whyamihereagain
    New Member
    • Total Posts : 31
    • Reward points : 0
    • Joined: 2020/12/17 13:42:37
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2021/01/05 19:32:02 (permalink)
    Interesting!
    #15
    mdinslage
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2021/01/12 14:22:09
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2021/02/02 13:43:56 (permalink)
    Thanks for this.  I was interested in getting this sound card, but honestly, I dual boot quite frequently and having to flash the bios on each reboot is too much of a PIA.   Can't EVGA make a bios that supports Windows and Linux without reflashing?
    #16
    Sonto
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2010/07/06 15:25:10
    • Status: offline
    • Ribbons : 0
    Re: Working Guide: Using Nu Audio in Linux 2021/02/15 23:10:12 (permalink)
    Thank you much for the guide!
    #17
    Jump to:
  • Back to Mobile