I recently updated my browser, and I've noticed that while listening to music on YouTube, for some reason, the volume slider within the player also controls the stream vo… (læs mere)
I recently updated my browser, and I've noticed that while listening to music on YouTube, for some reason, the volume slider within the player also controls the stream volume within KDE Plasma's volume mixer, making for a much more frustrating experience. Now the volume resets to what was set on YOUTUBE rather than sticking to what was set in the VOLUME MIXER every time a new video plays or any time the page refreshes. This means that the volume gets reset every. single. time. The issue with this is not only that YouTube's volume slider isn't as accurate as KDE Plasma's, but also that a media player in a browser shouldn't be controlling its own system volume within the mixer because it causes issues and frustrations like these.
How do I separate player and stream volume?
Here's my inxi so you can see what I'm using/what I'm on:
```text
System:
Kernel: 6.12.9-arch1-1-znver4 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1 clocksource: tsc
avail: hpet,acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-znver4
root=UUID=22984bc3-83f6-4891-a0a2-238f768ee899 rw rootflags=subvol=@
resume=UUID=499703b6-f007-4f7c-8275-23c80bee1446 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A info: frameworks v: 6.10.0 wm: kwin_wayland tools:
avail: lxlock vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MPG B650 CARBON WIFI (MS-7D74) v: 1.0
serial: <superuser required> uuid: <superuser required> UEFI: American Megatrends LLC. v: 1.E0
date: 07/25/2024
CPU:
Info: model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 gen: 4 level: v4 note: check
built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x61 (97) stepping: 2
microcode: 0xA601209
Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB L3: 96 MiB desc: 1x96 MiB
Speed (MHz): avg: 4546 min/max: 545/5050 boost: enabled scaling: driver: amd-pstate-epp
governor: performance cores: 1: 4546 2: 4546 3: 4546 4: 4546 5: 4546 6: 4546 7: 4546 8: 4546
9: 4546 10: 4546 11: 4546 12: 4546 13: 4546 14: 4546 15: 4546 16: 4546 bogomips: 134463
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M]
vendor: Sapphire NITRO+ driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x
process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
active: DP-1,DP-2 empty: HDMI-A-1,HDMI-A-2,Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:744c
class-ID: 0300
Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Micro-Star MSI driver: amdgpu
v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: none empty: DP-3, DP-4, DP-5, HDMI-A-3, Writeback-2
bus-ID: 14:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 43.0 C
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4 compositor: kwin_wayland
driver: X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu d-rect: 5120x2880 display-ID: 0
Monitor-1: DP-1 pos: bottom-l model: LG (GoldStar) ULTRAGEAR serial: <filter> built: 2023 res:
mode: 2560x1440 hz: 144 scale: 120% (1.2) to: 2133x1200 dpi: 109 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480
Monitor-2: DP-2 pos: top-right model: LG (GoldStar) ULTRAGEAR serial: <filter> built: 2023 res:
mode: 2560x1440 hz: 144 scale: 213% (2.13) to: 1200x2133 dpi: 109 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1
drv: radeonsi device: 2 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: 24.3.3-arch1.2 glx-v: 1.4
direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 19.1.6 DRM 3.59
6.12.9-arch1-1-znver4) device-ID: 1002:744c memory: 23.44 GiB unified: no display-ID: :1.0
API: Vulkan v: 1.4.303 layers: 15 device: 0 type: discrete-gpu name: AMD Radeon RX 7900 XTX
(RADV NAVI31) driver: N/A device-ID: 1002:744c surfaces: xcb,xlib,wayland device: 1
type: integrated-gpu name: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: N/A
device-ID: 1002:164e surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM
19.1.6 256 bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,kscreen-doctor
gpu: corectrl wl: wayland-info x11: xdpyinfo, xprop, xrandr
Aud
io:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 14:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 14:00.6
chip-ID: 1022:15e3 class-ID: 0403
Device-4: JMTek LLC. USB PnP Audio Device driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5.1:4 chip-ID: 0c76:161e class-ID: 0300
Device-5: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 0db0:70d3 class-ID: 0300
API: ALSA v: k6.12.9-arch1-1-znver4 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: 1.2.7 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 RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0f:00.0 chip-ID: 10ec:8125 class-ID: 0200
IF: enp15s0 state: down mac: <filter>
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: mt7921e
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 10:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp16s0 state: up mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s
lanes: 1 mode: 2.0 bus-ID: 1-7:8 chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2 lmp-v: 11 status:
discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 2.73 TiB used: 493.01 GiB (17.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Western Digital model: WD BLACK SN770 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD
serial: <filter> fw-rev: 731120WD temp: 38.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Smart Modular Tech. model: SHPP41-2000GM
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD
serial: <filter> fw-rev: 51060A20 temp: 57.9 C scheme: GPT
Partition:
ID-1: / raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 493.01 GiB (27.0%) fs: btrfs
dev: /dev/nvme1n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 588 KiB (0.2%) fs: vfat
dev: /dev/nvme1n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 493.01 GiB (27.0%) fs: btrfs
dev: /dev/nvme1n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 493.01 GiB (27.0%) fs: btrfs
dev: /dev/nvme1n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 493.01 GiB (27.0%) fs: btrfs
dev: /dev/nvme1n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 30.45 GiB used: 1.81 GiB (6.0%) priority: 100 comp: zstd
avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16 dev: /dev/zram0
ID-2: swap-2 type: partition size: 33.5 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p3
maj-min: 259:3
Sensors:
System Temperatures: cpu: 74.1 C mobo: 54.0 C
Fan Speeds (rpm): N/A
GPU: device: amdgpu temp: 43.0 C device: amdgpu temp: 72.0 C mem: 78.0 C fan: 568
watts: 165.00
Info:
Memory: total: 32 GiB note: est. available: 30.45 GiB used: 16.65 GiB (54.7%)
Processes: 567 Power: uptime: 6h 30m states: freeze,mem,disk suspend: deep avail: s2idle
wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 12.17 GiB
services: org_kde_powerdevil, power-profiles-daemon, upowerd Init: systemd v: 257
default: graphical tool: systemctl
Packages: 2003 pm: pacman pkgs: 1982 libs: 581 tools: octopi,pamac,paru pm: appimage pkgs: 0
pm: flatpak pkgs: 21 Compilers: clang: 19.1.6 gcc: 14.2.1 Client: shell wrapper v: 5.2.37-release
inxi: 3.3.37
Garuda (2.6.26-1.1):
System install date: 2024-12-16
Last full system update: 2025-01-16 ↻
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: Probably (Run as root to verify)
Failed units:
```