Re: [Alsa-user] Characterising a fault with audio playback

2022-10-27 Thread chris hermansen
Paul and list,

On Thu, Oct 27, 2022, 17:32 Paul Dorman  wrote:

> Hi Chris,
>
> yes I did (I was using aplay to test), and both hw and plughw.
>

Using aplay does not disable Pulse nor Pipewire access to the hardware, not
sure if you're thinking it does.

With pulse at least you have to tell it to disregard the device in question
in a config file. I've only had Pipewire on the desktop for a few days so I
haven't investigates that...

>
You have tried some completely different cables, right?

I remember having a similar problem years ago using an old 32 bit laptop
and probably Ubuntu 12-ish with my then brand new Schiit Bifrost which went
away when fed signals by a more recent computer.

But you said you have tried other computers...

Have you tried a DSF file on your altset 3?

>
> Cheers,
> Paul
>
> On Thu, 27 Oct 2022 at 10:42, chris hermansen 
> wrote:
>
>> Paul and list
>>
>> On Wed, Oct 26, 2022, 14:34 Paul Dorman  wrote:
>>
>>> Hi Ralf,
>>>
>>> thanks for your reply. Yes I have tried changing the USB ports, but
>>> there was no improvement. My system has both USB2 and USB3 ports so by
>>> switching I was also switching controllers.
>>>
>>> I have tested with plain ALSA, with S16_LE and S32_LE PCM sample
>>> formats, as well as direct digital streams using the DSD_U16_LE, DSD_U32_LE
>>> formats. The problem isn't resolved with any one of them, so it must be
>>> isolated to one or a combination of the snd-usb-audio kernel module,
>>> alsa-lib itself, or some issue with the device itself.
>>>
>>
>> When you were using "plain ALSA" did you:
>>
>> 1. Disable Pulse and Pipewire access to the device?
>>
>> 2. Use the "hw" and "plughw" devices?
>>
>>>
>>> Here are the audio streams available on the FiiO K5Pro. Perhaps there's
>>> a clue there as to what parameters I might try to tune next.
>>>
>>> cat /proc/asound/Pro/stream0
>>> GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-:06:00.0-1,
>>> high spee : USB Audio
>>>
>>> Playback:
>>>   Status: Stop
>>>   Interface 1
>>> Altset 1
>>> Format: S32_LE
>>> Channels: 2
>>> Endpoint: 0x01 (1 OUT) (ASYNC)
>>> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
>>> 705600, 768000
>>> Data packet interval: 125 us
>>> Bits: 32
>>> Channel map: FL FR
>>> Sync Endpoint: 0x81 (1 IN)
>>> Sync EP Interface: 1
>>> Sync EP Altset: 1
>>> Implicit Feedback Mode: No
>>>   Interface 1
>>> Altset 2
>>> Format: S16_LE
>>> Channels: 2
>>> Endpoint: 0x01 (1 OUT) (ASYNC)
>>> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
>>> 705600, 768000
>>> Data packet interval: 125 us
>>> Bits: 16
>>> Channel map: FL FR
>>> Sync Endpoint: 0x81 (1 IN)
>>> Sync EP Interface: 1
>>> Sync EP Altset: 2
>>> Implicit Feedback Mode: No
>>>   Interface 1
>>> Altset 3
>>> Format: SPECIAL
>>> Channels: 2
>>> Endpoint: 0x01 (1 OUT) (ASYNC)
>>> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
>>> 705600, 768000
>>> Data packet interval: 125 us
>>> Bits: 32
>>> DSD raw: DOP=0, bitrev=0
>>> Channel map: FL FR
>>> Sync Endpoint: 0x81 (1 IN)
>>> Sync EP Interface: 1
>>> Sync EP Altset: 3
>>> Implicit Feedback Mode: No
>>>
>>> Cheers,
>>> Paul
>>>
>>>
>>>
>>> On Wed, 26 Oct 2022 at 20:58, Ralf Mardorf 
>>> wrote:
>>>
 On Wed, 2022-10-26 at 20:24 +1300, Paul Dorman wrote:
 > one of the USB3 ports

 Hi,

 did you test different USB ports?

 > Whatever is causing it, the problem has persisted through OS upgrades
 > and the switch from Pulseaudio to Pipewire.

 I'm in favour of using plain ALSA or jackd. For testing purpose don't
 use a sound server, test with plain ALSA.

 Regards,
 Ralf


 ___
 Alsa-user mailing list
 [email protected]
 https://lists.sourceforge.net/lists/listinfo/alsa-user

>>> ___
>>> Alsa-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>> ___
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Characterising a fault with audio playback

2022-10-27 Thread Paul Dorman
Hi Chris,

yes I did (I was using aplay to test), and both hw and plughw.

Cheers,
Paul

On Thu, 27 Oct 2022 at 10:42, chris hermansen  wrote:

> Paul and list
>
> On Wed, Oct 26, 2022, 14:34 Paul Dorman  wrote:
>
>> Hi Ralf,
>>
>> thanks for your reply. Yes I have tried changing the USB ports, but there
>> was no improvement. My system has both USB2 and USB3 ports so by switching
>> I was also switching controllers.
>>
>> I have tested with plain ALSA, with S16_LE and S32_LE PCM sample formats,
>> as well as direct digital streams using the DSD_U16_LE, DSD_U32_LE formats.
>> The problem isn't resolved with any one of them, so it must be isolated to
>> one or a combination of the snd-usb-audio kernel module, alsa-lib itself,
>> or some issue with the device itself.
>>
>
> When you were using "plain ALSA" did you:
>
> 1. Disable Pulse and Pipewire access to the device?
>
> 2. Use the "hw" and "plughw" devices?
>
>>
>> Here are the audio streams available on the FiiO K5Pro. Perhaps there's a
>> clue there as to what parameters I might try to tune next.
>>
>> cat /proc/asound/Pro/stream0
>> GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-:06:00.0-1,
>> high spee : USB Audio
>>
>> Playback:
>>   Status: Stop
>>   Interface 1
>> Altset 1
>> Format: S32_LE
>> Channels: 2
>> Endpoint: 0x01 (1 OUT) (ASYNC)
>> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
>> 705600, 768000
>> Data packet interval: 125 us
>> Bits: 32
>> Channel map: FL FR
>> Sync Endpoint: 0x81 (1 IN)
>> Sync EP Interface: 1
>> Sync EP Altset: 1
>> Implicit Feedback Mode: No
>>   Interface 1
>> Altset 2
>> Format: S16_LE
>> Channels: 2
>> Endpoint: 0x01 (1 OUT) (ASYNC)
>> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
>> 705600, 768000
>> Data packet interval: 125 us
>> Bits: 16
>> Channel map: FL FR
>> Sync Endpoint: 0x81 (1 IN)
>> Sync EP Interface: 1
>> Sync EP Altset: 2
>> Implicit Feedback Mode: No
>>   Interface 1
>> Altset 3
>> Format: SPECIAL
>> Channels: 2
>> Endpoint: 0x01 (1 OUT) (ASYNC)
>> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
>> 705600, 768000
>> Data packet interval: 125 us
>> Bits: 32
>> DSD raw: DOP=0, bitrev=0
>> Channel map: FL FR
>> Sync Endpoint: 0x81 (1 IN)
>> Sync EP Interface: 1
>> Sync EP Altset: 3
>> Implicit Feedback Mode: No
>>
>> Cheers,
>> Paul
>>
>>
>>
>> On Wed, 26 Oct 2022 at 20:58, Ralf Mardorf 
>> wrote:
>>
>>> On Wed, 2022-10-26 at 20:24 +1300, Paul Dorman wrote:
>>> > one of the USB3 ports
>>>
>>> Hi,
>>>
>>> did you test different USB ports?
>>>
>>> > Whatever is causing it, the problem has persisted through OS upgrades
>>> > and the switch from Pulseaudio to Pipewire.
>>>
>>> I'm in favour of using plain ALSA or jackd. For testing purpose don't
>>> use a sound server, test with plain ALSA.
>>>
>>> Regards,
>>> Ralf
>>>
>>>
>>> ___
>>> Alsa-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>> ___
>> Alsa-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>
>
___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Characterising a fault with audio playback

2022-10-26 Thread chris hermansen
Paul and list

On Wed, Oct 26, 2022, 14:34 Paul Dorman  wrote:

> Hi Ralf,
>
> thanks for your reply. Yes I have tried changing the USB ports, but there
> was no improvement. My system has both USB2 and USB3 ports so by switching
> I was also switching controllers.
>
> I have tested with plain ALSA, with S16_LE and S32_LE PCM sample formats,
> as well as direct digital streams using the DSD_U16_LE, DSD_U32_LE formats.
> The problem isn't resolved with any one of them, so it must be isolated to
> one or a combination of the snd-usb-audio kernel module, alsa-lib itself,
> or some issue with the device itself.
>

When you were using "plain ALSA" did you:

1. Disable Pulse and Pipewire access to the device?

2. Use the "hw" and "plughw" devices?

>
> Here are the audio streams available on the FiiO K5Pro. Perhaps there's a
> clue there as to what parameters I might try to tune next.
>
> cat /proc/asound/Pro/stream0
> GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-:06:00.0-1, high
> spee : USB Audio
>
> Playback:
>   Status: Stop
>   Interface 1
> Altset 1
> Format: S32_LE
> Channels: 2
> Endpoint: 0x01 (1 OUT) (ASYNC)
> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
> 705600, 768000
> Data packet interval: 125 us
> Bits: 32
> Channel map: FL FR
> Sync Endpoint: 0x81 (1 IN)
> Sync EP Interface: 1
> Sync EP Altset: 1
> Implicit Feedback Mode: No
>   Interface 1
> Altset 2
> Format: S16_LE
> Channels: 2
> Endpoint: 0x01 (1 OUT) (ASYNC)
> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
> 705600, 768000
> Data packet interval: 125 us
> Bits: 16
> Channel map: FL FR
> Sync Endpoint: 0x81 (1 IN)
> Sync EP Interface: 1
> Sync EP Altset: 2
> Implicit Feedback Mode: No
>   Interface 1
> Altset 3
> Format: SPECIAL
> Channels: 2
> Endpoint: 0x01 (1 OUT) (ASYNC)
> Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
> 705600, 768000
> Data packet interval: 125 us
> Bits: 32
> DSD raw: DOP=0, bitrev=0
> Channel map: FL FR
> Sync Endpoint: 0x81 (1 IN)
> Sync EP Interface: 1
> Sync EP Altset: 3
> Implicit Feedback Mode: No
>
> Cheers,
> Paul
>
>
>
> On Wed, 26 Oct 2022 at 20:58, Ralf Mardorf 
> wrote:
>
>> On Wed, 2022-10-26 at 20:24 +1300, Paul Dorman wrote:
>> > one of the USB3 ports
>>
>> Hi,
>>
>> did you test different USB ports?
>>
>> > Whatever is causing it, the problem has persisted through OS upgrades
>> > and the switch from Pulseaudio to Pipewire.
>>
>> I'm in favour of using plain ALSA or jackd. For testing purpose don't
>> use a sound server, test with plain ALSA.
>>
>> Regards,
>> Ralf
>>
>>
>> ___
>> Alsa-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>
> ___
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Characterising a fault with audio playback

2022-10-26 Thread Paul Dorman
Hi Ralf,

thanks for your reply. Yes I have tried changing the USB ports, but there
was no improvement. My system has both USB2 and USB3 ports so by switching
I was also switching controllers.

I have tested with plain ALSA, with S16_LE and S32_LE PCM sample formats,
as well as direct digital streams using the DSD_U16_LE, DSD_U32_LE formats.
The problem isn't resolved with any one of them, so it must be isolated to
one or a combination of the snd-usb-audio kernel module, alsa-lib itself,
or some issue with the device itself.

Here are the audio streams available on the FiiO K5Pro. Perhaps there's a
clue there as to what parameters I might try to tune next.

cat /proc/asound/Pro/stream0
GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-:06:00.0-1, high
spee : USB Audio

Playback:
  Status: Stop
  Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 0x01 (1 OUT) (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
705600, 768000
Data packet interval: 125 us
Bits: 32
Channel map: FL FR
Sync Endpoint: 0x81 (1 IN)
Sync EP Interface: 1
Sync EP Altset: 1
Implicit Feedback Mode: No
  Interface 1
Altset 2
Format: S16_LE
Channels: 2
Endpoint: 0x01 (1 OUT) (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
705600, 768000
Data packet interval: 125 us
Bits: 16
Channel map: FL FR
Sync Endpoint: 0x81 (1 IN)
Sync EP Interface: 1
Sync EP Altset: 2
Implicit Feedback Mode: No
  Interface 1
Altset 3
Format: SPECIAL
Channels: 2
Endpoint: 0x01 (1 OUT) (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000,
705600, 768000
Data packet interval: 125 us
Bits: 32
DSD raw: DOP=0, bitrev=0
Channel map: FL FR
Sync Endpoint: 0x81 (1 IN)
Sync EP Interface: 1
Sync EP Altset: 3
Implicit Feedback Mode: No

Cheers,
Paul



On Wed, 26 Oct 2022 at 20:58, Ralf Mardorf 
wrote:

> On Wed, 2022-10-26 at 20:24 +1300, Paul Dorman wrote:
> > one of the USB3 ports
>
> Hi,
>
> did you test different USB ports?
>
> > Whatever is causing it, the problem has persisted through OS upgrades
> > and the switch from Pulseaudio to Pipewire.
>
> I'm in favour of using plain ALSA or jackd. For testing purpose don't
> use a sound server, test with plain ALSA.
>
> Regards,
> Ralf
>
>
> ___
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Characterising a fault with audio playback

2022-10-26 Thread Ralf Mardorf
On Wed, 2022-10-26 at 20:24 +1300, Paul Dorman wrote:
> one of the USB3 ports

Hi,

did you test different USB ports?

> Whatever is causing it, the problem has persisted through OS upgrades
> and the switch from Pulseaudio to Pipewire.

I'm in favour of using plain ALSA or jackd. For testing purpose don't
use a sound server, test with plain ALSA.

Regards,
Ralf


___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user