#asahi-dev · 2023-06-19 11:36
jannaustarnge that touch events are the problem. I would have expected problems elsewhere since we activate on the digitizer device#asahi-dev · 2023-06-19 11:32
jannauworked for me reliable but I haven't tested it so I hve probably not much more than 5 boots#asahi-dev · 2023-06-19 11:29
jannauChaosPrincess: very nice#asahi-dev · 2023-06-19 11:27
jannaulooks like someone needs to make a video of the touch bar#asahi-dev · 2023-06-18 18:04
jannauamarioguy: the cpus node will have only the active cores when looking at the adt from the device#asahi-dev · 2023-06-18 06:31
jannauservice is autostarted from udev via the touch bar digitizer input device anyway but the conditions should make it safe to install it unconditionally on all devices#asahi-dev · 2023-06-18 06:26
jannaunice: systemd has "ConditionFirmware=|device-tree-compatible(apple,j293)"#asahi-dev · 2023-06-17 15:10
jannauxorg in general is broken#asahi-dev · 2023-06-17 14:59
jannauindeed#asahi-dev · 2023-06-17 14:46
jannausddm/x11 still doesn't fuse keys from different devices#asahi-dev · 2023-06-17 14:46
jannauworks fine. thanks#asahi-dev · 2023-06-17 13:39
jannauassigning the digitizer to another seat would work, but we use keyboard, mouse/trackpad and lid for backlight dimming#asahi-dev · 2023-06-17 13:14
jannaudisplay is solved but the touchscreen need a DO_NOT_USE_AS_TOUCHSCREEN flag as well#asahi-dev · 2023-06-17 11:06
jannauworks now with X11 by rejecting X11 as client in adp_drv.c:open()#asahi-dev · 2023-06-17 11:05
jannauChaosPrincess: pull requests for adp, z2-touchscreen and tiny-dfr created. tested on j493 and shouldn't break anything on j293#asahi-dev · 2023-06-17 10:46
jannauand it doesn't seem to combine events from different input devices. control + option (keyboard) + F3 (touchbar) doesn't work#asahi-dev · 2023-06-17 10:39
jannausigh, sddm uses the touchbar digitizer as touchscreen#asahi-dev · 2023-06-17 06:02
jannauthat's my 3 line modesetting patch I wanted to ship#asahi-dev · 2023-06-17 06:01
jannauairlied suggested that modesetting should ignore non-desktop kms devices ("kms driver that is attached to a single small display that isn't for desktop use")#asahi-dev · 2023-06-17 05:59
jannauI wonder whether it works for upstream as well but that's a problem for later#asahi-dev · 2023-06-17 05:40
jannau"if (current->comm[0] == 'X') return -EBUSY;" in adp_open() seems to work#asahi-dev · 2023-06-17 05:19
jannausure, people are still using them though. I don't have a problem with declaring Xorg/modesetting as broken and unsupported but X11 session start failures will create tons of support questions#asahi-dev · 2023-06-17 05:12
jannauI guess we could extend the existing Xorg check #asahi-dev · 2023-06-17 05:12
jannauso it will bite us not only on ALARM#asahi-dev · 2023-06-17 05:11
jannaumarcan: Xorg/modeset is completely broken when the daemon runs, i.e. I can't start any X11 session from gdm/wayland#asahi-dev · 2023-06-16 22:08
jannauI think I can get away with a 3 line patch for modesetting (and a modification to the adp driver). not too bad but annoying to carry a custom xorg-server package#asahi-dev · 2023-06-16 20:31
jannaualternatives would be either to patch the modesetting driver and ship it or switch away from sddm#asahi-dev · 2023-06-16 20:29
jannaumarcan: would you object shipping a sddm git snapshot with wayland support? Xorg/modesetting is annoying wrt to the touchbar display#asahi-dev · 2023-06-16 19:18
jannaudisplay is better with increased backlight brightness#asahi-dev · 2023-06-16 19:15
jannauhaven't looked into it, just compared what differs to the previous working branch#asahi-dev · 2023-06-16 19:14
jannaunot sure what's up with the reset_gpio. I had to change the "gpiod_direction_output(z2->reset_gpio, 0);" back to 1 in apple_z2_boot#asahi-dev · 2023-06-16 19:13
jannaustill trying to make it work with sddm/Xorg. assigning the touchbar devices to a special seat doesn't seem to work#asahi-dev · 2023-06-16 19:10
jannauadp is for me consistently card1, the touchscreen driver works only if I keep reset high#asahi-dev · 2023-06-16 19:09
jannauhave you already tried to optimize the button rendering? I think they could be brighter and the text could be larger/bolder#asahi-dev · 2023-06-16 19:08
jannauChaosPrincess: nice, tiny-dfr works on j493. unfortunately with more modifications than I would have liked#asahi-dev · 2023-06-16 07:28
jannauChaosPrincess: have you tried to just replace the explicit usleep_range() with spi-cs-{hold,inactive,setup}-delay-ns?#asahi-dev · 2023-06-16 07:26
jannauI'll play with that tonight and add j493 support for the touchscreen in a non-breaking way#asahi-dev · 2023-06-16 07:24
jannaushort search shows that that might not work as expected. workaround could be to assign them to a seat "touchbar"#asahi-dev · 2023-06-16 07:21
jannauprobably not sddm but systemd / udev seat handling. maybe it's enough to tag the touchbar devices to not belong to any seats#asahi-dev · 2023-06-16 07:04
jannauI suppose the touchbar daemon will break with my udev rule setting LIBINPUT_IGNORE_DEVICE for the device. I'll look if there's another solution to avoid offering the touchscreen per default#asahi-dev · 2023-06-16 06:56
jannaudid you add spi-cs-{hold,inactive,setup}-delay-ns to at least match the delays you currently have?#asahi-dev · 2023-06-16 06:50
jannaudoes macos ever uses the spi device directly?#asahi-dev · 2023-06-16 06:49
jannausounds like it might just not the default cs pin so the spi device uses a different pin#asahi-dev · 2023-06-16 06:38
jannauChaosPrincess: did you ever find out how I broke the touchscreen driver on j293?#asahi-dev · 2023-06-16 06:30
jannausee https://github.com/systemd/systemd/commit/3d1e78e36274dc410713f4aa66ecd543d8000ebb from 3 weeks ago#asahi-dev · 2023-06-16 06:28
jannaueiln: udev rules for drm card*/renderD* but missing for accel#asahi-dev · 2023-06-15 17:31
jannau2 disabled extensions: GL_ARB_texture_barrier and GL_EXT_multisampled_render_to_texture#asahi-dev · 2023-06-15 17:23
jannaupsykose: it wasn't just kernel changes. the mesa changes are more substantial#asahi-dev · 2023-06-15 16:54
jannaudeleting the chrome/chromium shader cache (~/.config/{google-chrome,chromium}/Default/GPUCache) fixes it as well #asahi-dev · 2023-06-15 15:29
jannauthere are shader link errors on chromium startup