No Audio on Linux Mint 20.2

Hello,

I recently switched to Linux Mint from macOS and love it so far. The only program giving me real trouble is renoise.

I’m able to install and launch renoise, ALSA successfully detects my audio card and creates an ALSA RT thread. When I press play no audio comes out of either my headphones or laptop speakers. The audio output is set to hw:1,0 (CS4208 Analog). I don’t have the same problem on Mixxx which leads me to believe it’s not an ALSA issue. I also tried setting the audio output to 3+4 instead of 1+2 which I saw on another thread but it did not work.

Is there anything else I can try to get my sound working?

Nick

Hi,

One thing to check: Launch Renoise and put some demo song playing. Open up Terminal and write “alsamixer” then press ENTER. Make sure that you have the correct sound card selected in the mixer. You can change this by pressing F6.

The mixer should show volume levels individually for speakers, headphones etc. Make sure that the appropriate outputs have been raised in volume and adjust the levels by using the arrow keys.

This did it for me when I started out with Renoise in Linux Mint Xfce.

1 Like

Hi jugger,

I tried that and everything at least looks correct. Screenshot here
image

I also don’t see anything that looks off in the log (as far as I can tell):

Renoise LOG> ============================================================
Renoise LOG> Version : Renoise V3.3.2 (Mar  8 2021)
Renoise LOG> Date    : 2021-12-24
Renoise LOG> Time    : 14:13:54
Renoise LOG> OS      : Linux version 5.4.0-91-generic (buildd@lcy01-amd64-017) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021
Renoise LOG> ============================================================
Renoise LOG> System: Application path retrieved from /proc/self/exe: '/home/nick/Renoise_3_3_2_Demo_Linux/renoise'
Renoise LOG> CPU: Found 1 enabled unit(s) with 2 core(s) and 4 logical processor(s) per unit. 2 cores, 4 logical processors are enabled in total.
Renoise LOG> Application: Showing the splash window...
Renoise LOG> StartupWindow: Initialiting the startup window...
Renoise LOG> Graphport: Initialising XThreads...
Renoise LOG> Graphport: Opening XDisplay ':0' (configured via 'DISPLAY' env)...
Renoise LOG> Graphport: XDisplay was successfully opened
Renoise LOG> Graphport: Initializing Freeimage...
Renoise LOG> StartupWindow: using font '-*-fixed-*-r-normal--18-*-*-*-*-*-iso10646-1' for the splash screen
Renoise LOG> StartupWindow: Startup window successfully initialized...
Renoise LOG> Application: Initializing the API...
Renoise LOG> IPP: Detected CPU type: 0x46
Renoise LOG> File-IO: Enabling MP3 decoding support using system's mpg123 library...
Renoise LOG> System: Running from directory '/home/nick/Renoise_3_3_2_Demo_Linux/'...
Renoise LOG> ALSA: Enumerating Devices...
Renoise LOG> ALSA: PLAYBACK info: card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Renoise LOG> ALSA: PLAYBACK info: card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Renoise LOG> ALSA: PLAYBACK info: card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Renoise LOG> ALSA: PLAYBACK info: card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Renoise LOG> ALSA: PLAYBACK info: card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Renoise LOG> ALSA: PLAYBACK info: card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Renoise LOG> ALSA: CAPTURE info: card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Renoise LOG> ALSA: PLAYBACK info: card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Renoise LOG> MIDI-IO: Starting the input thread...
Renoise LOG> GraphPort: Loading cursor images (libXcursor is present)...
Renoise LOG> System: Using '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/' as local resource directory...
Renoise LOG> GraphPort: Initializing the Font Engine...
Renoise LOG> GraphPort: Enumerating system fonts...
Renoise LOG> Graphport: Initializing Keyboard mappings...
Renoise LOG> Graphport: Initializing XAtoms...
Renoise LOG> Application: Initializing Icon Bitmaps...
Renoise LOG> Application: Start running...
Renoise LOG> Application: Loading the preferences...
Renoise LOG> Application: Init...
Renoise LOG> ScriptingTools: Initializing Scripting Tool: '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/Tools/com.renoise.ToolUpdater.xrnx/'...
Renoise LOG> ScriptingTools: Initializing Scripting Tool: '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/Tools/com.renoise.UpdateChecker.xrnx/'...
Renoise LOG> DspDevices: Registering native DSP effects...
Renoise LOG> LADSPA: LADSPA_PATH environment variable not set. Using '/usr/lib[64]/ladspa:/usr/local/lib[64]/ladspa:~/.ladspa'...
Renoise LOG> Audio Plugins: Searching for LADSPA plugins in '/usr/lib/ladspa/'
Renoise LOG> Audio Plugins: Skipping LADSPA plugin path '/usr/lib64/ladspa/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping LADSPA plugin path '/usr/local/lib/ladspa/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping LADSPA plugin path '/usr/local/lib64/ladspa/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping LADSPA plugin path '/root/.ladspa/' (Directory does not exist)...
Renoise LOG> LADSPA: Scanning '/usr/lib/ladspa/caps.so'...
Renoise LOG> DSSI: DSSI_PATH environment variable not set. Using '/usr/lib[64]/dssi:/usr/local/lib[64]/dssi:~/.dssi'...
Renoise LOG> Audio Plugins: Skipping DSSI plugin path '/usr/lib/dssi/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping DSSI plugin path '/usr/lib64/dssi/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping DSSI plugin path '/usr/local/lib/dssi/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping DSSI plugin path '/usr/local/lib64/dssi/' (Directory does not exist)...
Renoise LOG> Audio Plugins: Skipping DSSI plugin path '/root/.dssi/' (Directory does not exist)...
Renoise LOG> System: Application path retrieved from /proc/self/exe: '/home/nick/Renoise_3_3_2_Demo_Linux/renoise'
Renoise LOG> ALSA: Opening ALSA Playback Device 'hw:1,0 (CS4208 Analog)'...
Renoise LOG> ALSA: Open ALSA Output Device OK
Renoise LOG> ALSA: Max channels is 4 for Playback...
Renoise LOG> ALSA: Using 4 channels (4 requested) for Playback...
Renoise LOG> ALSA: Using access format RW_INTERLEAVED (requested RW_INTERLEAVED) for Playback...
Renoise LOG> ALSA: Using sample format S32_LE for Playback...
Renoise LOG> ALSA: Using samplerate 44100 (requested 44100) for Playback...
Renoise LOG> ALSA: Using period time 512 (requested 512) for Playback...
Renoise LOG> ALSA: Using 3 num periods (requested 3) for Playback...
Renoise LOG> ALSA: Using buffer size 1536 (requested 1536)...
Renoise LOG> ALSA: Setup Buffers...
Renoise LOG> ALSA: Configuring the Player...
Renoise LOG> ALSA: Preparing and starting devices...
Renoise LOG> ALSA: Creating the poll thread...
Renoise LOG> ALSA: Successfully created an ALSA RT thread
Renoise LOG> ALSA: Up and running...
Renoise LOG> MIDI-IO: Adding unlinked virtual MIDI in ports...
Renoise LOG> MIDI-IO: Adding unlinked virtual MIDI out ports...
Renoise LOG> MIDI-IO: Enumerating external input devices...
Renoise LOG> MIDI-IO: Adding Input device 'Midi Through Port-0'...
Renoise LOG> MIDI-IO: Enumerating external output devices...
Renoise LOG> MIDI-IO: Adding Output device 'Midi Through Port-0'...
Renoise LOG> MIDI-IO: Opening MIDI in device 'Renoise MIDI In Port A'...
Renoise LOG> MIDI-IO: Opening MIDI in device 'Renoise MIDI In Port B'...
Renoise LOG> MIDI-IO: Opening MIDI in device 'Renoise MIDI In Sync'...
Renoise LOG> MIDI-IO: Opening MIDI out device 'Renoise MIDI Out Sync'...
Renoise LOG> Application: Creating a new document...
Renoise LOG> MIDI: Loading MIDI actions from file '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/GlobalMidiActions.lua'...
Renoise LOG> Osc: Loading OSC actions from file '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/GlobalOscActions.lua'...
Renoise LOG> Player: Constructing...
Renoise LOG> Player: Creating slave threads...
Renoise LOG> Player: 4 threads enabled. 4 CPUs are available.
Renoise LOG> Player: Start running...
Renoise LOG> GUI: Creating the Document GUI...
Renoise LOG> GUI: Successfully constructed
Renoise LOG> Application: A new document was created.
Renoise LOG> GraphPort: Initializing in WindowedMode...
Renoise LOG> GraphPort: Successfully initialized
Renoise LOG> Application: Init OK
Renoise LOG> StartupWindow: Closing the window...
Renoise LOG> Application: Enter MainLoop...
Renoise LOG> Application: Releasing the old document...
Renoise LOG> MIDI: Loading MIDI actions from file '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/GlobalMidiActions.lua'...
Renoise LOG> Osc: Loading OSC actions from file '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/GlobalOscActions.lua'...
Renoise LOG> Player: Constructing...
Renoise LOG> Player: Creating slave threads...
Renoise LOG> Player: 4 threads enabled. 4 CPUs are available.
Renoise LOG> Player: Start running...
Renoise LOG> GUI: Creating the Document GUI...
Renoise LOG> GUI: Successfully constructed
Renoise LOG> Application: Loading 'DemoSong - DBlue - Tension.xrns'.
Renoise LOG> MIDI: Loading MIDI actions from file '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/GlobalMidiActions.lua'...
Renoise LOG> Osc: Loading OSC actions from file '/home/nick/Renoise_3_3_2_Demo_Linux/Resources/Scripts/GlobalOscActions.lua'...
Renoise LOG> Player: Constructing...
Renoise LOG> Player: Creating slave threads...
Renoise LOG> Player: 4 threads enabled. 4 CPUs are available.
Renoise LOG> Player: Start running...
Renoise LOG> GUI: Creating the Document GUI...
Renoise LOG> GUI: Successfully constructed
Renoise LOG> Application: Successfully loaded 'DemoSong - DBlue - Tension.xrns'.
Summary

This text will be hidden

Some more info if it’s helpful: I tried using fuser to see which programs are using sound devices when I run renoise vs when I run mixxx and this was the results:

nick@nick-MacBookPro:~/Renoise_3_3_2_Demo_Linux$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  nick        898 F.... pulseaudio
/dev/snd/controlC1:  nick        898 F.... pulseaudio
/dev/snd/pcmC1D0p:   nick       3390 F...m renoise
/dev/snd/seq:        nick       3390 F.... renoise
nick@nick-MacBookPro:~/Renoise_3_3_2_Demo_Linux$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  nick        898 F.... pulseaudio
/dev/snd/controlC1:  nick        898 F.... pulseaudio
/dev/snd/pcmC1D0p:   nick       5528 F...m mixxx
/dev/snd/seq:        nick       5528 F.... mixxx

As far as I can tell they are leveraging ALSA in the same way, but one produces sound find and the other does not.

Also, here is my audio setup in renoise:
image

Could it be that some other application (e.g. your browser) is blocking your soundcard?
Did you try Jack with Renoise?

2 Likes

I don’t think so because I close everything before opening renoise. What’s the best way to check?

And yes my next move is to try using Jack, I just haven’t used it before so need to learn it. I was hoping ALSA would work since I’ve used it with Mixxx before with no problem.

An update, I tried with Jack and am still having the same issue. I also tried doing a fresh install of Linux Mint just in case I broke something while messing around with kxstudio packages, however I’m still not getting sound.

For both ALSA and Jack, Renoise happily starts up and starts playing (waveforms show, the mixer shows audio) but no sound comes out of my headphones or speakers.

I feel like I’m missing something incredibly simple but have not idea what it is. Is there anything else I can check?

From your screenshot of the alsamixer it looks like the Headphone output is mutet (MM). Try to unmute it with “m” key. Have you done the right connections when using jack?

1 Like

Try setting auto-mute to ‘Disabled’ in Alsamixer. And restart the audio device with command
pulseaudio -k && sudo alsa force-reload

1 Like

Just tried and the result is the same (Renoise looks like it’s playing but no audio. I did notice after running pulseaudio -k that it was turning back on (the speaker icon in the tray disappeared and then reappeared), so I tried a different set of commands to totally turn pulseaudio off using systemctl but still no audio through alsa with Renoise.

Anything else I can try?

Just tried that as well and no dice, also tried unmuting everything and setting it to 100 (except for Master at 50) with my headphones unplugged and nothing.

For Jack, I don’t know enough to be sure. I installed qjackctl, set the interface to be the PCH analog audio card, then started Jack and opened Renoise and tried playing a demo song. The connections window looks like this:
image

This looks fine. Now try the same with any other DAW (Reaper, SunVox, etc.)

1 Like

Okay possibly getting somewhere: I installed Reaper and set up a dummy project with just an audio file. When running Jack I got the same issue as before (looks like it’s playing but with no sound), however when I switched back to alsa the audio worked fine.

I can try to mess around with the Jack settings to see if I can get it to work for Reaper, and once that works try Renoise again.

Although is there any reason why alsa would work on Reaper but not Renoise? I’m going crazy here.

I’m sure it is something as simple as a config file messing with the sound output. OK for a basic test that you can actually play something directly through Alsa run this command from the terminal

aplay -D hw:1,0 /usr/share/sounds/alsa/Noise.wav

You should hopefully hear some white noise playing and have no complaints in the terminal.

EDIT; try playing a stereo audio file that you already have on your computer instead as I’ve just noticed that aplay can be finicky about playing mono files sometimes for me.

You seem quite proficient using the commandline, but just incase… for example if you have .wav files in your Music folder, to play the 1st 1 in alphabetical order, the command could be

aplay -D hw:1,0 ~/Music/*.wav

1 Like

Just out of curiosity and I’m sure you did , but just to be sure, you did setup the realtime audio priveledges on your system , iirc you edit a file /etc/security/limits.conf or equivelant ? I think Renoise would have probably failed if you hadn’t this set up correctly when you have chosen the ‘Use realtime Priorrity’ option as can be seen in your settings.

2 Likes

Hey mikobuntu, thanks yes I think it’s something simple as well just not sure what!

Confirming that I can play an audio file using aplay -D hw:1,0 though only when pointing at an existing file on my system. Trying to play /usr/share/sounds/alsa/Noise.wav doesn’t work and says “Channels count non available”.

And yes, I set up the limits.conf file though possibly incorrectly. Here’s a screenshot of where I appended the two lines from the Renoise Linux faq:
image

Well this is a good sign that your Soundcard is able to play audio directly through ALSA.

In the meantime , I’ve noticed a recommended setting that you don’t have in your /etc/security/limits.conf file append nick - memlock unlimited just below your nick - nice -10 save and reboot, try Renoise again and hopefully you are good to go. I can Remember Ardour needs the memlock setting or it wont run, so hopefully this is is the case here?

1 Like

…oh also nudge your nice setting to -19 from -10 ( this is the lowest it can be set as a user )

1 Like

Oh can you also please paste the output of the following command:-

groups && cat /etc/security/limits.d/audio.conf

1 Like

I don’t think this is needed, but it’s worth trying.

https://tutorials.renoise.com/wiki/Linux_FAQ

If it dosn’t work I would run the realtimeconfigscript next.

1 Like