tinypilot icon indicating copy to clipboard operation
tinypilot copied to clipboard

Video corruption in NixOS installer on error

Open rathmerdominik opened this issue 1 year ago • 1 comments

Description

When a nix rebuild fails with an error the entire area of the screenarea of the error gets corrupted and flickers wildly

What's the behavior that you expect?

Normal image transmission without any artifacts or corruptions

What's happening instead?

Brutal flickering in the area of the error and below it

What are the steps to reproduce this behavior?

  1. Open TinyPilot in any browser
  2. Go into the official nixos installer in command line mode
  3. sudo nixos rebuild switch --flake .# with an erroneous system
  4. See error

Screenshots

image

Capture hardware

https://www.amazon.de/-/en/gp/product/B0895N9KM5

Logs

https://logs.tinypilotkvm.com/9FWZhtI5

rathmerdominik avatar Jul 20 '24 15:07 rathmerdominik

Hi @rathmerdominik, I'm sorry you're running into this image display issue.

Your logs have lines that I've never seen before:

Jul 20 16:41:40 raspberrypi launch[7282]: -- ERROR [7746.593    stream] -- Can't decompress JPEG: Unsupported marker type 0x7f
Jul 20 16:41:40 raspberrypi launch[7282]: Corrupt JPEG data: premature end of data segment

These lines suggest there's any issue with the JPEG data your capture device is sending. That corrupt data might explain why you're seeing a corrupt image here. Does your setup work as expected outside of the Nix installer?

If your setup works outside of Nix, could you capture a new log when TinyPilot's display is working correctly and share the URL with me?

db39 avatar Jul 23 '24 14:07 db39