Steam linux нет звука

Steam for Linux и pulseaudio

Поставил steam и pulseaudio. Но не могу понять, как сделать так, чтобы стим выводил звук через него. Во вкладке «Голос» настроек steam pulseaudio не появился.

а ты уверен, что он умеет работать с пульсой ?
кто мешает использовать pulseaudio-alsa ?

в убунтах-то работает. pulseaudio-alsa стоит, но хочется, чтобы при переключении на другую звуковую карту, требовалось изменить только в одном месте.

[zikasak@NapLinux ~]$ pacman -Qs libpulse local/lib32-libpulse 3.0-1 A featureful, general-purpose sound server (32-bit client libraries) local/libpulse 3.0-2 A featureful, general-purpose sound server (client library) 

Ты вошел в число 0.12 %, которые по статистике стима за декабрь занимаются мозготрахом с линуксом 🙂

> хочется, чтобы при переключении на другую звуковую карту, требовалось изменить только в одном месте.

Так в том то и дело, что сейчас придется менять звук в двух местах: в kMix и в стиме для микрофона.

Я хочу заставить стим работать через pulseaudio, чтобы при переключении микрофона, не надо было лезть в настройки стима.

ЕМНИП у убунты неправильный пульсаудио, а стим ориентируется пока на его спецификации, для обхода нужно .. а копипастну всё:

It seems that Ubuntu uses a different internal name for PulseAudio (pulse) and Valve currently assumes that is the default one. As a workaround start Steam with this terminal command:

Во-первых, звук работает. Во-вторых, стим все равно пульс не увидел. Ну раз нельзя, то и не буду пытаться.

А ещё говорят что в линуксе больше нет проблем со звуковыми системами

Так ее и нет. Это просто моя придирка.

Источник

Steam linux нет звука

1 апр. 2015 в 7:04

Some steam games don’t have audio on steam.

Fix:
The only fix that worked for me is:
Playing non-steam version of the game (exactly the same one) seems to eliminate this problem, so the problem definitely lies within steam itself.

OpenSuse 13.2 KDE pulse audio.

For example, game Ironcast does not have sound when being ran via steam, the open source version which is exactly the same (got it on a humble store) seems to run perfectly fine.
I did quite a bit of research and couldn’t find any recent posts, most of the old posts about this issue were marked resolved (i.e. https://github.com/ValveSoftware/steam-for-linux/issues/2968).

Am I missing something here?

1 апр. 2015 в 9:01

Open the pulse audio volume control and disable HDMI audo and S/PIF outputs. Probably it’s switching back and forth between them.

1 апр. 2015 в 9:13

Open the pulse audio volume control and disable HDMI audo and S/PIF outputs. Probably it’s switching back and forth between them.

The only enabled output is my usb headphones 🙁

1 апр. 2015 в 10:23

It seems some games are using alsa instead of pulse.
Please check your .asoundrc in your home-directory or/and the /etc/asound.conf and verify that the following is in this file:

If not, so you can copy & paste this, save and reboot.
This will change the default audio-output to pulseaudio.

Now you can start you «Systemeinstellungen» (don’t know the english word for it) and select multimedia.
If you use more than one soundcard (HDMI for example) change the priority of your primary one.

Читайте также:  Удалить postgresql alt linux

I hope this will help you.

1 апр. 2015 в 10:40

It seems some games are using alsa instead of pulse.
Please check your .asoundrc in your home-directory or/and the /etc/asound.conf and verify that the following is in this file:

If not, so you can copy & paste this, save and reboot.
This will change the default audio-output to pulseaudio.

Now you can start you «Systemeinstellungen» (don’t know the english word for it) and select multimedia.
If you use more than one soundcard (HDMI for example) change the priority of your primary one.

I hope this will help you.

I don’t seem to have .asoundrc in home nor do I have /etc/asound.conf . However I did find /etc/asound-pulse.conf and pasted the code which didn’t seem to change anything.

The problem is that some games launched via steam are not even detected by pulse. Example of steam Ironcast http://i.imgur.com/mklJoBc.jpg vs Non-steam (exactly the same copy of the game by the looks of it) http://i.imgur.com/SMsKJXx.jpg

You can see that non-steam version is detected and streamed to my headset, where’s steam version isn’t even detected 🙁

EDIT: nevermind pasted the code again and it worked !

1 апр. 2015 в 11:22

10 апр. 2015 в 8:02

this works also ( i use OpenSUSE 13.1 64bit )

put this in startoptions for game, e.g. metro last light is one of such game

29 мая. 2016 в 2:23

It seems some games are using alsa instead of pulse.
Please check your .asoundrc in your home-directory or/and the /etc/asound.conf and verify that the following is in this file:

If not, so you can copy & paste this, save and reboot.
This will change the default audio-output to pulseaudio.

Now you can start you «Systemeinstellungen» (don’t know the english word for it) and select multimedia.
If you use more than one soundcard (HDMI for example) change the priority of your primary one.

I hope this will help you.

This works like a charm, thanks a lot! (reboot is not required tho, I just restarted daemons)
I can even switch output source live now, it was not possible before

27 апр. 2018 в 22:16

Hello. Just came here to add that this ~/.asoundrc approach worked for me as well under Debian Jessie. I just got some Audioengine HD3 speakers which have a built-in USB DAC. Many games worked, but Braid would not play over the DAC until I made the ~/.asoundrc configuration. Note also that running the game that didn’t work would also seemingly break audio playback until a reboot was performed, including the speaker test in the sound setup Thank you for providing this solution!

28 апр. 2018 в 0:13

I spoke too soon! This seemed to work, however it stopped working again after a while. By the way, Windows always works with the Audioengine HD3s, but Linux works only sometimes and it’s hard to correlate when. (Using the USB connection and DAC I mean of course.) However, I found a website that mentioned that the built-in DAC does nto seem to work at 44100 bit rate (at least on Linux) and so change it to 48000. This can be done by editing /etc/pulse/daemon.conf and changing and uncommenting (removing the «;») of item «default-sample-rate» from 44100 to 48000:

Читайте также:  Восстановить загрузчик alt linux

; default-sample-format = s16le
default-sample-rate = 48000
; alternate-sample-rate = 48000
; default-sample-channels = 2

The website mentioned that the HD3s are supposed to work at 44100 and 48000, so this is curious. (I wonder if WIndows is always using 48000?)

This is working so far! Good luck to anyone having this issue, such as myself.

1 авг. 2020 в 20:10

I was running into a similar issue across multiple proton games on Linux Mint 19.3 Cinnamon. Was for sure getting this issue with Witcher 2 (Proton version rather than native one), Darksiders (using Proton-GE), and Okami HD (using Proton 5).

I had previously been using a single-session workaround (as in I had to do this once each time I logged in to linux on the PC). That workaround was to install sound-switcher-indicator [itsfoss.com] and had it running as a startup app (Start button > preferences > startup apps). then before I start gaming, right-click its systray icon and select the desired audio output. This worked 100% of the time for me where selecting in pavucontrol often did not. However, it was annoying if I rebooted that I would again have to select it and so I decided to look for a more permanent fix. Still, I thought I’d mention it as this might be a good option for folks that switch between multiple output sources (e.g. speakers vs headset) if a static definition in config files does not meet their needs.

Simply selecting in pauvcontrol selecting in never persisted. Likewise it never persisted across reboots via terminal with:

$ pactl list short sinks 0 alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 44100Hz SUSPENDED 1 alsa_output.usb-Corsair_Corsair_Gaming_H2100_Headset-00.iec958-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED 2 alsa_output.pci-0000_00_14.2.iec958-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED $ sudo pactl set-default-sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 $ sudo pactl set-default-sink 0

However, what finally and permanently resolved the issue for me was the comment from nightsky30 on this proton issue [github.com] :

Then set it permanently by modifying the values in pulse’s config file:

sudo nano /etc/pulse/default.pa

### Make some devices default
set-default-sink 1
#set-default-source input

In my case, I used index of 0 because thats what my pactl list output had it as (and vim instead of nano :-P).

ALSO DON’T FORGET TO REBOOT AFTER SAVING THE CHANGES

Edit: Also thought it might be worth mentioning that despite having alsa-base and alsa-utils packages installed, I did not have either ~/.asoundrc, /etc/asound-pulse.conf, or /etc/asound.conf files. Nor did I have to create or mess with any of them using this fix.

Edit #2: In case my hardware is helpful diagnosing, I am outputting audio/video to a ~10-yo 50″ LG Plasma TV over hdmi. I also have a wireless corsair headset I use occasionally and whose base i leave plugged in. before the fix, steam games would always select either this or my line out which never had anything plugged in as the audio out instead of the hdmi; even though playing things in vlc/browser/etc it would correctly output to hdmi.

here are my relevant system specs:

$ inxi -MAGmS System: Host: Kernel: 5.4.0-42-generic x86_64 bits: 64 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia Machine: Type: Desktop System: Gigabyte product: N/A v: N/A serial: Mobo: Gigabyte model: 990FXA-UD5 serial: BIOS: American Megatrends v: FCh date: 11/06/2014 Memory: RAM: total: 31.38 GiB used: 3.01 GiB (9.6%) RAM Report: permissions: Unable to run dmidecode. Root privileges required. Graphics: Device-1: NVIDIA GM204 [GeForce GTX 970] driver: nvidia v: 440.100 Display: x11 server: X.Org 1.19.6 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920×1080~60Hz OpenGL: renderer: GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 Audio: Device-1: Advanced Micro Devices [AMD/ATI] SBx00 Azalia driver: snd_hda_intel Device-2: NVIDIA GM204 High Definition Audio driver: snd_hda_intel Device-3: Corsair type: USB driver: hid-generic,snd-usb-audio,usbhid Sound Server: ALSA v: k5.4.0-42-generi

Читайте также:  Линукс минт установка диск

Источник

Steam linux нет звука

27 мая. 2016 в 20:05

I’m absolutely new to Linux (using Unity) having just installed it to my chromebook so I can use steam. I was able to figure out how to get steam up and running, but have been unable to get sound to work. The only game I’ve been able to test is FTL. I have tried some of the solutions that google has provided, but either I don’t understand them, or they don’t work.

I was originally running pulseaudio (I believe it’s the most current version), then installed alsa-lib-1.1.1 (I’m not sure how successfully). My Steam directory is in /home/me/.wine/drive_c/Program Files (x86)/Steam.

If anyone knows any solutions and can explain it in the most simple of terms that would be so helpful!

28 мая. 2016 в 0:46

there is a steam linux client btw. you dont have to emulate it through wine
edit:
https://steamcdn-a.akamaihd.net/client/installer/steam.deb download this
and sudo dpkg -i .deb

28 мая. 2016 в 6:33

If you are running Ubuntu or related Linux, it uses both alsa and pulseaudio. This is in Ubuntu 14.04 (I might have added alsa-oss for a old non-steam Linux game like doom or quake3, but rest of asla was there):

efflandt@XPS-8100-1404:~$ dpkg-query -l alsa* | grep ii ii alsa-base 1.0.25+dfsg-0ubuntu4 all ALSA driver configuration files ii alsa-oss 1.0.25-1ubuntu1 i386 ALSA wrapper for OSS applications ii alsa-utils 1.0.27.2-1ubuntu2 amd64 Utilities for configuring and using ALSA efflandt@XPS-8100-1404:~$ dpkg-query -l pulse* | grep ii ii pulseaudio 1:4.0-0ubuntu11.1 amd64 PulseAudio sound server ii pulseaudio-module-bluetooth 1:4.0-0ubuntu11.1 amd64 Bluetooth module for PulseAudio sound server ii pulseaudio-module-x11 1:4.0-0ubuntu11.1 amd64 X11 module for PulseAudio sound server ii pulseaudio-utils 1:4.0-0ubuntu11.1 amd64 Command line tools for the PulseAudio sound server

Can you play sounds for anything else, like Internet radio using Rhythmbox?

As mentioned, there is a native Linux version of Steam, along with many Linux games (Steam OS for Steam Machines is Linux). The only thing I have used playonlinux (wine) for was to use the Windows only Hammer game map editor and when leaving that open and testing the map at the same time in playonlinux, the sound would sometimes randomly get garbled, or not, but there was still sound.

I have not had any trouble with audio for Linux games in Linux Steam on desktop or laptop PC. But I do not know specifics about a Chromebook.

Источник

Оцените статью
Adblock
detector