WhatAmISupposedToPutHere / tiny-dfr

The most basic dynamic function row daemon possible
MIT License
46 stars 22 forks source link

`Result::unwrap()` on an `Err` value: No touchbar device found #24

Closed Ikuyu closed 1 week ago

Ikuyu commented 10 months ago

Just install Pop!_OS without Nvidia on my 13 inch Macbook Pro 2019 with integrated GPU. All went well. Everything is working after following the instructions here: https://t2linux.org/ except for the touchbar. So I can´t use ESC, FN-keys etc.

I've installed tiny-dfr with the command: $ sudo apt install tiny-dfr. Then I've restarted the laptop, but... no touchbar. Then I've run 'sudo apt install tiny-dfr' but... no touchbar. Instead I got the message:

thread 'main' panicked at src/main.rs:658:43: called Result::unwrap() on an Err value: No touchbar device found note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Any help on this?

WhatAmISupposedToPutHere commented 10 months ago

Unfortunately, i can not provide that much support for intel machines, since i do not have any t2 macbooks. To the first glance, the issue is that the t2 display output can't be found, but i can't offer any further help. You should try asking in the t2 discord for help.

PJET2000 commented 9 months ago

@Ikuyu Have you found a solution yet?

Ikuyu commented 9 months ago

Unfortunately not. When I rebooted into macOS and then again into popOS I saw the Touch Bar for a brief moment, but after logging out/in it disappeared again. Also, when I saw it, I got the message: Result::unwrap() no Touch Bar found when running your app in the terminal. Same thing with Fedora. I removed popOS and then installed the Fedora T2 Gnome edition. Now, the Touch Bar remains visible, but when I run your Touch Bar app, it again tells me the same thing: Result::unwrap() no Touch Bar found.

Grammercy commented 2 months ago

Same issue on Arch, rebooting w/o booting into macos seems to work most of the time. The difference between working and failing appears to be the existence of /dev/dri/card1. When that device exists everything works, and when it doesnt the touchbar disappears

sharpenedblade commented 1 month ago

The bug is in the t2 kernel driver. There is nothing tiny-dfr can do so this issue should be closed.

ssleert commented 3 weeks ago

Any updates?

WhatAmISupposedToPutHere commented 1 week ago

This is a driver-related bug on t2