#
…

2025-09-19

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:53tobhe[m]will have to take a closer look tomorrow
00:53tobhe[m]but I don't understand what exactly is happening there
00:53JoshuaPeisach[m]well i cant think of any other reason a realloc would fail other than something kernel
00:53tobhe[m]any apparmor warnings?
00:54JoshuaPeisach[m]i see lots of denied messages
00:55tobhe[m]that is sadly somewhat normal
00:55JoshuaPeisach[m]apparmor allowed all Xorg requests
00:55tobhe[m]invalid next size
00:56tobhe[m]and the trace suggests the size is 672
00:56tobhe[m]so it doesn't sound too unreasonable
00:58JoshuaPeisach[m]i was updating the firefox snap and then it happened but it shouldnt be related.. idk
00:58tobhe[m]who knows. it does look unpleasant to debug because of how many libraries are involved
00:58tobhe[m]luckily we have a core dump and a debuginfod
01:04JoshuaPeisach[m]ehhh im a bit skeptical of this now.. i think the software is fine but /shrug
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?
20:07tobhe[m]hm not sure, unfortunately i don't have a device with touch bar so i never tested that
20:08tobhe[m]could it be we are missing a kernel config option to make it work?
20:10tobhe[m]could you run it with strace to figure out what exactly fails?
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:40gbkerseythat module is in fact loaded.
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...
21:57tobhe[m]looking at the systemd stuff it shouldn't even be necessary to be in the group
21:58tobhe[m]the udev rules use seats to allow user access as I understand
22:02gbkerseystrange... It does the same if I run as root.... so not permissions?
22:11gbkerseythis is what /dev/dri looks like.... https://pastebin.com/pWy6NUcM
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:14gbkerseythere is no touchbar rool
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]that's the questing package
22:16tobhe[m]you could copy them to /etc/udev/rules.d manually
22:18gbkerseythey are in /usr/lib/udev/rules.d/
22:18gbkerseyfrom the package.
22:19gbkerseythe package you linked fixed the problem... what repo is that in?
22:19gbkerseywhen I search launchpad for tiny-dfr I get no hits.
22:20gbkerseyI have F1-F12 keys on touchbar now !
22:24tobhe[m]that is the official archive but the questing package
22:24tobhe[m]I can backport it
22:24gbkerseyI don't know about 'questing'
22:25gbkerseyare there configuration instructions for tiny-dfr somewhere, or I just need to read the source?
22:30tobhe[m]oh questing is Ubuntu 25.10
22:30tobhe[m]so the developement release
22:30gbkerseyya, sorry....
22:30gbkerseyI'm an LTS kinda guy
22:31tobhe[m]fair enough 🙂 but good to know the latest one fixes it, backporting it shouldn't be too hard
22:32tobhe[m]I am not aware of any docs unfortunately
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:33gbkerseythanks so much for your help....
22:34tobhe[m]no worries!
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
22:55gbkerseyIf I had an unsupported device that would run asahi, I'd test it for you....
22:56tobhe[m]luckily I have one of those. just not one that actually is supported 😄
23:08pthariensflame has joined #ubuntu-asahi
23:20pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
…