You are not logged in.

#1 2017-04-05 20:47:55

Areimas
Member
Registered: 2017-04-05
Posts: 9

[Solved] Pulseaudio and Unity

Hi everyone,

I've been a happy Linux gamer for some years now, and though the installation has been a bit tough, nearly everything worked out of the box, until recently that is.
For a couple of months now, every game built with unity do not have any sound anymore ( tested in with Aragami, Else Heart Break & Tabletop Simulator ).

I have found a couple of workaround online ( such as changing some steam launch options ), and have tried to make sure that all lib32 pulse packages are installed, but still no sound.

When running my games through the terminal, it also doesn't show any error or warning that could be related to pulseaudio.

Since my pulseaudio setup seems to work ( every other game, mopidy and teamspeak work perfectly fine ) I do not even know what to check anymore, could anyone help me ? I am getting desperate.

Last edited by Areimas (2017-04-05 21:36:27)

Offline

#2 2017-04-05 21:12:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [Solved] Pulseaudio and Unity

is pulseaudio-alsa and lib32-alsa-plugins installed? What's the output of

sudo fuser -v /dev/snd/*
pacmd list-sink-inputs

while attempting to run an unity game.

Offline

#3 2017-04-05 21:18:01

Areimas
Member
Registered: 2017-04-05
Posts: 9

Re: [Solved] Pulseaudio and Unity

Currently running Tabletop Simulator, here are the outputs :

alex@kur0 ~ % sudo fuser -v /dev/snd/*
[sudo] password for alex: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  alex        857 F.... pulseaudio
/dev/snd/controlC1:  alex       857 F.... pulseaudio
/dev/snd/pcmC1D0c:   alex        857 F...m pulseaudio
/dev/snd/pcmC1D0p:   alex        857 F...m pulseaudio
alex@kur0 ~ % pacmd list-sink-inputs
2 sink input(s) available.
    index: 2
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 1 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 71678 / 109% / 2.33 dB,   front-right: 71678 / 109% / 2.33 dB
	        balance 0.00
	muted: no
	current latency: 18.17 ms
	requested latency: 7.50 ms
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	module: 9
	client: 3 <TeamSpeak3>
	properties:
		media.name = "alsa_output.pci-0000_00_1b.0.analog-stereorender1"
		application.name = "TeamSpeak3"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		media.role = "phone"
		media.icon_name = "teamspeak3"
		application.process.id = "1067"
		application.process.user = "alex"
		application.process.host = "kur0"
		application.process.binary = "ts3client_linux_amd64"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "7652e1387c744c59b50d0da5615702e4"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-media-role:phone"
    index: 9
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	sink: 1 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: yes
	current latency: 41.83 ms
	requested latency: 32.00 ms
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	module: 9
	client: 30 <FMOD Ex App>
	properties:
		media.name = "Mixer Stream"
		application.name = "FMOD Ex App"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "3507"
		application.process.user = "alex"
		application.process.host = "kur0"
		application.process.binary = "Tabletop Simulator.x86"
		application.language = "C"
		window.x11.display = ":0"
		application.process.machine_id = "7652e1387c744c59b50d0da5615702e4"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-application-name:FMOD Ex App"

Offline

#4 2017-04-05 21:26:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [Solved] Pulseaudio and Unity

Areimas wrote:
...
    index: 9
         ...
	muted: yes
	...

Open pavucontrol or another pulsemixer and unmute or

pacmd set-sink-input-mute 9 off

Last edited by V1del (2017-04-05 21:26:51)

Offline

#5 2017-04-05 21:29:18

Areimas
Member
Registered: 2017-04-05
Posts: 9

Re: [Solved] Pulseaudio and Unity

V1del wrote:
Areimas wrote:
...
    index: 9
         ...
	muted: yes
	...

Open pavucontrol or another pulsemixer and unmute or

pacmd set-sink-input-mute 9 off

THANK YOU SO MUCH !

That fixed my issue, it seems so simple once you know which commands to execute to check it.

Have a great day / evening !

Offline

Board footer

Powered by FluxBB