ChanServ changed the topic of #ubuntu-asahi to: Ubuntu-Asahi development | Github: https://github.com/UbuntuAsahi | Logs: https://oftc.irclog.whitequark.org/ubuntu-asahi
<JoshuaPeisach[m]> im gonna bet this one is an asahi issue https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/2125168
<JoshuaPeisach[m]> its a private bug report but  ibus-x11 assert failure: realloc(): invalid next size
<JoshuaPeisach[m]> i think subscribing you to it should let you view?
<tobhe[m]> will have to take a closer look tomorrow
<tobhe[m]> but I don't understand what exactly is happening there
<JoshuaPeisach[m]> well i cant think of any other reason a realloc would fail other than something kernel
<tobhe[m]> any apparmor warnings?
<JoshuaPeisach[m]> i see lots of denied messages
<tobhe[m]> that is sadly somewhat normal
<JoshuaPeisach[m]> apparmor allowed all Xorg requests
<tobhe[m]> invalid next size
<tobhe[m]> and the trace suggests the size is 672
<tobhe[m]> so it doesn't sound too unreasonable
<JoshuaPeisach[m]> i was updating the firefox snap and then it happened but it shouldnt be related.. idk
<tobhe[m]> who knows. it does look unpleasant to debug because of how many libraries are involved
<tobhe[m]> luckily we have a core dump and a debuginfod
<JoshuaPeisach[m]> ehhh im a bit skeptical of this now.. i think the software is fine but /shrug
tobhe has joined #ubuntu-asahi
tobhe_ has quit [Ping timeout: 480 seconds]
tobhe_ has joined #ubuntu-asahi
tobhe has quit [Ping timeout: 480 seconds]
<gbkersey> trying 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?
<tobhe[m]> hm not sure, unfortunately i don't have a device with touch bar so i never tested that
<tobhe[m]> could it be we are missing a kernel config option to make it work?
<tobhe[m]> could you run it with strace to figure out what exactly fails?
<gbkersey> sure. 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.
<john-cabaj[m]> I think that config option is CONFIG_TOUCHSCREEN_APPLE_Z2 which is set to 'm'
<john-cabaj[m]> Let me check where the module is
<john-cabaj[m]> Should be in ./lib/modules/$(uname -r)/kernel/drivers/input/touchscreen/apple_z2.ko.zst
<john-cabaj[m]> s/.//`//, s//`/
<gbkersey> that module is in fact loaded.
<gbkersey> and when I run it I get: https://pastebin.com/iR7fZLxF
<tobhe[m]> let me check the rust code... but yes it seems like you should be allowed if you are in the right group...
<tobhe[m]> looking at the systemd stuff it shouldn't even be necessary to be in the group
<tobhe[m]> the udev rules use seats to allow user access as I understand
<gbkersey> strange... It does the same if I run as root.... so not permissions?
<gbkersey> this is what /dev/dri looks like.... https://pastebin.com/pWy6NUcM
<tobhe[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?
<gbkersey> there is no touchbar rool
<gbkersey> rule :)
<tobhe[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
<gbkersey> so I cloned tiny-dfr from git.... have the latest from that repo commit a04f1abf4179d0e3c2ddf5c9b1a442b923680ef9 (HEAD -> master, origin/master, origin/HEAD)
<tobhe[m]> that's the questing package
<tobhe[m]> you could copy them to /etc/udev/rules.d manually
<gbkersey> they are in /usr/lib/udev/rules.d/
<gbkersey> from the package.
<gbkersey> the package you linked fixed the problem... what repo is that in?
<gbkersey> when I search launchpad for tiny-dfr I get no hits.
<gbkersey> I have F1-F12 keys on touchbar now !
<tobhe[m]> that is the official archive but the questing package
<tobhe[m]> I can backport it
<gbkersey> I don't know about 'questing'
<gbkersey> are there configuration instructions for tiny-dfr somewhere, or I just need to read the source?
<tobhe[m]> oh questing is Ubuntu 25.10
<tobhe[m]> so the developement release
<gbkersey> ya, sorry....
<gbkersey> I'm an LTS kinda guy
<tobhe[m]> fair enough 🙂 but good to know the latest one fixes it, backporting it shouldn't be too hard
<tobhe[m]> I am not aware of any docs unfortunately
<gbkersey> OK, 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.
<gbkersey> thanks so much for your help....
<tobhe[m]> https://github.com/AsahiLinux/tiny-dfr/blob/master/share/tiny-dfr/config.toml i suppose the example config is the best documentation
<tobhe[m]> no worries!
<gbkersey> now that I've seen the config - looks like the meta key is your friend... very cool....
<tobhe[m]> if tiny-dfr gracefully handles non-supported devices via the udev rules I suppose we could enable it by default
<gbkersey> If I had an unsupported device that would run asahi, I'd test it for you....
<tobhe[m]> luckily I have one of those. just not one that actually is supported 😄
pthariensflame has joined #ubuntu-asahi
pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]