You are not logged in.

#1 2020-10-25 07:37:53

ThaChillera
Member
Registered: 2018-04-08
Posts: 10

[SOLVED] OldSchool Runescape sound not working for a week

Since I updated sunday the 18th, sound hasn't functioned when playing oldschool runescape, using either the official or the runelite client.
In KDE's audio volume manager, it doesn't even show up as an application outputting volume like it used to!

At first I thought it was due to the alsa bugs people have been reporting, but downgrading didn't help and neither did the latest updates.

A comment if you can/can't reproduce would help, narrowing it down to a package or config issue. Simply installing the runelite package, starting it and commenting if the main menu plays sound would be tremendous!

Thanks a lot for your help

Last edited by ThaChillera (2020-10-26 20:40:12)

Offline

#2 2020-10-25 10:34:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,306

Re: [SOLVED] OldSchool Runescape sound not working for a week

Post during an attempted usage

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

Online

#3 2020-10-25 20:59:14

ThaChillera
Member
Registered: 2018-04-08
Posts: 10

Re: [SOLVED] OldSchool Runescape sound not working for a week

results fuser /dev/snd/*: (User column omitted, its all mine)

                       PID ACCESS COMMAND
/dev/snd/controlC0:   1187 F.... pulseaudio
/dev/snd/controlC1:   1187 F.... pulseaudio
/dev/snd/controlC2:   1187 F.... pulseaudio
/dev/snd/controlC3:   1187 F.... pulseaudio
/dev/snd/controlC4:   1187 F.... pulseaudio
/dev/snd/pcmC0D0p:   311150 F...m java
/dev/snd/pcmC3D0p:    1187 F...m pulseaudio

That second-last result is runescape, it's gone after closing runescape, and back after re-running. Seems like this could be a clue as to what is wrong (but I have no idea what to do with this, and a cursory internet search doesn't give any hints)

results pacmd list-sinks:

4 sink(s) available.
  * index: 1
        name: <alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 9049
        volume: front-left: 36700 /  56% / -15,11 dB,   front-right: 36700 /  56% / -15,11 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 25,93 ms
        max request: 3 KiB
        max rewind: 3 KiB
        monitor source: 1
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 18,75 ms; range is 2,00 .. 2000,00 ms
        card: 1 <alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                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 = "3"
                alsa.card_name = "USB Audio CODEC"
                alsa.long_card_name = "Burr-Brown from TI USB Audio CODEC at usb-0000:00:1a.0-1.6, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.0-usb-0:1.6:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/sound/card3"
                udev.id = "usb-Burr-Brown_from_TI_USB_Audio_CODEC-00"
                device.bus = "usb"
                device.vendor.id = "08bb"
                device.vendor.name = "Texas Instruments"
                device.product.id = "2902"
                device.product.name = "PCM2902 Audio Codec"
                device.serial = "Burr-Brown_from_TI_USB_Audio_CODEC"
                device.string = "front:3"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "PCM2902 Audio Codec Analog Stereo"
                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>
    index: 2
        name: <alsa_output.pci-0000_00_1b.0.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: 9039
        volume: front-left: 32768 /  50% / -18,06 dB,   front-right: 32768 /  50% / -18,06 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: 3
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        card: 2 <alsa_card.pci-0000_00_1b.0>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC892 Analog"
                alsa.id = "ALC892 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf4f20000 irq 53"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1d20"
                device.product.name = "C600/X79 series chipset High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "front:1"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
                        properties:

                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-lineout>
    index: 3
        name: <alsa_output.platform-snd_aloop.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9009
        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 request: 0 KiB
        max rewind: 0 KiB
        monitor source: 5
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        card: 4 <alsa_card.platform-snd_aloop.0>
        module: 10
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Loopback PCM"
                alsa.id = "Loopback PCM"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "Loopback"
                alsa.long_card_name = "Loopback 1"
                alsa.driver_name = "snd_aloop"
                device.bus_path = "platform-snd_aloop.0"
                sysfs.path = "/devices/platform/snd_aloop.0/sound/card0"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "352800"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card"
        ports:
                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

        active port: <analog-output>
    index: 11
        name: <alsa_output.pci-0000_03_00.1.hdmi-stereo-extra2>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9030
        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 request: 0 KiB
        max rewind: 0 KiB
        monitor source: 14
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1999,82 ms
        card: 0 <alsa_card.pci-0000_03_00.1>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 2"
                alsa.id = "HDMI 2"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "8"
                alsa.card = "2"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xf4e60000 irq 55"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:03:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:03:00.1/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aaf0"
                device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
                device.string = "hdmi:2,2"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo-extra2"
                device.profile.description = "Digital Stereo (HDMI 3)"
                device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Stereo (HDMI 3)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "XV240Y V"
        active port: <hdmi-output-2>

results of pacmd list-sink-inputs:

1 sink input(s) available.
    index: 0
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 1 <alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo>
        volume: front-left: 42358 /  65% / -11,37 dB,   front-right: 42358 /  65% / -11,37 dB
                balance 0,00
        muted: no
        current latency: 20,45 ms
        requested latency: 18,75 ms
        sample spec: float32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 15
        client: 9 <Firefox>
        properties:
                media.name = "AudioCallbackDriver"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1239"
                application.process.user = "me"
                application.process.host = "basingse"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "76eb6374a0964712bae9f281cff2deca"
                application.process.session_id = "2"
                application.icon_name = "firefox"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"

Thanks a bunch for your time, hopefully this can be easily resolved smile

Last edited by ThaChillera (2020-10-25 21:34:05)

Offline

#4 2020-10-25 21:10:38

ThaChillera
Member
Registered: 2018-04-08
Posts: 10

Re: [SOLVED] OldSchool Runescape sound not working for a week

It seems C0D0 means card zero device zero. listing all devices shows that that is a loopback PCM. doesn't really make sense, nor do I know how to force the use of a different card. Any ideas?

result of aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 4: Vive [HTC Vive], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#5 2020-10-25 22:38:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,306

Re: [SOLVED] OldSchool Runescape sound not working for a week

Generally don't load the snd_aloop module, or if you do pass it a index that does not make it the default card. What you should do regardless is install pulseaudio-alsa so that applications not having direct pulse access are redirected to pulseaudio by default and pulseaudio will allow you to have more fine grained control over what plays where.

Online

#6 2020-10-26 20:39:31

ThaChillera
Member
Registered: 2018-04-08
Posts: 10

Re: [SOLVED] OldSchool Runescape sound not working for a week

Fixed!

I installed the droidcam package from the AUR, which loaded the snd_aloop module. uninstalling it (couldn't unload, it had dependencies or something) solved the issue.
FYI I did have pulseaudio-alsa installed.

Thanks so much for your help, I learned a lot so hopefully I can resolve it myself next time smile

Offline

#7 2021-04-30 10:11:19

bananab0b
Member
Registered: 2021-02-24
Posts: 7

Re: [SOLVED] OldSchool Runescape sound not working for a week

Hi @ThaChillera, I'm having a similar problem with no sound in Runelite. I also have droidcam installed so maybe it is due to the snd_aloop module as well. Could you please specify a bit how you uninstalled it? Running 'rmmod snp_aloop' fails beacuse it is in use. Also, do you know if removing it breaks droidcam?

Thanks!

Last edited by bananab0b (2021-04-30 10:14:52)

Offline

#8 2021-04-30 11:24:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,306

Re: [SOLVED] OldSchool Runescape sound not working for a week

I'm assuming they've uninstalled droidcam, if you just want to change the index snd_aloop occupies you can do so with a config in /etc/modprobe.d/orderAloop.conf or so

options snd_aloop index=-2

should prevent it from occupying the card slot 0 and pick something else that is free.

Online

#9 2021-05-07 10:49:22

bananab0b
Member
Registered: 2021-02-24
Posts: 7

Re: [SOLVED] OldSchool Runescape sound not working for a week

Hi @V1del and thanks for the suggestion! Didn't work unfortunately though. It's probably something else that's causing it then. I guess I will just have to live without sounds in that game, as I can't really be bothered to debug this further big_smile

Offline

#10 2021-07-16 22:02:41

Ammako
Member
Registered: 2021-07-16
Posts: 2

Re: [SOLVED] OldSchool Runescape sound not working for a week

As mentioned above, you would likely benefit from installing pulseaudio-alsa

(As in, that fixed it for me.)

Last edited by Ammako (2021-07-16 22:11:43)

Offline

Board footer

Powered by FluxBB