-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Bug]: wlroots capture shows NoCompositorListening, Sway on Void Linux, from WezTerm terminal #51
Comments
Hi, Do you have this env variable set: |
|
Restarting Sway seems to have fixed it (I had unsaved work prior), but now I get a new error.
Relevant config: [[output.backlight]]
name = "eDP-1"
path = "/sys/class/backlight/amdgpu_bl0"
capturer = "wlroots" Additionally, if
Would you like me to move these issues into their own issues for tracking, or leave them in this issue? |
Hello! Thanks for the reports!
Good catch, indeed this is not our errors 🙂
Now this is a issue we should try to get fixed... To be honest I don't really know where to get started, as I can't reproduce on my hardware and there isn't much in the stack trace that could give us details... Overall, we can see that the error happens here: wluma/src/frame/capturer/wlroots.rs Lines 125 to 128 in 0c49755
This function should get the contents of the screen using Vulkan and evaluate how much "light" the screen is currently displaying. The function is here: Line 144 in 0c49755
But as we don't get any error from it, just Would you be able to try to debug this a little on your end? Set |
Sure, I'm comfortable with debugging (but have no Rust experience lmao), only issue is that I'm actually trying out ❯ RUST_LOG=trace RUST_BACKTRACE=full MANGOHUD=0 cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.05s
Running `target/debug/wluma`
[2022-05-29T16:28:42Z DEBUG wluma] Using Config {
als: Webcam {
video: 0,
thresholds: {
20: "dim",
75: "outdoors",
10: "dark",
0: "night",
50: "bright",
33: "normal",
},
},
output: [
Backlight(
BacklightOutput {
name: "eDP-1",
path: "/sys/class/backlight/amdgpu_bl0",
capturer: Wlroots,
min_brightness: 1,
},
),
Backlight(
BacklightOutput {
name: "keyboard-thinkpad",
path: "/sys/bus/platform/devices/thinkpad_acpi/leds/tpacpi::kbd_backlight",
capturer: None,
min_brightness: 0,
},
),
],
}
[2022-05-29T16:28:42Z INFO wluma] Continue adjusting brightness and wluma will learn your preference over time.
[2022-05-29T16:28:42Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-05-29T16:28:42Z TRACE wluma::predictor::controller] Prediction: 2 (lux: outdoors, luma: 0)
[2022-05-29T16:28:42Z DEBUG wluma::frame::capturer::wlroots] Using output 'Chimei Innolux Corporation 0x14F2 0x00000000 (eDP-1)' for config 'eDP-1'
[2022-05-29T16:28:42Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-05-29T16:28:42Z TRACE wluma::predictor::controller] Prediction: 2 (lux: outdoors, luma: 0)
[2022-05-29T16:28:42Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-05-29T16:28:42Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:42Z TRACE wluma::predictor::controller] Prediction: 2 (lux: outdoors, luma: 0)
[2022-05-29T16:28:42Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:42Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:43Z TRACE wluma::predictor::controller] Prediction: 2 (lux: outdoors, luma: 0)
[2022-05-29T16:28:43Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:43Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:43Z TRACE wluma::predictor::controller] Prediction: 2 (lux: outdoors, luma: 0)
[2022-05-29T16:28:43Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:43Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-05-29T16:28:43Z TRACE wluma::predictor::controller] Prediction: 2 (lux: outdoors, luma: 0)
[2022-05-29T16:28:43Z TRACE wluma::als::webcam] ALS (webcam): night (7)
thread 'predictor-eDP-1' panicked at 'Unable to compute luma percent: TIMEOUT', src/frame/capturer/wlroots.rs:128:26
stack backtrace:
0: 0x5654a9c69970 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h18674753585b8cc5
1: 0x5654a9c8c42c - core::fmt::write::h650970577346edc1
2: 0x5654a9c66275 - std::io::Write::write_fmt::hcdbe4458fe2ebdfb
3: 0x5654a9c6b78b - std::panicking::default_hook::{{closure}}::h2b3ca2e1a25274db
4: 0x5654a9c6b303 - std::panicking::default_hook::hb3d80776b693aaeb
5: 0x5654a9746ab3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h267ec243cda9bc74
at /builddir/rustc-1.57.0-src/library/alloc/src/boxed.rs:1705:9
6: 0x5654a978094b - wluma::main::{{closure}}::hdb3f5ec7d8d1fdbf
at /home/jjgadgets/GitRepos/Others/wluma/src/main.rs:14:9
7: 0x5654a9c6be89 - std::panicking::rust_panic_with_hook::habc6079310c0728a
8: 0x5654a9c6b930 - std::panicking::begin_panic_handler::{{closure}}::ha449aee990d62948
9: 0x5654a9c69e14 - std::sys_common::backtrace::__rust_end_short_backtrace::h54cc540f2a5a6bf2
10: 0x5654a9c6b899 - rust_begin_unwind
11: 0x5654a96b84f1 - core::panicking::panic_fmt::he85288327cd30385
12: 0x5654a96b85e3 - core::result::unwrap_failed::ha180eafd08eaf142
13: 0x5654a9736fa9 - core::result::Result<T,E>::expect::he2a6be7db10ae094
at /builddir/rustc-1.57.0-src/library/core/src/result.rs:1258:23
14: 0x5654a970a656 - wluma::frame::capturer::wlroots::Capturer::capture_frame::{{closure}}::h0fc0b92e14d53419
at /home/jjgadgets/GitRepos/Others/wluma/src/frame/capturer/wlroots.rs:125:32
15: 0x5654a97d9cfa - wayland_client::proxy::Main<I>::quick_assign::{{closure}}::h65104fcbcdddba8f
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/proxy.rs:273:64
16: 0x5654a974d69e - wayland_commons::filter::Filter<E>::send::h3b15d5eeca60db6b
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-commons-0.29.4/src/filter.rs:100:13
17: 0x5654a978a92a - wayland_client::imp::proxy::ProxyInner::assign::{{closure}}::h5b52008c349baa43
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:257:57
18: 0x5654a9a2b913 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hf44587b9a59e1353
at /builddir/rustc-1.57.0-src/library/alloc/src/boxed.rs:1705:9
[2022-05-29T16:28:43Z TRACE wluma::als::webcam] ALS (webcam): night (7)
19: 0x5654a9a37a77 - wayland_client::imp::proxy::proxy_dispatcher::{{closure}}::{{closure}}::ha4dcda653b7205e7
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:418:25
20: 0x5654a9a2f7a0 - scoped_tls::ScopedKey<T>::with::h4f0d14c9cf7340c4
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:171:13
21: 0x5654a9a36b48 - wayland_client::imp::proxy::proxy_dispatcher::{{closure}}::h60ac95c15c264364
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:415:21
22: 0x5654a9a2db3f - std::panicking::try::do_call::hd280f90a87a7ef49
at /builddir/rustc-1.57.0-src/library/std/src/panicking.rs:403:40
23: 0x5654a9a2dced - __rust_try
24: 0x5654a9a2d874 - std::panicking::try::h758184dfaa0a49bc
at /builddir/rustc-1.57.0-src/library/std/src/panicking.rs:367:19
25: 0x5654a9a2a031 - std::panic::catch_unwind::h07e84d2f22a90025
at /builddir/rustc-1.57.0-src/library/std/src/panic.rs:133:14
26: 0x5654a9a35895 - wayland_client::imp::proxy::proxy_dispatcher::h85fba8b93f8ac34b
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:387:15
27: 0x7ff2b065304c - <unknown>
28: 0x7ff2b06532cc - wl_display_dispatch_queue_pending
29: 0x5654a97078af - wayland_client::imp::event_queue::EventQueueInner::dispatch::{{closure}}::he063b936677b01f1
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/event_queue.rs:43:17
30: 0x5654a9710df3 - scoped_tls::ScopedKey<T>::set::h0e532a7b754c6483
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:137:9
31: 0x5654a9707bd5 - wayland_client::imp::event_queue::with_dispatch_meta::h8dfe767772c9004e
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/event_queue.rs:24:5
32: 0x5654a9707809 - wayland_client::imp::event_queue::EventQueueInner::dispatch::h51ed14c90b3e81f8
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/event_queue.rs:41:9
33: 0x5654a974f577 - wayland_client::event_queue::EventQueue::dispatch::hf4bd7a73ad968f97
at /home/jj-void/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/event_queue.rs:152:9
34: 0x5654a97510e2 - <wluma::frame::capturer::wlroots::Capturer as wluma::frame::capturer::Capturer>::run::h1f04bdceedd5d6cd
at /home/jjgadgets/GitRepos/Others/wluma/src/frame/capturer/wlroots.rs:60:13
35: 0x5654a9781030 - wluma::main::{{closure}}::{{closure}}::he2387331803f511a
at /home/jjgadgets/GitRepos/Others/wluma/src/main.rs:87:29
36: 0x5654a974f25c - std::sys_common::backtrace::__rust_begin_short_backtrace::hb09d013859fddd38
at /builddir/rustc-1.57.0-src/library/std/src/sys_common/backtrace.rs:123:18
37: 0x5654a9792bd0 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hdfdac7fca1df38a5
at /builddir/rustc-1.57.0-src/library/std/src/thread/mod.rs:483:17
38: 0x5654a97e8250 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6c0cebfcdde1e9b7
at /builddir/rustc-1.57.0-src/library/core/src/panic/unwind_safe.rs:271:9
39: 0x5654a971081a - std::panicking::try::do_call::h81534e8a3112760c
at /builddir/rustc-1.57.0-src/library/std/src/panicking.rs:403:40
40: 0x5654a9710d3d - __rust_try
41: 0x5654a9710451 - std::panicking::try::hdd0ba3b931e62611
at /builddir/rustc-1.57.0-src/library/std/src/panicking.rs:367:19
42: 0x5654a96cb520 - std::panic::catch_unwind::h65f38094707f0e98
at /builddir/rustc-1.57.0-src/library/std/src/panic.rs:133:14
43: 0x5654a97921c6 - std::thread::Builder::spawn_unchecked::{{closure}}::hd03b7490c7647741
at /builddir/rustc-1.57.0-src/library/std/src/thread/mod.rs:482:30
44: 0x5654a96b9b6e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h3bfee36e17ec1fcd
at /builddir/rustc-1.57.0-src/library/core/src/ops/function.rs:227:5
45: 0x5654a9c6f203 - std::sys::unix::thread::Thread::new::thread_start::h2582dd3e3de2d3c5
46: 0x7ff2b14a3eae - start_thread
at /builddir/glibc-2.32/nptl/pthread_create.c:463:8
47: 0x7ff2b128e2ff - __GI___clone
at /builddir/glibc-2.32/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
48: 0x0 - <unknown> |
Ok no problem, take your time. You can try to add some more debug log in this luma_percent function and give the logs? |
I'm experiencing the same issue. Here are the details of my environment and some logs associated. If it helps. Hardware: ThinkPad T14 Gen 1 (AMD), Aukey PC-W3 webcam, AMDGPU wluma.logsrc/archlinux/wluma
❯ RUST_LOG=trace RUST_BACKTRACE=full vk_radv cargo run main 306d ⬡
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
Running `target/debug/wluma`
[2022-12-11T03:19:51Z DEBUG wluma] Using Config {
als: Webcam {
video: 4,
thresholds: {
75: "outdoors",
0: "night",
60: "bright",
30: "dim",
45: "normal",
15: "dark",
},
},
output: [
Backlight(
BacklightOutput {
name: "eDP-1",
path: "/sys/class/backlight/amdgpu_bl0",
capturer: Wlroots,
min_brightness: 1,
},
),
],
}
[2022-12-11T03:19:51Z INFO wluma] Continue adjusting brightness and wluma will learn your preference over time.
[2022-12-11T03:19:51Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-12-11T03:19:51Z DEBUG wluma::frame::capturer::wlroots] Using output 'IVO 0x057D (eDP-1)' for config 'eDP-1'
[2022-12-11T03:19:51Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-12-11T03:19:51Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-12-11T03:19:51Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): outdoors (100)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): night (7)
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): night (7)
thread 'predictor-eDP-1' panicked at 'Unable to compute luma percent: TIMEOUT', src/frame/capturer/wlroots.rs:128:26
stack backtrace:
0: 0x55e2c939e1ad - std::backtrace_rs::backtrace::libunwind::trace::h8217d0a8f3fd2f41
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x55e2c939e1ad - std::backtrace_rs::backtrace::trace_unsynchronized::h308103876b3af410
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x55e2c939e1ad - std::sys_common::backtrace::_print_fmt::hc208018c6153605e
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:66:5
3: 0x55e2c939e1ad - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf89a7ed694dfb585
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:45:22
4: 0x55e2c93c11dc - core::fmt::write::h21038c1382fe4264
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/fmt/mod.rs:1197:17
5: 0x55e2c939b441 - std::io::Write::write_fmt::h7dbb1c9a3c254aef
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/io/mod.rs:1672:15
6: 0x55e2c939fb85 - std::sys_common::backtrace::_print::h4e8889719c9ddeb8
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:48:5
7: 0x55e2c939fb85 - std::sys_common::backtrace::print::h1506fe2cb3022667
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:35:9
8: 0x55e2c939fb85 - std::panicking::default_hook::{{closure}}::hd9d7ce2a8a782440
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:295:22
9: 0x55e2c939f8a6 - std::panicking::default_hook::h5b16ec25444b1b5d
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:314:9
10: 0x55e2c8e577a3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18f9b59372de987a
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/alloc/src/boxed.rs:1965:9
11: 0x55e2c8efda6b - wluma::main::{{closure}}::h8f2587462ebf5029
at /home/user/src/archlinux/wluma/src/main.rs:14:9
12: 0x55e2c93a022a - std::panicking::rust_panic_with_hook::hb0138cb6e6fea3e4
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:702:17
13: 0x55e2c93a0067 - std::panicking::begin_panic_handler::{{closure}}::h4cb67095557cd1aa
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:588:13
14: 0x55e2c939e664 - std::sys_common::backtrace::__rust_end_short_backtrace::h2bfcac279dcdc911
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:138:18
15: 0x55e2c939fd99 - rust_begin_unwind
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:584:5
16: 0x55e2c93bf223 - core::panicking::panic_fmt::h1de71520faaa17d3
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panicking.rs:142:14
17: 0x55e2c93bf4d3 - core::result::unwrap_failed::hc0baa33ef8bc7db8
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/result.rs:1805:5
18: 0x55e2c8f05bf8 - core::result::Result<T,E>::expect::ha29aa314488aa8bd
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/result.rs:1055:23
19: 0x55e2c8e6bcb4 - wluma::frame::capturer::wlroots::Capturer::capture_frame::{{closure}}::ha72c3da1b6b9ecc6
at /home/user/src/archlinux/wluma/src/frame/capturer/wlroots.rs:125:32
20: 0x55e2c8ef828a - wayland_client::proxy::Main<I>::quick_assign::{{closure}}::h91bc8b8c43151e02
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/proxy.rs:273:64
21: 0x55e2c8eef49c - wayland_commons::filter::Filter<E>::send::h2f4523b57e127e1a
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-commons-0.29.4/src/filter.rs:100:13
22: 0x55e2c8e8b2aa - wayland_client::imp::proxy::ProxyInner::assign::{{closure}}::h9c02564c5b59b747
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:257:57
23: 0x55e2c9170db3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h5e3bb732b04d1149
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/alloc/src/boxed.rs:1965:9
24: 0x55e2c916d230 - wayland_client::imp::proxy::proxy_dispatcher::{{closure}}::{{closure}}::hf0b9b66a75586466
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:418:25
25: 0x55e2c9174997 - scoped_tls::ScopedKey<T>::with::h3777d35c56da1e14
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:171:13
26: 0x55e2c916bb91 - wayland_client::imp::proxy::proxy_dispatcher::{{closure}}::hb3c2a045a7411ea3
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:415:21
27: 0x55e2c91728af - std::panicking::try::do_call::h4791231fab94fe69
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:492:40
28: 0x55e2c91735eb - __rust_try
29: 0x55e2c9172734 - std::panicking::try::ha69f8a1463c4ddda
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:456:19
30: 0x55e2c916f861 - std::panic::catch_unwind::h62efa39d5b2ece0d
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panic.rs:137:14
31: 0x55e2c916b355 - wayland_client::imp::proxy::proxy_dispatcher::h936486be88d714ff
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/proxy.rs:387:15
32: 0x7f4501ad7d65 - <unknown>
33: 0x7f4501ad7ffc - wl_display_dispatch_queue_pending
34: 0x55e2c8e1802f - wayland_client::imp::event_queue::EventQueueInner::dispatch::{{closure}}::he5be4c6b209acefd
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/event_queue.rs:43:17
35: 0x55e2c8e77a3a - scoped_tls::ScopedKey<T>::set::h268c1a44093cf2c2
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:137:9
36: 0x55e2c8e18357 - wayland_client::imp::event_queue::with_dispatch_meta::hb1ca4c5c9ed07d47
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/event_queue.rs:24:5
37: 0x55e2c8e17f89 - wayland_client::imp::event_queue::EventQueueInner::dispatch::hbf22d8c60d2fbcde
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/native_lib/event_queue.rs:41:9
38: 0x55e2c8f2de9d - wayland_client::event_queue::EventQueue::dispatch::h258dff99bbbecfff
at /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.29.4/src/event_queue.rs:152:9
39: 0x55e2c8e36bb5 - <wluma::frame::capturer::wlroots::Capturer as wluma::frame::capturer::Capturer>::run::h7e624e302a4ca6c5
at /home/user/src/archlinux/wluma/src/frame/capturer/wlroots.rs:60:13
40: 0x55e2c8eff146 - wluma::main::{{closure}}::{{closure}}::hc1116d90a2b1acb9
at /home/user/src/archlinux/wluma/src/main.rs:87:29
41: 0x55e2c8f0f24c - std::sys_common::backtrace::__rust_begin_short_backtrace::ha867c14475f61191
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:122:18
42: 0x55e2c8e1fcb0 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h48905f39b26bcdf2
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/thread/mod.rs:505:17
43: 0x55e2c8ef7810 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h894b536c22485698
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panic/unwind_safe.rs:271:9
44: 0x55e2c8f1502a - std::panicking::try::do_call::h2d01533784ba40f1
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:492:40
45: 0x55e2c8f1579b - __rust_try
46: 0x55e2c8f14da1 - std::panicking::try::hd88ba560baf39e41
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:456:19
[2022-12-11T03:19:52Z TRACE wluma::als::webcam] ALS (webcam): night (7)
47: 0x55e2c8e659f0 - std::panic::catch_unwind::h26efa7a672967e7e
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panic.rs:137:14
48: 0x55e2c8e1ef0b - std::thread::Builder::spawn_unchecked_::{{closure}}::h014fcc1dd2f9e66b
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/thread/mod.rs:504:30
49: 0x55e2c8e7a0be - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0bb2c2c1c85ec0a2
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ops/function.rs:248:5
50: 0x55e2c93a2f43 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h1680342795a2dc08
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/alloc/src/boxed.rs:1951:9
51: 0x55e2c93a2f43 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h45204a69827b0e83
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/alloc/src/boxed.rs:1951:9
52: 0x55e2c93a2f43 - std::sys::unix::thread::Thread::new::thread_start::h5d4e11bbda4161c8
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys/unix/thread.rs:108:17
53: 0x7f450177c8fd - <unknown>
54: 0x7f45017fea60 - <unknown>
55: 0x0 - <unknown>
syslogDec 10 20:19:51 kernel: [30707.226531] gmc_v9_0_process_interrupt: 152 callbacks suppressed
Dec 10 20:19:51 kernel: [30707.226538] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226547] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e08000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226553] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00601031
Dec 10 20:19:51 kernel: [30707.226555] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
Dec 10 20:19:51 kernel: [30707.226558] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x1
Dec 10 20:19:51 kernel: [30707.226559] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226561] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x3
Dec 10 20:19:51 kernel: [30707.226563] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226564] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226567] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226572] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e09000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226576] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226578] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226580] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226581] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226583] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226584] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226586] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226588] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226592] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e0a000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226595] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226597] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226599] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226600] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226602] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226603] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226605] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226607] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226610] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e0b000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226614] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226616] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226617] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226619] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226620] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226622] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226624] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226625] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226629] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e01000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226632] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226634] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226636] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226637] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226639] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226640] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226642] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226644] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226647] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e00000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226651] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226653] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226654] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226656] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226658] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226659] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226661] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226663] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226666] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e02000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226670] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226671] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226673] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226675] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226676] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226678] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226679] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226681] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226685] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e08000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226688] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226690] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226692] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226693] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226695] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226696] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226698] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226700] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226703] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100de9000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226707] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226708] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226710] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226712] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226713] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226715] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226716] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:19:51 kernel: [30707.226718] amdgpu 0000:06:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:6 pasid:32778, for process wluma pid 731265 thread predictor-eDP-1 pid 731268)
Dec 10 20:19:51 kernel: [30707.226722] amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100e0b000 from IH client 0x1b (UTCL2)
Dec 10 20:19:51 kernel: [30707.226725] amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Dec 10 20:19:51 kernel: [30707.226727] amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
Dec 10 20:19:51 kernel: [30707.226729] amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226730] amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226732] amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
Dec 10 20:19:51 kernel: [30707.226734] amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
Dec 10 20:19:51 kernel: [30707.226736] amdgpu 0000:06:00.0: amdgpu: RW: 0x0
Dec 10 20:20:02 kernel: [30717.636063] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, but soft recovered |
Thanks for reporting, to be honest it doesn't immediately strike me as the same issue, perhaps file it as a new one, so that its not forgotten in the shadow of this one? By the way, do you have only integrated gpu, or also a separate one? (you can answer in the new ticket so that we move the discussion in one place) |
Steps for reproducing the issue
Hardware: ThinkPad T14 Gen 1 (AMD), Chicony webcam, AMDGPU
Software: Void Linux, SwayWM,
wluma
run from WezTermmake build && sudo make install
)wluma
What is the buggy behavior?
wlroots capture panics
wluma
on launch, with error "NoCompositorListening".What is the expected behavior?
I can use wlroots capture without errors.
Logs
Version
Latest commit from master, which should also mean 4.1.2?
Environment
The text was updated successfully, but these errors were encountered: