I recently installed Xubuntu 20.04 on a new computer with the hardware configuration listed below :
- mother board HP type Memphis 2-S
- CPU Intel Pentium G3250 Dual core à 3.2 GHz
- 16 Go Ram
- 500 Go SSD
- Videocard GeForce 1030 (using the either the NVidia proprietary or the open source drivers).
To listen to the sound, I’m using either a mixing USB console Yamaha MG12XU as external soundcard,or a KVM HDMI switch which also can be used as USB external soundcard, or I plug my headphone straight in the plug for it on the computer.
The problem is I’m having «jumps» and «gaps» when I’m listening music. It’s like if the reading was jumping backward of forward of few dozen of milliseconds, or sometimes just leaving a blank.
This problem is totally random : if I move backward my song, the problem won’t reproduce at the same moment in the song. It occurs with sound listened from a stream (deezer, youtube....) or with local files played either with VLC or Mixxx or anything else ; and no matter the kind of file : ogg, mp3 or flac, same problem.
As Mixxx seems to be a bit «talkative» when I launch it from the console, I noticed some errors appeared at launching (but they also appears when Mixxx is launched from my laptop which don’t have this sound problem) and a recuring error each time the jump / gap occurs.
Here are the errors at the launching of Mixxx
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
Warning []: SoundDeviceNetworkThread: Failed bumping priority
Here is the error when I jump / gap occurs
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
I also noticed something strange : this error can appears in the
console, even when no sound is playing. When all Mixxx players are
stopped, sometimes, I see a bunch of «underrun» errors appearing in
the console.
As found on some forum, I modified the /etc/pulse/daemon.conf file as below :
default-fragments = 4 => modified to 100
default-fragment-size-msec = 25 => modified to 10000
With 100 seconds of buffer, I supposed the problem would be solved but, it didn’t changed anything : neither worse or better.
It’s desperating. I know this computer is not a «gamer» computer, but it seems powerful enough to read sound files. Even my old 32 bit laptop don’t have this problem...
Maybe the «underrun» error is not the problem. But in this case
- I don’t know where looking for an error message to try to identify the source of the problem
- Why does this message would appears each time the problem occurs?