Commit f00961b08216
tarball2 files changed+37-38
@@ -108,6 +108,8 @@ fn main() -> ExitCode {
108108
#[cfg(not(feature = "spans"))]109109
let spans: Option<tracing_subscriber::layer::Identity> = None;110110
tracing_subscriber::registry().with(fmt).with(spans).init();111
+ #[cfg(feature = "spans")]112
+ tracing::info!("logging spans slower than 1 ms");111113
let backend = match backend {112114
Backend::Auto if std::env::var_os("WAYLAND_DISPLAY").is_some() => Backend::Nested,113115
Backend::Auto => Backend::Drm,@@ -1,41 +1,38 @@
1
- Finished `release` profile [optimized] target(s) in 0.07s1
+ Compiling monolith v0.0.0 (/home/bolt/code/monolith/crates/monolith)2
+ Finished `release` profile [optimized] target(s) in 12.52s23
Running `target/release/monolith run --backend drm , vkcube`3
-2026-10-16T13:51:02.803171Z INFO monolith::drm: primary GPU path=/dev/dri/card14
-2026-10-16T13:51:03.171981Z INFO monolith::drm: output connected name="DP-2" w=2560 h=1440 refresh=1655
-2026-10-16T13:51:03.172150Z INFO monolith::ipc: control socket path=/run/user/1000/monolith-wayland-2.sock6
-2026-10-16T13:51:03.172198Z INFO monolith: monolith running socket="wayland-2" device="NVIDIA GeForce RTX 3060"7
-2026-10-16T13:51:03.172797Z INFO monolith::commands: spawned pid=357227 argv=[",", "vkcube"]8
-2026-10-16T13:51:03.205514Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=32589141 scene_ns=3060 render_ns=22964497 render_cpu_ns=5037322 queue_ns=1829339
-2026-10-16T13:51:03.210169Z DEBUG monolith::drm: frame rate output="DP-2" presented=1 vblanks=8675051 budget_us=345894
+2026-10-16T13:53:37.943439Z INFO monolith::drm: primary GPU path=/dev/dri/card15
+2026-10-16T13:53:38.355268Z INFO monolith::drm: output connected name="DP-2" w=2560 h=1440 refresh=1656
+2026-10-16T13:53:38.355369Z INFO monolith::ipc: control socket path=/run/user/1000/monolith-wayland-2.sock7
+2026-10-16T13:53:38.355385Z INFO monolith: monolith running socket="wayland-2" device="NVIDIA GeForce RTX 3060"8
+2026-10-16T13:53:38.355828Z INFO monolith::commands: spawned pid=358143 argv=[",", "vkcube"]9
+2026-10-16T13:53:38.383773Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=27867019 scene_ns=3700 render_ns=8621537 render_cpu_ns=2390802 queue_ns=21323310
+2026-10-16T13:53:38.387370Z DEBUG monolith::drm: frame rate output="DP-2" presented=1 vblanks=8700649 budget_us=298671011
Selected WSI platform: wayland1112
Selected GPU 0: NVIDIA GeForce RTX 3060, type: DiscreteGpu, apiVersion: 4211017 (1.4.329), driverVersion: -1797652352 (83.416.128) 12
-2026-10-16T13:51:04.210384Z DEBUG monolith::drm: frame rate output="DP-2" presented=24 vblanks=164 budget_us=224713
-2026-10-16T13:51:05.210645Z DEBUG monolith::drm: frame rate output="DP-2" presented=114 vblanks=165 budget_us=226314
-2026-10-16T13:51:05.352711Z DEBUG monolith::input: bind cmd=Fullscreen15
-2026-10-16T13:51:05.552117Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=28187101 scene_ns=13480 render_ns=27892916 render_cpu_ns=8439424 queue_ns=27264516
-2026-10-16T13:51:05.556299Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=30295361 budget_ns=256986417
-2026-10-16T13:51:05.568324Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=5980851 budget_ns=313832518
-2026-10-16T13:51:05.580468Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6065851 budget_ns=333539919
-2026-10-16T13:51:06.210908Z DEBUG monolith::drm: frame rate output="DP-2" presented=135 vblanks=165 budget_us=320420
-2026-10-16T13:51:06.269610Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=13406444 scene_ns=3661 render_ns=13342182 render_cpu_ns=1676781 queue_ns=5893121
-2026-10-16T13:51:06.271526Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=12111851 budget_ns=321375722
-2026-10-16T13:51:07.211170Z DEBUG monolith::drm: frame rate output="DP-2" presented=163 vblanks=165 budget_us=335223
-2026-10-16T13:51:08.019701Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=5447739 scene_ns=3510 render_ns=5383268 render_cpu_ns=1369682 queue_ns=5951124
-2026-10-16T13:51:08.023497Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6048851 budget_ns=318691725
-2026-10-16T13:51:08.211429Z DEBUG monolith::drm: frame rate output="DP-2" presented=164 vblanks=165 budget_us=340126
-2026-10-16T13:51:09.211682Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=338027
-2026-10-16T13:51:10.211939Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=332028
-2026-10-16T13:51:10.685423Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=3893591 scene_ns=6720 render_ns=3779849 render_cpu_ns=3863102 queue_ns=10459229
-2026-10-16T13:51:10.690861Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6062851 budget_ns=328846830
-2026-10-16T13:51:11.212207Z DEBUG monolith::drm: frame rate output="DP-2" presented=164 vblanks=165 budget_us=324631
-2026-10-16T13:51:12.212465Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=164 budget_us=322232
-2026-10-16T13:51:13.212720Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=353533
-2026-10-16T13:51:14.212978Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=323034
-2026-10-16T13:51:15.213236Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=337335
-2026-10-16T13:51:16.213496Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=342836
-2026-10-16T13:51:16.899049Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=3770988 scene_ns=5050 render_ns=3593195 render_cpu_ns=3742622 queue_ns=17077337
-2026-10-16T13:51:16.904600Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6071851 budget_ns=323180838
-2026-10-16T13:51:17.213748Z DEBUG monolith::drm: frame rate output="DP-2" presented=164 vblanks=164 budget_us=332439
-2026-10-16T13:51:18.214005Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=331440
-2026-10-16T13:51:19.214265Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=322241
-2026-10-16T13:51:19.455708Z DEBUG monolith::input: bind cmd=Quit13
+2026-10-16T13:53:39.387636Z DEBUG monolith::drm: frame rate output="DP-2" presented=10 vblanks=165 budget_us=240014
+2026-10-16T13:53:40.387865Z DEBUG monolith::drm: frame rate output="DP-2" presented=90 vblanks=164 budget_us=208215
+2026-10-16T13:53:40.442431Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6062851 budget_ns=255841416
+2026-10-16T13:53:41.388127Z DEBUG monolith::drm: frame rate output="DP-2" presented=163 vblanks=165 budget_us=269717
+2026-10-16T13:53:41.497723Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=3177748 scene_ns=4680 render_ns=3092097 render_cpu_ns=387440 queue_ns=7937118
+2026-10-16T13:53:41.503321Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6052851 budget_ns=322793619
+2026-10-16T13:53:42.388427Z DEBUG monolith::drm: frame rate output="DP-2" presented=164 vblanks=165 budget_us=308120
+2026-10-16T13:53:43.255318Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=6096851 budget_ns=323905821
+2026-10-16T13:53:43.388643Z DEBUG monolith::drm: frame rate output="DP-2" presented=164 vblanks=164 budget_us=321622
+2026-10-16T13:53:44.385342Z DEBUG monolith::input: bind cmd=Fullscreen23
+2026-10-16T13:53:44.388911Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=330024
+2026-10-16T13:53:44.619725Z DEBUG monolith::drm: slow frame output="DP-2" took_ns=41477278 scene_ns=13400 render_ns=41081802 render_cpu_ns=6374442 queue_ns=37524625
+2026-10-16T13:53:44.625342Z DEBUG monolith::drm: frame missed its vblank output="DP-2" late_ns=96996106 budget_ns=320022726
+2026-10-16T13:53:45.389164Z DEBUG monolith::drm: frame rate output="DP-2" presented=131 vblanks=165 budget_us=324227
+2026-10-16T13:53:46.389427Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=324928
+2026-10-16T13:53:47.389678Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=318829
+2026-10-16T13:53:48.389939Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=324230
+2026-10-16T13:53:49.390191Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=320831
+2026-10-16T13:53:50.390452Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=318232
+2026-10-16T13:53:51.390710Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=317233
+2026-10-16T13:53:52.391010Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=328734
+2026-10-16T13:53:53.391226Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=164 budget_us=319035
+2026-10-16T13:53:54.391491Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=319536
+2026-10-16T13:53:55.391795Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=165 budget_us=322737
+2026-10-16T13:53:56.392074Z DEBUG monolith::drm: frame rate output="DP-2" presented=165 vblanks=164 budget_us=340638
+2026-10-16T13:53:56.817264Z DEBUG monolith::input: bind cmd=Quit