ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
<eiln> might anyone know why accel chrdev is crw------- whereas drm is crw-rw-rw- ?
<eiln> i'd assume they should result in the same dev without chmod 666
gabuscus has quit []
Mal_ has joined #asahi-dev
gabuscus has joined #asahi-dev
Mal_ has quit [Ping timeout: 480 seconds]
the_sea_peoples has joined #asahi-dev
c10l4844 has joined #asahi-dev
c10l484 has quit [Ping timeout: 480 seconds]
eiln has quit [Quit: WeeChat 3.8]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mal__ has joined #asahi-dev
cylm has joined #asahi-dev
Mal__ has quit [Ping timeout: 480 seconds]
Mal__ has joined #asahi-dev
cylm has quit [Quit: WeeChat 3.6]
Mal__ has quit [Ping timeout: 480 seconds]
Mal__ has joined #asahi-dev
skmp__ has quit []
Mal__ has quit [Read error: Connection reset by peer]
<jannau> eiln: udev rules for drm card*/renderD* but missing for accel
<jannau> ChaosPrincess: did you ever find out how I broke the touchscreen driver on j293?
<ChaosPrincess> Using cs-gpios the "right" way just does not work on that for some reason
<jannau> sounds like it might just not the default cs pin so the spi device uses a different pin
<jannau> does macos ever uses the spi device directly?
<ChaosPrincess> Macos also does manual cs for this device
<ChaosPrincess> whats actually weird is that i tried to use spi core support for gpio as cs and that didnt work either
<ChaosPrincess> all reads are just FF if i try to do that
<jannau> did you add spi-cs-{hold,inactive,setup}-delay-ns to at least match the delays you currently have?
<ChaosPrincess> Yep, and even with 2x the delay for good measure
ellyq has quit [Ping timeout: 480 seconds]
Mal__ has joined #asahi-dev
<jannau> I 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
Mal__ has quit []
<ChaosPrincess> Also, sddm apparently doesnt really understand what non-desktop means and grabs the kms lock anyway.
<jannau> probably not sddm but systemd / udev seat handling. maybe it's enough to tag the touchbar devices to not belong to any seats
<jannau> short search shows that that might not work as expected. workaround could be to assign them to a seat "touchbar"
<jannau> I'll play with that tonight and add j493 support for the touchscreen in a non-breaking way
<jannau> ChaosPrincess: have you tried to just replace the explicit usleep_range() with spi-cs-{hold,inactive,setup}-delay-ns?
<ChaosPrincess> So, toggle the cs gpio from driver code, but use spi core delays?
<ChaosPrincess> havent tried that
<_jannau__> yes, makes the driver a little bit simpler if t works
<marcan> sven: awesome!
c10l4844 has quit [Ping timeout: 480 seconds]
adryzz has joined #asahi-dev
lena6 has joined #asahi-dev
mkurz has quit [Ping timeout: 480 seconds]
nsklaus has joined #asahi-dev
bps2 has joined #asahi-dev
bps3 has joined #asahi-dev
bps2 has quit [Ping timeout: 480 seconds]
mkurz has joined #asahi-dev
<mps> sid-linux: fyi, after upgrade chromium to 114 it works also on s314s (m1pro), alpine linux
mlp has quit [Remote host closed the connection]
mlp has joined #asahi-dev
<_jannau__> chromium updates probably invalidate the shader cache as well
nela2 has quit [Quit: bye!]
nela2 has joined #asahi-dev
mkurz has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
leitao has joined #asahi-dev
Leftas7 has joined #asahi-dev
leftas has quit [Ping timeout: 480 seconds]
mkurz has joined #asahi-dev
mkurz has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit []
ourdumbfuture has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mborden has joined #asahi-dev
heksadecimal has joined #asahi-dev
mborden has quit [Quit: WeeChat 3.8]
mborden has joined #asahi-dev
mborden has quit []
heksadecimal has quit [Quit: WeeChat 3.5]
heksadecimal has joined #asahi-dev
heksadecimal has quit []
heksadecimal has joined #asahi-dev
mkurz has joined #asahi-dev
leitao has joined #asahi-dev
mborden has joined #asahi-dev
mborden has quit []
nimprod3l has joined #asahi-dev
heksadecimal has quit [Quit: WeeChat 3.5]
heksadecimal has joined #asahi-dev
heksadecimal has quit []
heksadecimal has joined #asahi-dev
heksadecimal has quit [Quit: WeeChat 3.5]
heksadecimal has joined #asahi-dev
nimprod3l has quit [Quit: Leaving]
adryzz has quit [Quit: .]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
<sid-linux> mps: 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?)
mattip has joined #asahi-dev
mkurz has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
<mps> sid-linux: how can I test this
<mps> sid-linux: and this subject is better to discuss on #asahi-alt
redtoaster has joined #asahi-dev
ellyq has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ydalton has joined #asahi-dev
mkurz has joined #asahi-dev
redtoaster has quit [Remote host closed the connection]
redtoaster has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bps3 has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
amarioguy has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
barrowsx has joined #asahi-dev
Guest3184 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Jamie has joined #asahi-dev
rhysmdnz has joined #asahi-dev
Jamie is now known as Guest3264
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bps3 has joined #asahi-dev
ydalton has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
barrowsx has quit [Quit: barrowsx]
barrowsx has joined #asahi-dev
barrowsx has quit []
leitao has joined #asahi-dev
leitao has quit [Ping timeout: 480 seconds]
<jannau> ChaosPrincess: nice, tiny-dfr works on j493. unfortunately with more modifications than I would have liked
<ChaosPrincess> jannau: such as?
<jannau> have you already tried to optimize the button rendering? I think they could be brighter and the text could be larger/bolder
<ChaosPrincess> I used the same color as macos
<jannau> adp is for me consistently card1, the touchscreen driver works only if I keep reset high
<ChaosPrincess> Yea, its wouldnt be hard to change it to search for correct card
<ChaosPrincess> and whats with the reset?
<jannau> still trying to make it work with sddm/Xorg. assigning the touchbar devices to a special seat doesn't seem to work
<ChaosPrincess> jannau: have you tried to change touchbar brightness? It has a reat backloght device
<jannau> not 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
<jannau> haven't looked into it, just compared what differs to the previous working branch
<ChaosPrincess> jannau: set the gpio to GPIO_ACTIVE_LOW in dts
<jannau> display is better with increased backlight brightness
bps3 has quit [Remote host closed the connection]
bps3 has joined #asahi-dev
redtoaster has quit [Quit: Page closed]
___nick___ has quit [Ping timeout: 480 seconds]
maximbaz has quit [Quit: bye]
maximbaz has joined #asahi-dev
bps3 has quit [Ping timeout: 481 seconds]
<jannau> marcan: would you object shipping a sddm git snapshot with wayland support? Xorg/modesetting is annoying wrt to the touchbar display
<jannau> alternatives would be either to patch the modesetting driver and ship it or switch away from sddm
<ar> huh. sddm hasn't had a release since November 2020
barrowsx has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
nimprod3l has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
Retr0id has quit [Read error: Connection reset by peer]
Retr0id has joined #asahi-dev
ellyq has quit []
ellyq has joined #asahi-dev
Axenntio has joined #asahi-dev
barrowsx has quit [Quit: barrowsx]
barrowsx has joined #asahi-dev
<jannau> I 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
barrowsx has quit []
nimprod3l has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi-dev
Axenntio has quit [Ping timeout: 480 seconds]
<ChaosPrincess> jannau: changed the daemon to scan all drm devices and made it manage the backlight automatically, feel free to check out the search code
barrowsx has joined #asahi-dev
barrowsx has quit [Quit: barrowsx]
barrowsx has joined #asahi-dev
sid-linux has quit [Ping timeout: 480 seconds]
barrowsx has quit [Quit: barrowsx]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
<chadmed> urgh carla is broken again
bcrumb has joined #asahi-dev
<psykose> in wayland? i've had better luck with QT_QPA_PLATFORM=xcb thru xwayland
bcrumb has quit []
<chadmed> nah idk what it is this time, glibc is sending it SIGABRT
<chadmed> something in libcarla is hitting __stack_chk_fail
<chadmed> same behaviour observed with clang and gcc
<psykose> usually a stack overrun
<chadmed> yeah, the fun is trying to find where
<chadmed> and why the same build works on my x86 machine
<psykose> ime things that crash like that also give quite useful asan backtraces, but you would have to locally rebuild
nsklaus has quit [Ping timeout: 480 seconds]
<chadmed> oh this is gonna be fun
<chadmed> it works with asan
<psykose> what's the backtrace on the regular version
<chadmed> ah its at CarlaBackend::CarlaEngineJack::getTimeInfo() hmm
<psykose> doesn't ring any bells
<psykose> but i've only used it via pipewire-jack myself
<chadmed> yeah i dont use real jack anymore, this is pipewire-jack
<chadmed> the patchbay is all fine etc
<chadmed> yeah it stops dying if i change the engine backend to PA but that is obviously not ideal
<chadmed> oh now it just works????
<chadmed> interesting
<chadmed> stale config maybe
<psykose> mystery state crashes are annoying
<nicolas17> does valgrind support arm64?