More > JRiver Media Center 24 for Linux

No Sound on any zone (except the default player) from MC24 Ubuntu 16 & 18

<< < (10/17) > >>

percy:
Is there any progress on this. Can I try anything to make it work on MC24.
If I invoke a playback on one of the sound devices defined in /etc/asoud.conf it works perfectly proving that on the Ubuntu side all is well (Else MC23 wouldn't work, or would it).


--- Code: ---aplay -D xonar_brown_black /home/percy/JustUs.wav
Playing WAVE '/home/percy/JustUs.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

--- End code ---

The same file works ok in MC23 and pops-up the error message in MC24 (with the same configuration since that was restored from a library backup of the working MC23 on the same machine).

I would be very grateful for any hint or solution.

bob:

--- Quote from: percy on June 18, 2018, 04:57:50 am ---Is there any progress on this. Can I try anything to make it work on MC24.
If I invoke a playback on one of the sound devices defined in /etc/asoud.conf it works perfectly proving that on the Ubuntu side all is well (Else MC23 wouldn't work, or would it).


--- Code: ---aplay -D xonar_brown_black /home/percy/JustUs.wav
Playing WAVE '/home/percy/JustUs.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

--- End code ---

The same file works ok in MC23 and pops-up the error message in MC24 (with the same configuration since that was restored from a library backup of the working MC23 on the same machine).

I would be very grateful for any hint or solution.

--- End quote ---

1) In MC's audio device selection, if there is a blank description of the device, MC23's descriptions are OFFSET by the number of those blank entries from the actual device that description is referring to. This means if you are trying to compare MC24 and MC23 device opening you need to use the device name to compare, NOT the description (i.e. hw:CARD=PCH, DEV=0 ....)

2) MC24 has direct DSD support. That required changes in the device handling. There is no going back to MC23's method of opening the device.

3) It WORKS here on MC24 and Ubuntu 18 so there is something about your configuration that slipped by MC23's method of opening the device but doesn't with MC24.

Did you try the latest beta (24.0.35)? If not please do. In any case post a new log since there were some changes made to the device open since your last log.

percy:
The version installed is the latest beta (24.0.35)?

I attached the log.txt file (in which I deleted most as it tends to get huge (multi MB) in very short time. I hope I catched the essential bit of which I inserted (as far as I can geuss) the part where it has the problem.


--- Code: ---0003659: 645908224: Playback: CALSAPlugin::OpenALSA: Opened audio device xonar_brown_black
0003659: 645908224: Playback: CALSAPlugin::OpenALSA: Failed to get desired number of channels (2): Invalid argument
0003659: 645908224: Playback: CALSAPlugin::OpenALSA: Failed to set desired number of channels (2): Invalid argument
0003659: 645908224: Playback: CALSAPlugin::OpenALSA: Finish (23 ms)

--- End code ---

When I select the device in MC24 (as in MC23) I select the audio device (Not the description) which I defined in my asound.conf
So for the 2 channels (stereo) in the Bureau I select "xonar_brown_black" from the device list in MC24.
For the speaker in the "Keuken" (Kitchen) I select 1 channel (mono) I select "intel_orange_B" as device in MC24


in "/etc/modprobe.d/alsa-base.conf" I added at the end.
I have also attached the complete "alsa-base.conf" (as "alsa-base.txt") in case you want to investigate something in there.


--- Code: ---options snd slots=snd-hda-intel,snd-hda-intel,snd-virtuoso

--- End code ---

to have always the save order of in "/proc/asound/cards"


--- Code: --- cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7c34000 irq 30
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c30000 irq 29
 2 [STH6           ]: AV200 - Xonar ST+H6

--- End code ---

Here is my "/etc/asound.conf" file content

--- Code: ---pcm_slave.xonar {
pcm "hw:2"
rate 192000
format S32_LE
channels 8
periods 128
period_time 0
period_size 1024
buffer_size 8192
}


pcm.xonar_dshare {
type dmix
ipc_key 2048
slave xonar
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}

pcm.xonar_red_white {
type plug
slave {
pcm "xonar_dshare"
channels 8
}
ttable.0.0 1 # in-channel 0, out-channel 0, 100% volume
ttable.1.1 1 # in-channel 1, out-channel 1, 100% volume
hint.description "Slaapkamer 2 Channels Stereo Amp Ch 1"
}

pcm.xonar_brown_black {
type plug
slave {
pcm "xonar_dshare"
channels 8
}
ttable.0.2 1 # in-channel 0, out-channel 2, 100% volume
ttable.1.3 1 # in-channel 1, out-channel 3, 100% volume
hint.description "Bureau 2 Channels Stereo Amp Ch 2"
}

pcm.xonar_purple_green {
type plug
slave {
pcm "xonar_dshare"
channels 8
}
ttable.0.4 1 # in-channel 0, out-channel 4, 100% volume
ttable.1.5 1 # in-channel 1, out-channel 5, 100% volume
        hint.description "Berging 2 Channels Stereo Amp Ch 3"
}

pcm.xonar_blue_gray {
type plug
slave {
pcm "xonar_dshare"
channels 8
}
ttable.0.6 1 # in-channel 0, out-channel 6, 100% volume
ttable.1.7 1 # in-channel 1, out-channel 7, 100% volume
        hint.description "Living Rear 2 Channels Stereo Sony Amp"
}

pcm_slave.hda_intel {
pcm "hw:1"
rate 44100
channels 8
periods 128
period_time 0
period_size 1024
buffer_size 8192
}


pcm.hdaintel_dshare {
type dmix
ipc_key 4096
slave hda_intel
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}

pcm.intel_green {
type plug
slave {
pcm "hdaintel_dshare"
channels 8
}
ttable.0.0 1 # in-channel 0, out-channel 0, 100% volume
ttable.1.1 1 # in-channel 1, out-channel 1, 100% volume
        hint.description "Free Not in Use"
}

pcm.intel_black {
type plug
slave {
pcm "hdaintel_dshare"
channels 8
}
ttable.0.2 1 # in-channel 0, out-channel 2, 100% volume
ttable.1.3 1 # in-channel 1, out-channel 3, 100% volume
        hint.description "Free Not in Use"
}

pcm.intel_orange_A {
type plug
slave {
pcm "hdaintel_dshare"
channels 8
}
ttable.0.5 1 # in-channel 0, out-channel 5, 100% volume
        hint.description "Badkamer 1 Channel Mono Amp Ch 6"
}

pcm.intel_orange_B {
type plug
slave {
pcm "hdaintel_dshare"
channels 8
}
ttable.0.4 1 # in-channel 0, out-channel 4, 100% volume
        hint.description "Keuken 1 Channel Mono Amp Ch 6"
}

pcm.intel_gray_A {
type plug
slave {
pcm "hdaintel_dshare"
channels 8
}
ttable.0.6 1 # in-channel 0, out-channel 6, 100% volume
        hint.description "Terras 1 Channel Mono Amp Ch 5"
}

pcm.intel_gray_B {
type plug
slave {
pcm "hdaintel_dshare"
channels 8
}
ttable.0.7 1 # in-channel 1, out-channel 7, 100% volume
        hint.description "Gasten WC 1 Channel Mono Amp Ch 5"
}

--- End code ---

The "/etc/asound.conf" is also attached (as asound.txt)

Thanks again for all your effort in trying to help me with this nasty problem.

bob:
I really don't know much of anything about redescribing devices using alsa.conf but it appears like your configuration isn't allowing the device to be opened as a 2 channel device which I assume your source material is or it wouldn't be trying to open it as 2 channels.
You might try testing this by using the output format in DSP studio to set the output to 7.1 for the 8 channel devices and 1 for the mono device.

percy:
But if i open that same device with the linux ALSA aplay it plays the music file on the requested 2 channels without any problem. And so does MC23! That is the reason which make me belive that the problem is somewhere in MC24. If you provide me with cat /proc/asound/cards output. Then i can provide you with the corresponding /etc/asound.conf file so jou can try it out on your system. Then maybe we can get a more detailed error info.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version