Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-25 Thread Raymond Yau
>> >> On Ubuntu, since before my time, this has been the default: >> >> default-fragments = 8 >> default-fragment-size-msec = 10 >> >> ...so 8 x 10 = 80 ms. If you end up with 5 x 4 = 20 ms, I think that's a >> bit too short/sensitive, we should then increase the number of periods >> to 16 or at le

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-24 Thread Alexander E. Patrakov
24.10.2014 01:44, Andrew Eikum wrote: On Fri, Oct 24, 2014 at 12:38:16AM +0600, Alexander E. Patrakov wrote: 24.10.2014 00:08, Andrew Eikum wrote: I have a patch in-hand which improves the current driver significantly, but it isn't enough to fix the USB devices problem. If someone wants to revi

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-24 Thread Alexander E. Patrakov
24.10.2014 12:06, David Henningsson wrote: On Ubuntu, since before my time, this has been the default: default-fragments = 8 default-fragment-size-msec = 10 ...so 8 x 10 = 80 ms. If you end up with 5 x 4 = 20 ms, I think that's a bit too short/sensitive, we should then increase the number of pe

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-24 Thread Raymond Yau
>> > > On Ubuntu, since before my time, this has been the default: > > default-fragments = 8 > default-fragment-size-msec = 10 > > ...so 8 x 10 = 80 ms. If you end up with 5 x 4 = 20 ms, I think that's a bit too short/sensitive, we should then increase the number of periods to 16 or at least 8 in t

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
24.10.2014 12:06, David Henningsson wrote: On 2014-10-22 18:21, Alexander E. Patrakov wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use DirectSound8 on distributions su

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread David Henningsson
On 2014-10-22 18:21, Alexander E. Patrakov wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use DirectSound8 on distributions such as Arch Linux who don't accept the unof

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Andrew Eikum
On Fri, Oct 24, 2014 at 12:38:16AM +0600, Alexander E. Patrakov wrote: > 24.10.2014 00:08, Andrew Eikum wrote: > >I have a patch in-hand which improves the current driver > >significantly, but it isn't enough to fix the USB devices problem. If > >someone wants to review the winealsa driver with the

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
24.10.2014 00:35, I wrote: 23.10.2014 23:27, Arun Raghavan wrote: I've not looked at the Wine code for this, but I wonder if we can guess this by looking at the minreq/tlength values that are returned. Unpatched Wine just uses ALSA, so, your question is more about the ALSA plugin. Indeed, for

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
24.10.2014 00:08, Andrew Eikum wrote: On Thu, Oct 23, 2014 at 10:57:18PM +0530, Arun Raghavan wrote: On 23 October 2014 22:46, Alexander E. Patrakov wrote: 22.10.2014 22:21, I wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platform

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
23.10.2014 23:27, Arun Raghavan wrote: On 23 October 2014 22:46, Alexander E. Patrakov wrote: 22.10.2014 22:21, I wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use D

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Andrew Eikum
On Thu, Oct 23, 2014 at 10:57:18PM +0530, Arun Raghavan wrote: > On 23 October 2014 22:46, Alexander E. Patrakov wrote: > > 22.10.2014 22:21, I wrote: > >> > >> Of course, this only applies to ALSA devices that can't use tsched, as > >> well as to OSS on more exotic platforms. > >> > >> This is ne

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Arun Raghavan
On 23 October 2014 22:46, Alexander E. Patrakov wrote: > 22.10.2014 22:21, I wrote: >> >> Of course, this only applies to ALSA devices that can't use tsched, as >> well as to OSS on more exotic platforms. >> >> This is needed for compatibility with Wine games that use DirectSound8 >> on distributi

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
22.10.2014 22:21, I wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use DirectSound8 on distributions such as Arch Linux who don't accept the unofficial winepulse patch. T

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
23.10.2014 09:05, Raymond Yau wrote: Is it feasible to add an alternative parameter in fragment size since some soc driver does not support disable period wakep but dma brust sizes require 8 frames ? https://bugs.freedesktop.org/show_bug.cgi?id=84585 This bug report is so dirty that I cannot m

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-22 Thread Raymond Yau
> > Of course, this only applies to ALSA devices that can't use tsched, as > well as to OSS on more exotic platforms. > > This is needed for compatibility with Wine games that use DirectSound8 > on distributions such as Arch Linux who don't accept the unofficial > winepulse patch. The reason is tha

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-22 Thread Raymond Yau
>> >> Of course, this only applies to ALSA devices that can't use tsched, as >> well as to OSS on more exotic platforms. >> >> This is needed for compatibility with Wine games that use DirectSound8 >> on distributions such as Arch Linux who don't accept the unofficial >> winepulse patch. The reason

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-22 Thread Alexander E. Patrakov
23.10.2014 02:06, Pierre-Louis Bossart wrote: On 10/22/14, 11:21 AM, Alexander E. Patrakov wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use DirectSound8 on distributio

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-22 Thread Pierre-Louis Bossart
On 10/22/14, 11:21 AM, Alexander E. Patrakov wrote: Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use DirectSound8 on distributions such as Arch Linux who don't accept the unof

[pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-22 Thread Alexander E. Patrakov
Of course, this only applies to ALSA devices that can't use tsched, as well as to OSS on more exotic platforms. This is needed for compatibility with Wine games that use DirectSound8 on distributions such as Arch Linux who don't accept the unofficial winepulse patch. The reason is that Wine Direct