Re: sink creation initialization timings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What happens when you run the commands at terminal without using or relying on default.pa or ~/.config/pulse?

On Sun, Dec 27, 2020 at 9:40 AM David Osguthorpe <david.osguthorpe@xxxxxxxxx> wrote:

This is direct from the boot logs:

default.pa file in ~/.config/pulse

#!/usr/bin/pulseaudio -nF

# 


.include /etc/pulse/default.pa


.fail


set-default-sink alsa_output.pci-0000_00_1f.3.analog-surround-40


load-module module-remap-sink sink_name=remap-analog-surround-40 master=alsa_output.pci-0000_00_1f.3.analog-surround-40  channels=4 channel_map=front-left,front-right,rear-left,rear-right master_channel_map=front-left,rear-left,front-right,rear-right remix=no



### Make some devices default

#set-default-sink output

set-default-sink remap-analog-surround-40

#set-default-source input



syslog portion where fails to load:



Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Starting GLib main loop

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Loaded "module-filter-heuristics" (index: #21; argument: "").

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Loaded "module-filter-apply" (index: #22; argument: "").

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Master sink not found

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Failed to load module "module-remap-sink" (argument: "sink_name=remap-analog-surround-40 master=alsa_output.pci-0000_00_1f.3.analog-surround-40  channels=4 channel_map=front-left,front-right,rear-left,rear-right master_channel_map=front-left,rear-left,front-right,rear-right remix=no"): initialization failed.

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Sink alsa_output.pci-0000_00_1f.3.analog-surround-40 does not exist.

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Sink remap-analog-surround-40 does not exist.

Dec 27 13:33:33 david-MacBookPro pulseaudio[1422]: Successfully connected to D-Bus session bus fd35a79135b7241371a4f2745fe88d2d as :1.8



syslog from same boot where analog-surround-40 is first mentioned:


Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: Looking at profile output:analog-surround-40

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: Checking for playback on Analogue Surround 4.0 (analog-surround-40)

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: Managed to open surround40:0

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: snd_pcm_hw_params_set_format(Signed 16 bit Little Endian) failed: Invalid argument

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: snd_pcm_hw_params_set_format(Signed 16 bit Big Endian) failed: Invalid argument

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: snd_pcm_hw_params_set_format(Float 32 bit Little Endian) failed: Invalid argument

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: snd_pcm_hw_params_set_format(Float 32 bit Big Endian) failed: Invalid argument

Dec 27 13:33:37 david-MacBookPro pulseaudio[1422]: Maximum hw buffer size is 92 ms

Dec 27 13:33:38 david-MacBookPro pulseaudio[1422]: Set buffer size first (to 4408 samples), period size second (to 1102 samples).

Dec 27 13:33:38 david-MacBookPro pulseaudio[1422]: Device surround40:0 doesn't support sample format s16le, changed to s32le.

Dec 27 13:33:38 david-MacBookPro pulseaudio[1422]: Profile output:analog-surround-40 supported.

Dec 27 13:33:38 david-MacBookPro pulseaudio[1422]: Removing path 'analog-output' as it is a subset of 'analog-output-speaker'.



analog-surround-40 is a valid setting for Sound output in the Settings dialog - and is set  as the default output device.



_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux