My environment
Computer: Intel Core i5 8th Gen, 16Gb RAM, 500GB SSD running windows 11 Pro, Wireless LAN
Xibo Player: V402.1
Xibo Server: V4 running on Ubuntu Server 22.04 with latest updates
Number of Layout: 3 consisting of 2 x 4K video clip (3 min each, total 2GB); 1 jpeg image (5MB)
Method of publishing: XMR
Windows Profile: update every 1 hour
Number of Campaign: 1
Schedule: Run the campain for 1 week
Display: 1 x 4K 50" TV
The player crashes after running for about half an hour, the log files show repeated events per below:
Default Layout Invalid: LayoutId is 0
getData: Failed to get data cache for widgetId 404, e = Cache not ready
No active processes
Unhandled Exception: UnhandledException: Insufficient memory to continue the execution of the program.
DurationElapsedEvent: E=Unable to set any region media nodes.
MediaElement_MediaFailed: 406 Media Failed. E = Exception from HRESULT: 0xC00D109B
Error swapping to HTTPS. E = Unable to connect to the remote server
Do you have any recommendation for me to fine tune the Windows box? 16GB RAM is not enough for the small video clip? Any problem with the memory leak in the player?
And, we update the contents of the layouts quite often, every few hours and few days… So what would you recommend the best way to ensure the communication between the player and the server?
It now play for about 1 hour, then crashes. The watchdog will restart it and here are the log file in the CMS:
Any idea what I should look for?
Thank you
2278
c5cb7e8
2024-01-09 23:58
PLAYER
POST
ERROR
FDSK-DIGISIGN
[Watcher] Watchdog
No active processes
2277
149613c
2024-01-09 23:57
PLAYER
POST
ERROR
FDSK-DIGISIGN
Main
Stack Trace: at System.Windows.Media.Imaging.WriteableBitmap…ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat, BitmapPalette palette) at CefSharp.Wpf.Rendering.WritableBitmapRenderHandler.<>c__DisplayClass8_0.b__0() in C:\projects\cefsharp\CefSharp.Wpf\Rendering\WritableBitmapRenderHandler.cs:line 145 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at XiboClient.App.Main() in C:\Users\User\Documents\Source\xibo-dotnetclient\obj\x86\Release\App.g.cs:line 51
2276
149613c
2024-01-09 23:57
PLAYER
POST
ERROR
FDSK-DIGISIGN
Main
Unhandled Exception: UnhandledException: Insufficient memory to continue the execution of the program.
2275
99d9224
2024-01-09 23:56
PLAYER
POST
ERROR
FDSK-DIGISIGN
Main
Stack Trace: at System.Windows.Media.Imaging.WriteableBitmap…ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat, BitmapPalette palette) at CefSharp.Wpf.Rendering.WritableBitmapRenderHandler.<>c__DisplayClass8_0.b__0() in C:\projects\cefsharp\CefSharp.Wpf\Rendering\WritableBitmapRenderHandler.cs:line 145 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at System.Windows.Window.ShowDialog() at XiboClient.App.RunClient(Boolean screenSaver) in C:\Users\User\Documents\Source\xibo-dotnetclient\App.xaml.cs:line 116 at XiboClient.App.OnStartup(StartupEventArgs e) in C:\Users\User\Documents\Source\xibo-dotnetclient\App.xaml.cs:line 79
2274
99d9224
2024-01-09 23:56
PLAYER
POST
ERROR
FDSK-DIGISIGN
Main
Unhandled Exception: Startup: MILERR_WIN32ERROR (Exception from HRESULT: 0x88980003)
2273
99d9224
2024-01-09 23:55
PLAYER
POST
ERROR
FDSK-DIGISIGN
Video
MediaElement_MediaFailed: 438 Media Failed. E = Exception from HRESULT: 0xC00D11C6
2272
99d9224
2024-01-09 23:54
PLAYER
POST
ERROR
FDSK-DIGISIGN
Region
DurationElapsedEvent: E=Unable to set any region media nodes.
2271
99d9224
2024-01-09 23:53
PLAYER
POST
ERROR
FDSK-DIGISIGN
Region
DurationElapsedEvent: E=Unable to set any region media nodes.
2270
99d9224
2024-01-09 23:53
PLAYER
POST
ERROR
FDSK-DIGISIGN
Video
MediaElement_MediaFailed: 449 Media Failed. E = Exception from HRESULT: 0xC00D11C6
After contacting the support, I have learned that the Xibo Player for Windows is just for 32 bit system, and therefore, it can only accommodate max of 3GB RAM no matter how much more RAM your hardware has.
And for 3GB RAM, it is pretty limited to low-resolution images and HD quality video clips with a minimal footprint (1080p max)
So I adjusted those files, resize and it is now working OK
The company said they are working on 64-bit version in the future development though, can’t wait to see it