[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2018-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

GitLab Migration User  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|REOPENED|RESOLVED

--- Comment #42 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/457.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2016-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #41 from benja...@wagnerbrutal.de ---
(In reply to Tanu Kaskinen from comment #39)
> The log shows that you're not using module-udev-detect. I don't know if
> that's why things stopped working, but that would anyway be the first thing
> to fix. Debian changed the packaging so that "pulseaudio-module-udev" is now
> a separate package. You have probably disabled automatic installation of
> recommended packages, because by default that package should get installed
> automatically.

Thanks a lot! My system really didn't install module-udev-detect (package
pulseaudio-module-udev in debian stretch/testing). Now it works again!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2016-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #40 from Raymond  ---
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/rme9652/hdsp.c

static struct snd_pcm_hardware snd_hdsp_capture_subinfo =
{
.info = (SNDRV_PCM_INFO_MMAP |
 SNDRV_PCM_INFO_MMAP_VALID |
 SNDRV_PCM_INFO_NONINTERLEAVED |
 SNDRV_PCM_INFO_SYNC_START),
#ifdef SNDRV_BIG_ENDIAN
.formats =  SNDRV_PCM_FMTBIT_S32_BE,
#else
.formats =  SNDRV_PCM_FMTBIT_S32_LE,
#endif
.rates =(SNDRV_PCM_RATE_32000 |
 SNDRV_PCM_RATE_44100 |
 SNDRV_PCM_RATE_48000 |
 SNDRV_PCM_RATE_64000 |
 SNDRV_PCM_RATE_88200 |
 SNDRV_PCM_RATE_96000),
.rate_min = 32000,
.rate_max = 96000,
.channels_min = 5,
.channels_max = HDSP_MAX_CHANNELS,
.buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS,
.period_bytes_min = (64 * 4) * 10,
.period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS,
.periods_min =  2,
.periods_max =  2,
.fifo_size =0
};


only support 2 periods and non-interleaved access mode

pulseaudio cannot use 4 fragments

this mean one period of channel 1 , follow by one period of channel 2 ,..., one
period of channel n

seem has flag to control the precision of hw pointer


static snd_pcm_uframes_t hdsp_hw_pointer(struct hdsp *hdsp)
{
int position;

position = hdsp_read(hdsp, HDSP_statusRegister);

if (!hdsp->precise_ptr)
return (position & HDSP_BufferID) ? (hdsp->period_bytes / 4) :
0;

position &= HDSP_BufferPositionMask;
position /= 4;
position &= (hdsp->period_bytes/2) - 1;
return position;
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2016-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #38 from benja...@wagnerbrutal.de ---
Meaning what exactly?

It worked with previous versions. And even if it doesn't work - what is the
recommended step here? Remove pulseaudio?

Thanks & best regards
Benjamin

Am 19. Juli 2016 16:09:10 MESZ, schrieb bugzilla-dae...@freedesktop.org:
>https://bugs.freedesktop.org/show_bug.cgi?id=84804
>
>--- Comment #37 from Raymond  ---
>https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=55a25246ee80aa950bf27f811c0cc176d0821a4e
>
>
>pulseaudio does not support non-interlaved mode
>
>
>static void check_access(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t
>*hwparams,
>bool use_mmap) {
>  if ((use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams,
>SND_PCM_ACCESS_MMAP_INTERLEAVED)) ||
>!snd_pcm_hw_params_test_access(pcm_handle, hwparams,
>SND_PCM_ACCESS_RW_INTERLEAVED))
> pa_log_error("Weird, PCM claims to support interleaved access, but
>snd_pcm_hw_params_set_access() failed.");
>+
>
>-- 
>You are receiving this mail because:
>You reported the bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2016-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #37 from Raymond  ---
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=55a25246ee80aa950bf27f811c0cc176d0821a4e


pulseaudio does not support non-interlaved mode


static void check_access(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hwparams,
bool use_mmap) {
if ((use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams,
SND_PCM_ACCESS_MMAP_INTERLEAVED)) ||
!snd_pcm_hw_params_test_access(pcm_handle, hwparams,
SND_PCM_ACCESS_RW_INTERLEAVED))
pa_log_error("Weird, PCM claims to support interleaved access, but
snd_pcm_hw_params_set_access() failed.");
+

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2016-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #36 from benja...@wagnerbrutal.de ---
http://pastebin.com/CzQQhvET

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2016-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

benja...@wagnerbrutal.de changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #35 from benja...@wagnerbrutal.de ---
Hi,

I'm not sure if this is 100% the same issue, but my problems started again when
Debian upgraded from pulseaudio 8 to 9 recently.

Even though I still use tsched=0, I hear huge amounts of clicks and pops while
playing back (everything sounds like a very old vinyl recording now...).
Enabling tsched makes no difference, in fact I think that it is still of even
though I tried tsched=1.

I'll attach the verbose log.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

David Henningsson david.hennings...@canonical.com changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |FIXED

--- Comment #34 from David Henningsson david.hennings...@canonical.com ---
Ok. So the high channel count part is fixed with 6.0.

The non interleaved access was never a problem (emulated by alsa plug layer).

Tsched=0 workarounds...should in general be fixed in ALSA rather than
PulseAudio. Raymond's patch is probably correct but I'm not qualified to review
it. Raymond, could you turn the patch into a proper commit (git commit -s ) and
then send it upstream on the alsa-devel mailinglist (using git send-email or
git format-patch)? Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #31 from benja...@wagnerbrutal.de ---
tsched=0 !!!
That seems to do the trick! Pulseaudio 6.0 is running with every app
simultaneously without a glitch! I will do more testing, but it looks perfect
right now!

Thank you all!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #32 from Raymond superquad.vort...@gmail.com ---
refer rme9652_hw_pointer() to rme9652.c

if (!rme9652-precise_ptr)
return (status  RME9652_buffer_id) ? period_size : 0;

if precise_ptr is not enabled by module parameter, it just return pointer value
as period_size or zero, this mean time scheduling should be disabled since
driver can only use two periods (impossible to rewind)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #33 from Raymond superquad.vort...@gmail.com ---
Created attachment 113564
  -- https://bugs.freedesktop.org/attachment.cgi?id=113564action=edit
add SNDRV_PCM_INFO_BATCH when precise_ptr is not enabled

rme9652 driver need to specify SNDRV_PCM_INFO_BATCH when precise_ptr is not
enabled

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #29 from benja...@wagnerbrutal.de ---
Hi,

I built PA 6 from git and got the exact same verbose output of aplay and
arecord than I posted on 2014-10-27.

The apps are working though - partly. Browsers and music apps like aqualung
play sounds now, but there are a lot of dropouts in the sound. Sometimes, it
even plays back at the wrong speed.

I started PA, fired up a browser, played back the beginning of a youtube video
and closed everything again:
http://pastebin.com/HbRc2yQF

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

David Henningsson david.hennings...@canonical.com changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #26 from David Henningsson david.hennings...@canonical.com ---
Hi benjamin,

PulseAudio 6.0 has now been released and it includes the multichannel fallback,
which should have solved your issue, but apparently it has not.

Could you submit a new PulseAudio verbose log with PA 6.0? Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #27 from David Henningsson david.hennings...@canonical.com ---
Comment on attachment 109516
  -- https://bugs.freedesktop.org/attachment.cgi?id=109516
logging when only non-interleaved PCM available

Review of attachment 109516:
-

Well, that is a truth with modification, I believe - PulseAudio as a last
resort tries to open plug:hw:* and that should auto-convert from noninterleaved
to interleaved. So this should not be an issue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2015-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #28 from David Henningsson david.hennings...@canonical.com ---
Peter, forget the last comment. I read your patch again and it looks good, so
I've pushed it now.

(This does not change the fact that we still need a new verbose log from
Benjamin with PA 6.0.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2014-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #25 from Raymond superquad.vort...@gmail.com ---
Read / Write transfer

There are two versions of read / write routines. The first expects the
interleaved samples at input (SND_PCM_ACCESS_RW_INTERLEAVED access method), and
the second one expects non-interleaved (samples in separated buffers -
SND_PCM_ACCESS_RW_NONINTERLEAVED access method) at input. There are these
functions for interleaved transfers: snd_pcm_writei() snd_pcm_readi(). For
non-interleaved transfers, there are these functions: snd_pcm_writen() and
snd_pcm_readn().


this mean pulseaudio still need snd_pcm_writen() and snd_pcm_readn() to support
SND_PCM_ACCESS_RW_NONINTERLEAVED access method

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2014-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #21 from Peter Meerwald pme...@pmeerw.net ---
Created attachment 109516
  -- https://bugs.freedesktop.org/attachment.cgi?id=109516action=edit
logging when only non-interleaved PCM available

patch which adds logging if no suitable access format found; non-interleaved
PCM is still unsupported

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2014-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #22 from Raymond superquad.vort...@gmail.com ---
(In reply to Peter Meerwald from comment #21)
 Created attachment 109516 [details] [review]
 logging when only non-interleaved PCM available
 
 patch which adds logging if no suitable access format found; non-interleaved
 PCM is still unsupported

did your patch really works ?

if you want to test different accesses, you need to use  test_access to find
out whether the access is support before you use set_access which is
destructive when error ocurrs

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2014-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #23 from Raymond superquad.vort...@gmail.com ---
try 

snd-dummy model=rme9652

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/drivers/dummy.c

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2014-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #24 from Raymond superquad.vort...@gmail.com ---
(In reply to Peter Meerwald from comment #21)
 Created attachment 109516 [details] [review]
 logging when only non-interleaved PCM available
 
 patch which adds logging if no suitable access format found; non-interleaved
 PCM is still unsupported

this is a fatal error when the interleaced access is not supported by the alsa
driver  the card is unusable by pulseaudio

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio- non interleaved access mode) soundcards with high channel counts

2014-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84804

Raymond superquad.vort...@gmail.com changed:

   What|Removed |Added

Summary|Pulseaudio doesn't work on  |Pulseaudio doesn't work on
   |(pro audio) soundcards with |(pro audio- non interleaved
   |high channel counts |access mode) soundcards
   ||with high channel counts

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs