After installing Godot sound stopped working

The same thing happened to me. After installing Godot sound stopped working. I uninstalled it and still sound does not work. Any tool that pays audio hangs and stutters and no sound comes out. I am looking for help to undo this or reinstall the sound.

Welcome to Manjaro Forum @geos

Please post more information about system

inxi -Fazy

and more information about audio devices detected in PulseAudio or PipeWire

pactl list sinks

Probably same issue as the other thread;

  • You had pulseaudio installed before installing godot

  • You chose to install an optional pipewire plugin with godot (which requires pipewire, which conflicts with pulseaudio)

  • Pulseaudio was uninstalled and pipewire was installed

If so, to revert back to pulseaudio try installing the manjaro-pulse meta package. Although you may run into this issue in which case follow the advice in that thread. If sound still isn’t working after that delete pulseaudio configs as described in the last post in that thread.

I have read everything I can find on here about audio not working after installing Godot, and tried every suggestion. I am using Manjaro23 with the 6.4.16-1 kernel. After uninstalling Godot and following the instructions to remove pipewire and reinstall pulseaudio I have an odd situation. When I try to play any audio or video, no sound comes out to my headphones unless I double click the volume control on the ashtray, click the hamburger menu to the right of the "Headphones . . . " radio button, then select anything other than the current setting “Analog Stereo Output” and then switch it back to “Analog Stereo Output” - Then sound starts coming out of the headphones. It only works for that session and if I want to hear anything else I have to go back to the ashtray, go back to the hamburger menu and do it again. When I go to the Audio - System Settings, if I try to test the Headphone audio I get an error message that says 'Error trying to play a test sound. The system said: “Invalid state” ’ If I open the ashtray Audio Settings and do the ritual of switching the output off of “Analog Stereo Output” and back again I can do the speaker test and it works just for that session of testing. Also videos hang until I do the switch and switch back. I searched the web and found a similar post from back in May, but it does not appear it was resolved. Any suggestions? Thanks.
GS

Have you tried deleting pulseaudio configuration files and rebooting, as described in the last post of the thread I linked?

rm ~/.config/pulse/*; reboot

Linux kernel 6.4 is current marked End Of Life and will be dropped soon so you need to switch to another maintained kernel: v6.1 or v6.5
Manjaro Kernels - wiki.manjaro.org

In absence of diagnostic data requested in post #2 that might show what is mis-configured in PulseAudio,
suggestion by @MrLavender to delete old configuration would be my preferred speculative solution to try next

If that does not work for you, PulseAudio might be using a different device as default-sink for audio playback
Use this command to check the default-sink and find the names of other available sinks if default needs to be changed

pacmd dump | grep -v modules

PulseAudio/Examples/Set the default output sink - ArchWiki

Yes, I tried deleting the config files using the command line described. It did not work.

Here is an additional oddity. If I open an audio file in VLC and then switch the audio as I described above to get it to play, if I set VLC to loop and then turn the volume down, I can use other applications that output audio and they work. For example You Tube videos in the browser. If I stop all apps producing sound then I have to restart audio by switching the headphone output and back again to get it to work.

I switched to kernel 6.1.53-1 and the same thing happens. I installed kernel 6.5.3.-1 and Plasma won’t start I just get a black screen - I can alt F2 or F3 to get a terminal so it is the GUi that is not starting - (that is a problem for a different day, I hope)

I switched form the headphone output on the front of the PC to the lineout on the back and the same thing occurs I can get sound from lineout if I switch off of “Analog Stereo Output” and then back.

Here is the output from pacmd dump | grep -v modules

 pacmd dump | grep -v modules                                                                                                                                                
### Configuration dump generated at Tue Sep 19 10:21:27 2023

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_08_00.1" card_name="alsa_card.pci-0000_08_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="1" name="pci-0000_0a_00.4" card_name="alsa_card.pci-0000_0a_00.4" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-native-protocol-tcp 
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-x11-publish display=:0 xauthority=/tmp/xauth_RizulI
load-module module-x11-xsmp display=:0 xauthority=/tmp/xauth_RizulI session_manager=local/gamer:@/tmp/.ICE-unix/859,unix/gamer:/tmp/.ICE-unix/859
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_0a_00.4.analog-stereo 0x66b3
set-sink-mute alsa_output.pci-0000_0a_00.4.analog-stereo no
suspend-sink alsa_output.pci-0000_0a_00.4.analog-stereo no

set-source-volume alsa_output.pci-0000_0a_00.4.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_0a_00.4.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_0a_00.4.analog-stereo.monitor no

set-card-profile alsa_card.pci-0000_08_00.1 off
set-card-profile alsa_card.pci-0000_0a_00.4 output:analog-stereo

set-default-sink alsa_output.pci-0000_0a_00.4.analog-stereo
set-default-source alsa_output.pci-0000_0a_00.4.analog-stereo.monitor

### EOF

Here is the output from inxi -Fazy and pactl list sinks
inxi -Fazy

System:
  Kernel: 6.1.53-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=33ff6c12-5319-4bb2-9bc0-c278865d1986 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B450M-A II v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 3802
    date: 04/28/2022
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 1x32 MiB
  Speed (MHz): avg: 3365 high: 4202 min/max: 2200/5279 boost: disabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4197 2: 4191
    3: 2200 4: 4202 5: 4200 6: 2200 7: 2200 8: 4200 9: 4197 10: 2200 11: 2200
    12: 4200 bogomips: 100828
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: eVga.com.
    driver: nvidia v: 525.125.06 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-08) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 08:00.0 chip-ID: 10de:1e81 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3520x1080 s-dpi: 93 s-size: 961x312mm (37.83x12.28")
    s-diag: 1010mm (39.78")
  Monitor-1: DP-0 pos: primary,left res: 1920x1080 hz: 60 dpi: 82
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Monitor-2: HDMI-0 pos: right res: 1600x900 hz: 60 dpi: 92
    size: 443x249mm (17.44x9.8") diag: 508mm (20.01") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.125.06 renderer: NVIDIA GeForce RTX 2080
    SUPER/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA TU104 HD Audio vendor: eVga.com. driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 08:00.1
    chip-ID: 10de:10f8 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.1.53-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.80 status: active with: wireplumber
    status: active tools: pw-cat,pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.96 TiB used: 207.42 GiB (10.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Corsair model: CMFSSD-128GBG2D
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 8C1Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Leven model: JAJS600M1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 8A0 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Toshiba model: DT01ACA100
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: A750 scheme: MBR
Partition:
  ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%)
    used: 207.4 GiB (22.1%) fs: ext4 dev: /dev/sdb2 maj-min: 8:18
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 25.6 MiB (8.6%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 39.4 C mobo: N/A gpu: nvidia temp: 30 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 37%
Info:
  Processes: 284 Uptime: 13m wakeups: 0 Memory: total: 32 GiB
  available: 31.25 GiB used: 3.52 GiB (11.3%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1417 pm: pacman pkgs: 1401 libs: 451 tools: pamac pm: flatpak
  pkgs: 16 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.29
Sink #4
        State: RUNNING
        Name: alsa_output.pci-0000_0a_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 26291 /  40% / -23.80 dB,   front-right: 26291 /  40% / -23.80 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
        Latency: 40717 usec, configured 40000 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf6400000 irq 86"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0a:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                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 = "Starship/Matisse HD Audio Controller Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm

                pcm

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Consider updating motherboard BIOS

PulseAudio data looks mostly OK. Only one card and one sink in use so default-sink is not an issue

Line Out port for rear jack is shown as available, but Headphone port is not available

Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout

I suggest check ALSA audio settings

alsamixer --card=1

Locate mixer control for Auto-Mute Mode and ensure it is set to Disabled
so that audio from Line Out rear jack is not muted when Headphones are plugged in to front jack

Set Channel Mode to 2ch if not using surround audio and using stereo output only

Check Audio levels for Master; Headphones; PCM and Front
If any mixer controls are muted [MM] use M to unmute [OO] control

And use this command to save any changes to alsamixer controls

sudo alsactl store 1

ALSA mixer settings should be retained, but if settings are restored when booted in the future use this command

sudo alsactl restore

If pactl list sinks shows both PulseAudio ports as either available or unknown there should be no problem playing audio front and rear jack in ALSA

1 Like

Thanks. No joy. I followed the steps you posted. BIOS updated, commands followed, rebooted. Didn’t work. Ran sudo alsactl restore. It did not work. Same problem audio only starts working after flipping back and forth to “Analog Stereo Output” Rebooted to Windows 10 to rule out hardware problem, audio works fine - I didn’t think it would be that as it started right after the Godot install. Here is the output of pactl list sinks

Sink #0
        State: IDLE
        Name: alsa_output.pci-0000_0a_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 26291 /  40% / -23.80 dB,   front-right: 26291 /  40% / -23.80 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
        Latency: 31924 usec, configured 40000 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf6400000 irq 86"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0a:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                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 = "Starship/Matisse HD Audio Controller Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm

Sink #1
        State: SUSPENDED
        Name: alsa_output.pci-0000_08_00.1.hdmi-stereo
        Description: TU104 HD Audio Controller Digital Stereo (HDMI)
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 6
        Mute: no
        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
        Monitor Source: alsa_output.pci-0000_08_00.1.hdmi-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Pixio PX247"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf6080000 irq 84"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:08:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f8"
                device.product.name = "TU104 HD Audio Controller"
                device.string = "hdmi:0"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "TU104 HD Audio Controller Digital Stereo (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
        Active Port: hdmi-output-0
        Formats:
                pcm

Any thoughts on what to do next?

Were there any error messages for specific commands that didn’t work?

Did alsactl work to restore audio settings in ALSA even if sound was not audible?

I suggest:

  1. Reboot system to ensure audio device is in a non-working state

  2. Post more information about ALSA mixer settings

    amixer --card=1 info; amixer --card=1
    

Rebooted to Windows 10 to rule out hardware problem

Check Windows Fast Startup and ensure it is turned off

Fast startup in Windows uses hybrid hibernation instead of fully powering down audio devices
This can affect audio devices when rebooting from Windows to Linux


pactl list sinks is still showing Port for Headphones is not available

Do Audio GUI controls show if Headphones or Speakers are Plugged-In or Unplugged correctly?
(jack detection for either jack socket might be malfunctioning)

Data also shows another sink for HDMI output from nVidia GPU to Pixio PX247 monitor

I suggest turning off HDMI audio device whilst troubleshooting onboard audio device so it cannot take default-sink status

pactl set-card-profile alsa_card.pci-0000_08_00.1 off

Okay, before I started I I turned off Fast Boot/Startup in Windows 10 and then powered down
I tried to plat a file using VLC - no good
I opened alsamixer and noted that the Master (vol) was down to 36 and Headphones were muted. I maxed the Master and set Headphones to 100 and Headphones to 96 -Note: the Headphones are now plugged into the LineOut in the back and the Line volume was/is at 100. I ran
sudo alsactl store 1
again and then ran sudo alsactl restore and then checked alsamixer, all settings matched what I saved. I powered down and then restarted the system
I checked alsamixer and all setting were as expected (saved settings)

Here is the output of pactl list sinks

pactl list sinks                                                                      ✔ 
Sink #0
        State: SUSPENDED
        Name: alsa_output.pci-0000_0a_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 63555 /  97% / -0.80 dB,   front-right: 63555 /  97% / -0.80 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf6400000 irq 86"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0a:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                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 = "Starship/Matisse HD Audio Controller Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm

Sink #2
        State: SUSPENDED
        Name: alsa_output.pci-0000_08_00.1.hdmi-stereo
        Description: TU104 HD Audio Controller Digital Stereo (HDMI)
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 6
        Mute: no
        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
        Monitor Source: alsa_output.pci-0000_08_00.1.hdmi-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Pixio PX247"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf6080000 irq 84"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:08:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f8"
                device.product.name = "TU104 HD Audio Controller"
                device.string = "hdmi:0"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "TU104 HD Audio Controller Digital Stereo (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
        Active Port: hdmi-output-0
        Formats:
                pcm

In the GUi Volume Control Line Out says (plugged in) and Headphones says (Unplugged) - which is correct the Headphones are plugged into the Line Out (Green) in the back.

I entered your command to turn off the HDMI audio and reran pactl list sinks and got this

pactl set-card-profile alsa_card.pci-0000_08_00.1 off                                 ✔ 
    ~  pactl list sinks                                                                      ✔ 
Sink #0
        State: SUSPENDED
        Name: alsa_output.pci-0000_0a_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 63555 /  97% / -0.80 dB,   front-right: 63555 /  97% / -0.80 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf6400000 irq 86"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0a:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                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 = "Starship/Matisse HD Audio Controller Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm

I then opened VLC and played a file, no sound. I then opened the ash tray speaker icon and swiched from “Analog Stereo Output” to “Analog Stereo Duplex” and voithe sound started.
Here is the pactl list sinks output after the sound loop started playing

pactl list sinks                                                                      ✔ 
Sink #0
        State: RUNNING
        Name: alsa_output.pci-0000_0a_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 63555 /  97% / -0.80 dB,   front-right: 63555 /  97% / -0.80 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
        Latency: 40670 usec, configured 40000 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf6400000 irq 86"
                alsa.driver_name = "snd_hda_intel"pactl list sinks                                                                      ✔ 
Sink #0
        State: RUNNING
        Name: alsa_output.pci-0000_0a_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 63555 /  97% / -0.80 dB,   front-right: 63555 /  97% / -0.80 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
        Latency: 40670 usec, configured 40000 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf6400000 irq 86"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0a:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                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 = "Starship/Matisse HD Audio Controller Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm

                device.bus_path = "pci-0000:0a:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                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 = "Starship/Matisse HD Audio Controller Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm

One thing I noticed is when I switch from “Analog Stereo Output” to “Analog Stereo Duplex” a little dialog box pops up on the desktop and then disappears. It says

New source "Starship/Matisse HD Audio Controller Analog Stereo"
alsa_input.pci-0000_oa_00.4.analog-stereo

with a little picture of a pci card. It does not stay up long.

Also if I close VLC I have to do the switch again to get audio to work and get that popup

So that is what I was able to capture. I hope this provides some clues. Thanks. GS

Okay, I got it working. Unfortunatly, I think it will hard to replicate. Consider this something to try as a last ditch effort before giving up and reinstalling the os.
Using the package manager I uninstalled as many pipewire packages as I could until just the ones that Plasma required. That didn’t work so I did the same for removing Pipewire, which completely broke sound. I then added in pulseaudio packages back in, still no joy. I then started adding pipewire packages 1 by 1 and testing. After adding pipewire-alsa and pipewire-pulse, sound started working. So, sound is now working using pipewire. I was trying to roll back to pulseaudio, but I’ll take it. Thanks for the advice on diagnostic tools to use to anayze the problem.

Regards,
GS

Somehow I never finished a post here, but if I understood correctly this occurs because of a single dep required for godot … which then lands the packages in a sort of wonky state if the user was not using pipewire already, correct?
Which was going to be the suggestion - to install the pipewire meta package manjaro-pipewire.
And it sounds as if in a around about way thats what you ended up doing.
(except you may be missing gst-plugin-pipewire that it would also provide)

Yep! Thanks for your help.

godot has 2 optional dependencies

Name                  : godot
Version               : 4.1.1-1
Description           : Advanced cross-platform 2D and 3D game engine

Optional Dependencies : pipewire-alsa: for audio support
                        pipewire-pulse: for audio support

If a user does not install optional dependencies PulseAudio would continue to work

If a user chose both optional dependencies to replace PulseAudio, PipeWire might work
But it would be better to install manjaro-pipewire before installing godot

But if a user selected pipewire-alsa only and PulseAudio was not replaced by pipewire-pulse,
sound would stop working

Information posted in other topic showed only one dependency installed

For that situation, either install PipeWire correctly
or reinstall pulseaudio-alsa to set PulseAudio as default ALSA output

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.