Linux Creative sound blaster not detected fully
#1
Hello,

I am running Kodi-15.1 on a gentoo amd64 system which has a Creative Blaster soundcard. Unfortunately, Kodi only lists the default and 2.1 version of the sound card and does not list the 5.1 device.

The log does not list the surround5.1 device:
Code:
20:50:47 T:140711395829632  NOTICE: Found 1 Lists of Devices
20:50:47 T:140711395829632  NOTICE: Enumerated ALSA devices:
20:50:47 T:140711395829632  NOTICE:     Device 1
20:50:47 T:140711395829632  NOTICE:         m_deviceName      : @
20:50:47 T:140711395829632  NOTICE:         m_displayName     : Default (SB Live! 5.1 [SB0220] ADC Capture/Standard PCM Playback)
20:50:47 T:140711395829632  NOTICE:         m_displayNameExtra:
20:50:47 T:140711395829632  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:50:47 T:140711395829632  NOTICE:         m_channels        : FL,FR,BL,BR
20:50:47 T:140711395829632  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000
20:50:47 T:140711395829632  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
20:50:47 T:140711395829632  NOTICE:     Device 2
20:50:47 T:140711395829632  NOTICE:         m_deviceName      : @:CARD=Live,DEV=0
20:50:47 T:140711395829632  NOTICE:         m_displayName     : SB Live! 5.1 [SB0220] (@:CARD=Live,DEV=0)
20:50:47 T:140711395829632  NOTICE:         m_displayNameExtra: ADC Capture/Standard PCM Playback
20:50:47 T:140711395829632  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:50:47 T:140711395829632  NOTICE:         m_channels        : FL,FR,BL,BR
20:50:47 T:140711395829632  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000
20:50:47 T:140711395829632  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
20:50:47 T:140711395829632  NOTICE:     Device 3
20:50:47 T:140711395829632  NOTICE:         m_deviceName      : rear:CARD=Live,DEV=0
20:50:47 T:140711395829632  NOTICE:         m_displayName     : SB Live! 5.1 [SB0220] (rear:CARD=Live,DEV=0)
20:50:47 T:140711395829632  NOTICE:         m_displayNameExtra: ADC Capture/Standard PCM Playback
20:50:47 T:140711395829632  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:50:47 T:140711395829632  NOTICE:         m_channels        : UNKNOWN1,BL,BR
20:50:47 T:140711395829632  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000
20:50:47 T:140711395829632  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
20:50:47 T:140711395829632  NOTICE:     Device 4
20:50:47 T:140711395829632  NOTICE:         m_deviceName      : center_lfe:CARD=Live,DEV=0
20:50:47 T:140711395829632  NOTICE:         m_displayName     : SB Live! 5.1 [SB0220] (center_lfe:CARD=Live,DEV=0)
20:50:47 T:140711395829632  NOTICE:         m_displayNameExtra: ADC Capture/Standard PCM Playback
20:50:47 T:140711395829632  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:50:47 T:140711395829632  NOTICE:         m_channels        : UNKNOWN1,FC,LFE
20:50:47 T:140711395829632  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000
20:50:47 T:140711395829632  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
20:50:47 T:140711395829632  NOTICE:     Device 5
20:50:47 T:140711395829632  NOTICE:         m_deviceName      : surround21:CARD=Live,DEV=0
20:50:47 T:140711395829632  NOTICE:         m_displayName     : SB Live! 5.1 [SB0220] (surround21:CARD=Live,DEV=0)
20:50:47 T:140711395829632  NOTICE:         m_displayNameExtra: ADC Capture/Standard PCM Playback
20:50:47 T:140711395829632  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:50:47 T:140711395829632  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
20:50:47 T:140711395829632  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000
20:50:47 T:140711395829632  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
20:50:47 T:140711395829632  NOTICE:     Device 6
20:50:47 T:140711395829632  NOTICE:         m_deviceName      : iec958:CARD=Live,DEV=0
20:50:47 T:140711395829632  NOTICE:         m_displayName     : SB Live! 5.1 [SB0220]
20:50:47 T:140711395829632  NOTICE:         m_displayNameExtra: Multichannel Capture/PT Playback S/PDIF
20:50:47 T:140711395829632  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
20:50:47 T:140711395829632  NOTICE:         m_channels        : FL,FR
20:50:47 T:140711395829632  NOTICE:         m_sampleRates     : 48000
20:50:47 T:140711395829632  NOTICE:         m_dataFormats     : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8

ALSA on the other hand does list the surround5.1 device:
Code:
aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Live
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    Default Audio Device
sysdefault:CARD=Live
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    Default Audio Device
front:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround21:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=Live,DEV=0
    SB Live! 5.1 [SB0220], Multichannel Capture/PT Playback
    IEC958 (S/PDIF) Digital Audio Output


The full log is at debug log.

My system details:
Code:
Distribution:Gentoo
Arch:x86_64
Graphics:GeForce 8400 GS Rev. 2
Sound:Creative Labs SBLive! 5.1 Digital Model SB0220

How can i get Kodi to list the surround 5.1 device?
Reply
#2
Actually, please try to play something by choosing the default (@) and if this does not work the device the 2.1 device, set your speakers to 5.1 and post a log, here is a testsample for you:

https://dl.dropboxusercontent.com/u/5572...20Test.avi

See: https://github.com/xbmc/xbmc/blob/master....cpp#L1061
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Thanks for the test file. I can confirm that with the default device (channels 5.1 set) all the 5.1 channels work successfully. However there are a couple of issues i noticed:

1. The Center speaker has a much lower volume compared to the Front Left and Front Rear speakers. If i do a speaker-test it is pretty loud. Something in kodi is reducing the volume. In Audio settings the output configuration is set as "Best Match" and "Maintain original volume in downmix is enabled".

2. The Rear left and right speakers seems to be swapped in the Test audio file compared with ALSA speaker test.

Code:
#speaker-test -Dsurround51:CARD=Live -t wav -c6

speaker-test 1.0.29

Playback device is surround51:CARD=Live
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 16 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
4 - Front Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
Reply
#4
Nope - nothing reduces volume.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
So the volume reduction is coming from the test file? Anyway to fix this?
Reply
#6
Use our DSP addons - available in kodi nightly.
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
Creative sound blaster not detected fully0