-
-
Notifications
You must be signed in to change notification settings - Fork 31
Did not receive initial ALS value in time #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey! Interesting 🤔 Does it reproduce every time, or only sometimes? Could you try without external display, does it reproduce too? Could you paste the logs with I tried on both the latest and |
Indeed, you were right. I commented out the external monitor in config, and it seems to be working.
It's a shame becuase, unfortunately. I use external monitor all the time :/. |
I'm not really sure it's related to external screens specifically (does it work if you comment out the internal display instead?). If it still works, it sounds more like an issue with having multiple screens, whereas if it doesn't work then it sounds more like an issue specifically with external screen. |
It turns out to be an issue with multiple screens. After commenting out the internal monitor, it works correctly. |
Okay, good to know! Hmm I can't imagine how it's possible that nobody else has reported this so far, I thought there are plenty of users using it with multiple screens 🤔 Unfortunately I don't have an easy way to get a second screen to try this, how interested would you be to try to debug this? The first simple thing could be to just run the latest code from |
I'm receiving the same error on my Surface Laptop Studio but am only using the built in monitor. I followed both the permissions and systemd methods in the README. However, using the webcam does work with the same monitor output. Logs
Webcam:
Version Environment
|
Thanks for sharing your details! Does it crash right away or does it really wait 5 seconds and then crash? 4.6.1 unfortunately doesn't include the additional debugging I pushed for this issue, so we don't have much info to work against. Would you be interested to try debugging this locally, just adding some logs here and there to see where it gets stuck? Key locations are |
Sorry for being away for a bit, I forgot about this thread. I'll try to provide more logs soon. |
Result of
I'll try to do some debugging locally. |
Unfortunately. I tried adding logs everywhere ( I was using: |
Please try using branch |
|
Very curious, does the code execution not reach this line at all? Could you try to debug where it gets stuck inside main.rs? Line 131 in ccb77db
|
anything here helpful?
|
We can see two "Starting predictor thread", so at least we know the code executes these lines (twice): And at the same time we only see one of "Inside adaptive controller, waiting for initial ALS value", so not for each of the two threads, but just from one of them... And we don't see any logs from als thread, which starts here: Line 131 in ea4c8c6
So I'm really puzzled as to why and actually exactly where it gets stuck. I don't have multiple screens, but if I try to "simulate" your experience with special hacks by defining the same screen twice, I can't reproduce this 😕 It would be helpful if you could flood |
Intro
I have a long approach to the setup after buying a new laptop and unfortunately, I have a problem that I am unable to solve.
I have seen that this error repeats a few times and requires deep debugging. Unfortunately, I don't know Rust, so I'm not sure if I can help with this, but I will do everything in my power because I want this app so much.
I use Wayland and I have done permission section
What is the buggy behavior?
app crashes with
Did not receive initial ALS value in time
What is the expected behavior?
don't crush
Logs
Version
wluma 4.5.1
Environment
The text was updated successfully, but these errors were encountered: