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

2016-03-21 Thread sudodus
I hope it is still possible to build the alsa driver into a whole kernel ?! Would it be an alternative that I install the same distro as you are using, and that you compile kernels with the properties that you want me to test. and upload its files for me to download and install? Then I can run

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

2016-03-21 Thread Raymond
It seem there is no way to build alsa driver as module after kenerl 4.3 since alsa-driver-build no longer maintained after 2015 october -- 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-21 Thread sudodus
I can continue to try helping to improve the driver for the Aureal card (although there are no symptoms in this computer now). But as I said before - I need a lot of help, this task is far beyond what I have been doing before. *An alternative is that you upload kernels that I can test* If you

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

2016-03-20 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver- build.git/tree/alsa/gitcompile?h=build#n59 It need aclocal and autoconf to generate configure script Have you installed the packages? -- You received this bug notification because you are a member of Desktop Packages, which is

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

2016-03-19 Thread sudodus
utils/setup-alsa-kernel -c ../../sound worked without complaints :-) Please tell me *the whole command line* that should end like that! --with-debug=full -- 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-19 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/core/oss?id=ab30965d9bfcd04931f9b70d00faa2ea614835a8 -- 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-19 Thread Raymond
Did you change to alsa directory after git checkout build? The alsa directory should contain https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver-build.git/tree/alsa?h=build -- 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-19 Thread Raymond
Usually the reason fail to compile are those patch in acore directory are out dated and you need to report to alsa-devel mailng list https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver- build.git/tree/alsa/acore?h=build -- You received this bug notification because you are a member

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

2016-03-19 Thread sudodus
Reply from Tiwai: The build with alsa-driver external tree is no longer supported. You need to build the kernel module directly. Takashi -o- And as usual - I need detailed help. -- 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-19 Thread sudodus
'Usually the reason fail to compile are those patch in acore directory are out dated and you need to report to alsa-devel mailng list https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver- build.git/tree/alsa/acore?h=build' Can you see anything wrong, or should I report to the

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

2016-03-19 Thread Raymond
gitcompile.sh and utils subdirectory -- 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 = 16384, period size

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

2016-03-19 Thread sudodus
I think the subdirectories are correct, but still, something is missing. alias l='ls -l --group-directories-first' [100] olle@xenial32 ~/tiwai/alsa-driver-build/alsa $ l totalt 324 drwxrwxr-x 5 olle olle 4096 mar 16 11:23 acore drwxrwxr-x 27 olle olle 4096 mar 16 11:50 alsa-kernel

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

2016-03-19 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver- build.git/log/?h=build Last update was 2015 october 12 -- 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-19 Thread sudodus
Since March 15 (during two full days and part of a third day) I am no longer spammed by prompts to report kernel oops like I used to be at login after reboot and shutdown + cold boot. There has been no notification of a kernel oops at all. I have rebooted and still no such prompts. I have also

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

2016-03-19 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver- build.git/tree/alsa/gitcompile?h=build The minimum version of the packages are defined at the first few lines automake autoconf libtool -- You received this bug notification because you are a member of Desktop Packages, which is

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

2016-03-19 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver- build.git/log/alsa/gitcompile?h=build gitcompile only pass the command to configure and run make if no errors ./configure --help You have to ask the author -- 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-19 Thread Raymond
it is strange that pcm_avail.c which only wite one buffer can trigger when the messages are rate limited https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/core/pcm_lib.c?id=74d779ab7c9f9024cfead259206e0e0b20ee37e4 -- You received this bug notification because you are a

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

2016-03-19 Thread Raymond
You have to send email with the errors to Tiwai The errors related to file in alsa-driver/alsa/acore are related to changes in sound/core, you need his help to regenerate those patch files in acore https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/core -- You received this

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

2016-03-19 Thread Raymond
In theory , there is no need to use any patch in oss directory if you have disabled oss enumeration by passing --with-oss=no https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/core/oss You get checkout or use browser to extract the old version of two file pcm_oss.c and

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

2016-03-19 Thread Raymond
utils/setup-alsa-kernel -c ../../sound Only use the following option to build debug driver which enable those dev_dbg call --with-debug=full -- 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-19 Thread Raymond
The above link is just the oss directory just before ALSA: oss: underflow in snd_mixer_oss_proc_write(). 2015 october 15 Save the plain text of the two affected files -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in

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

2016-03-19 Thread sudodus
I installed those 3 packages and ran gitcompile: $ ./gitcompile --enable-dynamic-minors --with-oss=no --with-cards=au8820 ,hda-intel --with-sequencer=yes --with-debug=full See the whole output in the attached file. It worked better, but there are still errors. make[2]: Går till katalogen

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

2016-03-16 Thread sudodus
olle@xenial32 ~/tiwai/alsa-driver-build/alsa $ ./gitcompile --enable-dynamic-minors --with-oss=no --with-cards=au8820,hda-intel --with-sequencer=yes make: Inget behöver göras för ”all-deps”. ./gitcompile: rad 59: aclocal: kommandot finns inte [1] olle@xenial32 ~/tiwai/alsa-driver-build/alsa $

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

2016-03-16 Thread sudodus
Following comment #71 caused the following error: olle@xenial32 ~/linux $ cd .. olle@xenial32 ~ $ mkdir tiwai; cd tiwai olle@xenial32 ~/tiwai $ git clone git://github.com/tiwai/alsa-driver-build.git Klonar till "alsa-driver-build"... remote: Counting objects: 159995, done. remote: Total 159995

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

2016-03-16 Thread sudodus
I don't understand the talk about another computer in the link from comment #71. Does it apply for me? And the directory structure does not match the instructions. I'm lost again. Trying to follow comment #112 caused the following error: olle@xenial32 ~/linux $ cd ~/tiwai/alsa-driver-build/

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

2016-03-15 Thread Raymond
A real kernel oops usually consist of stacktrace and dump of all cpu registers -- 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-15 Thread Raymond
You can specify card to just build the needed driver or specify all cards -- 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-15 Thread Raymond
For building alsa driver as module https://bugs.launchpad.net/ubuntu/+source/alsa- driver/+bug/1551041/comments/71 You just follow the instruction in that link What you need to do is cd alsa-driver git checkout build utils/setup-alsa-kernel -c. ../../sound ./gitcompile --enable-dynamic-minors

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

2016-03-15 Thread sudodus
Edit: Has some change already *trickled* down? :-) -- 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 = 16384,

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

2016-03-15 Thread sudodus
I upgraded to a new kernel $ uname -a Linux xenial32 4.4.0-12-generic #28-Ubuntu SMP Wed Mar 9 00:33:13 UTC 2016 i686 i686 i686 GNU/Linux and I am no longer spammed by prompts to report kernel oops. I rebooted and still no such prompts. - The sound is working as usual. Has some change already

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

2016-03-15 Thread sudodus
Is this part of the instruction git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git wrong alias only a template? In that case, should it be git clone git://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/core?id=48d882978eb0a15547093b4542a82b5c22548041

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

2016-03-15 Thread Raymond
FIG. 15e is a diagrammatic block diagram of a control register of FIG. 15d, in accordance with one embodiment. Control register 384(c) includes a sub-buffer enable interrupt flag 384(c)(0), a stop flag 384(c)(1) and a next segment pointer 384(c)(2). Sub-buffer enable interrupt flag 384(c)(0)

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

2016-03-15 Thread sudodus
I need detailed instructions as terminal window command lines I think the only way I can manage this task is that I get detailed instructions as terminal window command lines (or a shellscript file). Otherwise I will be lost. You know how to do things, and you give instructions on a high level,

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

2016-03-15 Thread sudodus
Is this part of the instruction git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git wrong alias only a template? In that case, should it be git://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git or something else? -- You received this bug notification because you

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

2016-03-14 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/refs/tags You need to know ubuntu 16.04 using which version of kernel You will find those XRUN/BUGS/invalid position message in system log before patching and no more message after patching -- 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-14 Thread sudodus
I installed Lubuntu 15.10 and tried according to the same method https://wiki.ubuntu.com/Kernel/KernelBisection#Testing_a_newly_released_patch_from_upstream but it did not work at all. This is impossible for me. I do not understand the instructions. It is not cherry-picking, it is sour grapes

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

2016-03-14 Thread sudodus
Or should I try in another version of Ubuntu, for example 14.04.1 LTS? But then I won't get those spammed messages anyway. -- 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-14 Thread sudodus
OK. A small step forward. It seems that I have compiled, but there are errors: -- scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: Filen eller katalogen finns inte compilation terminated. scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: Filen eller katalogen finns inte --

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

2016-03-14 Thread Raymond
You just use any editor to replace this line in au88x0_pcm.c return (bytes_to_frames(substream->runtime, current_ptr)); by following lines current_ptr = bytes_to_frames(substream->runtime, current_ptr); if (current_ptr >= substream->runtime->buffer_size) current_ptr = 0; return

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

2016-03-14 Thread sudodus
Looking more at the git command line, it seems the problem is a separate 'patch' command. -- git config --global user.email "y...@example.com" && git config --global user.name "Your Name" && cd $HOME && git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git && patch

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

2016-03-14 Thread sudodus
>> patching file /home/olle/linux/drivers/acpi/video.c >> Hunk #1 FAILED at 432. >> 1 out of 1 hunk FAILED -- saving rejects to file >> /home/olle/linux/drivers/acpi/video.c.rej > > See the file name here: you must be patching a totally different file. > Or it's about a different patch. > > If

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

2016-03-14 Thread sudodus
The file /home/olle/linux/drivers/acpi/video.c is missing. - Is it because of the failed git command? - Or does the git command fail because it was missing when the file should have been there (put there by previous git commands)? - Must I install source code before running the git command? How

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

2016-03-14 Thread sudodus
I tried in the system which is suffering from this bug (Lubuntu Xenial with the kernel Linux xenial32 4.4.0-11-generic #26-Ubuntu SMP Sat Mar 5 14:22:05 UTC 2016 i686 and I failed with the git command. I replied directly to tiwai, and post a copy here. *Maybe you can see what is wrong* -

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

2016-03-14 Thread sudodus
I understand that tiwai's first fix only removes the symptoms, not the original problem. I thought that I can live with that. The problem is that I do not understand how to implement tiwai's second fix, and he says that he doesn't know how to do it in Ubuntu. Now you say I have to do it at the

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

2016-03-14 Thread Raymond
https://bugs.launchpad.net/ubuntu/+source/alsa- driver/+bug/1551041/comments/57 You have to apply the patch manually at the stable ubuntu kernel/driver and report back to tiwai -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver

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

2016-03-13 Thread sudodus
'Sound.git is unstable and not gauarnteed to compile at any time The safest way is to compile debug kernel/driver at stable ubuntu release' Do you mean that I should install a system of Ubuntu 14.04.1 LTS or Ubuntu 14.04.4 LTS, *dedicated for this task*, and use that for compiling souund.git?

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

2016-03-13 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/au88x0?id=54a96dadaa2bbe81006c66447517b57534d80e7f Before this patch, period_size can be as low as 1 frames, difference of current page and last page will be 2 or 3 instead of 1 In theory, you should not see the

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

2016-03-13 Thread Raymond
Sound.git is unstable and not gauarnteed to compile at any time The safest way is to compile debug kernel/driver at stable ubuntu release Tiwai expect you to apply the patch and report back whether it has no side effect -- 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-13 Thread sudodus
Do you suggest that I try to build the alsa driver with debug now? Maybe I should I make a dedicated system alongside the system I am using for general testing. -- 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-13 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/core/pcm_lib.c?id=f5914908a5b7b2338f210e56827a1ef35585dc6d To debug the ptr position at period interrupt, you need alsa driver build with debug which allow you to enable trace point to log the ptr position in system --

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

2016-03-13 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/ice1712/ice1712.c?id=4f8e940095536bc002a81666a4107a581c84e9b9 The fix for the other driver in the original bug report It look like au88x0 pointer callback does not return zero when interrupt occur, just 2 or 3 frames

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

2016-03-13 Thread sudodus
$ dmesg | grep -i "au88" [ 12.425799] snd_au8820 :01:04.0: init started [ 13.157353] snd_au8820 :01:04.0: init done. [ 13.192583] gameport gameport0: AU88x0 Gameport is pci:01:04.0/gameport0, speed 1087kHz [ 2357.843401] snd_au8820 :01:04.0: BUG: , pos = 16385, buffer

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

2016-03-13 Thread Raymond
dmesg | grep -i "au88" Since pcm_avail.c only write buffer size once, it is unable to trigger the bug which ptr > buffer size so we need to modify the logic to loop more data -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver

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

2016-03-13 Thread sudodus
'Do the number of BUG messsges in system log still 2 frames larger than buffer size' I don't understand how to do this or check this. Please explain! -- 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-13 Thread sudodus
'Can you change periods from 4 to 16 and period_size from 1024 to 256 post the output of pcm_avail.c' Done. See the attached file. ** Attachment added: "pcm_avail_periods-16_periodsize-256.out"

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

2016-03-13 Thread Raymond
Can you change periods from 4 to 16 and period_size from 1024 to 256 post the output of pcm_avail.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-13 Thread Raymond
Do the number of BUG messsges in system log still 2 frames larger than 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 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-12 Thread sudodus
fixed typing error: please *tell* me what to do -- 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 = 16384,

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

2016-03-12 Thread sudodus
Raymond, do you need anything from me now? In that case, please me what to do? -- 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-12 Thread Raymond
As there is no datasheet, we can only follow the patent description https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/au88x0/au8820.h#n26 FIG. 15c is a diagrammatic block diagram of a mode register 382 of sub- buffer table 380(3) of FIG. 15b. Mode register 382 includes

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

2016-03-11 Thread sudodus
'Can you post the output of pcm_avail.c when using rate 44100 Hz instead of 48000Hz? print the time at the same time to check whether the ptr is monotically increasing as expected rate' I attach a file with the specified rate. I don't know/remember C well enough, so I need your help to print the

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

2016-03-11 Thread Raymond
https://bugs.freedesktop.org/show_bug.cgi?id=84585#c60 Modified version You can compare the result ** Bug watch added: freedesktop.org Bugzilla #84585 https://bugs.freedesktop.org/show_bug.cgi?id=84585 -- You received this bug notification because you are a member of Desktop Packages,

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

2016-03-11 Thread Raymond
Time diffenece between successive output and frames difference will tell you whether the card is accurate enoung for pulseaudio timer scheduling -- 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-11 Thread Raymond
Can you post the output of pcm_avail.c when using rate 44100 Hz instead of 48000Hz? print the time at the same time to check whether the ptr is monotically increasing as expected rate -- 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-11 Thread Christopher M. Penalver
** Tags added: cherry-pick ** Changed in: alsa-driver (Ubuntu) Status: Incomplete => Triaged -- 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-11 Thread sudodus
Yes, I understand. -- 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 = 16384, period size = 1024 Status in

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

2016-03-11 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=0ab1ace856205d10cbc1924b2d931c01ffd216a6 This patch only prevent kerneloops pop up, your system log still flooding with invalid position message every 0.371 second (assume once per buffer time) when playing audio -- You

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

2016-03-11 Thread sudodus
Raymond, I can re-phrase the question like this: Do you want to fix the alsa-driver to eliminate the problem with the pointer? In that case I am willing to help testing it :-) Otherwise I can wait for the fix, where the string 'BUG' is replaced with 'XRUN' - "BUG:

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

2016-03-11 Thread sudodus
I have been away from the keyboard for a few hours. It is nice weather, so nice outdoors here today :-) Would you say it is meaningful to build a new alsa driver (even if it is means installing many packages? If that is the case, should I do it in a separate system (to avoid damaging the current

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

2016-03-11 Thread Raymond
http://mailman.alsa-project.org/pipermail/alsa- devel/2013-February/059559.html You need to install many packages in order to build alsa driver git, autoconf, kernel-header, You need to rebuild the alsa driver whenever kernel change -- You received this bug notification because you are a

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

2016-03-11 Thread Raymond
no need to perform git bisect since you already know the reason of kernel ops is due to "BUG:" Do ubuntu allow user just build alsa driver as module instead of recompile the whole kernel https://git.kernel.org/cgit/linux/kernel/git/tiwai/alsa-driver-build.git/

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

2016-03-11 Thread Raymond
The oscillator is the silver metal component just above the au8820 chip of your montego card -- 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-11 Thread Raymond
You may need to dump mmio VORTEX_SMP_TIME which is tick at 48000 * 256 Hz (what is the clock printed at the oscillator on your au8820 sound card) to find out the elapsed time between periods is correct or not - return (bytes_to_frames(substream->runtime, current_ptr)); + current_ptr =

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

2016-03-11 Thread Raymond
the differnce between successive output are almost 5 frames The only bad thing ptr is not always at period boundary 1024, 2048, 3072 and 4096 -- 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-10 Thread sudodus
I ran pcm_avail after changing to device #1 /* const char* device = "hw:0"; */ const char* device = "hw:1"; and re-compiling. I redirected the error output to the attached file. ** Attachment added: "pcm_avail.out"

[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
Card numer can be specified by module parameter "index" Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N enable :

[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
So using the ALSA tools, it is possible to have a better control of the audio, it provides a more advanced mixer. Maybe that is why it is also more difficult to learn :-) -o- I will scan the previous few comments and try to perform some tasks, that I might have overlooked. Please remind me, if

[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
Run two alsa applications which using hw device, hwmixvolume allow you to change the subdevice PCM volume controls which dB range allow gain in addition to attenuation For any pulse application, it just control by the subdevice opened by pulseaudio server The hardware mixed signal are pass

[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 don't understand how to use comment #60. -- 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 = 16384,

Re: [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
Den 2016-03-11 kl. 02:22, skrev Raymond: > There will be volume slider(hardware per stream volume control) for each > application if the application use hw instead of pulse > > pavucontrol provide sofware per stream volume control > Both would be OK for me. But I have learned to use pavucontrol.

[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
Each subdevice has its own volume control control.59 { iface PCM name 'PCM Playback Volume' value.0 0 value.1 0 comment { access 'read write inactive' type INTEGER count 2 range '-128 - 32' dbmin -9600 dbmax 2400 dbvalue.0 0 dbvalue.1 0 } } control.60 { iface PCM subdevice 1 name 'PCM Playback

[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
There will be volume slider(hardware per stream volume control) for each application if the application use hw instead of pulse pavucontrol provide sofware per stream volume control -- 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 Christopher M. Penalver
sudodus, patch test instructions may be found at https://wiki.ubuntu.com/Kernel/KernelBisection#Testing_a_newly_released_patch_from_upstream . -- 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-10 Thread sudodus
Raymond, The committer, Takashi Iwai, decided to help us. Can you use this patch (and help me test it) :-) Nio - OK, I see why this bogus report reappears again. The message tag was reverted back after some commit for correctness. Now I rephrased the text again so that it won't hit some

[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
His program hardcode to use card 0, you have to change the card number if ypur au8820 is card 1 or change the order of your two cards by adding specify card number for the two drivers in /etc/modprobe.d/alsa-base.conf -- You received this bug notification because you are a member of Desktop

[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 have written directly to the author and committer, but also made a comment in their old bug report. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1305480/comments/13 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver

[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
Thank you very much for investigating this issue, Raymond :-) -- 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
You have to send email to the author and commiter since flooding the system log with message is useless -- 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 sudodus
I see: 'The kerneloops-daemon scans dmesg for common crash signatures, among which is 'BUG:'. The message emitted by the PCM library is really a warning, so the most expedient thing to do seems to be to change the string.' Yes, this might be the problem :-) Can you help getting rid of it (how 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
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/core/pcm_lib.c?id=00d90154404ae6218730068d25bf2faad3186631 -- 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-10 Thread sudodus
No, I changed it according to your tips and could compile without complaints. /* #include */ #include $ l totalt 24 -rwxrwxr-x 1 olle olle39 mar 10 15:06 maker -rwxrwxr-x 1 olle olle 13240 mar 10 16:02 pcm_avail -rw-rw-r-- 1 olle olle 3703 mar 10 16:02 pcm_avail.c olle@xenial32

[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
'Are you the kernel oops is related to au8820 since it just flooding the system log with BUGS message but no seg fault or dump it is strange that your bug report did not have pulselist or pulseaudio log' No I'm not sure at all. It says 'snd_au8820' in the automatically created bug report, but I

[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
It should be there: sudo apt-get install libasound2-dev Läser paketlistor… Färdig Bygger beroendeträd Läser tillståndsinformation… Färdig libasound2-dev is already the newest version (1.1.0-0ubuntu1). Följande paket har installerats automatiskt och är inte längre nödvändiga:

[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
Are you the kernel oops is related to au8820 since it just flooding the system log with BUGS message but no seg fault or dump it is strange that your bug report did not have pulselist or pulseaudio log -- You received this bug notification because you are a member of Desktop Packages, which is

[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
Did his program use #include similar to aplay.c? http://git.alsa-project.org/?p=alsa- utils.git;a=blob;f=aplay/aplay.c;hb=HEAD -- 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-10 Thread sudodus
It complains: pcm_avail.c:5:23: fatal error: asoundlib.h: no such file I guess I need some library? -- 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
http://packages.ubuntu.com/search?lang=en=libasound2-dev For pcm_avail.c You need to install libasound2-dev and gcc sudo apt-get install libasound2-dev gcc pcm_avail.c -o pcm_avail -l asound ./pcm_avail -- You received this bug notification because you are a member of Desktop Packages,

[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
'You have to recompile alsa driver by adding if (current_ptr > runtime->buffer_size) current_ptr = runtime->buffer_size;' -- '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

[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 added the output for the command with sudo to get the capabilities: $ sudo lspci - |grep -A16 Multimedia 01:04.0 Multimedia audio controller: Aureal Semiconductor Vortex 1 (rev 02) Subsystem: Voyetra Technologies Montego Physical Slot: 1 Control: I/O+ Mem+ BusMaster+

[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 have not rebooted after my previous comments (and the test with aplay). Now I can give you better feedback :-) olle@xenial32 ~ $ dmesg|wc -c 64123 olle@xenial32 ~ $ dmesg|grep -i au88 [ 12.021036] snd_au8820 :01:04.0: init started [ 12.777390] snd_au8820 :01:04.0: init done. [

  1   2   >