[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
Can you post output for your au8820 pci ssid 12eb:0001 do it support D3? lspci - [ 0.244875] pci :01:04.0: [12eb:0001] type 00 class 0x040100 [ 0.244898] pci :01:04.0: reg 0x10: [mem 0xfb10-0xfb11] [ 0.244908] pci :01:04.0: reg 0x14: [io 0x2000-0x2007] [ 0.244917] pci

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
[11.080876] snd_au8820 :01:04.0: init started snd_au8820 :01:04.0: init done. [ 11.837183] gameport gameport0: AU88x0 Gameport is pci:01:04.0/gameport0, speed 1087kHz in theory, you should look for au8820 in system log since those dev_info also print the dev name -- You

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
http://mailman.alsa-project.org/pipermail/alsa- devel/2014-September/081501.html you can try Alexander's pcm_avail.c and post the output using your au8820 It is rather strange that only 2 frames since dma transfer in brust -- You received this bug notification because you are a member of

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
dmesg is the command which show the system log similar to https://launchpadlibrarian.net/243848211/CurrentDmesg.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title:

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
You have to recompile alsa driver by adding if (current_ptr > runtime->buffer_size) current_ptr = runtime->buffer_size; -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread sudodus
I see. Will you upload a compiled version of it for testing? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820 :01:04.0: BUG: , pos = 16386, buffer

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
The dirty hack is to ensure current_ptr is less than buffer size in the above routine -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820 :01:04.0: BUG:

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread sudodus
Please bear with me. It was long ago that I was programming compiled languages. And it was application programs simulating physical processes. I was never near the kernel of any operating system. I think you have to explain in a very detailed way, you you want me to do things from source code ;-)

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/au88x0/au88x0_pcm.c -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
/* pointer callback */ static snd_pcm_uframes_t snd_vortex_pcm_pointer(struct snd_pcm_substream *substream) { vortex_t *chip = snd_pcm_substream_chip(substream); stream_t *stream = (stream_t *) substream->runtime->private_data; int dma = stream->dma; snd_pcm_uframes_t current_ptr = 0;

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread sudodus
No output to /var/log/dmesg I am listening to a broadcasting track at the same time. A minute after this aplay test was finished, I had an new prompt to file a bug report about a kernel oops. But there is still nothing in /var/log/dmesg -- $ while true; do aplay -D hw:CARD=au8820

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
System log dmesg Look for "virt" or "delta" when you use aplay with small period size, the sound card has four subbuffer for each playback stream http://www.google.com/patents/US6167465 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread Raymond
The wavetable is not implememted since dma since not start for au8830 card 1: au8820 [Aureal Vortex au8820], device 3: Aureal Vortex WT [au8820 wt] Subdevices: 32/32 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread sudodus
Please tell me which log file I should look into (the file name of it)! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820 :01:04.0: BUG: , pos = 16386,

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread sudodus
Directly at login after reboot I had many prompts to send a bug report about kernel oops. I tried to count them. think this report is responding to the 26th prompt to send a bug report, and a few seconds later there was one more prompt to send a bug report. The above event created the bug report

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-10 Thread sudodus
Correction: 2. The newer Trusty system with the 3.13.0-79-generic kernel -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820 :01:04.0: BUG: , pos =

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
'How often do the message appear in system log? (BUG 16.04 or XRUN before 14.04) it mean the value return is larger than buffer size or the interrupt is not handled properly' Please tell me which log file I should look into, and which string to look for! Maybe I can use grep. --

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
'You can use hwmixvolume to change the playback volume of each application which use hw device of au8820' I use pavucontrol, and yes, I can change the playback volume also of each individual channel (left and right). Do you want me to test something else? -- You received this bug notification

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
Last night I shut down the computer. This morning, when I cold booted it and logged in, I was spammed with around ten prompts to file bug reports about kernel oops (at once, not after starting any application program). But still the audio works like it should (playing video and running your test

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/au88x0/au88x0_core.c -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
dev_info(vortex->card->dev, "%d virt=%d, real=%d, delta=%d\n", adbdma, dma->period_virt, dma->period_real, delta); Do you find the above info in system log when you specify small fragment --period-size=16 when using aplay -- You received this bug notification because you are a member of

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
How often do the message appear in system log? (BUG 16.04 or XRUN before 14.04) it mean the value return is larger than buffer size or the interrupt is not handled properly static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma) { stream_t *dma = >dma_adb[adbdma]; int temp,

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
http://git.alsa-project.org/?p=alsa- tools.git;a=blob;f=hwmixvolume/README;hb=HEAD You can use hwmixvolume to change the playback volume of each application which use hw device of au8820 It allow up to 8 stereo streams or 16 mono streams card 1: au8820 [Aureal Vortex au8820], device 0:

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
Should use au8820 instead of AU8820 when using aplay and speaker-test Do device 3 of au8820 work or not? never work on au8830 hw:CARD=au8820,3 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu.

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
aplay ./test/test0/'hello world.wav' and speaker-test -c2 -t wav work correctly (through the Aureal device) without your explicit specification. 'Front left' 'Front right' ... is put out from the correct loudspeakers :-) They work without 'complaints'. But it seems that when I have the

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
There is a damaged onboard audio device. There is also an audio device built into the graphics card, but I don't use hdmi. This is the reason why I use the old Aureal Vortex 1 card (au 8820). Could the damaged onboard audio device cause some confusion? -- You received this bug notification

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
These commands do not work: -- $ aplay -D hw:CARD=AU8820 ./test/test0/'hello world.wav' # which is a real file that works with mplayer ALSA lib pcm_hw.c:1700:(_snd_pcm_hw_open) Invalid value for card aplay: main:722: fel vid öppning av ljud: Enheten finns inte $ speaker-test -c2 -t wav -D

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
Do the message appear in every application or occur everytime when playing sound? aplay -D hw:CARD=AU8820 anystereo.wav speaker-test -c2 -t wav -D hw:CARD=AU8820 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu.

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/core?id=d507941beb1ef98c19e2902007aee4faf36f854f ALSA: pcm: Correct PCM BUG error message While converting to dev_*(), the message showing the invalid PCM position was wrongly tagged as if an XRUN although it's actually a

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
Maybe I understand what you mean, but I don't know what to do :-) Which iso file? Ubuntu 14.04.1 LTS - trusty kernel Ubuntu 14.04 2 LTS - utopic kernel Ubuntu 14.04.3 LTS - vivid kernel Ubuntu 14.04.4 LTS - wily kernel and since I have the problem in i386 architecture I suppose I should use the

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
It is not related to the above two patch if your au8820 still work without the error on ubuntu 14.4 live cd -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title:

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/pci/au88x0 Your problem is pointer callback return a value which is larger than buffer size If this is regression , you may need to perform git bisect to find out the related patch or revert this patches

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
I should mention that I have installed pulseaudio and pavucontrol and use them to manage audio. Does this make a difference concerning ALSA? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu.

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread sudodus
I have been running 12.04 LTS i386 (the precise kernel series) for years in this hp xw8400 workstation without any such problem (including VirtualBox). I have been running 12.04 LTS amd64 and 14.04 LTS, both i386 and amd64 (the precise kernel series) less frequently for years in this hp xw8400

[Desktop-packages] [Bug 1551041] Re: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024

2016-03-09 Thread Raymond
** Package changed: linux (Ubuntu) => alsa-driver (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820 :01:04.0: BUG: , pos = 16386, buffer size

<    1   2