Video corruption in NixOS installer on error
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?
- Open TinyPilot in any browser
- Go into the official nixos installer in command line mode
- sudo nixos rebuild switch --flake .#
with an erroneous system - See error
Screenshots
Capture hardware
https://www.amazon.de/-/en/gp/product/B0895N9KM5
Logs
https://logs.tinypilotkvm.com/9FWZhtI5
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?