You are not logged in.

#1 2017-04-01 22:52:30

jooch
Member
Registered: 2010-03-09
Posts: 48

ALSA stuck in wrong sample rate.

So i was updating my video drivers and had to fiddle around with package dependencies a little to get them to work. After rebooting my videocard was fine, but my soundcard is now stuck in 8khz sample rate, yuck!

  • I don't use pulse

  • Only one sound device (no HDMI stuff)

Here's what the state of the card is when whatever some program is playing sound:

cat /proc/asound/card0/pcm0p/sub0/*

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 8000 (8000/1)
period_size: 1024
buffer_size: 16384
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: ICE1724
name: ICE1724
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
256
256
state: RUNNING
owner_pid   : 5788
trigger_time: 2974.092379583
tstamp      : 2975.513337211
delay       : -11376
avail       : 27760
avail_max   : 27760
-----
hw_ptr      : 11376
appl_ptr    : 0
tstamp_mode: ENABLE
period_step: 1
avail_min: 1024
start_threshold: 1
stop_threshold: 4611686018427387904
silence_threshold: 0
silence_size: 4611686018427387904
boundary: 4611686018427387904

Anyone ideas?

Offline

#2 2017-04-02 22:39:14

jooch
Member
Registered: 2010-03-09
Posts: 48

Re: ALSA stuck in wrong sample rate.

Just to clarify, the system (and sound) is working fine when i boot into a live disk. I also tried locking the samplerate in .asoundrc but this is not working either.

cat /proc/asound/card0/pcm0p/sub0/*

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 16384
buffer_size: 32768
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: ICE1724
name: ICE1724
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
256
256
state: RUNNING
owner_pid   : 1487
trigger_time: 1301.395960358
tstamp      : 1315.234180369
delay       : 628
avail       : 32140
avail_max   : 32140
-----
hw_ptr      : 610356
appl_ptr    : 610984
tstamp_mode: ENABLE
period_step: 1
avail_min: 32328
start_threshold: 18446744073709551615
stop_threshold: 4611686018427387904
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904

Offline

#3 2017-04-14 20:39:11

jooch
Member
Registered: 2010-03-09
Posts: 48

Re: ALSA stuck in wrong sample rate.

Well after a lot of debugging i found out it was a really simple problem. For this card (Revolution 5.1) there is a certain control locking the sample rate, for some reason this got switched on when i installed some packages hmm

So if anyone else has an issue like this, look for a control 'Multi Track Rate Locking' under alsamixer.

Problem solved!

Offline

#4 2017-04-14 21:08:43

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: ALSA stuck in wrong sample rate.

I'm glad you solved your sample rate issue. Don't forget to edit your first post and add [SOLVED] to the beginning of the title


Be aware of my Newbie Powers

Offline

Board footer

Powered by FluxBB