2012-07-29, 04:09
Hi there, i'm trying to get a Soundblaster Extigy to work with a XBMC Ubunto on a Toshiba laptop (wich also has it's own internal soundcard).
I got sound in movies but when i try to play music it gives me the error "failed to initialize sound device".
I enabled the LOG , played a few seconds of a movie, stopped it and then tried to play an MP3, i see the error in the LOG file, i just have no clue of what to do to solve it, i'v searched this forum back and forth and i didn't find any answer.
My goal is to get two channel audio from the extigy,and although the movies play with audio and it sounds ok, the log gives-me doubts if the downmix is working or i am only getting the sound of the FR+FR of a 6-channel output.
I only posted what i thought was relevant, but if required i can post the full log.
Thanks in advance for any help you guys can give!
I got sound in movies but when i try to play music it gives me the error "failed to initialize sound device".
I enabled the LOG , played a few seconds of a movie, stopped it and then tried to play an MP3, i see the error in the LOG file, i just have no clue of what to do to solve it, i'v searched this forum back and forth and i didn't find any answer.
My goal is to get two channel audio from the extigy,and although the movies play with audio and it sounds ok, the log gives-me doubts if the downmix is working or i am only getting the sound of the FR+FR of a 6-channel output.
Quote:-------------VIDEO-OK-SOUND-------------------------------
01:45:37 T:3057101680 NOTICE: Creating audio thread
01:45:37 T:3057101680 DEBUG: CDVDPlayer::SetCaching - caching state 2
01:45:37 T:3057101680 DEBUG: CheckPlayerInit - dropping packet type:2 dts:83000.000000 to get to start point at 167000.000000
01:45:37 T:3057101680 DEBUG: CheckPlayerInit - dropping packet type:2 dts:42000.000000 to get to start point at 167000.000000
01:45:37 T:3057101680 DEBUG: CheckPlayerInit - dropping packet type:2 dts:125000.000000 to get to start point at 167000.000000
01:45:37 T:2836388720 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
01:45:37 T:2836388720 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
01:45:37 T:2836388720 DEBUG: VAAPI - attempting to open codec 28 with profile 100 at level 41 with 5 reference frames
01:45:37 T:2827996016 DEBUG: Thread CDVDPlayerAudio start, auto delete: 0
01:45:37 T:2827996016 NOTICE: running thread: CDVDPlayerAudio:rocess()
01:45:37 T:2827996016 NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
01:45:37 T:2827996016 INFO: CPCMRemap: Configured speaker layout: 2.0
01:45:37 T:2827996016 INFO: CPCMRemap: I channel map: FL,FR,CE,LFE,SL,SR
01:45:37 T:2827996016 DEBUG: CPCMRemap: Forcing side channel map to back channels
01:45:37 T:2827996016 INFO: CPCMRemap: O channel map: FL,FR
01:45:37 T:2827996016 DEBUG: CPCMRemap: Downmix normalization is disabled
01:45:37 T:2827996016 DEBUG: CPCMRemap: FL = FL(1.000000) CE(0.707107) LFE(0.707107) BL(1.000000)
01:45:37 T:2827996016 DEBUG: CPCMRemap: FR = FR(1.000000) CE(0.707107) LFE(0.707107) BR(1.000000)
01:45:37 T:2827996016 DEBUG: CALSADirectSound::CALSADirectSound - Requested channels changed from 6 to 2
01:45:37 T:2827996016 DEBUG: RemoveActiveDevice - Removing device 1
01:45:37 T:2827996016 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
01:45:37 T:2827996016 DEBUG: RemoveActiveDevice - Removing device 0
01:45:37 T:2836388720 DEBUG: VAAPI - initialize version 0.32
01:45:37 T:2836388720 ERROR: VAAPI - unable to initialize display -1 - unknown libva error
01:45:37 T:2836388720 INFO: ffmpeg[A90FDB70]: [h264] Cannot parallelize deblocking type 1, decoding such frames in sequential order
01:45:37 T:2836388720 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(167000.000000, 0)
01:45:37 T:2827996016 DEBUG: Initialize - using alsa device plug:'iec958:CARD=Extigy,DEV=0'
01:45:37 T:2827996016 DEBUG: CALSADirectSound::Initialize - frame count:512, packet count:16, buffer size:8192
01:45:37 T:9648576 DEBUG: CGUIInfoManager::SetCurrentMovie(rar://smb%3a%2f%2fHOSAKA%2fMovies%2fCleanskin%2e2012%2e1080p%2eBluRay%2eX264%2dRRH%2frrh%2dcleanskin%2erar/rrh-cleanskin.mkv)
01:45:37 T:2836388720 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 808, dwidth: 1920, dheight: 808
01:45:37 T:2836388720 DEBUG: OutputPicture - change configuration. 1920x808. framerate: 23.98. format: YV12
01:45:37 T:2836388720 NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
01:45:37 T:9648576 DEBUG: GetMovieId (rar://smb%3a%2f%2fHOSAKA%2fMovies%2fCleanskin%2e2012%2e1080p%2eBluRay%2eX264%2dRRH%2frrh%2dcleanskin%2erar/rrh-cleanskin.mkv), query = select idMovie from movie where idFile=407
01:45:37 T:2827996016 DEBUG: CALSADirectSound::Initialize - Channels: 6 - SampleRate: 48000 - SampleBit: 16 - Resample false - IsMusic false - IsPassthrough 0 - audioDevice: iec958:CARD=Extigy,DEV=0
01:45:37 T:2827996016 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
01:45:37 T:3057101680 DEBUG: CDVDPlayer::HandleMessages - player started 2
01:45:37 T:3057101680 DEBUG: CDVDPlayer::HandleMessages - player started 1
01:45:37 T:3057101680 DEBUG: CDVDPlayer::SetCaching - caching state 0
01:45:37 T:2827996016 DEBUG: CPCMRemap:: max gain: 3.414214, enabling limiter
01:45:37 T:2827996016 DEBUG: CDVDPlayerAudio:: Discontinuity - was:694.015000, should be:0.000000, error:-694.015000
01:45:37 T:2827996016 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(10000.000000, 1)
01:45:37 T:9648576 DEBUG: LoadVideoInfo, got movie info!
-------------MP3-NOK-SOUND-------------------------------
01:46:10 T:9648576 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
01:46:10 T:9648576 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
01:46:10 T:9648576 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
01:46:10 T:9648576 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
01:46:10 T:9648576 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
01:46:10 T:9648576 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
01:46:10 T:9648576 DEBUG: CGUIAudioManager:eInitialize
01:46:10 T:2934958960 DEBUG: GetImageHash - unable to stat url smb://HOSAKA/MP3 Done/!!!/!!! -!!!/cdart.png
01:46:10 T:9648576 DEBUG: CFileCache::Open - opening <3/1/1.mp3> using cache
01:46:10 T:9648576 DEBUG: CFileSMB::Open - opened MP3 Done/!!!/!!! -!!!/01.!!!_-_the_step.mp3, fd=10000
01:46:10 T:9648576 DEBUG: DllLibApeTag: Using libapetag library
01:46:10 T:2827996016 DEBUG: Thread XFILE::CFileCache start, auto delete: 0
01:46:10 T:9648576 DEBUG: CFileSMB::Open - opened MP3 Done/!!!/!!! -!!!/01.!!!_-_the_step.mp3, fd=10001
01:46:10 T:9648576 DEBUG: CFileSMB::Close closing fd 10001
01:46:10 T:9648576 DEBUG: CFileSMB::Open - opened MP3 Done/!!!/!!! -!!!/01.!!!_-_the_step.mp3, fd=10001
01:46:10 T:9648576 DEBUG: CFileSMB::Close closing fd 10001
01:46:10 T:9648576 DEBUG: DllLibApeTag: Using libapetag library
01:46:10 T:9648576 DEBUG: CFileSMB::Open - opened MP3 Done/!!!/!!! -!!!/01.!!!_-_the_step.mp3, fd=10001
01:46:10 T:9648576 DEBUG: CFileSMB::Close closing fd 10001
01:46:10 T:9648576 DEBUG: CFileSMB::Open - opened MP3 Done/!!!/!!! -!!!/01.!!!_-_the_step.mp3, fd=10001
01:46:10 T:9648576 DEBUG: CFileSMB::Close closing fd 10001
01:46:10 T:9648576 INFO: PAPlayer: Playing musicdb://3/1/1.mp3
01:46:10 T:9648576 DEBUG: PAPlayer: Creating new audio renderer
01:46:10 T:9648576 INFO: CAudioRendererFactory: no input channel map specified assume windows
01:46:10 T:9648576 INFO: CPCMRemap: Configured speaker layout: 2.0
01:46:10 T:9648576 INFO: CPCMRemap: I channel map: FL,FR
01:46:10 T:9648576 INFO: CPCMRemap: O channel map: FL,FR
01:46:10 T:9648576 DEBUG: CPCMRemap: Downmix normalization is disabled
01:46:10 T:9648576 DEBUG: CPCMRemap: FL = FL(1.000000*)
01:46:10 T:9648576 DEBUG: CPCMRemap: FR = FR(1.000000*)
01:46:10 T:9648576 DEBUG: RemoveActiveDevice - Removing device 1
01:46:10 T:9648576 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
01:46:10 T:9648576 DEBUG: RemoveActiveDevice - Removing device 0
01:46:10 T:9648576 DEBUG: Initialize - using alsa device plug:'iec958:CARD=Extigy,DEV=0'
01:46:10 T:9648576 ERROR: Initialize - hw_params_get_buffer_size, alsa error: -22 - Invalid argument
01:46:10 T:9648576 DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
01:46:10 T:9648576 DEBUG: RemoveActiveDevice - Removing device 2
01:46:10 T:9648576 DEBUG: CGUIAudioManager::Initialize
01:46:10 T:9648576 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
I only posted what i thought was relevant, but if required i can post the full log.
Thanks in advance for any help you guys can give!