Videos break when sound is on

When watching a video on youtube or any player using html5 player the video doesnt play. On youtube i get the "if playback doesnt start restart your device" error. When i mute the sound it plays but even if i turn on the sound again i dont hear anything. And the only temporary solution i found was to use pulseaudio --k pulseaudio start but it's only for a few minutes and until i stop the video it works. Then i need to use the same commands again

System:    Kernel: 5.15.2-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=fd3f5e2d-03d4-49eb-8c74-df426d77447b
rw [email protected] quiet
cryptdevice=UUID=0d9eb220-546a-4a10-9123-6e1de6fb6332:luks-0d9eb220-546a-4a10-9123-6e1de6fb6332
root=/dev/mapper/luks-0d9eb220-546a-4a10-9123-6e1de6fb6332 splash rd.udev.log_priority=3
vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:   Type: Desktop System: Gigabyte product: B450M DS3H v: N/A serial: <filter>
Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <filter> UEFI: American Megatrends v: F51
date: 07/29/2020
Battery:   Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming Mouse
serial: <filter> charge: 100% (should be ignored) rechargeable: yes status: Discharging
CPU:       Info: 6-Core model: AMD Ryzen 5 2600X bits: 64 type: MT MCP arch: Zen+ family: 17 (23)
model-id: 8 stepping: 2 microcode: 800820D cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86228
Speed: 3960 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 3960 2: 3975
3: 4088 4: 4032 5: 4015 6: 3857 7: 4062 8: 4080 9: 4066 10: 2647 11: 3962 12: 3247
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Micro-Star MSI
driver: amdgpu v: kernel bus-ID: 06:00.0 chip-ID: 1002:67df class-ID: 0300
Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.0x12.5") s-diag: 599mm (23.6")
Monitor-1: HDMI-A-0 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
diag: 611mm (24.1")
OpenGL: renderer: AMD Radeon RX 570 Series (POLARIS10 DRM 3.42.0 5.15.2-zen1-1-zen LLVM 13.0.0)
v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 06:00.1 chip-ID: 1002:aaf0 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
bus-ID: 08:00.3 chip-ID: 1022:1457 class-ID: 0403
Device-3: Razer USA RC30-026902 Gaming Headset [Nari Essential Wireless Receiver] type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-4:34 chip-ID: 1532:051e class-ID: 0300
Sound Server-1: ALSA v: k5.15.2-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
v: kernel port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Drives:    Local Storage: total: 1.58 TiB used: 144.21 GiB (8.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 model: SATA3 240GB SSD size: 223.57 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 8B0 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD5000AAKS-07A7B2 size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 3B01
scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: CC43 scheme: GPT
Partition: ID-1: / raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 144.21 GiB (64.6%) fs: btrfs
dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d9eb220-546a-4a10-9123-6e1de6fb6332
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 720 KiB (0.2%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 144.21 GiB (64.6%) fs: btrfs
dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d9eb220-546a-4a10-9123-6e1de6fb6332
ID-4: /var/log raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 144.21 GiB (64.6%)
fs: btrfs dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d9eb220-546a-4a10-9123-6e1de6fb6332
ID-5: /var/tmp raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 144.21 GiB (64.6%)
fs: btrfs dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d9eb220-546a-4a10-9123-6e1de6fb6332
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.64 GiB used: 2.55 GiB (16.3%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 16.8 C mobo: N/A gpu: amdgpu temp: 53.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 214
Info:      Processes: 418 Uptime: 3h 24m wakeups: 3 Memory: 15.64 GiB used: 8.1 GiB (51.8%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1994 lib: 552
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

Try to give a look at this solution and, if necessary also at the subsequent posts.

2 Likes

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