Comments (52)
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.
Of course the funny thing is that to test the fix I'll have to restart the program 😛
from lightbulb.
See you in 2 weeks after that then ;)
from lightbulb.
Try this, see if it gets stuck
from lightbulb.
What version are you using?
from lightbulb.
1.6.3.3
And today it was stuck too.
from lightbulb.
I'll check it
from lightbulb.
Can you send your config file?
from lightbulb.
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.
Hey
Does it get unstuck if you press the "preview 24hr cycle" button?
from lightbulb.
Yes.
from lightbulb.
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.
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.
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.
Yes, no success.
I uploaded process fulldump here if it can help.
from lightbulb.
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.
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.
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.
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.
2 weeks have passed, any news? 😛
from lightbulb.
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.
It happened agaaaaainnn
On the 7 1.6.3.3_T computer.
from lightbulb.
Ok correction.
Temperature does seems to increase and decrease normally and all.
Only 24-h preview seems fucked atm.
from lightbulb.
How is it fucked? Not changing the gamma or?
from lightbulb.
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.
Did this also start happening only after a long time has passed?
from lightbulb.
Well, I guess so.
ProcExp says last time I started lightbulb was 30 May.
from lightbulb.
Did you manage to replicate it on some other computer?
from lightbulb.
I don't have others :s
Or better, the only other I have has the memory bomb.
from lightbulb.
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.
Could this help?
from lightbulb.
You can try
from lightbulb.
Still happens on 1.6.3.6?
from lightbulb.
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.
Surpriiise!
from lightbulb.
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.
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.
I stand correct. Lightbulb is batshit stuck period.
I cannot disable it at all now.
from lightbulb.
Still a thing
from lightbulb.
Can't do much about it :(
from lightbulb.
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.
What's the min/max temperature and what's the sunset time?
from lightbulb.
"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.
So at 18:00 it goes from 1300 to 4900?
from lightbulb.
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.
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.
Hey, can you try builds from here to see if it helps?
from lightbulb.
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.
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.
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.
Hey @mirh does it happen after rework?
from lightbulb.
The program has been running continuously just for 10 days now...
We'll see
from lightbulb.
Related Issues (20)
- Antivirus software now detects the portable version as including malware HOT 1
- VirusTotal reports HOT 1
- Crash when adjusting sunrise/sunset to extreme values HOT 2
- Option to disable war in Ukraine message HOT 7
- Crash with "SystemInvalidOperationException: DialogHost is already open." HOT 2
- UI very unresponsive during cycle preview HOT 5
- Cannot start application after installing the latest version of .NET (error) HOT 12
- High RAM and some CPU always in use HOT 14
- Add more concrete transition offset examples to Wiki for better understanding HOT 8
- Screen glitching HOT 5
- Brightness/gamma control doesn't work suddenly HOT 2
- Is your political ToU agreement a requirement? HOT 2
- Computer resources explosion while updating HOT 1
- False location lock HOT 3
- Application icon outdated on window banner HOT 1
- Flash bang effect HOT 1
- Dll was not found for `CreateResetEvent` HOT 2
- Screen brightness percentage increase/decreases slowly, while having no effect on display HOT 9
- Color temperature set to 6600k rather than the standard 6500k when Lightbulb disabled HOT 1
- Inverted day/night cycle HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightbulb.