tuxedocomputers / tuxedo-control-center

A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
GNU General Public License v3.0
522 stars 69 forks source link

Webcam access error #358

Closed vallode closed 9 months ago

vallode commented 10 months ago

Machine: Pulse 15 Gen 3 OS: Arch Tuxedo control center version: 2.1.5

When accessing webcam settings I sometimes receive an "access error" that cannot be closed and re-opens itself a few times a second until the entire UI is inaccessible.

Screenshot_20240205_102252

This error will keep opening and there is no way of closing it without closing the control center entirely.

tuxedoherbert commented 9 months ago

If the Webcam is taken by another application, the TCC can't get control of it. Please check if there is something else running.

tuxedoder commented 9 months ago

This error happened because IR showed multiple pixel formats instead of just GREY and a second path got recognized as a rgb webcam because of this.

pixel_formats:  ['GREY', 'MJPG'] 

IR did not have settings which could get applied and tcc tried to apply nothing. Deduplication of video paths per device id and a check to not apply nothing was added.

In this case it was not webcam access from another application. Issue was fixed in 2.1.6.

vallode commented 9 months ago

Looks like it is resolved with the update, thank you!