You are not logged in.

#1 2018-05-15 17:43:57

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

No sound in KDE applications

I have a freshly installed Arch with KDE (plasma-desktop pkg) and I don't have sound in KDE application. Mainly the notifications sound. But there is sound in chromium, firefox, GTK+ apps, deadbeef(pulse output) and mpv(pulse output).

There are no cards except Default in System Settings - Multimedia - Device Preference. The Test button doesn't work either.

On the Audio Hardware Setup tab, the Build-in Audio is always selected and I can't choose my own card (it being reset after System Setting window restart).

I'm using the Focusrite 2i2 USB sound card with the GStreamer Phonon backend.

I've tried with and without pulseaudio.

I have Gentoo installed in parallel (no systemd/pulseaudio) and sound works in KDE apps. So it's not a hardware problem.

Offline

#2 2018-05-16 11:04:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,246

Re: No sound in KDE applications

Install relevant gstreamer plugins, primarily for phonon's pulse support it is useful to have

gst-plugins-good

installed, more plugins for more codecs wouldn't hurt either, but specifically for pulseaudio integration gst-plugins-good is required.

Last edited by V1del (2018-05-16 11:06:44)

Offline

#3 2018-05-16 11:29:25

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: No sound in KDE applications

Thanks. After installing gst-plugins-good the devices appear in System Settings, but still no sound.

bad and ungly doesn't help either.

Offline

#4 2018-05-16 11:32:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,246

Re: No sound in KDE applications

Post

sudo fuser -v /dev/snd/*
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

while playing back something that should produce sound but doesn't.

Offline

#5 2018-05-16 11:41:25

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: No sound in KDE applications

% sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  razr        608 F.... pulseaudio
/dev/snd/controlC1:  razr        608 F.... pulseaudio
/dev/snd/controlC2:  razr        608 F.... pulseaudio
% pacmd list-cards
3 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1b.0>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7110000 irq 28"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1e20"
                device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
                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: no)
                output:analog-stereo: Analog Stereo Output (priority 6000, available: no)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: no)
                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: <off>
        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: no)
                        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: no)
                        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:

    index: 1
        name: <alsa_card.pci-0000_02_00.1>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:02:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.0/0000:02:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fba"
                device.string = "1"
                device.description = "HDA NVidia"
                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)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, 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"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "LG Ultra HD
 "
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 2
        name: <alsa_card.usb-Focusrite_Scarlett_2i2_USB-00>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "2"
                alsa.card_name = "Scarlett 2i2 USB"
                alsa.long_card_name = "Focusrite Scarlett 2i2 USB at usb-0000:00:1d.0-1.5, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1d.0-usb-0:1.5:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/sound/card2"
                udev.id = "usb-Focusrite_Scarlett_2i2_USB-00"
                device.bus = "usb"
                device.vendor.id = "1235"
                device.vendor.name = "Focusrite-Novation"
                device.product.id = "8016"
                device.product.name = "Focusrite Scarlett 2i2"
                device.serial = "Focusrite_Scarlett_2i2_USB"
                device.string = "2"
                device.description = "Focusrite Scarlett 2i2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        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)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo>
        sinks:
                alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo/#0: Focusrite Scarlett 2i2 Analog Stereo
        sources:
                alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo.monitor/#0: Monitor of Focusrite Scarlett 2i2 Analog Stereo
        ports:
                analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
                        properties:

                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:
% pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9049
        volume: front-left: 34077 /  52% / -17.04 dB,   front-right: 34077 /  52% / -17.04 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: s32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 2 <alsa_card.usb-Focusrite_Scarlett_2i2_USB-00>
        module: 8
        properties:
                alsa.resolution_bits = "32"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "Scarlett 2i2 USB"
                alsa.long_card_name = "Focusrite Scarlett 2i2 USB at usb-0000:00:1d.0-1.5, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1d.0-usb-0:1.5:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/sound/card2"
                udev.id = "usb-Focusrite_Scarlett_2i2_USB-00"
                device.bus = "usb"
                device.vendor.id = "1235"
                device.vendor.name = "Focusrite-Novation"
                device.product.id = "8016"
                device.product.name = "Focusrite Scarlett 2i2"
                device.serial = "Focusrite_Scarlett_2i2_USB"
                device.string = "front:2"
                device.buffering.buffer_size = "705600"
                device.buffering.fragment_size = "352800"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Focusrite Scarlett 2i2 Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB1235:8016"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

        active port: <analog-output>
% pacmd list-sink-inputs
1 sink input(s) available.
    index: 2
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: CORKED
        sink: 0 <alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 0.00 ms
        requested latency: 116.05 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 10
        client: 12 <dolphin>
        properties:
                media.name = "pulsesink probe"
                application.name = "dolphin"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "794"
                application.process.user = "razr"
                application.process.host = "razr"
                application.process.binary = "dolphin"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "7e5c8a77d2d84ada8497b71a42482589"
                application.process.session_id = "c1"
                module-stream-restore.id = "sink-input-by-application-name:dolphin"

Offline

#6 2018-05-16 11:55:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,246

Re: No sound in KDE applications

That looks somewhat alright apart from the corked and idle states on the sink. FWIW if you've just installed the gstreamer plugins you might have to restart plasma for full effect. Otherwise, to rule out corking issues comment/remove

load-module module-role-cork

from your /etc/default.pa are you running some VOIP client like teamspeaker/mumble or similar in the background?

Last edited by V1del (2018-05-16 11:55:44)

Offline

#7 2018-05-16 12:08:58

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: No sound in KDE applications

I've rebooted after installing the gst plugins. No effect.

are you running some VOIP client like teamspeaker/mumble or similar in the background?

No.

Offline

#8 2018-05-16 12:17:03

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: No sound in KDE applications

Commented module-role-cork out - no effect.

Also, after pressing the Test button in System Setting's Multimedia tab there are no changes in pulseaudio applications list. So it probably doesn't use pulse at all.

Offline

#9 2018-05-16 12:41:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,246

Re: No sound in KDE applications

It should be using it, and at least the dolphin invocation you used to test does register on the pulse server. You did run the fuser command as root? Can you repost these outputs during playback of something that works?

Offline

#10 2018-05-16 12:47:41

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: No sound in KDE applications

Here is with DeadBeef playing:

% sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  razr        662 F.... pulseaudio
/dev/snd/controlC1:  razr        662 F.... pulseaudio
/dev/snd/controlC2:  razr        662 F.... pulseaudio
/dev/snd/pcmC2D0p:   razr        662 F...m pulseaudio
% pacmd list-cards
3 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1b.0>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7110000 irq 28"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1e20"
                device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
                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: no)
                output:analog-stereo: Analog Stereo Output (priority 6000, available: no)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: no)
                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: <off>
        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: no)
                        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: no)
                        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:

    index: 1
        name: <alsa_card.pci-0000_02_00.1>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:02:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.0/0000:02:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fba"
                device.string = "1"
                device.description = "HDA NVidia"
                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)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, 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"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "LG Ultra HD
 "
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 2
        name: <alsa_card.usb-Focusrite_Scarlett_2i2_USB-00>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "2"
                alsa.card_name = "Scarlett 2i2 USB"
                alsa.long_card_name = "Focusrite Scarlett 2i2 USB at usb-0000:00:1d.0-1.5, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1d.0-usb-0:1.5:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/sound/card2"
                udev.id = "usb-Focusrite_Scarlett_2i2_USB-00"
                device.bus = "usb"
                device.vendor.id = "1235"
                device.vendor.name = "Focusrite-Novation"
                device.product.id = "8016"
                device.product.name = "Focusrite Scarlett 2i2"
                device.serial = "Focusrite_Scarlett_2i2_USB"
                device.string = "2"
                device.description = "Focusrite Scarlett 2i2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        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)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo>
        sinks:
                alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo/#0: Focusrite Scarlett 2i2 Analog Stereo
        sources:
                alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo.monitor/#0: Monitor of Focusrite Scarlett 2i2 Analog Stereo
        ports:
                analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
                        properties:

                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:
% pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: 
        priority: 9049
        volume: front-left: 43910 /  67% / -10.43 dB,   front-right: 43910 /  67% / -10.43 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 94.05 ms
        max request: 36 KiB
        max rewind: 689 KiB
        monitor source: 0
        sample spec: s32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 2
        configured latency: 105.00 ms; range is 0.50 .. 2000.00 ms
        card: 2 <alsa_card.usb-Focusrite_Scarlett_2i2_USB-00>
        module: 8
        properties:
                alsa.resolution_bits = "32"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "Scarlett 2i2 USB"
                alsa.long_card_name = "Focusrite Scarlett 2i2 USB at usb-0000:00:1d.0-1.5, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1d.0-usb-0:1.5:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/sound/card2"
                udev.id = "usb-Focusrite_Scarlett_2i2_USB-00"
                device.bus = "usb"
                device.vendor.id = "1235"
                device.vendor.name = "Focusrite-Novation"
                device.product.id = "8016"
                device.product.name = "Focusrite Scarlett 2i2"
                device.serial = "Focusrite_Scarlett_2i2_USB"
                device.string = "front:2"
                device.buffering.buffer_size = "705600"
                device.buffering.fragment_size = "352800"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Focusrite Scarlett 2i2 Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB1235:8016"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

        active port: <analog-output>
% pacmd list-sink-inputs
2 sink input(s) available.
    index: 7
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: CORKED
        sink: 0 <alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 0.00 ms
        requested latency: 116.05 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 10
        client: 13 <dolphin>
        properties:
                media.name = "pulsesink probe"
                application.name = "dolphin"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "789"
                application.process.user = "razr"
                application.process.host = "razr"
                application.process.binary = "dolphin"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "7e5c8a77d2d84ada8497b71a42482589"
                application.process.session_id = "c1"
                module-stream-restore.id = "sink-input-by-application-name:dolphin"
    index: 50
        driver: <protocol-native.c>
        flags: 
        state: RUNNING
        sink: 0 <alsa_output.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 85.28 ms
        requested latency: 105.00 ms
        sample spec: float32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 10
        client: 60 <Deadbeef>
        properties:
                media.name = "Music"
                application.name = "Deadbeef"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "704"
                application.process.user = "razr"
                application.process.host = "razr"
                application.process.binary = "deadbeef"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "7e5c8a77d2d84ada8497b71a42482589"
                application.process.session_id = "c1"
                media.role = "music"
                application.icon_name = "deadbeef"
                module-stream-restore.id = "sink-input-by-media-role:music"

Offline

#11 2018-05-16 13:17:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,246

Re: No sound in KDE applications

That looks alright, really the issue here is that your dolphin is being corked, the question is why and from what, what does

pacmd list-source-outputs
pactl list modules

give?

Offline

#12 2018-05-16 13:27:05

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: No sound in KDE applications

% pacmd list-source-outputs
0 source output(s) available
% pactl list modules
Module #0
        Name: module-device-restore
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "11.1"

Module #1
        Name: module-stream-restore
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "11.1"

Module #2
        Name: module-card-restore
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "11.1"

Module #3
        Name: module-augment-properties
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "11.1"

Module #4
        Name: module-switch-on-port-available
        Argument: 
        Usage counter: n/a
        Properties:


Module #5
        Name: module-udev-detect
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Detect available audio hardware and load matching drivers"
                module.version = "11.1"

Module #6
        Name: module-alsa-card
        Argument: device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" 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"
        Usage counter: 0
        Properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "11.1"

Module #7
        Name: module-alsa-card
        Argument: device_id="1" name="pci-0000_02_00.1" card_name="alsa_card.pci-0000_02_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"
        Usage counter: 0
        Properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "11.1"

Module #8
        Name: module-alsa-card
        Argument: device_id="2" name="usb-Focusrite_Scarlett_2i2_USB-00" card_name="alsa_card.usb-Focusrite_Scarlett_2i2_USB-00" 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"
        Usage counter: 1
        Properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "11.1"

Module #9
        Name: module-esound-protocol-unix
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "ESOUND protocol (UNIX sockets)"
                module.version = "11.1"

Module #10
        Name: module-native-protocol-unix
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "11.1"

Module #11
        Name: module-gconf
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "GConf Adapter"
                module.version = "11.1"

Module #12
        Name: module-default-device-restore
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "11.1"

Module #13
        Name: module-rescue-streams
        Argument: 
        Usage counter: n/a
        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 = "11.1"

Module #14
        Name: module-always-sink
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Always keeps at least one sink loaded even if it's a null one"
                module.version = "11.1"

Module #15
        Name: module-intended-roles
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based on intended roles of devices"
                module.version = "11.1"

Module #16
        Name: module-suspend-on-idle
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "11.1"

Module #17
        Name: module-console-kit
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each ConsoleKit session of this user"
                module.version = "11.1"

Module #18
        Name: module-systemd-login
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "11.1"

Module #19
        Name: module-position-event-sounds
        Argument: 
        Usage counter: n/a
        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 = "11.1"

Module #20
        Name: module-filter-heuristics
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "11.1"

Module #21
        Name: module-filter-apply
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "11.1"

Module #22
        Name: module-x11-publish
        Argument: display=:0
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "11.1"

Module #23
        Name: module-device-manager
        Argument: do_routing=1
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
                module.version = "11.1"

Module #24
        Name: module-x11-xsmp
        Argument: display=:0 session_manager=local/razr:@/tmp/.ICE-unix/619,unix/razr:/tmp/.ICE-unix/619
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "11.1"

Module #25
        Name: module-cli-protocol-unix
        Argument: 
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "11.1"

Offline

Board footer

Powered by FluxBB