Skip to content
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

Video corruption in NixOS installer on error #1825

Open
rathmerdominik opened this issue Jul 20, 2024 · 1 comment
Open

Video corruption in NixOS installer on error #1825

rathmerdominik opened this issue Jul 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rathmerdominik
Copy link

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 rathmerdominik added the bug Something isn't working label Jul 20, 2024
@db39
Copy link
Contributor

db39 commented Jul 23, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants