The problem is in an incorrect interaction between KDE's KCM audio configuration module and PulseAudio's default configuration in Ubuntu:
* As per bug #1702794, the default PA configuration on Ubuntu enables the "switch-on-connect" module by default (in /etc/pulse/default.pa) * "switch-on-connect" can only be loaded once, and if it gets loaded a second time, PulseAudio terminates. * The KCM module for audio configuration has an option under "Advanced" to "Automatically switch all running streams when a new output becomes available". This checkbox updates the PulseAudio gconf configuration /system/pulseaudio/modules/switch-on-connect/enabled and sets it to "true". What that is set, when the PA gconf module gets loaded, it tries to load the switch-on-connect module again - cause PA to crash. The fix should be - IMHO: - in PulseAudio don't crash when switch-on-connect gets loaded a second time, just ignore it as it is 99.99999% a configuration mistake and should not be fatal. - in PulseAudio gconf module, when deciding if to load modules specified in the gconf configuration, don't try to load modules already loaded. - in the Audio Volume KCM module, check the status of switch-on-connect in PA's default configuration and if it is enabled, show the "Automatically switch all running streams..." checkbox as checked and disabled. Only have the checkbox editable if the default PA configuration does not have switch-on-connect enabled. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1720519 Title: KDE/Kubuntu: Module "module-switch-on-connect" should be loaded once at most. Refusing to load. Status in PulseAudio: Confirmed Status in pulseaudio package in Ubuntu: Triaged Bug description: Pulseaudio daemon does not start after the update to Kubuntu 17.10 beta2, because the module fails to load although it is there. From 'pulseaudio -vv' E: [pulseaudio] module.c: Module "module-switch-on-connect" should be loaded once at most. Refusing to load. E: [pulseaudio] main.c: Module load failed. E: [pulseaudio] main.c: Failed to initialize daemon. PS sorry I am not a seasoned bug reporter. Let me know if I can provide more info. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: pulseaudio 1:10.0-2ubuntu3 ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3 Uname: Linux 4.13.0-12-generic x86_64 ApportVersion: 2.20.7-0ubuntu1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/pcmC0D0p: ben 2809 F...m chrome /dev/snd/controlC0: ben 2809 F.... chrome /dev/snd/timer: ben 2809 f.... chrome CurrentDesktop: KDE Date: Sat Sep 30 11:20:55 2017 InstallationDate: Installed on 2017-04-07 (175 days ago) InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Beta amd64 (20170321) PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. SourcePackage: pulseaudio UpgradeStatus: Upgraded to artful on 2017-09-30 (0 days ago) dmi.bios.date: 10/29/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.10 dmi.board.name: B150M-ITX dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.10:bd10/29/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB150M-ITX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.family: To Be Filled By O.E.M. dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/1720519/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp