protonscr

Crimsonland without sound on linux

steamclosed reviewed3rd party game
ValveSoftware/steam-for-linux#4110 · opened 2015-11-05 by cforain · updated 2015-11-26 · 1 comments · github
Ccforain 2015-11-05 github

Crimsomland has no sound whatsoever, while steam big picture and other games do. I have tested on 2 different hardware sets (desktop and laptop), and I can confirm its game-specific. Also, on both hardware sets, the game has perfect sound on Windows 7. Im using Gentoo with 4.05 kernel and nvidia proprietary drivers.

Ccforain 2015-11-26 github

The problem was that my soundcard (hda intel) doesn't have hardware mixer, só I enabled software mixer in my .asoundrc, thorugh my hdmi sound on nvidia. Here is the file in case anyone need it in the future:

cat .asoundrc
pcm.dmixed {
type asym
playback.pcm {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio

            slave {
                    channels 2 # make 6 or 5.1 channel
                    pcm {
                            format S16_LE # S32_LE
                            rate 48000 # can also be 44100
                            type hw
                            card 1 # your card
                            device 7 # your device
                            subdevice 0 #important?
                    }

                    period_size 1024
                    buffer_size 8192
            }

            bindings {
                    0 0
                    1 1

Uncomment below if using 6 channel

2 2

3 3

4 4

5 5

            }
    }
    capture.pcm "hw:0"

}

pcm.!default {
type plug
slave.pcm "dmixed"
}

Nothing extracted yet.