Kodi Community Forum

Full Version: White noise - Helix Alpha 2 - Fernetmenta's branch. SPDIF
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello, if I update to the latest build, I get white noise when using SPDIF Sad I used to update daily, but I dont know when this was introduced as I have been on holiday for a while, and lazy Sleepy

Debug log from a fresh ~/.xbmc

http://xbmclogs.com/show.php?id=278384


Any help would be great Smile
There is absolutely nothing different concerning Audio in fernetmenta's xbmc branch to mainline master.

Quote:Sample Format : AE_FMT_S24NE4

But yeah - seems that this could be related.

Edit: For completeness: This happens only with your Xonar, right?
yeah, if I change it to HDMI it stops. When I use xbmc-14-alpha1 (git:fdc5a34) june 28 it works fine.
Could you try mainline version too?
yes, I just tried the latest nightly from ppa:team-xbmc/xbmc-nightly and its the same.


// Edit


I have tried to edit the post title, but I can't find out how on my tablet :/
DO you compile XBMC yourself? There are only 3 commits after June, 28th affecting the ALSA sink
https://github.com/xbmc/xbmc/commits/mas...nkALSA.cpp

I don't think that the last 2 have any impact on this. The remaining on is this pull:
https://github.com/xbmc/xbmc/pull/4868/commits

Maybe this one is the culprit:
https://github.com/anssih/xbmc/commit/da...352fc9ecdc

I don't have a chance to test this. Would be nice if you could test by reverting those commits one by one.
I don't build alsa by myself, so I shall try and revert those commits tomorrow morning.

I shall let you know of it works.

S.
It's not about building ALSA, it's just about building xbmc and reverting those commits in our AESinkALSA.
Sorry, yes I misread.

but I will build and revert those one by one tomorrow morning when I am back at the pc
I believe this should fix your issue:
https://github.com/xbmc/xbmc/pull/5297

Can you try it? Smile
I shall build it in 10 minutes and report back Smile Just woken up, not had enough coffee yet Big Grin
urgh, build keeps failing, and its beyong me as to why Sad

help please

Code:
CPP     /media/2TB/buildingxbmc/guilib/VisibleEffect.o
CPP     /media/2TB/buildingxbmc/guilib/XBTF.o
TextureManager.cpp: In member function ‘void CTextureMap::Dump() const’:
TextureManager.cpp:181:155: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<CBaseTexture*>::size_type {aka long unsigned int}’ [-Wformat=]
   CStdString strLog = StringUtils::Format("  texture:%s has %i frames %i refcount\n", m_textureName.c_str(), m_texture.m_textures.size(), m_referenceCount);
                                                                                                                                                           ^
TextureManager.cpp: In member function ‘void CGUITextureManager::Dump() const’:
TextureManager.cpp:523:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<CTextureMap*>::size_type {aka long unsigned int}’ [-Wformat=]
   CStdString strLog = StringUtils::Format("total texturemaps size:%i\n", m_vecTextures.size());
                                                                                              ^
CPP     /media/2TB/buildingxbmc/guilib/XBTFReader.o
CPP     /media/2TB/buildingxbmc/guilib/TextureGL.o
CPP     /media/2TB/buildingxbmc/guilib/GUIFontTTFGL.o
CPP     /media/2TB/buildingxbmc/guilib/GUITextureGL.o
AR      /media/2TB/buildingxbmc/guilib/guilib.a
xbmc@xbmc:~/building/xbmcsource/xbmc$


I added the nightly ppa, then did build-dep xbmc for the dependencies
That's not the failure. that you rae posting. Just rerun make in that directory and pastebin everything you find in the window.

How did you "pick" the fix?
I couldn't work out how to pick an unpulled commit, using cherry-pick returned an error, so as it was only one change, I did it manually.


Quote: /* if we opened in 32bit and only have 24bits, pack into 24 */
if (fmtBits == 32 && bits == 24)
i = AE_FMT_S24NE4MSB;
else
continue;
}

Quote:xbmc@xbmc:~/building/xbmcsource/xbmc/xbmc/guilib$ make
CPP /media/2TB/buildingxbmc/guilib/AnimatedGif.o
CPP /media/2TB/buildingxbmc/guilib/DDSImage.o
CPP /media/2TB/buildingxbmc/guilib/DirectXGraphics.o
CPP /media/2TB/buildingxbmc/guilib/DirtyRegionSolvers.o
CPP /media/2TB/buildingxbmc/guilib/DirtyRegionTracker.o
CPP /media/2TB/buildingxbmc/guilib/cximage.o
CPP /media/2TB/buildingxbmc/guilib/FrameBufferObject.o
CPP /media/2TB/buildingxbmc/guilib/GraphicContext.o
CPP /media/2TB/buildingxbmc/guilib/GUIAction.o
CPP /media/2TB/buildingxbmc/guilib/GUIAudioManager.o
CPP /media/2TB/buildingxbmc/guilib/GUIBaseContainer.o
CPP /media/2TB/buildingxbmc/guilib/GUIBorderedImage.o
CPP /media/2TB/buildingxbmc/guilib/GUIButtonControl.o
CPP /media/2TB/buildingxbmc/guilib/GUICheckMarkControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIColorManager.o
CPP /media/2TB/buildingxbmc/guilib/GUIControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIControlFactory.o
CPP /media/2TB/buildingxbmc/guilib/GUIControlGroup.o
CPP /media/2TB/buildingxbmc/guilib/GUIControlGroupList.o
CPP /media/2TB/buildingxbmc/guilib/GUIControlProfiler.o
CPP /media/2TB/buildingxbmc/guilib/GUIDialog.o
CPP /media/2TB/buildingxbmc/guilib/GUIEditControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIFadeLabelControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIFixedListContainer.o
CPP /media/2TB/buildingxbmc/guilib/GUIFont.o
CPP /media/2TB/buildingxbmc/guilib/GUIFontManager.o
CPP /media/2TB/buildingxbmc/guilib/GUIFontTTF.o
CPP /media/2TB/buildingxbmc/guilib/GUIImage.o
CPP /media/2TB/buildingxbmc/guilib/GUIIncludes.o
CPP /media/2TB/buildingxbmc/guilib/GUIInfoTypes.o
CPP /media/2TB/buildingxbmc/guilib/GUIKeyboardFactory.o
CPP /media/2TB/buildingxbmc/guilib/GUILabel.o
CPP /media/2TB/buildingxbmc/guilib/GUILabelControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIListContainer.o
CPP /media/2TB/buildingxbmc/guilib/GUIListGroup.o
CPP /media/2TB/buildingxbmc/guilib/GUIListItem.o
CPP /media/2TB/buildingxbmc/guilib/GUIListItemLayout.o
CPP /media/2TB/buildingxbmc/guilib/GUIListLabel.o
CPP /media/2TB/buildingxbmc/guilib/GUIMessage.o
CPP /media/2TB/buildingxbmc/guilib/GUIMoverControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIMultiImage.o
CPP /media/2TB/buildingxbmc/guilib/GUIMultiSelectText.o
CPP /media/2TB/buildingxbmc/guilib/GUIPanelContainer.o
CPP /media/2TB/buildingxbmc/guilib/GUIProgressControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIRadioButtonControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIResizeControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIRenderingControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIRSSControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIScrollBarControl.o
CPP /media/2TB/buildingxbmc/guilib/GUISelectButtonControl.o
CPP /media/2TB/buildingxbmc/guilib/GUISettingsSliderControl.o
CPP /media/2TB/buildingxbmc/guilib/GUISliderControl.o
CPP /media/2TB/buildingxbmc/guilib/GUISpinControl.o
CPP /media/2TB/buildingxbmc/guilib/GUISpinControlEx.o
CPP /media/2TB/buildingxbmc/guilib/GUIStaticItem.o
CPP /media/2TB/buildingxbmc/guilib/GUITextBox.o
CPP /media/2TB/buildingxbmc/guilib/GUITextLayout.o
CPP /media/2TB/buildingxbmc/guilib/GUITexture.o
CPP /media/2TB/buildingxbmc/guilib/GUIToggleButtonControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIVideoControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIVisualisationControl.o
CPP /media/2TB/buildingxbmc/guilib/GUIWindow.o
CPP /media/2TB/buildingxbmc/guilib/GUIWindowManager.o
CPP /media/2TB/buildingxbmc/guilib/GUIWrappingListContainer.o
CPP /media/2TB/buildingxbmc/guilib/imagefactory.o
CPP /media/2TB/buildingxbmc/guilib/IWindowManagerCallback.o
CPP /media/2TB/buildingxbmc/guilib/JpegIO.o
CPP /media/2TB/buildingxbmc/guilib/Key.o
CPP /media/2TB/buildingxbmc/guilib/LocalizeStrings.o
CPP /media/2TB/buildingxbmc/guilib/Shader.o
CPP /media/2TB/buildingxbmc/guilib/StereoscopicsManager.o
CPP /media/2TB/buildingxbmc/guilib/Texture.o
CPP /media/2TB/buildingxbmc/guilib/TextureBundleXPR.o
CPP /media/2TB/buildingxbmc/guilib/TextureBundleXBT.o
CPP /media/2TB/buildingxbmc/guilib/TextureBundle.o
CPP /media/2TB/buildingxbmc/guilib/TextureManager.o
TextureManager.cpp: In member function ‘void CTextureMap:Big Grinump() const’:
TextureManager.cpp:181:155: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<CBaseTexture*>:Confusedize_type {aka long unsigned int}’ [-Wformat=]
CStdString strLog = StringUtils::Format(" texture:%s has %i frames %i refcount\n", m_textureName.c_str(), m_texture.m_textures.size(), m_referenceCount);
^
TextureManager.cpp: In member function ‘void CGUITextureManager:Big Grinump() const’:
TextureManager.cpp:523:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<CTextureMap*>:Confusedize_type {aka long unsigned int}’ [-Wformat=]
CStdString strLog = StringUtils::Format("total texturemaps size:%i\n", m_vecTextures.size());
^
CPP /media/2TB/buildingxbmc/guilib/VisibleEffect.o
CPP /media/2TB/buildingxbmc/guilib/XBTF.o
CPP /media/2TB/buildingxbmc/guilib/XBTFReader.o
CPP /media/2TB/buildingxbmc/guilib/TextureGL.o
CPP /media/2TB/buildingxbmc/guilib/GUIFontTTFGL.o
CPP /media/2TB/buildingxbmc/guilib/GUITextureGL.o
AR /media/2TB/buildingxbmc/guilib/guilib.a
xbmc@xbmc:~/building/xbmcsource/xbmc/xbmc/guilib$


When I run make -j4 it ends (as can be seen above) but when I try sudo make install it gives this error, thats why I presumed it was breaking.

Quote:xbmc@xbmc:~/building/xbmcsource/xbmc$ sudo make install
[sudo] password for xbmc:
Copying XBMC binary to /usr/local/lib/xbmc/
install: cannot stat ‘xbmc.bin’: No such file or directory
make: *** [install-binaries] Error 1
xbmc@xbmc:~/building/xbmcsource/xbmc$
Wait don't run make in the guilib directory ...
Pages: 1 2