gorgeous-terabyte-27715
07/31/2025, 8:29 AM2025-07-31T08:16:52.893796772Z ERROR re_grpc_server: Error reading message from broadcast channel: channel lagged by 281974
blue-application-26880
07/29/2025, 6:34 PMre_renderer
directly within a custom egui
application (using wgpu
).
With nothing queued in ViewBuilder
I get nothing and see the background as expected.
When I queue_draw
a GenericSkyboxDrawData
, I get a fully black viewport. Behavior of other renderers varies, but I never get any meaningful output.
I captured a frame in RenderDoc to try to get more insight into what might be happening. The black screen seems to stem from the color value in the shader `nan`ing. Tracing it back in the debugger it seems to originate from the re_renderer
frame uniform buffer
which is bound to descriptor set 0 being filled with nulls only.
According to RenderDoc the buffer is only `clear`ed and barriered before it is used in the shaders for the re_renderer
renderers.
I imagine I am probably missing some important step in my code, does someone know what I might be doing wrong?bulky-mouse-15596
07/29/2025, 3:58 PMrec.log("video_stream",rerun::archetypes::VideoStream{}.with_sample(rerun::components::VideoSample{data}));
I had a first error similar to the one mentioned here:
https://discord.com/channels/1062300748202921994/1397335975364919392
I applied the uint32_t
fix and the next error was the ffmpeg version. Got the recommended version and the video stream doesn't get displayed:
Failed to decode video: FFmpeg error: [h264] [error] error while decoding MB 2 64, bytestream 16292
It gets the Dimensions of the video stream right (1920x1080) and the sent data chunks appear in the Video samples table but no video gets displayed.
The video stream is created from that command:
ffmpeg -f rawvideo -pixel_format rgba -video_size {width}x{height} -framerate {frameRate} -i - -vf vflip -c:v libx264 -preset veryfast -tune zerolatency -f mpegts udp://localhost:1234?pkt_size=1316
and it is displayed correctly with ffplay
.quiet-restaurant-13188
07/29/2025, 12:09 PMquiet-restaurant-13188
07/29/2025, 12:02 PMlate-finland-49345
07/26/2025, 4:21 AMechoing-translator-29651
07/22/2025, 11:42 PMcreamy-airplane-43852
07/22/2025, 9:54 PMre_viewer_context::component_ui_registry] Failed to deserialize component of type rerun.components.VideoCodec: Failed to deserialize "rerun.components.VideoCodec"
I've put the RUST_LOG up to debug on both the sender and the receiver but it gives me no other information other than the deserialization error.
Any idea what I might be doing wrong?
I've attached the code I'm working with. This also dumps the h264 data to a file which does reproduce correctly when using ffplay so I don't think this is an encoding error
https://cdn.discordapp.com/attachments/1397335975364919392/1397335975645941882/on-the-fly.cpp?ex=688b3d49&is=6889ebc9&hm=f06d6a86384a371ebdcb0a5c7b02a7556716b8bace7b699e20bee65ea0ef7161&victorious-crayon-58185
07/22/2025, 11:59 AMechoing-translator-29651
07/22/2025, 12:14 AMsalmon-solstice-47676
07/19/2025, 9:02 PMRenderer
using the re_renderer
crate and the shader I want to use requires some `texture2d`s. From looking through the Rerun code I can see examples like:
ctx.gpu_resources.bind_groups.alloc(
&ctx.device,
&ctx.gpu_resources,
&BindGroupDesc {
label,
entries: smallvec![
BindGroupEntry::DefaultTextureView(position_data_texture.handle),
BindGroupEntry::DefaultTextureView(color_texture.handle),
BindGroupEntry::DefaultTextureView(picking_instance_id_texture.handle),
draw_data_uniform_buffer_binding,
],
layout: point_renderer.bind_group_layout_all_points,
},
)
however, BindGroupEntry
is private. For the variant BindGroupEntry::Buffer
there is create_and_fill_uniform_buffer
, but I can't find anything that lets me pass my own texture handles to shaders. Am I missing something?shy-optician-6807
07/19/2025, 2:10 PMashpd
fails to compile. Here's a part of the errors from cargo build
. Does anybody know how to solve this? I use rust 1.88 on Linux.
error[E0432]: unresolved import `futures_util::AsyncReadExt`
--> /home/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ashpd-0.10.2/src/desktop/secret.rs:26:5
|
26 | use futures_util::AsyncReadExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AsyncReadExt` in the root
|
note: found an item that was configured out
--> /home/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:320:47
|
320 | AsyncBufRead, AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, AsyncWrite,
| ^^^^^^^^^^^^
note: the item is gated behind the `io` feature
--> /home/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:316:7
|
316 | #[cfg(feature = "io")]
| ^^^^^^^^^^^^^^
error[E0432]: unresolved import `futures_util::AsyncReadExt`
--> /home/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ashpd-0.10.2/src/helpers.rs:4:5
|
4 | use futures_util::AsyncReadExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AsyncReadExt` in the root
|
note: found an item that was configured out
--> /home/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:320:47
|
320 | AsyncBufRead, AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, AsyncWrite,
| ^^^^^^^^^^^^
...
NOTE: I saw [this](https://users.rust-lang.org/t/issue-with-futures-lite-dependency-resolution-in-ashpd-read-to-string-read-to-end-errors/125669/1) already, but it didn't apply to mehappy-tailor-42627
07/18/2025, 3:58 PMdry-crowd-37372
07/11/2025, 6:59 PMbest-postman-58155
07/11/2025, 6:32 PMRecordingStream
set to log to the blueprint directly
- using RecordingStream::send_blueprint
Unfortunately, all of these require the StoreId
of the active blueprint and I can't seem to find a way to get it. The closest seems to be StoreHub::active_blueprint_id
, but I don't see anyway to access that.
Any suggestions here for how I can get that? Or another route I could take? Thanks!acoustic-country-63831
07/11/2025, 8:56 AM.set_time_seconds
and .log
for attached demo.
- I'd like to show input points only at first frame, then only facets, then only valid facets (but maybe another need would be to persist some data multiple frames)
https://cdn.discordapp.com/attachments/1393153897325002814/1393153897517809706/parry_step_debugging.mp4?ex=6872232c&is=6870d1ac&hm=aa1692e9fa99b41628eef4de6cc50ed6cc2852c3d76467211b9f0a3643038e48&cool-artist-76654
07/10/2025, 12:23 PMgray-elephant-10429
07/08/2025, 9:19 AMPoint3D
archetypecareful-apple-44581
07/07/2025, 2:16 PMrr.log
according to the respective type. It works fine on the direct host machine with the native GUI but has a lag when I use the web_viewer mode with grpc
.
My team prefers to run everything from inside dockers (combined with another ROS2 functionality) and I am having a hard time figuring it out. I don't want to use web_viewer since that brings in ~3 seconds lag on the visualization. Is there any way to run the native viewer through the docker?loud-airplane-74345
07/01/2025, 4:09 PMwooden-park-46363
07/01/2025, 8:53 AMkind-kitchen-2583
06/25/2025, 1:57 PMCallbacks
The Viewer API also allows registering callbacks for certain events.
For example, here is how you would react to entities being selected in the Viewer:
viewer.on("selection_change", (event) => {
for (const item of event.items) {
if (item.type === "entity") {
console.log(item.entity_path);
}
}
});
rapid-france-81005
06/25/2025, 12:16 PMlocation $BASE_PATH/rerun/ {
proxy_pass http://localhost:9090/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location = $BASE_PATH/ws {
return 301 $scheme://$http_host$BASE_PATH/ws/;
}
location $BASE_PATH/ws/ {
proxy_pass http://localhost:9877/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
As of 0.23, the connection switched to grpc and I can't make it work the same way.
How can I get rerun running inside the pod?
My goal is to connect a vscode webviewer which can execute python code which logs to a rerun web viewer instance.
Using rrd files would work but does not push data (I don't want to refresh the view).bumpy-rose-11730
06/23/2025, 7:41 PMabundant-article-60550
06/18/2025, 6:41 PMRecordingStream
to "early out" when disabled. However, I'm finding that connect_tcp
doesn't seem to require a connection to a valid viewer for connect_tcp(url).is_ok()
to return ErrorCode::Ok
. For instance, if I don't open a Rerun viewer and run my application, I get the following:
CLI OPTION SET: Rerun viewer IP:PORT = 127.0.0.1:9876
[2025-06-18T18:15:12Z WARN re_sdk_comms::buffered_client] Failed to send message after 3 attempts: Failed to connect to Rerun server at 127.0.0.1:9876: Connection refused (os error 111)
[2025-06-18T18:15:15Z WARN re_sdk_comms::buffered_client] Dropping messages because tcp client has timed out.
[2025-06-18T18:15:15Z WARN re_sdk_comms::buffered_client] Dropping messages because tcp client has timed out.
[2025-06-18T18:15:15Z WARN re_sdk_comms::tcp_client] Tried to flush while TCP stream was still Pending. Data was possibly dropped.
Connected to 127.0.0.1:9876
Rerun logging enabled.
echoing-agency-30693
06/17/2025, 3:57 PMquick-battery-49741
06/16/2025, 12:13 PMvictorious-crayon-58185
06/13/2025, 6:09 AM--drop-at-latency
flag: https://rerun.io/docs/howto/visualization/limit-ram#dropatlatency in the documentation, but what is the way to incorporate this using C++ similar to memory limit spawn options?dry-crowd-37372
06/05/2025, 10:02 PMrich-forest-94678
06/05/2025, 6:25 PM