All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ozan Çağlayan" <ozan@pardus.org.tr>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: 1.0.16->1.0.17 regression for some HDA NVidia's
Date: Fri, 11 Jul 2008 14:31:25 +0300	[thread overview]
Message-ID: <4877448D.9090603@pardus.org.tr> (raw)
In-Reply-To: <s5h3amgru3l.wl%tiwai@suse.de>

Takashi Iwai wrote On 12-07-2008 00:25:
> At Fri, 11 Jul 2008 09:31:59 +0300,
> Ozan Çağlayan wrote:
>   
>> Takashi Iwai wrote On 11-07-2008 20:54:
>>     
>>> To make sure: bdl_pos_adj=32 or higher doesn't work, too?
>>> Also, if you set bdl_pos_adj=0, do you get any warning messages?
>>>
>>> It's fine to take bdl_pos_adj=0 as default for Nvidia chips.  But,
>>> basically this value (when it's big enough) shouldn't disable the
>>> sound at all.
>>>   
>>>       
>> I've tried the values (2,8,16,32,64,128,256,1024,2048,4096,8192).
>> When the parameter is set to 2048,4096 or 8192, here's the dmesg message 
>> we get:
>>
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> hda-intel: IRQ timing workaround is activated for card #0. Suggest a 
>> bigger bdl_pos_adj.
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>> ALSA ../alsa-kernel/pci/hda/hda_intel.c:1056: Too big adjustment 4096
>>
>> The sound works well with those values.
>>     
>
> It's because bdl_pos_adj=0 is taken as fallback.
>
>   
>> The other small values avoid pulse to work correctly with ALSA.
>>     
>
> What about other applications?  Could you run ALSA apps, e.g. aplay,
> without pulse?
>   
Yes. I can play an mp3 file with mplayer, using alsa output.
Without pulse everything was already fine..
>   
>> When the parameter is set 0, the sound works well and the driver outputs 
>> this message:
>> hda-intel: IRQ timing workaround is activated for card #0. Suggest a 
>> bigger bdl_pos_adj.
>>     
>
> So, it means that the problem still exists.  The driver delays the
> call of snd_pcm_period_elapsed() with a busy loop.  The bdl_pos_adj
> adds a constant delay, OTOH.
>   
So If I resume a little bit what we have now:

- On a system which does not use pulseaudio, the chipset works with 
1.0.16 and all 1.0.16 RC's.
- On a system using pulseaudio, it's impossible to get sound when using 
1.0.17rc2 and 1.0.17rc3 if bdl_pos_adj is not explicitly set to 0. dmesg 
output contains also these two lines when the module is loaded:

ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, 
low) -> IRQ 22
hda-intel: IRQ timing workaround is activated for card #0. Suggest a 
bigger bdl_pos_adj.

-- 
Ozan Çağlayan


_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2008-07-11 11:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-06 16:18 1.0.16->1.0.17 regression for some HDA NVidia's Ozan Çağlayan
2008-07-07 16:00 ` Takashi Iwai
2008-07-07 21:31   ` Ozan Çağlayan
2008-07-08 10:09     ` Takashi Iwai
2008-07-10 16:41       ` Ozan Çağlayan
2008-07-11  4:47         ` Takashi Iwai
2008-07-10 21:26           ` Ozan Çağlayan
2008-07-11 17:54             ` Takashi Iwai
2008-07-11  6:31               ` Ozan Çağlayan
2008-07-11 21:25                 ` Takashi Iwai
2008-07-11 11:31                   ` Ozan Çağlayan [this message]
2008-07-13  6:45                     ` Hans-Frieder Vogt
2008-07-14  6:47                       ` Takashi Iwai
2008-07-15 20:54                         ` Hans-Frieder Vogt
2008-07-16 10:49                           ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4877448D.9090603@pardus.org.tr \
    --to=ozan@pardus.org.tr \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.