logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

64 Pages«<4647484950>»
Options
Go to last post Go to first unread
Hall3008  
#941 Posted : Sunday, September 20, 2020 9:42:29 PM(UTC)
Hall3008

Rank: Advanced Member

Groups: Registered
Joined: 7/31/2016(UTC)
Posts: 69
Man
Croatia

Thanks: 12 times
Was thanked: 2 time(s) in 2 post(s)
A total failure of my project.
I laugh to myself and no one is to blame but me.

After working on this project for days, handball graphics, I obviously overdid it with the expectation from my computer (i7, Nvidia 1070, 48 GB ram ...)

As you can see I use the vMix and UTC combination for this graphic, but I overdid it in UTC with the keys. Obviously I won’t be able to do this this way because my CPU can’t stand it (100%). See that you do not do a similar work to Sisyphus yourself. Obviously I overdid it with the statistics keys and now I’m going to have to do it all in excel. Colleague Shiroki warned me that it could consume resources, but I didn’t believe it could be so devastating to a computer. In any case a problem that I have to solve in another way. Take a look at the picture for sure.
All button:100%CPU
cpu100posto.jpg (458kb) downloaded 10 time(s).
Only right side:75% CPU
cpu100posto1.jpg (402kb) downloaded 7 time(s).
Now only 19% CPU
cpu100posto2.jpg (371kb) downloaded 4 time(s).
elgarf  
#942 Posted : Sunday, September 20, 2020 10:39:51 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
Hall3008, are you really need 128 state-dependent buttons?)

You can send me controller file (maybe with vMix preset), and I look what is so CPU consuming into state-dependency.
Hall3008  
#943 Posted : Sunday, September 20, 2020 10:47:07 PM(UTC)
Hall3008

Rank: Advanced Member

Groups: Registered
Joined: 7/31/2016(UTC)
Posts: 69
Man
Croatia

Thanks: 12 times
Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: elgarf Go to Quoted Post
Hall3008, are you really need 128 state-dependent buttons?)

You can send me controller file (maybe with vMix preset), and I look what is so CPU consuming into state-dependency.


I use that, more precisely I wanted it for statistics. I was thinking of getting everything out of UTC but obviously that’s too much for that. Now I’m just looking to do it in excel.

elgarf  
#944 Posted : Monday, September 21, 2020 1:14:33 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@Hall3008, re-download last version, please. I reduce CPU usage, but >128 buttons is still pretty much.
Btw, I rewrite state dependency later for better performance.
chococrispis35  
#945 Posted : Tuesday, September 22, 2020 2:19:31 AM(UTC)
chococrispis35

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 60
Location: Medxico

Thanks: 2 times
Was thanked: 7 time(s) in 6 post(s)

I will try this update, my projects do not have so many buttons,
but suddenly my cpu goes up to 100% and the pc slows down for a few seconds,
this failure occurs periodically
elgarf  
#946 Posted : Tuesday, September 22, 2020 3:08:59 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@chococrispis35, I rewrited State Dependency and now it eats about 30% CPU with 128 buttons and NDI monitor, but I think I test it some more)
David Kaz  
#947 Posted : Tuesday, September 22, 2020 3:36:23 PM(UTC)
David Kaz

Rank: Member

Groups: Registered
Joined: 12/29/2018(UTC)
Posts: 10
Russian Federation
Location: Siberia

Was thanked: 1 time(s) in 1 post(s)
Hi, Elgarf.

New version (21.09.2020) of UTC is crush when I load my projects. If UTC statrted before vMix its working until SYNK. Previous version working good. Thinking...
comporder1  
#948 Posted : Wednesday, September 23, 2020 12:23:24 AM(UTC)
comporder1

Rank: Member

Groups: Registered
Joined: 1/20/2016(UTC)
Posts: 24
Location: USA

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
Hi, I have a UTC preset that I have been using with an older version of UTC. I have downloaded the latest version of UTC and it crashes when I try to open it. I will attach the preset. Can you "convert" it or something so I can use it with the latest UTC?

Thanks!
Carey Football 2020.zip (22kb) downloaded 28 time(s).
elgarf  
#949 Posted : Wednesday, September 23, 2020 3:05:17 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@David Kaz, @comporder1, let's test new version.

https://dl.dropbox.com/s...e%20%2822.09.2020%29.zip
David Kaz  
#950 Posted : Wednesday, September 23, 2020 3:25:40 AM(UTC)
David Kaz

Rank: Member

Groups: Registered
Joined: 12/29/2018(UTC)
Posts: 10
Russian Federation
Location: Siberia

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: elgarf Go to Quoted Post
@David Kaz, @comporder1, let's test new version.

https://dl.dropbox.com/s...e%20%2822.09.2020%29.zip


Elgarf, working good. Thank you.
Hall3008  
#951 Posted : Wednesday, September 23, 2020 3:42:10 AM(UTC)
Hall3008

Rank: Advanced Member

Groups: Registered
Joined: 7/31/2016(UTC)
Posts: 69
Man
Croatia

Thanks: 12 times
Was thanked: 2 time(s) in 2 post(s)
Incredibly. Great, how you did it now is 2.5% CPU
Look
utcbest.png (353kb) downloaded 7 time(s).
TYPLive  
#952 Posted : Wednesday, September 23, 2020 10:26:41 AM(UTC)
TYPLive

Rank: Newbie

Groups: Registered
Joined: 6/26/2018(UTC)
Posts: 6
Location: Bridlington Uk

Thanks: 1 times
Hi all.

Been using UTC for couple years without any issue but since downloading new update every time i press a button on UTC the software just force closes. Tried going back to old versions and still same issue.

Any help be much appreciated please as this has lost me right now.

TIA
elgarf  
#953 Posted : Wednesday, September 23, 2020 12:03:07 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@TYPLive,

Can you share log and preset, please?
qball  
#954 Posted : Wednesday, September 23, 2020 9:15:18 PM(UTC)
qball

Rank: Newbie

Groups: Registered
Joined: 9/18/2020(UTC)
Posts: 3
Belgium
Location: Gent

Hi Elgarf, we're you able to check the mute signs next to the input volume meters?

I also downloaded the latest version of Vmix UTC and it crashes when I open my controller preset file

It also crashes when I create a new button in a new project
comporder1  
#955 Posted : Wednesday, September 23, 2020 11:49:12 PM(UTC)
comporder1

Rank: Member

Groups: Registered
Joined: 1/20/2016(UTC)
Posts: 24
Location: USA

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
2020-09-23.zip (1,366kb) downloaded 8 time(s).
Originally Posted by: elgarf Go to Quoted Post
@David Kaz, @comporder1, let's test new version.

https://dl.dropbox.com/s...e%20%2822.09.2020%29.zip


Hi elgarf,
This version does not crash, but it does not work well. Most of the time the buttons do not work. And in the bottom left, it randomly goes offline.

Carey

Edit to add log file
elgarf  
#956 Posted : Thursday, September 24, 2020 4:11:04 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@qball, I need your log file to see what's happening.

@comporder1, I see that commands does not executed because of timeout, I try to reduce API calls.
comporder1  
#957 Posted : Thursday, September 24, 2020 5:27:56 AM(UTC)
comporder1

Rank: Member

Groups: Registered
Joined: 1/20/2016(UTC)
Posts: 24
Location: USA

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: elgarf Go to Quoted Post
@qball, I need your log file to see what's happening.

@comporder1, I see that commands does not executed because of timeout, I try to reduce API calls.


Thanks for the reply, although I don't understand if you are asking me to "try to reduce API calls"? If so, I don't understand what that means.

For that log file, I started UTC then clicked one button, then closed UTC. I also saw the "timeout" error. UTC and vMix are on two different machines connected via gig ethernet. The old version of UTC (dated 9/16/2019) works fine on the same machine.

Let me know if you need anything else to troubleshoot.

Carey
elgarf  
#958 Posted : Thursday, September 24, 2020 4:04:10 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@comporder1, I meant I make changes in code.
There are a lot of changes, and can be some bugs, which I want to fix
thanks 1 user thanked elgarf for this useful post.
comporder1 on 9/25/2020(UTC)
elgarf  
#959 Posted : Saturday, September 26, 2020 3:50:22 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
TYPLive  
#960 Posted : Saturday, September 26, 2020 10:09:24 AM(UTC)
TYPLive

Rank: Newbie

Groups: Registered
Joined: 6/26/2018(UTC)
Posts: 6
Location: Bridlington Uk

Thanks: 1 times
Narrowed it down to only happening on buttons and only on touchscreen devices which is odd. When using mouse it works okay but soon as i press on it with my finger or pen it just closes.

log:

2020-09-26 01:49:44.2906 ERROR Dispatcher unhandled exception. System.InvalidCastException: Unable to cast object of type 'System.Windows.Input.TouchEventArgs' to type 'System.Windows.Input.MouseEventArgs'.
at GalaSoft.MvvmLight.CommandWpf.RelayCommand`1.Execute(Object parameter) in C:\Users\lbugn\Documents\MVVMLight\GalaSoft.MvvmLight\GalaSoft.MvvmLight (PCL)\Command\RelayCommandGeneric.cs:line 249
at GalaSoft.MvvmLight.Command.EventToCommand.Invoke(Object parameter) in C:\Users\lbugn\Documents\MVVMLight\GalaSoft.MvvmLight\GalaSoft.MvvmLight.Platform (NET45)\Command\EventToCommand.cs:line 370
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs)
at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs)
at System.Windows.Input.TouchEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.TouchDevice.RaiseTouchDown()
at System.Windows.Input.TouchDevice.ReportDown()
at System.Windows.Input.StylusTouchDeviceBase.OnDown()
at System.Windows.Input.StylusWisp.WispLogic.PromoteMainDownToTouch(WispStylusDevice stylusDevice, StagingAreaInputItem stagingItem)
at System.Windows.Input.StylusWisp.WispLogic.PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs)
at System.Windows.Input.StylusWisp.WispLogic.PromoteMainToOther(ProcessInputEventArgs e)
at System.Windows.Input.StylusWisp.WispLogic.PostProcessInput(Object sender, ProcessInputEventArgs e)
at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.StylusWisp.WispLogic.InputManagerProcessInput(Object oInput)
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)
2020-09-26 01:49:44.2906 ERROR Current domain unhandled exception. System.InvalidCastException: Unable to cast object of type 'System.Windows.Input.TouchEventArgs' to type 'System.Windows.Input.MouseEventArgs'.
at GalaSoft.MvvmLight.CommandWpf.RelayCommand`1.Execute(Object parameter) in C:\Users\lbugn\Documents\MVVMLight\GalaSoft.MvvmLight\GalaSoft.MvvmLight (PCL)\Command\RelayCommandGeneric.cs:line 249
at GalaSoft.MvvmLight.Command.EventToCommand.Invoke(Object parameter) in C:\Users\lbugn\Documents\MVVMLight\GalaSoft.MvvmLight\GalaSoft.MvvmLight.Platform (NET45)\Command\EventToCommand.cs:line 370
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs)
at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs)
at System.Windows.Input.TouchEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.TouchDevice.RaiseTouchDown()
at System.Windows.Input.TouchDevice.ReportDown()
at System.Windows.Input.StylusTouchDeviceBase.OnDown()
at System.Windows.Input.StylusWisp.WispLogic.PromoteMainDownToTouch(WispStylusDevice stylusDevice, StagingAreaInputItem stagingItem)
at System.Windows.Input.StylusWisp.WispLogic.PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs)
at System.Windows.Input.StylusWisp.WispLogic.PromoteMainToOther(ProcessInputEventArgs e)
at System.Windows.Input.StylusWisp.WispLogic.PostProcessInput(Object sender, ProcessInputEventArgs e)
at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.StylusWisp.WispLogic.InputManagerProcessInput(Object oInput)
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 vMixController.App.Main()
Users browsing this topic
Guest (18)
64 Pages«<4647484950>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.