Page 1 of 1

[0.15.0] No sound on Linux

Posted: Mon Apr 24, 2017 8:03 pm
by Tauren
Image

Factorio 0.15.0 (build 29027, linux64, alpha)
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
0.452 Warning Display.cpp:48: Installing audio failed retrying...

Full log:
0.000 2017-04-24 22:06:48; Factorio 0.15.0 (build 29027, linux64,
0.027 Operating system: Linux
0.027 Program arguments: "./Factorio/factorio/bin/x64/fact
0.027 Read data path: /Factorio/factorio/data
0.027 Write data path: /Factorio/factorio
0.027 Binaries path: /Factorio/factorio/bin
0.051 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%]
0.225 Available display adapters: 1
0.225 [0]: resolution 1920x1080px at [0,0]
0.225 Create display on adapter 0. Size 1280x720 at position [310,
0.407 Video memory size (dedicated/total available/current available): 512/2555/509 MB
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
0.458 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
0.960 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
1.461 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
1.963 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
2.464 Warning Display.cpp:48: Installing audio failed
2.965 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: false]
3.078 Loading mod core 0.0.0 (data.lua)
3.093 Loading mod base 0.15.0 (data.lua)
3.256 Loading mod base 0.15.0 (data-updates.lua)
3.377 Checksum for core: 3378387764
3.377 Checksum of base: 2731413614
3.600 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493064401
3.600 Info PlayerData.cpp:62: Cloud player-data.json unavailable
3.702 Loaded shader file /Factorio/factorio/data/core/graphics/shaders/game.glsl
3.708 Loaded shader file /Factorio/factorio/data/core/graphics/shaders/zoom-to-world.glsl
3.737 Initial atlas bitmap size is 16384
4.033 Created atlas bitmap 16384x10860
4.043 Created atlas bitmap 4096x1860
4.060 Created atlas bitmap 4096x3652
15.482 Sprites loaded
15.482 Convert atlas 4096x1860 to: trilinear-filtering
15.586 Convert atlas 4096x3652 to: mipmap
15.777 Custom inputs active: 0
15.820 Factorio initialised
26.971 Goodbye

Re: [0.15.0] No sound on Linux

Posted: Mon Apr 24, 2017 8:05 pm
by daniel34
Please post the complete log file.

Re: [0.15.0] No sound on Linux

Posted: Mon Apr 24, 2017 8:19 pm
by CodeZ
Are you running pulseaudio per chance? With any currently active sound source? Because pulse has been causing similar sounding issue previously for me. (And causes just now for test.)

Re: [0.15.0] No sound on Linux

Posted: Mon Apr 24, 2017 8:28 pm
by Tauren
CodeZ wrote:Are you running pulseaudio per chance? With any currently active sound source? Because pulse has been causing similar sounding issue previously for me. (And causes just now for test.)
After installing pulseaudio-alsa I got sound. :D
Let me know if it works for you.

Re: [0.15.0] No sound on Linux

Posted: Sat Apr 29, 2017 9:01 am
by obstbraten
I installed pulseaudio-alsa etc and got no sound. Every other application works fine with pulseaudio.

Code: Select all

   0.000 2017-04-29 10:58:06; Factorio 0.15.3 (build 29201, linux64, alpha)
   0.006 Operating system: Linux (Arch rolling)
   0.006 Program arguments: "./factorio"
   0.006 Read data path: /root/ftmp/factorio/data
   0.006 Write data path: /root/ftmp/factorio
   0.006 Binaries path: /root/ftmp/factorio/bin
   0.012 System info: [CPU:       Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz, 8 cores, RAM: 16083MB]
   0.014 Display options: [FullScreen: 0] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.101 Available display adapters: 2
   0.101  [0]: resolution 1920x1080px at [1920,0]
   0.101  [1]: resolution 1920x1080px at [0,0]
   0.101 Create display on adapter 1. Size 1280x720 at position [310, 162].
   0.188 Initialised OpenGL:[1] GeForce GTX 960/PCIe/SSE2; driver: 4.5.0 NVIDIA 381.09
   0.188     Video memory size (dedicated/total available/current available): 2048/2048/1905 MB
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
   0.192 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
   0.692 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
   1.193 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
   1.693 Warning Display.cpp:48: Installing audio failed retrying...
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
   2.194 Warning Display.cpp:48: Installing audio failed
   2.694 Graphics settings preset: very-high
   2.694 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: false]
   2.742 Loading mod core 0.0.0 (data.lua)
   2.748 Loading mod base 0.15.3 (data.lua)
   2.828 Loading mod base 0.15.3 (data-updates.lua)
   2.903 Checksum for core: 2926038370
   2.903 Checksum of base: 2896593033
   2.992 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493317649
   2.992 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   3.079 Loaded shader file /root/ftmp/factorio/data/core/graphics/shaders/game.glsl
   3.104 Loaded shader file /root/ftmp/factorio/data/core/graphics/shaders/zoom-to-world.glsl
   3.109 Crop bitmaps.
  14.793 Initial atlas bitmap size is 16384
  14.815 Created atlas bitmap 16384x16359
  14.818 Created atlas bitmap 16384x8937
  14.819 Created atlas bitmap 4096x3980
  14.819 Created atlas bitmap 4096x3652
  32.445 Sprites loaded
  32.445 Convert atlas 4096x3980 to: trilinear-filtering
  32.541 Convert atlas 4096x3652 to: mipmap
  32.634 Custom inputs active: 0
  32.689 Factorio initialised
  38.467 Goodbye
Fixed Just remove all .asoundrc and alsa configs except /usr/share/alsa/alsa.conf