Need help to setup alsa
#1
Hi,
I am tring to get kodi works with alsa on ubuntu 16.04.
So far, I have audio passthrough support but not the default mode.
I can have "non bitstream" audio with any player other than kodi.
Quote:
fuser -fv /dev/snd/*
UTIL. PID ACCÈS COMMANDE
/dev/snd/controlC0: 7099 F.... kodi.bin
/dev/snd/pcmC0D3p: 7971 F...m totem

with kodi
Quote:/dev/snd/controlC0: angelofskies 7099 F.... kodi.bin
/dev/snd/pcmC0D3p: angelofskies 7099 F...m kodi.bin
but no sound.

Quote:aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: PCH [HDA Intel PCH], périphérique 0: ALC887-VD Analog [ALC887-VD Analog]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 1: ALC887-VD Digital [ALC887-VD Digital]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0

I have tried kodi 16.1 and I am now on kodi 17 alpha1.

Short log
Quote:23:49:35 T:140638343616896 ERROR: PulseAudio: Failed to connect context
23:49:35 T:140638343616896 NOTICE: PulseAudio might not be running. Context was not created.
23:49:35 T:140638343616896 NOTICE: Found 1 Lists of Devices
23:49:35 T:140638343616896 NOTICE: Enumerated ALSA devices:
23:49:35 T:140638343616896 NOTICE: Device 1
23:49:35 T:140638343616896 NOTICE: m_deviceName : default
23:49:35 T:140638343616896 NOTICE: m_displayName : Default (HDA Intel PCH HDMI 0)
23:49:35 T:140638343616896 NOTICE: m_displayNameExtra:
23:49:35 T:140638343616896 NOTICE: m_deviceType : AE_DEVTYPE_PCM
23:49:35 T:140638343616896 NOTICE: m_channels : FL,FR,LFE,FC,BC,BL,BR,FLOC,FROC,BLOC,BROC,TFC,TC,TFL,TFR,UNKNOWN1
23:49:35 T:140638343616896 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
23:49:35 T:140638343616896 NOTICE: m_dataFormats : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
23:49:35 T:140638343616896 NOTICE: m_streamTypes : No passthrough capabilities
23:49:35 T:140638343616896 NOTICE: Device 2
23:49:35 T:140638343616896 NOTICE: m_deviceName : @:CARD=PCH,DEV=0
23:49:35 T:140638343616896 NOTICE: m_displayName : HDA Intel PCH
23:49:35 T:140638343616896 NOTICE: m_displayNameExtra: ALC887-VD Analog
23:49:35 T:140638343616896 NOTICE: m_deviceType : AE_DEVTYPE_PCM
23:49:35 T:140638343616896 NOTICE: m_channels : FL,FR
23:49:35 T:140638343616896 NOTICE: m_sampleRates : 48000
23:49:35 T:140638343616896 NOTICE: m_dataFormats : AE_FMT_S32NE
23:49:35 T:140638343616896 NOTICE: m_streamTypes : No passthrough capabilities
23:49:35 T:140638343616896 NOTICE: Device 3
23:49:35 T:140638343616896 NOTICE: m_deviceName : iec958:CARD=PCH,DEV=0
23:49:35 T:140638343616896 NOTICE: m_displayName : HDA Intel PCH
23:49:35 T:140638343616896 NOTICE: m_displayNameExtra: ALC887-VD Digital S/PDIF
23:49:35 T:140638343616896 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
23:49:35 T:140638343616896 NOTICE: m_channels : FL,FR
23:49:35 T:140638343616896 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,192000
23:49:35 T:140638343616896 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
23:49:35 T:140638343616896 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
23:49:35 T:140638343616896 NOTICE: Device 4
23:49:35 T:140638343616896 NOTICE: m_deviceName : hdmi:CARD=PCH,DEV=0
23:49:35 T:140638343616896 NOTICE: m_displayName : HDA Intel PCH
23:49:35 T:140638343616896 NOTICE: m_displayNameExtra: ONK TX-NR509 on HDMI
23:49:35 T:140638343616896 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
23:49:35 T:140638343616896 NOTICE: m_channels : FL,FR,LFE,FC,BL,BR,BLOC,BROC
23:49:35 T:140638343616896 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
23:49:35 T:140638343616896 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
23:49:35 T:140638343616896 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD


00:16:39 T:140637697468160 INFO: CActiveAESink::OpenSink - initialize sink
00:16:39 T:140637697468160 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:default
00:16:39 T:140637697468160 INFO: CAESinkALSA::Initialize - Attempting to open device "default"
00:16:39 T:140637697468160 INFO: CAESinkALSA::Initialize - Opened device "default"
00:16:39 T:140637697468160 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
00:16:39 T:140637697468160 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
00:16:39 T:140637697468160 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192
00:16:39 T:140637697468160 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
00:16:39 T:140637697468160 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
00:16:39 T:140637697468160 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
00:16:39 T:140637697468160 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
00:16:39 T:140637697468160 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: FL FR)
00:16:39 T:140637697468160 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
00:16:39 T:140637697468160 DEBUG: Output Device : Default (HDA Intel PCH HDMI 0)
00:16:39 T:140637697468160 DEBUG: Sample Rate : 44100
00:16:39 T:140637697468160 DEBUG: Sample Format : AE_FMT_S32NE
00:16:39 T:140637697468160 DEBUG: Channel Count : 2
00:16:39 T:140637697468160 DEBUG: Channel Layout: FL,FR
00:16:39 T:140637697468160 DEBUG: Frames : 2048
00:16:39 T:140637697468160 DEBUG: Frame Size : 8
00:16:39 T:140637853599488 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
Reply
#2
There is no problem at all, only the kodi volume are mute when I play 'non bitstream' video.

I am sure that I have tried to unmute and level up the sound with kore app yesterday and that does nothing. I have to use my keyboard, maybe I could use the onscreen menu but I couldn't know back then.
Reply
#3
just edit guisettings.xml while kodi is stopped and chance fvolume to 1.0 you find it in ~/.kodi/userdata/guisettings.xml - then start kodi and volume is maxed again.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
mute = false and fvolume = 1.0000 in guisettings but I don't know if it's like this since yesterday.

As said there's no problem but if you want to investigate on it.
30 minutes ago, to get eventserver working on kore I have to setup yatse , which when connected, kodi displayed notification and play sound normally.
I has been playing a video with mp3 audio which audio has been mute when yatse has been connected. I can unmute it with kore. I noticed that there is an red speaker icon with cross before and for this event it's only a «grey» speaker icon.
Reply
#5
A full Debug Log will tell. Without it, no chance to investiage.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
Need help to setup alsa0