You are not logged in.

#1 2023-10-15 18:25:28

860lacov
Member
Registered: 2020-05-02
Posts: 467

[SOLVED] No sound in Shadow Tactics: Blades of the Shogun

I don't have sound in this game.
On GOG forum I've found that libasound2-plugins:i386 and libspeex1:i386 installation helped, but I can't find those libraries in repo or aur.
Could you help me a little?

Last edited by 860lacov (2023-10-18 13:48:59)

Offline

#2 2023-10-16 06:12:36

Awebb
Member
Registered: 2010-05-06
Posts: 6,413

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

Multilib is on? https://wiki.archlinux.org/title/Offici … s#multilib

At least libspeex has a lib32- version in multilib.

Edit: libasound stuff, as far as I remember might be in lib32-alsa-lib.

Last edited by Awebb (2023-10-16 06:15:30)

Offline

#3 2023-10-16 14:33:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,194

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

and while we're at it you'll want lib32-alsa-plugins for pulse/pipewire plugins.

Offline

#4 2023-10-16 19:40:02

860lacov
Member
Registered: 2020-05-02
Posts: 467

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

Awebb wrote:

Multilib is on? https://wiki.archlinux.org/title/Offici … s#multilib

At least libspeex has a lib32- version in multilib.

Edit: libasound stuff, as far as I remember, might be in lib32-alsa-lib.

Didn't even know, but lib32-alsa-lib was already installed
libspeex wasn't smile


V1del wrote:

and while we're at it you'll want lib32-alsa-plugins for pulse/pipewire plugins.

This package was installed in my system. Don't remember why byut it was.

Nevertheless, I don't have sound in mentioned game. I remember that I played it some time ago (on different machine witch Arch linux) end it worked.

I would appreciate any tips that can help solve this issue.

Offline

#5 2023-10-17 12:34:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,194

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

Terminal output of the game and during "no sound with the game"

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

chances are this uses OpenAL in which case you'd want to create an alsoftrc or so bending it over to pulse, create a ~/.alsoftrc

[general]
drivers=pulse
[pulse]
allow-moves=yes

Last edited by V1del (2023-10-17 12:35:06)

Offline

#6 2023-10-17 19:34:48

860lacov
Member
Registered: 2020-05-02
Posts: 467

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

V1del wrote:

Terminal output of the game and during "no sound with the game"

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

chances are this uses OpenAL in which case you'd want to create an alsoftrc or so bending it over to pulse, create a ~/.alsoftrc

[general]
drivers=pulse
[pulse]
allow-moves=yes

Not sure if I understand "Terminal output of the game"

But during gameplay:
fuser:

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  jm         1937 F.... pipewire
                     jm         1942 F.... wireplumber
/dev/snd/controlC1:  jm         1937 F.... pipewire
                     jm         1942 F.... wireplumber
/dev/snd/controlC2:  jm         1937 F.... pipewire
                     jm         1942 F.... wireplumber
/dev/snd/seq:        jm         1937 F.... pipewire
pactl list sinks
Sink #55
        State: SUSPENDED
        Name: alsa_output.pci-0000_64_00.6.HiFi__hw_Generic_1__sink
        Description: Family 17h/19h HD Audio Controller Speaker + Headphones
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 36045 /  55% / -15.58 dB,   front-right: 36045 /  55% / -15.58 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_64_00.6.HiFi__hw_Generic_1__sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.class = "generic"
                alsa.device = "0"
                alsa.driver_name = "snd_hda_intel"
                alsa.id = "ALC257 Analog"
                alsa.long_card_name = "HD-Audio Generic at 0x785c0000 irq 97"
                alsa.mixer_device = "_ucm0003.hw:Generic_1"
                alsa.name = "ALC257 Analog"
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "HD-Audio Generic at 0x785c0000 irq 97"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.open.ucm = "true"
                api.alsa.path = "hw:Generic_1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "0"
                device.api = "alsa"
                device.class = "sound"
                device.id = "46"
                device.profile.description = "Speaker + Headphones"
                device.profile.name = "HiFi: hw:Generic_1: sink"
                device.routes = "2"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Family 17h/19h HD Audio Controller"
                node.name = "alsa_output.pci-0000_64_00.6.HiFi__hw_Generic_1__sink"
                node.nick = "ALC257 Analog"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:1:hw:Generic_1:playback"
                priority.driver = "1000"
                priority.session = "1000"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "55"
                object.serial = "55"
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "1"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                device.bus = "pci"
                device.bus_path = "pci-0000:64:00.6"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_64_00.6"
                device.nick = "HD-Audio Generic"
                device.plugged.usec = "22822403"
                device.product.id = "0x15e3"
                device.product.name = "Family 17h/19h HD Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:64:00.6/sound/card1"
                device.vendor.id = "0x1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.string = "1"
        Ports:
                [Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
                [Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
        Active Port: [Out] Speaker
        Formats:
                pcm

pactl list sink-inputs gives nothing

Offline

#7 2023-10-17 22:07:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,194

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

Run the game (or steam, from which you run the game) in a terminal, start the game, post the output.

Edit: Fwiw had the game lying around in my steam library, downloaded and checked. It uses FMOD which can use pulse natively. Make sure lib32-libpulse, pipewire-pulse and lib32-pipewire lib32-libpipewire are installed.

Last edited by V1del (2023-10-18 00:04:03)

Offline

#8 2023-10-18 13:46:05

860lacov
Member
Registered: 2020-05-02
Posts: 467

Re: [SOLVED] No sound in Shadow Tactics: Blades of the Shogun

V1del wrote:

Run the game (or steam, from which you run the game) in a terminal, start the game, post the output.

Edit: Fwiw had the game lying around in my steam library, downloaded and checked. It uses FMOD which can use pulse natively. Make sure lib32-libpulse, pipewire-pulse and lib32-pipewire lib32-libpipewire are installed.

I use GOG version so I can run It from .desktop file which is a shortcut to sh script.

Well.
Problem is solved now.
Installation of lib32-libpulse lib32-pipewire lib32-libpipewire helped. (pipewire-pulse was already installed).

Thank you for your help.

Offline

Board footer

Powered by FluxBB