LINUX.ORG.RU
ФорумGames

Проблема со звуком в игре Dota 2

 , ,


0

1

Может кто знает, при запуске dota2 бывает что при переключении окон начинает как-будто подпеживать звук и при одном из альтабов в игре пропадает звук( я че то ко не пробывал, в инете не нашел похожие случаи.

Kernel: Linux 7.0.10-arch1-1 DE: GNOME 50.1 CPU: Intel(R) Core(TM) i5-9400F (6) @ 4.10 GHz GPU: AMD Radeon RX 570 Series [Discrete]

Компоненты аудиосистемы:

Server Name: PulseAudio (on PipeWire 1.6.6) pipewire 1:1.6.6-1 wireplumber 0.5.14-1

Вывод lspci по аудио-устройствам:

00:1f.3 Audio device: Intel Corporation 200 Series/Z370 Chipset Family HD Audio DeviceName: Onboard - Sound Subsystem: Micro-Star International Co., Ltd. [MSI] Device 9c09 Kernel driver in use: snd_hda_intel

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Subsystem: Micro-Star International Co., Ltd. [MSI] Device aaf0 Kernel driver in use: snd_hda_intel


Отключить все расширения гнома, переключиться на wayland. Запустить steam без рантайма.

xDShot ★★★★★
()

Audio crackling in Dota 2 on a GNOME/Linux system is most commonly caused by conflicts between the Source Engine and your audio server (PipeWire or PulseAudio) or hardware sample rate mismatches.The fastest and most reliable troubleshooting steps include:

  • Specify the Audio Driver in Launch Options: Open Steam > Right-click Dota 2 > Properties > General, and add -sdlaudiodriver pulse or -sdlaudiodriver pipewire to the Launch Options.
  • Disable Dota 2 Notifications: A known bug causes audio to cut or crackle when a match is found or notifications pop up. Turn off in-game notifications or disable them in your desktop environment to prevent this.
  • Restart PipeWire: If the crackling starts mid-game, a quick terminal command can reset the audio server without closing Dota 2. Open your terminal and run: wpctl clear-default followed by systemctl restart –user pipewire pipewire-pulse wireplumber.
  • Adjust Audio Sample Rate: In your GNOME settings or pavucontrol, ensure your audio device is set to 48,000 Hz or 44,100 Hz. Many Linux users on GitHub report that forcing their DAC to 48,000 Hz resolves the distortion.
xDShot ★★★★★
()

Ничего не понятно...

  1. Звук выходишь через встройку или через радеон?
  2. Steam-клиент нативный или из fatpuck?
  3. Звуковой сервер один? В студию: inxi -A | grep Server
hargard ★★★
()

такая проблема и на арче и на дебиане и в гноме и в кде. только перезаходить помогает, лечение пока не наёшл

ggrn ★★★★★
()
Ответ на: комментарий от Wapieth

Не уверен насчёт конкретно доты, никогда не играл, но вот например linux-версия civilization - полный шлак. Поэтому вместо нативной я бы попробовал запускать виндовую через proton.

Hanuken
()

это проблемы wayland и pipewire, решение крутить настройки буферизации в pipewire или вернуться на x11

pipewire.conf

context.properties = { default.clock.quantum = 1024 default.clock.min-quantum = 1024 default.clock.max-quantum = 2048 default.clock.rate = 48000 }

еще поробуй просто PIPEWIRE_LATENCY=128/48000 %command% или export PIPEWIRE_LATENCY=128/48000 dbus-update-activation-environment PIPEWIRE_LATENCY

cylon17
()
Последнее исправление: cylon17 (всего исправлений: 3)
  • Markdown
Пустая строка (два раза Enter) начинает новый абзац. Знак '>' в начале абзаца выделяет абзац курсивом цитирования.
Внимание: прочитайте описание разметки Markdown.
Используйте Ctrl-Enter для размещения комментария