#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:16
ChaosPrincessjannau: set the gpio to GPIO_ACTIVE_LOW in dts#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
ChaosPrincessjannau: have you tried to change touchbar brightness? It has a reat backloght device#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:11
ChaosPrincessand whats with the reset?#asahi-dev · 2023-06-16 19:11
ChaosPrincessYea, its wouldnt be hard to change it to search for correct card#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:10
ChaosPrincessI used the same color as macos#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:09
ChaosPrincessjannau: such as?#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 14:30
mpssid-linux: and this subject is better to discuss on #asahi-alt#asahi-dev · 2023-06-16 14:29
mpssid-linux: how can I test this#asahi-dev · 2023-06-16 13:40
sid-linuxmps: thanks ! basically if I understood you correctly -- upgrading to chromium 114 also fixes the problem? (did you also confirm that hardware acceleration is still on in 114?)#asahi-dev · 2023-06-16 10:01
_jannau__chromium updates probably invalidate the shader cache as well#asahi-dev · 2023-06-16 09:38
mpssid-linux: fyi, after upgrade chromium to 114 it works also on s314s (m1pro), alpine linux#asahi-dev · 2023-06-16 07:47
marcansven: awesome!#asahi-dev · 2023-06-16 07:41
_jannau__yes, makes the driver a little bit simpler if t works#asahi-dev · 2023-06-16 07:30
ChaosPrincesshavent tried that#asahi-dev · 2023-06-16 07:29
ChaosPrincessSo, toggle the cs gpio from driver code, but use spi core delays?#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:10
ChaosPrincessAlso, sddm apparently doesnt really understand what non-desktop means and grabs the kms lock anyway. #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:57
ChaosPrincessYep, and even with 2x the delay for good measure#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:54
ChaosPrincessall reads are just FF if i try to do that#asahi-dev · 2023-06-16 06:53
ChaosPrincesswhats actually weird is that i tried to use spi core support for gpio as cs and that didnt work either#asahi-dev · 2023-06-16 06:53
ChaosPrincessMacos also does manual cs for this device#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:44
ChaosPrincessUsing cs-gpios the "right" way just does not work on that for some reason#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-16 00:51
eilni'd assume they should result in the same dev without chmod 666#asahi-dev · 2023-06-16 00:51
eilnmight anyone know why accel chrdev is crw------- whereas drm is crw-rw-rw- ?#asahi-dev · 2023-06-15 22:44
ChaosPrincessmarcan: if you have time, mind looking at adp/z2 pull requests?#asahi-dev · 2023-06-15 22:43
ChaosPrincesshttps://github.com/WhatAmISupposedToPutHere/tiny-dfr/ - userland daemon for touchbar. Works, for some definition on this word#asahi-dev · 2023-06-15 22:17
agrafsven: Yup, still looking for volunteers :)#asahi-dev · 2023-06-15 21:45
ChaosPrincesspoint to point, not a bus and maybe?#asahi-dev · 2023-06-15 21:45
sid-linuxlike spi or i2c etc are#asahi-dev · 2023-06-15 21:45
sid-linuxbut it does not seem to be listed in /sys/bus#asahi-dev · 2023-06-15 21:45
sid-linuxsounds like dockchannel is a bus#asahi-dev · 2023-06-15 21:43
ChaosPrincessm1/m1x go over spi