Kodi Community Forum
[Windows] AudioEngine testers - Windows platform only - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [Windows] AudioEngine testers - Windows platform only (/showthread.php?tid=124600)



RE: [Windows] AudioEngine testers - Windows platform only - jpsdr - 2012-05-11

So, i think it should have been here.

I've tested XBMCSetup-20120510-0404824-master.exe, and result is... Sad

First is a log (without debug) of my own build of today, testing a file here

As it can be seen almost at the end, there is a buffer underrun.
I've been obliged to push the reset button of my PC.

After, i've tested the nightly build (in case something was wrong with my build).
I've only gone to system -> system -> audio, device message was "error, no audio device". Wasn't the case before, and accessing to this setting, no response from XBMC, i've been obliged to reset again my PC.
The log file (still without debug) is here.

I've made exactly the same, except debug was enable. This time, XBMC crashed.
Log file is here.
Crash dump is here.

Try to start a video this time.
Log file is here.
Crash dump is here.

It seems that if debug is enabled, XBMC "simply" crash, otherwise, it's not responding (but PC is not frozen), but i've to reset the PC.

I've seen a lot of commit in git, wich may be related to this problem. I'll try to build a new version later.
(2012-05-10, 18:58)DDDamian Wrote: For everyone: if you are pulling and compiling your own - be absolutely sure you are compiling a release version with optimization turned on!! If you are unsure how to do this then please use nightlies!!

Can you be more specific about optimizations ? Are not they on by default in release setting ?
To build, i follow the wiki tutorial, and simply launch "BuildSetup.bat" in Win32BuildSetup.
If i make my own build and don't use nightly, it's because i've modified it to have frame decoding mt in video.


RE: [Windows] AudioEngine testers - Windows platform only - loekf - 2012-05-11

(2012-05-11, 11:40)jpsdr Wrote: So, i think it should have been here.

I've tested XBMCSetup-20120510-0404824-master.exe, and result is... Sad

First is a log (without debug) of my own build of today, testing a file here

May 11 nighly build still crashes on my PC (Win7, Xi-Fi sound card). Looks like this time it's not SQL, but UI/skin backgrounds
not getting found or loading.

I'm a bit puzzled how people get the latest master build from @DDDamian or even a nightly to work. Can't imagine my set-up is so different from others.


RE: [Windows] AudioEngine testers - Windows platform only - Wanilton - 2012-05-11

@loekf, same here, don´t have sql, i compiled new build for Windows with latest commits, but don´t work, same trouble, crash after the splash screen,...
Put files sql in database folder, don´t solve the trouble.. I think it´s happens with all users.. When I compiled latest Gnif windows version from Gnif git, run fine, there are other situation, but run start fine.

@DDDamian, this happens to you tooHuh I tried nightlies 05.11, same troubles.. fresh install of it, portable mode run, don´t solve too.

Wanilton


RE: [Windows] AudioEngine testers - Windows platform only - steelman1991 - 2012-05-11

@Wanilton & loekf - same here. Can't just be unlucky, if others are successful.


RE: [Windows] AudioEngine testers - Windows platform only - Wanilton - 2012-05-11

I compiled XBMC Frodo, Windows version, with AE integration, but this build don´t have latest commits, download here.
I have only change the code , trouble to solve string audio DTS-HD, don´t appears before, and work fine after a little change, all audio AE adjust with strings in settings.

This build run fine, but have issue is thumbnail related - the first time you use it will be quite slow, and thereafter a little slowe, this is more info for developer try solve recently crash in XBMC frodo - Windows OS.

This build run fine with diversous add-os, incluse random items script, for me no related too..

For me I think commit very recently cause this situation, definitely not an AE issue...because this build prove AE work fine.

Sorry for my poor english..

Wanilton


RE: [Windows] AudioEngine testers - Windows platform only - Voyager - 2012-05-11

yes same here. my build from May 10th worked fine, since last night's commits - crash after splash screen.

The changes to the thumbnails are kind of annoying too, but for more info, read here: http://trac.xbmc.org/ticket/13005

Don't know if it helps to diagnose the crash, but here's a log excerpt:
13:37:23 T:7292 INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
13:37:23 T:7292 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device cooperative level.
13:37:23 T:7292 ERROR: CAESinkDirectSound::Initialize: DSErr: DSERR_INVALIDPARAM
13:37:23 T:7292 INFO: CSoftAE::InternalOpenSink - NULL Initialized:
13:37:23 T:7292 INFO: Output Device : {28E7AE24-6550-4B11-A7E1-001FB3384588}
13:37:23 T:7292 INFO: Sample Rate : 44100
13:37:23 T:7292 INFO: Sample Format : AE_FMT_FLOAT
13:37:23 T:7292 INFO: Channel Count : 2
13:37:23 T:7292 INFO: Channel Layout: FL,FR
13:37:23 T:7292 INFO: Frames : 22000
13:37:23 T:7292 INFO: Frame Samples : 2
13:37:23 T:7292 INFO: Frame Size : 8
13:37:23 T:7292 DEBUG: CSoftAE::Initialize - Using speaker layout: 2.0


RE: [Windows] AudioEngine testers - Windows platform only - cyradix - 2012-05-11

Same here : the May 11th build crashes after splash screen. The build DDDamian did last night works, but won't update the library (same as the May 10th nightly).
Not really an AE issue I guess... that part works great Smile


RE: [Windows] AudioEngine testers - Windows platform only - Wanilton - 2012-05-11

For me, the latest build from DDDamian don´t work, crash equal other recently builds.


RE: [Windows] AudioEngine testers - Windows platform only - T800 - 2012-05-11

I tried DDDamians build last night in Portable Mode and it crashed at splash screen.


RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-05-11

Wow - thanks guys - yes something is up. A quick scan here shows some can use my build but not nightlies, others neither. Some issues seem related to thumbs others to SQL (which may be connected as thumbs are being moved to db).

Just logged in to check - let me review your logs and recent master commits and see what's going on. As always thx for the feedback and logs. Will post my findings here.


RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-05-11

(2012-05-11, 11:33)minimoe Wrote: I installed the nightly of May 10th and I have problems when playing FLACs with PAPlayer. The music plays fine but XBMC becomes very sluggish, almost unresponsive.

The file is 88.2kHz but plays as 48kHz.

Image

1.76fps is a good number, most of the time it's around 0.50fps. Confused

In the log I found the following lines:

Code:
10:53:29 T:1956   DEBUG: Error: Requested setting (audiooutput.useexclusivemode) was not found.  It must be case-sensitive
10:53:29 T:1956   DEBUG: CAESinkWASAPI::IsCompatible: Formats Incompatible due to different :Sample Rates

Is this a bug or I'm missing some kind of arcane advancedsettings knowledge? Big Grin

With DVDplayer I have no speed problems.

Heh - this was a result of taking the Exclusive mode / Shared mode button out of the gui before actually eliminating the code for shared mode. Has been fixed now. Smile




RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-05-11

(2012-05-11, 13:43)Voyager-xbmc Wrote: yes same here. my build from May 10th worked fine, since last night's commits - crash after splash screen.

The changes to the thumbnails are kind of annoying too, but for more info, read here: http://trac.xbmc.org/ticket/13005

Don't know if it helps to diagnose the crash, but here's a log excerpt:
13:37:23 T:7292 INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
13:37:23 T:7292 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device cooperative level.
13:37:23 T:7292 ERROR: CAESinkDirectSound::Initialize: DSErr: DSERR_INVALIDPARAM
13:37:23 T:7292 INFO: CSoftAE::InternalOpenSink - NULL Initialized:
13:37:23 T:7292 INFO: Output Device : {28E7AE24-6550-4B11-A7E1-001FB3384588}
13:37:23 T:7292 INFO: Sample Rate : 44100
13:37:23 T:7292 INFO: Sample Format : AE_FMT_FLOAT
13:37:23 T:7292 INFO: Channel Count : 2
13:37:23 T:7292 INFO: Channel Layout: FL,FR
13:37:23 T:7292 INFO: Frames : 22000
13:37:23 T:7292 INFO: Frame Samples : 2
13:37:23 T:7292 INFO: Frame Size : 8
13:37:23 T:7292 DEBUG: CSoftAE::Initialize - Using speaker layout: 2.0

Hi there - this one I'm aware of - it's an issue with trying to initialize DirectSound before the application window has been registered. It won't lead to a crash, but it does mean no gui sounds until you play your first item. Will address this today.

Just one thing - log snippets are only really helpful if you're 100% sure the snippet shows the cause, always best to post a full log via pastebin. Then I have the full picture, and if the problem is outside of the snippet you post I can find it. Thanks for the feedback - all is appreciated.


RE: [Windows] AudioEngine testers - Windows platform only - steelman1991 - 2012-05-11

Thanks DDDamian appreciate you taking time to troubleshoot.


Cheers


RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-05-11

(2012-05-11, 11:40)jpsdr Wrote:
(2012-05-10, 18:58)DDDamian Wrote: For everyone: if you are pulling and compiling your own - be absolutely sure you are compiling a release version with optimization turned on!! If you are unsure how to do this then please use nightlies!!

Can you be more specific about optimizations ? Are not they on by default in release setting ?
To build, i follow the wiki tutorial, and simply launch "BuildSetup.bat" in Win32BuildSetup.
If i make my own build and don't use nightly, it's because i've modified it to have frame decoding mt in video.

Yes, if you use BuildSetup.bat you are fine - optimizations are preset in that file. If you use Visual Studio C++ to compile you would need to check under project properties for the release build that optimizations are on. Basically need to make sure ppl aren't running debug builds or unoptimized builds and expecting full performance, as those type of builds run much slower. You should be fine with the method you're using.


RE: [Windows] AudioEngine testers - Windows platform only - cyradix - 2012-05-11

Don't know if it helps but here is my debug log of the May 11th nightly that crashes to desktop on startup

http://pastebin.com/xteCKXFd

it stops after :

15:58:45 T:2388 INFO: skin loaded...
15:58:45 T:2388 INFO: JSONRPC: Sucessfully initialized
15:58:45 T:2388 DEBUG: ADDON: Starting service addons.
15:58:45 T:2388 INFO: initializing python engine.




This forum uses Lukasz Tkacz MyBB addons.