t2linux / T2-Debian-and-Ubuntu-Kernel

Ubuntu Kernel for T2 Macs.
128 stars 14 forks source link

tiny-dfr sometimes doesn't start after reboot #87

Closed Rom888 closed 2 months ago

Rom888 commented 2 months ago

tiny-dfr sometimes doesn't start after reboot

journalctl --boot=0 -r -u tiny-dfr

May 03 08:03:01 mb systemd[1]: Stopped tiny-dfr.service - Tiny Apple silicon touch bar daemon.
May 03 08:03:01 mb systemd[1]: tiny-dfr.service: Deactivated successfully.
May 03 08:03:01 mb systemd[1]: Stopping tiny-dfr.service - Tiny Apple silicon touch bar daemon...
May 03 08:03:01 mb systemd[1]: Started tiny-dfr.service - Tiny Apple silicon touch bar daemon.
May 03 08:03:01 mb systemd[1]: Stopped tiny-dfr.service - Tiny Apple silicon touch bar daemon.
May 03 08:03:01 mb systemd[1]: tiny-dfr.service: Deactivated successfully.
May 03 08:03:01 mb systemd[1]: Stopping tiny-dfr.service - Tiny Apple silicon touch bar daemon...
May 03 08:03:01 mb systemd[1]: Started tiny-dfr.service - Tiny Apple silicon touch bar daemon.

systemctl status tiny-dfr

○ tiny-dfr.service - Tiny Apple silicon touch bar daemon
     Loaded: loaded (/etc/systemd/system/tiny-dfr.service; enabled; preset: enabled)
     Active: inactive (dead) since Fri 2024-05-03 08:03:01 +03; 45min ago
   Duration: 534us
    Process: 1222 ExecStart=/usr/bin/tiny-dfr (code=killed, signal=TERM)
   Main PID: 1222 (code=killed, signal=TERM)
        CPU: 724us

May 03 08:03:01 mb systemd[1]: Started tiny-dfr.service - Tiny Apple silicon touch bar daemon.
May 03 08:03:01 mb systemd[1]: Stopping tiny-dfr.service - Tiny Apple silicon touch bar daemon...
May 03 08:03:01 mb systemd[1]: tiny-dfr.service: Deactivated successfully.
May 03 08:03:01 mb systemd[1]: Stopped tiny-dfr.service - Tiny Apple silicon touch bar daemon.

after this command the touchbar starts working:

systemctl start tiny-dfr

machine:

Ubuntu 23.10
6.8.4-t2-mantic

MacBookPro16.1
Intel Core i9 2.3g

hybrid graphics:
Intel UHD graphics 630
AMD radeon pro 5500M

macOs: Ventura 13.2
AdityaGarg8 commented 2 months ago

Do you use the app shortcuts on touchbar or just media controls?

Rom888 commented 2 months ago

I use just media controls.

AdityaGarg8 commented 2 months ago

Try sudo touchbar --switch and restart

Rom888 commented 2 months ago

I did it and rebooted 3 times. Touchbar worked every time after a reboot. I'll be watching how this works over the next few days.

AdityaGarg8 commented 2 months ago

Kindly close this issue if your bug is fixed.

warpreality commented 1 month ago

tiny-dfr not starting after force shutdown with error as cant find touchbar device Reprodused on my 16.1 on elementary-os

AdityaGarg8 commented 1 month ago

tiny-dfr not starting after force shutdown with error as cant find touchbar device Reprodused on my 16.1 on elementary-os

This is a known issue, so avoid force shut down. In case you have done a force shut down, boot into macOS to fix the touchbar.