2025-09-19
00:50JoshuaPeisach[m]im gonna bet this one is an asahi issue https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/2125168
00:50JoshuaPeisach[m]its a private bug report but ibus-x11 assert failure: realloc(): invalid next size
00:52JoshuaPeisach[m]i think subscribing you to it should let you view?
00:53JoshuaPeisach[m]well i cant think of any other reason a realloc would fail other than something kernel
00:54JoshuaPeisach[m]i see lots of denied messages
00:55JoshuaPeisach[m]apparmor allowed all Xorg requests
00:58JoshuaPeisach[m]i was updating the firefox snap and then it happened but it shouldnt be related.. idk
01:04JoshuaPeisach[m]ehhh im a bit skeptical of this now.. i think the software is fine but /shrug
01:04* JoshuaPeisach[m]uploaded an image: (341KiB) < https://matrix.org/oftc/media/v1/media/download/AWU-lYrmQXYz7QMDXN5zIavrCHWSHx6jXthOtOjEprRL7fV7EiOiEdM1HQ7NXR0q9jx7WgwamR8Lcze91CFx2HxCeZp5nMuwAHVidW50dS5jb20vSmdTZE5Ob1RZdENjYU5mcEN4d0pYamhy >
02:36tobhe has joined #ubuntu-asahi
02:43tobhe_ has quit [Ping timeout: 480 seconds]
13:43tobhe_ has joined #ubuntu-asahi
13:48tobhe has quit [Ping timeout: 480 seconds]
19:08gbkerseytrying to get touchbar working on Apple MacBook Pro (13-inch, M1, 2020), running kernel 6.16.0-1002-asahi-arm, I see /dev/dri/card[1-3] and it appears card 2 is display-pipe-card... When I run tiny-dfr, I'm getting permission denied.... RW permission is allowed for members of the video group of which my user is a member... any hints?
21:34gbkerseysure. I suspect that I don't have the correct kernel module loaded... I think the module for this first in mainline 6.15, but I'm not sure of the name of the module.
21:36john-cabaj[m]I think that config option is CONFIG_TOUCHSCREEN_APPLE_Z2 which is set to 'm'
21:36john-cabaj[m]Let me check where the module is
21:40john-cabaj[m]Should be in ./lib/modules/$(uname -r)/kernel/drivers/input/touchscreen/apple_z2.ko.zst
21:40john-cabaj[m]s/.//`//, s//`/
21:45tobhe[m]let me check the rust code... but yes it seems like you should be allowed if you are in the right group...
22:13tobhe[m]if you remove the udev rules in /etc/udev/rules.d/99-touchbar* (maybe move them to a backup directory) and reboot, does that change anything?
22:15tobhe[m]different idea then: if you install https://launchpad.net/ubuntu/+archive/primary/+files/tiny-dfr_0.3.6-5_arm64.deb does that work better
22:15gbkerseyso I cloned tiny-dfr from git.... have the latest from that repo commit a04f1abf4179d0e3c2ddf5c9b1a442b923680ef9 (HEAD -> master, origin/master, origin/HEAD)
22:15tobhe[m]the repo also has the rules https://github.com/AsahiLinux/tiny-dfr/tree/master/etc/udev/rules.d
22:25gbkerseyare there configuration instructions for tiny-dfr somewhere, or I just need to read the source?
22:31tobhe[m]fair enough 🙂 but good to know the latest one fixes it, backporting it shouldn't be too hard
22:33gbkerseyOK, based on the included svg files, I'm thinking that the touchbar can do more than just function keys... guess I'll dig into the source at some point.
22:34tobhe[m]https://github.com/AsahiLinux/tiny-dfr/blob/master/share/tiny-dfr/config.toml i suppose the example config is the best documentation
22:36gbkerseynow that I've seen the config - looks like the meta key is your friend... very cool....
22:50tobhe[m]if tiny-dfr gracefully handles non-supported devices via the udev rules I suppose we could enable it by default
23:08pthariensflame has joined #ubuntu-asahi
23:20pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]