[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
** Changed in: alsa-driver Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
** Changed in: alsa-driver (Ubuntu) Status: Expired = Incomplete ** Bug watch added: freedesktop.org Bugzilla #87713 https://bugs.freedesktop.org/show_bug.cgi?id=87713 ** Also affects: alsa-driver via https://bugs.freedesktop.org/show_bug.cgi?id=87713 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
Launchpad has imported 13 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=87713. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2014-12-25T17:34:04+00:00 Rkfg wrote: Created attachment 111331 pulseaudio log The game uses MonoGame as the engine, it outputs audio via ALSA. Often, but not every time, when I start the game the sound is played at double speed. What's worse all other apps also start playing audio too fast, including paplay, Chrome etc. Even those which are started after I exit the game. This can be fixed by restarting PA or after killing all clients connections with paman (if there are none after I exit the game, sound seems to be working correctly). I believe no client should affect other clients like this, no matter how it's broken. A friend of mine completed Transistor without such issues using PA. I also found that something like this was long ago fixed in Wine but this game is native. At least more native than pure Win32 apps+Wine and it doesn't use Wine. It uses Mono though and FMOD as the sound engine. My soundcard is CA0106 Soundblaster (SB0410 SBLive! 24-bit), CPU is Intel Core i7-2600, 32Gb RAM, NVIDIA GeForce 770 GTX driver v340.65, Debian Jessie GNU/Linux amd64, Awesome WM 3.4.15, kernel v3.16. I also have another sound chip, ALC889 Analog. It's disabled in pavucontrol. You can also see some ALSA underruns, I couldn't fix it no matter what priorities and realtime priorities I set. They happen on both snd-hda- intel and snd-ca0106. Reply at: https://bugs.launchpad.net/ubuntu/+source/alsa- driver/+bug/1315212/comments/10 On 2014-12-25T17:58:43+00:00 Rkfg wrote: The issue seems to go away after I set the default sample spec to s32le (default is s16le). I also noticed that with s16le both Chrome and Transistor use resample method: (null) (according to pacmd list-sink- inputs), and with s32le it becomes resample method: copy for both. And no, Chrome isn't the culprit as it happens even when it's not running, I've tried. The speedup happens right after starting the game, I've run a song in Chrome and launched Transistor. First time it was ok in both Chrome and the game but on the second run the song immediately sped up to double speed. I have no idea how the sample spec (not the sample rate!) affects the speed but it's what it is. SBLive! seems not to support 44100 Hz as it switches to 48k by default and even if I set 44100 explicitly in the daemon.conf. Though here paman and pacmd disagree with each other, pacmd says sample spec: s16le 2ch 48000Hz and paman says Default Sample Type: s16le 2ch 44100Hz. Mumble notification sounds doesn't crackle as they do on ALC889 @ 44100Hz so I believe pacmd is correct here. Reply at: https://bugs.launchpad.net/ubuntu/+source/alsa- driver/+bug/1315212/comments/11 On 2014-12-29T15:41:41+00:00 Raymond wrote: https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/plain/sound/pci/ca0106/ca0106_main.c static struct snd_pcm_hardware snd_ca0106_playback_hw = { .info = SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER | SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_SYNC_START, .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .rates =(SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000), .rate_min = 48000, .rate_max = 192000, .channels_min = 2, //1, .channels_max = 2, //6, .buffer_bytes_max = ((65536 - 64) * 8), .period_bytes_min = 64, .period_bytes_max = (65536 - 64), .periods_min = 2, .periods_max = 8, .fifo_size =0, }; seem support both s16_le and s32_le but require SNDRV_PCM_INFO_SYNC_START post the pulseaudio verbose log and aplay -D hw:CARD=CA0106 --dump-hw-params any.wav Reply at: https://bugs.launchpad.net/ubuntu/+source/alsa- driver/+bug/1315212/comments/12 On 2014-12-29T17:28:08+00:00 Rkfg wrote: aplay -D hw:CARD=CA0106 --dump-hw-params /usr/share/sounds/alsa/Front_Center.wav Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono HW Params of device hw:CARD=CA0106: ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.] ** Changed in: alsa-driver (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
Here is the pulseverbose.log. I started pules and ran speaker-test -C 6 vlad: That is exactly what happens for me, too. ** Attachment added: pulseverbose.log https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+attachment/4108052/+files/pulseverbose.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
I just tried this: ~$ speaker-test -c 6 -t wav -Dhw:CARD=CA0106,DEV=0 speaker-test 1.0.27.2 Playback device is hw:CARD=CA0106,DEV=0 Stream parameters are 48000Hz, S16_LE, 6 channels WAV file(s) Channels count (6) not available for playbacks: Invalid argument Setting of hwparams failed: Invalid argument -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
here is the puleaudioverbose.log that was the output durring the command: ~$ speaker-test -c 6 -t wav -Dhw:CARD=CA0106,DEV=0 speaker-test 1.0.27.2 Playback device is hw:CARD=CA0106,DEV=0 Stream parameters are 48000Hz, S16_LE, 6 channels WAV file(s) Channels count (6) not available for playbacks: Invalid argument Setting of hwparams failed: Invalid argument ** Attachment added: pulseverbose.log https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+attachment/4108075/+files/pulseverbose.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
I have problem with this soundcard too...front left speeker is ok, but front right speaker has no sound. I have Ubuntu Gnome 14.04 amd64 version. ** Attachment added: pulseverbose.log https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+attachment/4105759/+files/pulseverbose.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
I have tried this: speaker-test -c 2 -t wav -Dhw:CARD=CA0106,DEV=0 speaker-test 1.0.27.2 Playback device is hw:CARD=CA0106,DEV=0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Rate set to 48000Hz (requested 48000Hz) Buffer size range from 32 to 16384 Period size range from 16 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right ^CTransfer failed: Bad address and speaker-test -c 2 -t wav -Dhw:CARD=CK804,DEV=0 and this is an arror message: speaker-test 1.0.27.2 Playback device is hw:CARD=CK804,DEV=0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card Playback open error: -19,No such device -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
0.308| 0.000) I: [pulseaudio] (alsa-lib)setup.c: Cannot lock ctl elem ( 0.308| 0.000) I: [pulseaudio] (alsa-lib)setup.c: Cannot lock ctl elem ( 0.308| 0.000) I: [pulseaudio] (alsa-lib)setup.c: Cannot lock ctl elem ( 0.308| 0.000) I: [pulseaudio] (alsa-lib)setup.c: Cannot lock ctl elem you need to fix the bug of Cannot lock ctl elem first seem related to those locks in iec958 do you sound card support both digital out and digital input (spdif) ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
** Changed in: alsa-driver (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1315212] Re: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output
you have to post the pulseaudio verbose log https://wiki.ubuntu.com/PulseAudio/Log did you find any error messages in the pukseaudio log when you play multi channel ? alsa-sink] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77) https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1289811 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315212 Title: [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1315212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs