github Lexonight1/thermalright-trcc-linux v7.1.0

latest releases: v9.4.7, v9.4.6, v9.4.5...
one month ago

v7.1.0

Bug Fixes

  • Scrambled display on bulk devices (#54): Bulk/LY handshake returned the PM byte as model_id instead of the actual FBL code. This caused DeviceInfo.use_jpeg to incorrectly return True, encoding frames as JPEG while the device expected RGB565 (cmd=3). The firmware received compressed JPEG bytes as raw pixels → scrambled display. Now correctly converts PM→FBL via pm_to_fbl() before returning from handshake.

  • Theme not restored on autostart (--last-one): When no theme was previously saved in config, the fallback theme loaded with persist=False, so the config never got a theme_path entry. Every boot repeated the empty-config fallback cycle. Now persists the fallback choice when no prior theme was saved.

  • Duplicate handshake threads: The 5-second device poll could spawn multiple concurrent handshake threads for the same device. Added a _handshake_pending guard.

Improvements

  • Removed per-frame DEBUG log spam: Video playback generated ~30 debug log lines/second from video_tick, send_rgb565, encode_for_device, ImageLabel.set_image, and SCSI send. This filled all 4MB of log rotation in seconds, obliterating useful INFO messages (device selection, theme restore, handshake results). Removed all hot-path debug logging.

  • Expanded bulk PM table: Added all C# v2.1.2 FormCZTVInit PM values (13–17, 50, 66, 68, 69) to _BULK_KNOWN_PMS for correct resolution detection on newer bulk devices.

Don't miss a new thermalright-trcc-linux release

NewReleases is sending notifications on new releases.