Skip to content

[Bug] Verification fails for longer sessions and requires visaged restart #48

Description

@jpetrina

Environment

  • Visage version: visage-git 0.3.3.r10.g0db3796-1
  • OS: Arch Linux
  • Kernel: 7.0.10-arch1-1
  • Camera: 046d:08e5 Logitech, Inc. C920 PRO HD Webcam
/dev/video0  driver=uvcvideo  VID=0x046d PID=0x08e5  no quirk (VID=0x046d PID=0x08e5)
/dev/video1  driver=uvcvideo  VID=0x046d PID=0x08e5  no quirk (VID=0x046d PID=0x08e5)
  • Install method: AUR

Description

I run my system continuously and never suspend it. After some time, perhaps more than a few days, attempting any login on e.g. with GDM will result in failure.

I assume that during normal system/camera use i.e. with online meetings camera hardware and visaged desync and visage can't get a frame from the camera.

Steps to reproduce

  1. start visaged
  2. use visage for login, and camera for online meets for more than a day
  3. attempt to login via pam while face is in front of camera
  4. fail with error

Expected behavior

Visaged might re-init its camera hw interface when multiple sequential error=no face detected in any captured frame are detected.

Actual behavior

error=no face detected in any captured frame

Logs

...
2026-06-24T11:56:22.110857Z  INFO visaged::dbus_interface: verify complete user="<USER>" matched=true similarity=0.746658980846405 model_id=Some("..
2026-06-24T13:02:50.307661Z  INFO visaged::dbus_interface: verify requested user="<USER2>"
2026-06-24T13:02:51.722395Z  INFO visaged::dbus_interface: verify complete user="<USER2>" matched=true similarity=0.7310731410980225 model_id=Some("...
2026-06-24T13:25:51.128581Z  INFO visaged::dbus_interface: verify requested user="<USER>"
2026-06-24T13:25:52.405731Z ERROR visaged::dbus_interface: verify failed error=no face detected in any captured frame
2026-06-24T13:31:11.603513Z  INFO visaged::dbus_interface: verify requested user="<USER2>"
2026-06-24T13:31:12.905619Z ERROR visaged::dbus_interface: verify failed error=no face detected in any captured frame
2026-06-24T21:29:36.372432Z  INFO visaged::dbus_interface: verify requested user="<USER2>"
2026-06-24T21:29:37.783751Z ERROR visaged::dbus_interface: verify failed error=no face detected in any captured frame
(until manual visaged service restart using systemctl)
...

Additional context

I will try to capture more verbose debug logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions