You are not logged in.

#1 2014-02-04 10:52:59

rabcor
Banned
Registered: 2013-02-09
Posts: 500

[Solved]Alsa's ttable command causes MPV & CMPlayer to crash

Here's a pastebin of the error CMPlayer gives me, when i'm converting stereo to surround using ttables with asound.conf these programs seem to randomly freeze or crash even if they work completely fine while they're not busy being frozen (sound and all).

I also tried VLC, it crashed but I didn't see any clear errors regarding sound, just a segmentation fault.

Could I be missing some package ttables depend on? Is it an mpv bug? is it an alsa bug? any ideas on how I could bypass it? (I have no problems with deadbeef and pepper flash at least)

To replicate the error for me this asound.conf will do:

pcm.!default {
	slave.pcm "surround51"
	slave.channels 6
	type plug

	# Front and rear
	ttable.0.0 0.7
	ttable.1.1 0.7
	ttable.2.2 0.6
	ttable.3.3 0.6

	# Center and LFE
	ttable.4.4 1
	ttable.5.5 1

	# Front left/right to center
	ttable.0.4 0.5
	ttable.1.4 0.5

	# Front left/right to rear
	ttable.0.2 0.5
	ttable.1.3 0.5
}

Last edited by rabcor (2014-04-27 07:02:01)

Offline

#2 2014-02-04 11:53:16

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [Solved]Alsa's ttable command causes MPV & CMPlayer to crash

I think it should be type route, rather than type plug.

Also see config in my sig.

Offline

#3 2014-02-04 17:29:38

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Solved]Alsa's ttable command causes MPV & CMPlayer to crash

The above was a copy of ch51dup from your signature asoundrc; incidentally i've also got upmix_20to51 which gives me pretty much the same results.

But I tried what you said (changing type to route), and it works like a charm! thanks! Both for your alsa conf and the solution wink you've helped out a lot with alsa problems; this here is me going with it that my driver is faulty on linux, I'm gonna live with it and just play  surround movies from my windows that i've got in dual-boot the usefulness and importance of using linux for work to me by now  heavily outweighs the frustration of needing to restart for certain things.

But this would never have happened if i hadn't found out how to do half decent upmixing through your alsa conf, so you're a pretty cool dude. font rendering is useful too even if up till now I've been too lazy to try to understand or customize it.

Offline

Board footer

Powered by FluxBB