![]() |
Linux Problem using SPDIF output of M-Sound Fast Track Pro - Printable Version Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) ---- Thread: Linux Problem using SPDIF output of M-Sound Fast Track Pro (/showthread.php?tid=253008) Pages:
1
2
|
Problem using SPDIF output of M-Sound Fast Track Pro - breisladdmeister - 2015-12-21 I am not able to get sound out of the SPDIF output of M-Sound Fast Track Pro. Kodi does not recognize all possible audio outputs in Settings->System->Audio output. Using "aplay -Dplughw:2,1 /var/tmp/test.wav" works, but this sound output is not possible to select in Kodi. kodi.log kodi.log with FastTrack Pro on Linux/Ubuntu $ uname -a Linux kvitfjell 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily Any help, please? Thanks RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Provide: aplay -l please And please provide a Debug Log with and actually playing something: Quote:12:35:06 T:140488483297344 NOTICE: m_displayName : FastTrack Pro In Fixed mode: 48 khz please RE: Problem using SPDIF output of M-Sound Fast Track Pro - breisladdmeister - 2015-12-21 Debug log: http://xbmclogs.com/puvwdmmu2 $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Pro [FastTrack Pro], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Pro [FastTrack Pro], device 1: USB Audio [USB Audio #1] Subdevices: 1/1 Subdevice #0: subdevice #0 RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Nice: 13:43:45 T:139806770042624 ERROR: CAESinkALSA::InitializeHW - Unable to find a suitable output format RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Lol: Quote:13:43:45 T:139807299872832 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000 Please enable debuglogging and restart kodi - I need to see that. We don't enumerate _any_ formats for this card. And: Quote:13:43:45 T:139807299872832 NOTICE: Device 4 data formats is empty :-( RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Please if you are at it - post the complete output of speaker-test -c 2 -D plughw:2,1 RE: Problem using SPDIF output of M-Sound Fast Track Pro - breisladdmeister - 2015-12-21 Thank you for your quick reply. $ LC_ALL=C speaker-test -c 2 -D plughw:2,1 speaker-test 1.0.29 Playback device is plughw:2,1 Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 96 to 174762 Period size range from 48 to 87381 Using max buffer size 174760 Periods = 4 was set period_size = 43690 was set buffer_size = 174760 0 - Front Left 1 - Front Right Time per period = 5.526839 0 - Front Left ^C 1 - Front Right Time per period = 0.578304 And this generates noise in the speakers. No success with Kodi. RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Good - yeah. Your driver is broken, broken, broken ... you won't be happy with it, here a kodi patch: Quote:diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp Can you build kodi from source and apply this patch? RE: Problem using SPDIF output of M-Sound Fast Track Pro - breisladdmeister - 2015-12-21 Thank you for your reply. I will consider building Kodi from source. But is the real source of this problem snd_usb_audio kernel driver? I have enabled 24bit/96kHz with: $ cat /etc/modprobe.d/fast-track-pro.conf # This will put the FastTrack Pro at device number 2 with 24bit mode, max. 48kHz sampling mode, # 2 inputs and 4 outputs. According to the patch, the possible values for the device_setup # parameter are the sum of the following numbers: # 0x01 : use the device_setup parameter, always needed # 0x02 : enable digital output (channels 3,4) # 0x04 : use 48kHz-96kHz sampling rate, 8-48 kHz if not used # 0x08 : 24bit sampling rate # 0x10 : enable digital input (channels 3,4) options snd_usb_audio vid=0x763 pid=0x2012 device_setup=0xF index=2 enable=1 RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 The problem is your sound card driver. Try toe remove all those custom probes and post me a logfile without those, please. 24 bit sampling rate <- what is that? (the comment is most likely wrong) - please remove all those and post another kodi.log RE: Problem using SPDIF output of M-Sound Fast Track Pro - breisladdmeister - 2015-12-21 After removing additional options to snd_usb_audio: kodi.log Still no sound from Kodi, but "speaker-test -c 2 -D plughw:1,1" works. Why is Kodi only enumerating CARD=Pro,DEV=0 and not CARD=Pro,DEV=1? RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Kodi won't have sound as your driver is broken and does not tell us any supported format ... it does - one is the analog the other the spdif You only chance is to add the patch - I don't plan to workaround broken drivers by guesswork. RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 With patch it looks okay (that's with the patch, right?) Quote:16:44:49 T:140707147364416 NOTICE: Device 4 RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 Some more information: http://thread.gmane.org/gmane.linux.alsa.devel/39639 RE: Problem using SPDIF output of M-Sound Fast Track Pro - fritsch - 2015-12-21 To workaround, you can try something like this: Code: From 982c628f484266c8db4f70dc1e856bc7844c1873 Mon Sep 17 00:00:00 2001 You need to find your device string like "FastTrack Pro" or something. |