Giter VIP home page Giter VIP logo

Comments (52)

Tyrrrz avatar Tyrrrz commented on May 30, 2024 1

So I was eating and I think I have an idea of what could be the problem. Will try this week if it works.

Note to self: device context might be becoming stale

from lightbulb.

mirh avatar mirh commented on May 30, 2024 1

Of course the funny thing is that to test the fix I'll have to restart the program 😛

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024 1

See you in 2 weeks after that then ;)

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024 1

Try this, see if it gets stuck

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

What version are you using?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

1.6.3.3
And today it was stuck too.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

I'll check it

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Can you send your config file?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Configuration.dat
Besides, I found out that when I restart "graphics" (I wouldn't know if they stop and start gpu, dwm, or what) the problem gets fixed too.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Hey
Does it get unstuck if you press the "preview 24hr cycle" button?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Yes.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Ok, update.
I.. enabled/disabled (aka unstuck) the program earlier today (like around 7pm instead of 23 like - when I always notice/realize/remember of the problem).
And, fairly, it got set to like.. 5000K or something like that. And, just because, I had left the "24-h preview" button toggled enabled.
After 2 hours it still was set on that value though, and further pressing 24h preview had no effect this time.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Another hint: I enabled the 24-h preview this evening, and I noticed the slim orange bar progressed like 10-20 pixels, then stopped (way far from the end of the "bar" which I guess would mean night, and irregardless of how many times I then tried to toggle the button)

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

This is so confusing. Have you tried if it works with default settings? I noticed you have your min. temperature manually set below the threshold.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Yes, no success.
I uploaded process fulldump here if it can help.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

I tested it on two machines, trying sleep, hibernate, lock screen, leaving the PC for 2 days and it seems to work as expected.
Can you replicate your issue on any other PC?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

I think my uptime is around 2 or 3 weeks (also including standby time in the count).
I also have another computer with similar cycles (aka no shutdowns) I could test, yes, but unfortunately it has Vista.
...
Whose "un-support" I'm not sure if being actually technical or just about you not caring about bug reports from there though?

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

I meant there was 2 days of standby, the PC itself ran for 5 days without LightBulb getting stuck.
I honestly don't remember whether LightBulb works on Vista or not. If you can install .NET framework 4.5.2 there then it probably should.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

I think my uptime is around 2 or 3 weeks

Ok, correction, I just came home and task manager is like ticking for 17:09:47:59. So it's like 2 weeks and half, not counting for standby. So, an educate guess of like middle April being last time I started it, and firsts of May when I reported it..
I guess like 3 weeks it's the time span?

If you can install .NET framework 4.5.2 there then it probably should.

It even supports 4.6 for all that it matters, and indeed it works!
I have set lb to really slightly dim to not disturb my dad, but I hope it still may do it.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

2 weeks have passed, any news? 😛

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Well, on the one hand I had no problems.. On the other, it's even true that -contrarily than in april/may- I not-so-rarely "interacted" with the program.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

It happened agaaaaainnn
On the 7 1.6.3.3_T computer.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Ok correction.
Temperature does seems to increase and decrease normally and all.

Only 24-h preview seems fucked atm.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

How is it fucked? Not changing the gamma or?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

It doesn't do anything.
Ie, gamma doesn't change, and also the little "yellow bar" doesn't move.

Aside of that, the program still works effectively.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Did this also start happening only after a long time has passed?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Well, I guess so.
ProcExp says last time I started lightbulb was 30 May.

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Did you manage to replicate it on some other computer?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

I don't have others :s
Or better, the only other I have has the memory bomb.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

I'm quite joyful to report I could get lightbulb to bug in, more or less, a day and half.

So.. well whatever you'll want to test it shouldn't take too long to confirm.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Could this help?

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

You can try

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Still happens on 1.6.3.6?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Ok so.. I just closed lightbulb (for reasons) and realized I shouldn't have had since I was on a 3-4 weeks spree of keeping it running.
SEEMINGLY I hadn't have any more problem... So, I don't know solved?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Surpriiise!

from lightbulb.

mirh avatar mirh commented on May 30, 2024

So.. as another random datum, if I rotate the screen, gamma immediately sets to the right value.
"Stuck/unstuck" aren't probably the right terms then, since it actually seem to be always in the stuck position - but in the "instantaneous time window" of whatever special event (24-h cycle, on/off toggle, resolution change) I'm sending it.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Whatever timer the program use seems also to be fucked up or something.
I clicked on "disable for a minute".. And it like stayed off for 5 seconds.

On a second attempt timing was correct.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

I stand correct. Lightbulb is batshit stuck period.
I cannot disable it at all now.

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Still a thing

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Can't do much about it :(

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Would it help anything if I said every day at 18:00 the thing moves to ~4900K?
(and nothing else then, unless I manually toggle it)

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

What's the min/max temperature and what's the sunset time?

from lightbulb.

mirh avatar mirh commented on May 30, 2024
  "IsGammaPollingEnabled": false,
  "IsTemperatureSmoothingEnabled": false,
  "IsFullscreenBlocking": false,
  "IsCheckForUpdatesEnabled": true,
  "IsInternetSyncEnabled": true,
  "IsGeoInfoLocked": false,
  "TemperatureEpsilon": 50,
  "DefaultMonitorTemperature": 6600,
  "MinTemperature": 1300,
  "MaxTemperature": 6600,
  "MaximumTemperatureSmoothingDuration": "00:00:05",
  "TemperatureTransitionDuration": "01:30:00",
  "TemperatureUpdateInterval": "00:01:00",
  "GammaPollingInterval": "00:00:05",
  "CheckForUpdatesInterval": "06:00:00",
  "InternetSyncInterval": "06:00:00",
  "SunriseTime": "07:36:36",
  "SunsetTime": "17:13:22",

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

So at 18:00 it goes from 1300 to 4900?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

It goes from normal 6600K (which "unlocks" when I wake up my computer in the morning) to ~4900*.
Aside of this slight change, there's nothing else that seems to happen automatically.

*EDIT: today it was like 5033 instead

from lightbulb.

mirh avatar mirh commented on May 30, 2024
System.Reflection.TargetInvocationException was unhandled
  HResult=-2146232828
  Message=Exception has been thrown by the target of an invocation
  Source=mscorlib
  StackTrace:
       in System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       in System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in GalaSoft.MvvmLight.Helpers.WeakAction.Execute()
       in GalaSoft.MvvmLight.CommandWpf.RelayCommand.Execute(Object parameter)
       in MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       in System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
       in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       in System.Windows.Threading.DispatcherOperation.InvokeImpl()
       in System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       in MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       in System.Windows.Threading.DispatcherOperation.Invoke()
       in System.Windows.Threading.Dispatcher.ProcessQueue()
       in System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       in MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       in System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       in System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       in System.Windows.Application.RunDispatcher(Object ignore)
       in System.Windows.Application.RunInternal(Window window)
       in System.Windows.Application.Run(Window window)
       in LightBulb.App.Main()
  InnerException: 
       HResult=-2146233086
       Message=Specified argument was out of the range of valid values.
Nome parametro: blue
       ParamName=blue
       Source=LightBulb
       StackTrace:
            in LightBulb.Models.ColorIntensity..ctor(Double red, Double green, Double blue)
            in LightBulb.Models.ColorIntensity.FromTemperature(UInt16 temp)
            in LightBulb.Services.TemperatureService.UpdateGamma()
            in LightBulb.Services.TemperatureService.set_Temperature(UInt16 value)
            in LightBulb.Services.TemperatureService.UpdateTemperature(Boolean forceInstantSwitch)
            in LightBulb.Services.TemperatureService.set_IsRealtimeModeEnabled(Boolean value)
            in LightBulb.ViewModels.MainViewModel.set_IsEnabled(Boolean value)
            in LightBulb.ViewModels.MainViewModel.<.ctor>b__52_5()
       InnerException: 

Today, while as usual I had to enable/disable it, it crashed
LightBulbdump.zip

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Hey, can you try builds from here to see if it helps?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Sure.
But see you in another year or so with meaningful data 😄
EDIT: it seemingly it did reset my settings though? Could it be?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

Well, isn't it funny. Now it uses to crash more or less on wake from standby.

Exception: System.Net.WebException
   in System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult)
   in System.Net.Http.HttpClientHandler.GetResponseCallback(System.IAsyncResult)

Exception: System.Net.Http.HttpRequestException
   in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   in LightBulb.Services.LocationService+<GetLocationAsync>d__2.MoveNext()
   in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   in LightBulb.ViewModels.RootViewModel+<>c__DisplayClass55_0+<<-ctor>b__4>d.MoveNext()
   in System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   in System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   in System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   in System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   in System.Threading.ThreadPoolWorkQueue.Dispatch()
   in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

from lightbulb.

mirh avatar mirh commented on May 30, 2024

With visual studio attached before suspending, in addition to the aforementioned

System.Net.Http.HttpRequestException
  HResult=0x80131500
  Messaggio=An error occurred while sending the request.
  Origin=mscorlib

Internal exception 1:
WebException: The remote name could not be resolved.: 'ip-api.com'

from lightbulb.

Tyrrrz avatar Tyrrrz commented on May 30, 2024

Hey @mirh does it happen after rework?

from lightbulb.

mirh avatar mirh commented on May 30, 2024

The program has been running continuously just for 10 days now...
We'll see

from lightbulb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.