FireDragon resets application-specific audio level

Hello Community!

i just switched from Brave to FireDragon due to more and more concerns over the whole chromium base. I use "deej" which is a 3D printed mix-table where i can level the audio of specified applications.

Now when i play a video on firedragon and pause the video, the audio level will reset back to 100% on resume.

Is there a way to fix this?
Thanks!

System:
  Kernel: 6.4.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c3ef0d61-a4ef-469b-96b1-b7a7583d021e rw rootflags=subvol=@
    rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 info: polybar wm: kwin_x11
    vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX X570-I GAMING v: Rev X.0x
    serial: <superuser required> BIOS: American Megatrends v: 4601
    date: 02/02/2023
Battery:
  Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A
    status: N/A
CPU:
  Info: model: AMD Ryzen 7 5800X3D 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: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 96 MiB desc: 1x96 MiB
  Speed (MHz): avg: 3629 high: 4347 min/max: 2200/4549 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3723 2: 3550
    3: 3523 4: 3525 5: 3400 6: 3957 7: 3546 8: 4347 9: 3461 10: 3475 11: 3400
    12: 3537 13: 3494 14: 3400 15: 3400 16: 4335 bogomips: 108801
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: ASUSTeK driver: nvidia
    v: 535.104.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-08) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0a:00.0 chip-ID: 10de:2484
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0 compositors:
    1: kwin_x11 2: Picom v: git-f70d0 driver: X: loaded: nvidia gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4520x1920 s-dpi: 163 s-size: 706x299mm (27.80x11.77")
    s-diag: 767mm (30.19")
  Monitor-1: DP-0 pos: top-left res: 1080x1920 hz: 60 dpi: 92
    size: 299x531mm (11.77x20.91") diag: 609mm (23.99") modes: N/A
  Monitor-2: DP-2 pos: primary,bottom-r res: 3440x1440 dpi: 109
    size: 800x330mm (31.5x12.99") diag: 865mm (34.07") modes: N/A
  Monitor-3: HDMI-0 size-res: N/A modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce RTX
    3070/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0a:00.1 chip-ID: 10de:228b
    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: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.4.12-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.78 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: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp5s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: enp7s0f3u1c4i2 state: down mac: <filter>
Bluetooth:
  Device-1: SINO WEALTH RK Bluetooth Keyboar driver: hid-generic,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3.4:5
    chip-ID: 258a:0059 class-ID: 0300
  Device-2: ASUSTek Broadcom BCM20702A0 Bluetooth driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-4.1.1:7
    chip-ID: 0b05:17cb class-ID: fe01 serial: <filter>
  Report: ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.0 lmp-v: 6
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 3.19 TiB used: 2.14 TiB (67.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Samsung model: SSD 970 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 1B2QEXE7 temp: 45.9 C
    scheme: MBR
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: SK Hynix
    model: HFM256GDHTNG-8310A size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 tech: SSD serial: <filter>
    fw-rev: 80070C00 temp: 53.9 C scheme: MBR
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000MX500SSD1
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 033 scheme: GPT
Partition:
  ID-1: / raw-size: 232.88 GiB size: 232.88 GiB (100.00%)
    used: 162.76 GiB (69.9%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-2: /home raw-size: 232.88 GiB size: 232.88 GiB (100.00%)
    used: 162.76 GiB (69.9%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-3: /var/log raw-size: 232.88 GiB size: 232.88 GiB (100.00%)
    used: 162.76 GiB (69.9%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-4: /var/tmp raw-size: 232.88 GiB size: 232.88 GiB (100.00%)
    used: 162.76 GiB (69.9%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.71 GiB used: 16.8 MiB (0.0%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 56.0 C mobo: 51.0 C gpu: nvidia temp: 40 C
  Fan Speeds (rpm): fan-1: 951 fan-2: 1776 fan-5: 889 fan-7: 0 gpu: nvidia
    fan: 53%
Info:
  Processes: 466 Uptime: 9h 11m wakeups: 1 Memory: total: 64 GiB note: est.
  available: 62.71 GiB used: 9.94 GiB (15.9%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 11/12
  clang: 15.0.7 Packages: 2430 pm: pacman pkgs: 2401 libs: 545
  tools: pamac,paru pm: flatpak pkgs: 29 Shell: fish v: 3.6.1
  running-in: alacritty inxi: 3.3.29
Garuda (2.6.16-1):
  System install date:     2023-08-26
  Last full system update: 2023-08-29
  Is partially upgraded:   Yes
  Relevant software:       snapper NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       <superuser required>
  Failed units:            input-remapper.service systemd-networkd-wait-online.service

Can you install Firefox and see if the same behavior happens?

heyho, yup same behaviour...

Then this is Firefox related, not Firedragon. I would bet all Firefox-based browser have this.

I have no clue what could cause it, but looking through Firefox-Mozilla's forums maybe others have raised this already.

hm yeah after finding out firefox does the same, i found this

So it's firefox based... ugh this is such a bummer. Because it makes it simply unusable for me... i work a lot with adjusting volumes for specific applications

2 Likes

Good catch!
6 years old bug, that does not look too promising.

I do not have the issue though and I use pulseaudio on many machines.

i found out that i could set media.cubeb.backend to alsa which fixes the bug....but i don't know how i could control it via deej then...

i am using pipewire, is there something i could do there to make firedragon remember it's settings?

Yes, create a firedragon override cfg file in your .firedragon folder with the proper setting in it.
I can’t recall by heart the location of the source file, but give me a couple of hours and I’ll get back.

oh that would be awesome!

thanks!

Copy this file /usr/lib/firedragon/firedragon.overrides.cfg to ~./.firedragon/.

Edit it all you want but of course add that setting you modified for alsa.
By reading that file you should understand how to set stuff, sometimes you have to force a setting, sometimes Default it, I always had difficulties with this but in the end it was working.

Definition of setting types can be found on Google, it's standard Mozilla stuff.

1 Like

Thanks!

I think here is a missunderstanding :smile: What i think you just gave me, was a method to set media.cubeb.backend to alsa via config file.

But i know how to do this in the about:config. As soon as i set it to alsa though, i can't control the volume of FireDragon via deej anymore. Because in the applications tab of the audio applet in the systemtray - FireDragon isn't it's own application anymore but rather an entry called PipeWire ALSA [firedragon] and isn't considered an application anymore. So i can't put this into the config file of deej.

What i hoped for was some config or override that blocks firedragon from changing the volume without user input. Or make it so it can only be changed via deej and nothing else.

Sorry for the missunderstanding here

Oh sorry about that.

That's something different, I wouldn't know, though. :frowning:

nah dw...thanks nonetheless!

i just hope mozilla fixes this some day^^

1 Like