Mageia6 pulseaudio reverts on reboot

Mageia6 pulseaudio reverts on reboot

Postby griffin » Aug 28th, '17, 07:41

The sound configuration in Mageia 6 Pulseaudio reverts to default settings on reboot. I can set the sound card and output to a configuration that works using the Plasma System Settings Multimedia controls, but I have to do it all over again after every reboot. Saving the configuration using the "alsactl store" command doesn't work, whereas that worked in the past. Sound just worked in Mageia 5: I set it once and the system remembered the settings and restored them on each reboot, and this was confirmed by the test sound playing when the Mageia Welcome panel was shown, but that no longer plays.
Last edited by griffin on Aug 30th, '17, 03:31, edited 1 time in total.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby doktor5000 » Aug 28th, '17, 22:33

What do you change in particular, the default sound device? And you change that from what to what?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Aug 29th, '17, 02:09

Plasma System Settings, Multimedia has three subsections - Audio Volume, Audio and Video, and CDDB Retrieval - the last of which is irrelevant for sound configuration.
Upon reboot, the Audio Volume subsection shows five tabs: Applications, Recording, Output Devices, Input Devices, and Configuration. Of these, Applications shows Notification Sounds at 100% volume (but the Mageia Welcome music was not heard on startup). The next tab, Recording, shows no applications recording audio. The next tab, Output Devices, shows Built-in Audio Analog Stereo with the speaker icon displaying a red dash (for muted) and the Port with Line Out selected but the volume slider greyed-out at 100%, and the port drop-down list also shows Headphones; selecting Headphones shows the volume slider not greyed-out at 50%, but the speaker icon still shows the red dash (muted). The next tab, Input Devices, shows no input devices available. The next tab, Configuration, shows two devices: on top is Barts HDMI Audio (Radeon HD 6800 Series), my video card, with the Profile Off; and below that, Built-in Audio, with the Profile Analog Stereo Output.
The Audio and Video subsection shows three tabs: Device Preference, Audio Hardware Setup, and Backend. Taking these back to front, the Backend tab shows Phonon GStreamer above Phonon VLC. I believe that Phonon VLC was on top initially and I had to select Phonon GStreamer and use the ^Prefer button to set that as the preferred backend. The Audio Hardware Setup tab shows the Sound Card as the Barts HDMI Audio (Radeon HD 6800 Series) device with the Profile Off and the Device Configuration area below the Hardware area greyed-out. The Sound Card drop-down list also contains the Built-in Audio device with the Profile Analog Stereo Output, and I have to select the Built-in Audio device as the Sound Card here following each reboot. When I do that, the Device Configuration area is displayed with the Sound Device shown as Playback (Built-in Audio Analog Stereo) and the test panel below it, and I can click on the two speaker buttons to hear the test sounds. The Device Preference tab shows the Built-in Audio Analog Stereo device above the Barts HDMI Audio (Radeon HD 6800 Series), which is greyed-out, and I have to click on the Built-in Audio Analog Stereo device to highlight the Test button below. Clicking the Test button plays the test sound. Clicking on the Apply Device List To... button enables selecting (all) playback categories.
After making the changes described above, I click on Apply. There is a (load) Defaults button, but not a Store Settings (as default) button, so after clicking on Apply I just close the window.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby doktor5000 » Aug 30th, '17, 01:25

Can you post the output as regular user of
Code: Select all
pacmd ls
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Aug 30th, '17, 03:19

Note: Sound is working.
Code: Select all
[ram@eris ~]$ pacmd ls
Memory blocks currently allocated: 140, size: 1.5 MiB.
Memory blocks allocated during the whole lifetime: 1391937, size: 3.4 GiB.
Memory blocks imported from other processes: 128, size: 1.3 MiB.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 11.5 KiB.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_0e.1.analog-stereo
Default source name: alsa_output.pci-0000_00_0e.1.analog-stereo.monitor
Memory blocks of type POOL: 12 allocated/779541 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/1877 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/441972 accumulated.
Memory blocks of type IMPORTED: 128 allocated/168547 accumulated.
25 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "10.0.0-1.1.mga6"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "10.0.0-1.1.mga6"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "10.0.0-1.1.mga6"
    index: 3
        name: <module-augment-properties>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "10.0.0-1.1.mga6"
    index: 4
        name: <module-switch-on-port-available>
        argument: <>
        used: -1
        load once: no
        properties:

    index: 5
        name: <module-udev-detect>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Detect available audio hardware and load matching drivers"
                module.version = "10.0.0-1.1.mga6"
    index: 6
        name: <module-alsa-card>
        argument: <device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
        used: 0
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "10.0.0-1.1.mga6"
    index: 7
        name: <module-alsa-card>
        argument: <device_id="0" name="pci-0000_00_0e.1" card_name="alsa_card.pci-0000_00_0e.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
        used: 2
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "10.0.0-1.1.mga6"
    index: 8
        name: <module-esound-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ESOUND protocol (UNIX sockets)"
                module.version = "10.0.0-1.1.mga6"
    index: 9
        name: <module-native-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "10.0.0-1.1.mga6"
    index: 10
        name: <module-gconf>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "GConf Adapter"
                module.version = "10.0.0-1.1.mga6"
    index: 11
        name: <module-default-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "10.0.0-1.1.mga6"
    index: 12
        name: <module-rescue-streams>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
                module.version = "10.0.0-1.1.mga6"
    index: 13
        name: <module-always-sink>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Always keeps at least one sink loaded even if it's a null one"
                module.version = "10.0.0-1.1.mga6"
    index: 14
        name: <module-intended-roles>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based on intended roles of devices"
                module.version = "10.0.0-1.1.mga6"
    index: 15
        name: <module-suspend-on-idle>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "10.0.0-1.1.mga6"
    index: 16
        name: <module-systemd-login>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "10.0.0-1.1.mga6"
    index: 17
        name: <module-position-event-sounds>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
                module.version = "10.0.0-1.1.mga6"
    index: 18
        name: <module-role-cork>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Mute & cork streams with certain roles while others exist"
                module.version = "10.0.0-1.1.mga6"
    index: 19
        name: <module-filter-heuristics>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "10.0.0-1.1.mga6"
    index: 20
        name: <module-filter-apply>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "10.0.0-1.1.mga6"
    index: 21
        name: <module-x11-publish>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "10.0.0-1.1.mga6"
    index: 22
        name: <module-device-manager>
        argument: <do_routing=1>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
                module.version = "10.0.0-1.1.mga6"
    index: 23
        name: <module-x11-xsmp>
        argument: <display=:0 session_manager=local/eris:@/tmp/.ICE-unix/2427,unix/eris:/tmp/.ICE-unix/2427>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "10.0.0-1.1.mga6"
    index: 24
        name: <module-cli-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "10.0.0-1.1.mga6"
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_0e.1.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9959
        volume: front-left: 45875 /  70% / -9.29 dB,   front-right: 45875 /  70% / -9.29 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 2
        configured latency: 0.00 ms; range is 0.50 .. 1837.33 ms
        card: 1 <alsa_card.pci-0000_00_0e.1>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "AD1988B Analog"
                alsa.id = "AD1988B Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfe020000 irq 20"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:0e.1"
                sysfs.path = "/devices/pci0000:00/0000:00:0e.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0371"
                device.product.name = "MCP55 High Definition Audio"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                alsa.mixer_name = "Analog Devices AD1988B"
                alsa.components = "HDA:11d4198b,104381f2,00100300"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
                        properties:

                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-headphones>
1 source(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_0e.1.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1950
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 1837.33 ms
        monitor_of: 0
        card: 1 <alsa_card.pci-0000_00_0e.1>
        module: 7
        properties:
                device.description = "Monitor of Built-in Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfe020000 irq 20"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:0e.1"
                sysfs.path = "/devices/pci0000:00/0000:00:0e.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0371"
                device.product.name = "MCP55 High Definition Audio"
                device.form_factor = "internal"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
11 client(s) logged in.
    index: 0
        driver: <module-systemd-login.c>
        owner module: 16
        properties:
                application.name = "Login Session c2"
                systemd-login.session = "c2"
    index: 4
        driver: <module-x11-xsmp.c>
        owner module: 23
        properties:
                application.name = "XSMP Session on KDE as 1065726973000150396970300000024270005"
                xsmp.vendor = "KDE"
                xsmp.client.id = "1065726973000150396970300000024270005"
    index: 5
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                window.x11.display = ":0"
                window.x11.screen = "0"
                application.process.id = "2535"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
                application.icon_name = "firefox"
    index: 7
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Thunderbird"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                window.x11.display = ":0"
                window.x11.screen = "0"
                application.process.id = "2544"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "thunderbird"
                application.language = "en_US.UTF-8"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
                application.icon_name = "thunderbird"
    index: 8
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "QPulse"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "2476"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "plasmashell"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
    index: 9
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.icon_name = "firefox"
                application.version = "52.3.0"
                application.process.id = "2535"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
    index: 10
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Chrome input"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "4372"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "skypeforlinux"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
                application.icon_name = "skypeforlinux"
    index: 48
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "2535"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
                application.icon_name = "firefox"
    index: 50
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "libcanberra"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.version = "0.30"
                application.id = "org.freedesktop.libcanberra"
                application.process.id = "2476"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "plasmashell"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
    index: 51
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Thunderbird"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.icon_name = "thunderbird"
                application.version = "52.3.0"
                application.process.id = "2544"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "thunderbird"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
    index: 52
        driver: <cli.c>
        owner module: 24
        properties:
                application.name = "UNIX socket client"
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfdffc000 irq 29"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:04.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aa88"
                device.product.name = "Barts HDMI Audio [Radeon HD 6800 Series]"
                device.string = "1"
                device.description = "Barts HDMI Audio [Radeon HD 6800 Series]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.pci-0000_00_0e.1>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfe020000 irq 20"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:0e.1"
                sysfs.path = "/devices/pci0000:00/0000:00:0e.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0371"
                device.product.name = "MCP55 High Definition Audio"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: unknown)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: unknown)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: unknown)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
                output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_0e.1.analog-stereo/#0: Built-in Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_0e.1.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
                        properties:

                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

2 sink input(s) available.
    index: 30
        driver: <protocol-native.c>
        flags: START_CORKED
        state: CORKED
        sink: 0 <alsa_output.pci-0000_00_0e.1.analog-stereo>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 81.06 ms
        requested latency: 25.01 ms
        sample spec: float32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: ffmpeg
        module: 9
        client: 48 <Firefox>
        properties:
                media.name = "AudioStream"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "2535"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
                application.icon_name = "firefox"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 84
        driver: <protocol-native.c>
        flags: START_CORKED
        state: CORKED
        sink: 0 <alsa_output.pci-0000_00_0e.1.analog-stereo>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 96.96 ms
        requested latency: 25.01 ms
        sample spec: float32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: ffmpeg
        module: 9
        client: 48 <Firefox>
        properties:
                media.name = "AudioStream"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "2535"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
                application.icon_name = "firefox"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
0 source output(s) available.
1 cache entrie(s) available.
    name: <audio-volume-change>
        index: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        length: 11776
        duration: 0.1 s
        volume: n/a
                balance 0.00
        lazy: no
        filename: <n/a>
        properties:
                media.role = "event"
                event.id = "audio-volume-change"
                event.description = "Volume Control Feedback Sound"
                media.name = "audio-volume-change"
                media.filename = "/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"
                application.name = "libcanberra"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.version = "0.30"
                application.id = "org.freedesktop.libcanberra"
                application.process.id = "2476"
                application.process.user = "ram"
                application.process.host = "eris"
                application.process.binary = "plasmashell"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "416bd733c7be45629ee885ad9e9d520d"
                application.process.session_id = "c2"
[ram@eris ~]$
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Sep 4th, '17, 15:25

Here are the messages that appear in the systemd journal as the result of using System Settings, Multimedia to reset the sound configuration as described above:
Code: Select all
Sep 02 23:42:16 eris systemsettings5[3642]: org.kde.kcoreaddons: Error loading plugin "kcm_pulseaudio" "The shared library was not found."
                                            Plugin search paths are ("/usr/lib64/qt5/plugins", "/usr/bin")
                                            The environment variable QT_PLUGIN_PATH might be not correctly set
Sep 02 23:42:17 eris systemsettings5[3642]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Sep 02 23:42:17 eris systemsettings5[3642]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_0e.1.analog-stereo.monitor"
Sep 02 23:42:39 eris systemsettings5[3642]: "/home/ram/.config/kde.org/libphonon.conf"
Sep 02 23:42:39 eris systemsettings5[3642]: libpaths ("/usr/lib64/qt5/plugins", "/usr/bin")
Sep 02 23:42:39 eris systemsettings5[3642]: void BackendSelection::load() "/usr/bin/phonon4qt5_backend" does not exist
Sep 02 23:42:39 eris systemsettings5[3642]: qooooooooo
Sep 02 23:42:39 eris systemsettings5[3642]: "/home/ram/.config/kde.org/libphonon.conf"
Sep 02 23:42:39 eris systemsettings5[3642]: libpaths ("/usr/lib64/qt5/plugins", "/usr/bin")
Sep 02 23:42:39 eris systemsettings5[3642]: void BackendSelection::load() "/usr/bin/phonon4qt5_backend" does not exist
Sep 02 23:42:39 eris systemsettings5[3642]: qooooooooo
Sep 02 23:42:39 eris systemsettings5[3642]: qooooooooo
Sep 02 23:42:40 eris systemsettings5[3642]: context_state_callback "Terminated"
Sep 02 23:42:40 eris systemsettings5[3642]: context_state_callback "Terminated"
Sep 02 23:42:40 eris systemsettings5[3642]: context_state_callback "Terminated"
Sep 02 23:42:40 eris systemsettings5[3642]: Doing update 0
Sep 02 23:42:40 eris systemsettings5[3642]: Got info about card "Barts HDMI Audio [Radeon HD 6800 Series]"
Sep 02 23:42:40 eris systemsettings5[3642]: Doing update 0
Sep 02 23:42:40 eris systemsettings5[3642]: Got info about card "Built-in Audio"
Sep 02 23:42:40 eris systemsettings5[3642]: Got info about sink "Built-in Audio Analog Stereo"
Sep 02 23:42:40 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:42:40 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:42:40 eris systemsettings5[3642]: Doing update 0
Sep 02 23:43:00 eris systemsettings5[3642]: "Updating ports for device 'Built-in Audio Analog Stereo' (2 ports available)"
Sep 02 23:43:00 eris systemsettings5[3642]: Doing update 1
Sep 02 23:43:08 eris systemsettings5[3642]: Got info about sink "Built-in Audio Analog Stereo"
Sep 02 23:43:08 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:08 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:08 eris systemsettings5[3642]: Got info about sink "Built-in Audio Analog Stereo"
Sep 02 23:43:08 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:08 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:08 eris systemsettings5[3642]: Got info about sink "Built-in Audio Analog Stereo"
Sep 02 23:43:08 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:22 eris systemsettings5[3642]: Got info about sink "Built-in Audio Analog Stereo"
Sep 02 23:43:22 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:27 eris systemsettings5[3642]: Got info about sink "Built-in Audio Analog Stereo"
Sep 02 23:43:27 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:27 eris systemsettings5[3642]: "Want ID: No; Have ID: No"
Sep 02 23:43:30 eris systemsettings5[3642]: void BackendSelection::save()
Sep 02 23:43:30 eris systemsettings5[3642]: ~~~~~~~~~~~~~~
Sep 02 23:43:30 eris systemsettings5[3642]: "/home/ram/.config/kde.org/libphonon.conf"
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby doktor5000 » Sep 4th, '17, 20:40

I can only check once I'm at an mga6 box. But at least the first lines from systemd journal regarding the shared library and then phonon backend are worrisome, I'd say.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Sep 4th, '17, 21:20

This is on a fresh install of Mageia 6, so perhaps the Plasma install process missed that library? The phonon sound backend configuration is saved successfully in ~/.config/kde.org/libphonon.conf after the first time it is adjusted so that doesn't need to be redone after every reboot:
Code: Select all
[root@eris ram]# cat ./.config/kde.org/libphonon.conf
[Backends]
1\iid=org.kde.phonon.gstreamer
2\iid=org.kde.phonon.vlc
size=2

[VideoCaptureDevice]
Category_-1=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\0\0\0\0\0)
[root@eris ram]#

But the rest of the pulseaudio sound configuration isn't saved and restored after reboot, apparently, despite the fact that the service alsa-state is running and the service alsa-restore is run at boot.
Last edited by griffin on Sep 4th, '17, 22:36, edited 1 time in total.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby doktor5000 » Sep 4th, '17, 21:53

griffin wrote:despite the fact that the service alsa-state is running and the service alsa-restore is run at boot.

That is pretty much irrelevant, it was only relevant back when there was no pulseaudio with pure alsa.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Sep 4th, '17, 22:35

Okay, but why does systemd still run those services if they are irrelevant with pulseaudio? Where does pulseaudio store the system sound configuration anyway? I haven't stumbled across that information yet, but I'm still looking.
Last edited by doktor5000 on Sep 4th, '17, 23:15, edited 1 time in total.
Reason: removed fullquote
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby doktor5000 » Sep 4th, '17, 23:19

Because nobody cared about removing them, because the maintainer didn't find time for it, because they do no harm? Could be several reasons.

And pulse stores the system configuration under /etc/pulse/default.pa and then the rest is per-user in ~/.config/pulse
See e.g. https://wiki.archlinux.org/index.php/Pu ... tion_files or https://wiki.archlinux.org/index.php/Pu ... figuration
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Sep 5th, '17, 01:22

doktor5000 wrote:pulse stores the system configuration under /etc/pulse/default.pa and then the rest is per-user in ~/.config/pulse <snip>

Thanks. If I study those configuration files and play around for a few days or weeks maybe I can figure out how to make sound work consistently on my system. However, I would rather have the System Settings Multimedia tool save the sound settings like it should, rather than having to revisit it and reset the sound configuration every time I reboot the system.

It's not entirely unreasonable of Pulseaudio to make the sound hardware on a (once up a time expensive) graphics card the default output device, but... once I reconfigure the multimedia system to use the internal sound hardware instead, the configuration tool should save that as the new default configuration. Using the Multimedia tool should simply work.

I'm not going to try to figure out how to beat the sound system into submission by editing the system configuration files.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: Mageia6 pulseaudio reverts on reboot

Postby doktor5000 » Sep 5th, '17, 18:05

griffin wrote:It's not entirely unreasonable of Pulseaudio to make the sound hardware on a (once up a time expensive) graphics card the default output device, but... once I reconfigure the multimedia system to use the internal sound hardware instead, the configuration tool should save that as the new default configuration. Using the Multimedia tool should simply work.

I believe the easier way to do that is via kmix and select the default output.

But you can also change the priority to be lesser for the HDMI output, but I've got to look in my Mageia notes how to do that "properly"
A similar form of the problem you describe I believe was reported as https://bugs.freedesktop.org/show_bug.cgi?id=93946
You could also take a look at the hints in e.g. https://bbs.archlinux.org/viewtopic.php?id=164868
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia6 pulseaudio reverts on reboot

Postby griffin » Sep 7th, '17, 08:46

doktor5000 wrote:
griffin wrote:Using the Multimedia tool should simply work.

I believe the easier way to do that is via kmix and select the default output.

Kmix is deprecated now, apparently, since it's not included in the latest Plasma desktop. It operates on the alsa configuration. And that still means revisiting the sound configuration after every reboot. That's often enough to be rather annoying, if one reboots every few months after a kernel upgrade. It's also a step back from sound that stayed working in Mageia 5.
doktor5000 wrote:A similar form of the problem you describe I believe was reported as https://bugs.freedesktop.org/show_bug.cgi?id=93946 [.] You could also take a look at the hints in e.g. https://bbs.archlinux.org/viewtopic.php?id=164868

Thank you. However, while those are interesting and instructive, they don't resolve my particular problem in Mageia 6. Pulseaudio is built on top of alsa, so the alsa tools can't be expected to control it, although they're kept for legacy use. It would be nice if pulseaudio provided a complete solution, but it doesn't, even though it offers some low level pieces. The Plasma desktop comes closest to a solution with its System Settings Multimedia tool, but that doesn't save changes. Well, it does save the Phonon backend selection in ~/.config/systemsettingsrc (a poorly chosen name there, by the way), but that's all. As I see it, the Multimedia setup tool should save any changes that the user makes to the pulseaudio configuration in such a way that pulseaudio uses that modified configuration when it starts after a reboot.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron