New install, no audio output

Hey I just finished installing EndeavourOS with GNOME and when I try to play a youtube video on firefox, I got no audio output, I’m guessing because it doesn’t recognize the speaker I’m using because it doesn’t appear on the output device list. Please help, I will answer any question as soon as I can. Thank you.

Please, post inxi -Fza.
There are several possibilities for no audio output.
Alsa, muted audio in Gnome or FF.

System:
  Kernel: 6.12.63-1-lts arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: initrd=\5c18b6c87360455ebebaac9e007559db\6.12.63-1-lts\initrd
    nvme_load=YES nowatchdog rw
    root=UUID=aec61cf3-eb63-46e5-a4c4-07959946e87b
    systemd.machine_id=5c18b6c87360455ebebaac9e007559db
  Desktop: GNOME v: 49.2 tk: GTK v: 3.24.51 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 49.2 Distro: EndeavourOS
    base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME A520M-K v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    Firmware: UEFI vendor: American Megatrends v: 3607 date: 03/22/2024
CPU:
  Info: model: AMD Ryzen 5 5500 bits: 64 type: MT MCP arch: Zen 3 gen: 3
    level: v3 note: check built: 2021-22 process: TSMC n7 (7nm)
    family: 0x19 (25) model-id: 0x50 (80) stepping: 0 microcode: 0xA500012
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB
    desc: 6x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 2390 min/max: 400/4267 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 2390 2: 2390 3: 2390
    4: 2390 5: 2390 6: 2390 7: 2390 8: 2390 9: 2390 10: 2390 11: 2390 12: 2390
    bogomips: 86433
  Flags-basic: 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: indirect_target_selection 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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  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; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsa mitigation: Clear CPU buffers
  Type: tsx_async_abort status: Not affected
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Polaris 20 XL [Radeon RX 580
    2048SP] driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 01:00.0
    chip-ID: 1002:6fdf class-ID: 0300 temp: 36.0 C
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 model: MSI MP223 E2 serial: <filter> built: 2024
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 476x268mm (18.74x10.55")
    diag: 546mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.3.2-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 580 2048SP (radeonsi
    polaris10 ACO DRM 3.61 6.12.63-1-lts) device-ID: 1002:6fdf
    memory: 7.81 GiB unified: no display-ID: :0.0
  Info: Tools: api: eglinfo,glxinfo x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere HDMI Audio [Radeon RX
    470/480 / 570/580/590] driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir/Cezanne HDMI/DP Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 09:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Ryzen HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 09:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.63-1-lts status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK RTL8111H driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter
    driver: rtl8xxxu type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0
    bus-ID: 1-6:4 chip-ID: 0bda:8179 class-ID: 0000 serial: <filter>
  IF: wlan0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Actions general adapter driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-2:2 chip-ID: 10d7:b012
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 476.94 GiB used: 8.55 GiB (1.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: RAmos
    model: M.2 2280 NVMe 512GB SSD size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: V0721A0 temp: 45.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 474.94 GiB size: 466.41 GiB (98.20%) used: 8.37 GiB (1.8%)
    fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 47.9 C mobo: N/A gpu: amdgpu temp: 36.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.41 GiB used: 2 GiB (13.0%)
  Processes: 325 Power: uptime: 6m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.15 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 259 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 922 libs: 249 tools: yay Compilers: gcc: 15.2.1
    Shell: Bash v: 5.3.9 running-in: kgx inxi: 3.3.40

Additional information:

My speaker started working when I plug it in the headphone jack instead of the green audio jack on the back of my computer, the left part of my speaker does not work though. (I use those bar-like shaped speakers)

Update:

Tried to unplug and plug my speaker back to the green audio jack and the option to switch to “Line out - Ryzen HD Audio Controller” appeared, tried to select it on the AlsaMixer and it doesn’t show any volume bar just S/PDIF, S/PDIF 1 to 5, they were not muted.

Can you select a different sound card in alsamixer?

Yes, I can, there are 3 sound cards that appeared

default : 0 HDA ATI HDMI

default : 1 HD-Audio Generic

default : 2 HD-Audio Generic

the only thing that works is the default 2 which is the headphone jack, not the line out audio jack

default 1 is the line out audio jack

install pavucontrol

sudo pacman -Syu && sudo pacman -S pavucontrol

go to the Configuration tab (the last one to the right) and see if you get more option to choose.

Also look under Output Devices.

I have checked the configuration the “Ryzen HD Audio Controller” profile option’s are:

Analog Stereo Output

Analog Stereo Duplex

Digital Stereo (IEC958) Output + Analog Stereo Input

Digital Stereo (IEC958) Output

Digital Surround 5.1 (IEC958/AC3) Output

Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Output

Analog Stereo Input

Pro Audio

Update:

Excuse my lack of knowledge and understanding, the audio was infact, muted. I just couldn’t find what made it muted turns out the thing to made it unmute was just in alsamixer all along. I really appreciate the help you all gave me! Have a nice day! ^^

Title edited. Had nothing to do with the choice of DE.