ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
hightower4 has joined #asahi-alt
hightower3 has quit [Ping timeout: 480 seconds]
BenTheTechGuy has joined #asahi-alt
<BenTheTechGuy> Are any other Debian users experiencing issues with qemu-user-static? I'm getting this any time I try to work in a non-ARM64 chroot:
<BenTheTechGuy> ERROR:accel/tcg/cpu-exec.c:1028:cpu_exec_setjmp: assertion failed: (cpu == current_cpu)
<BenTheTechGuy> Bail out! ERROR:accel/tcg/cpu-exec.c:1028:cpu_exec_setjmp: assertion failed: (cpu == current_cpu)
<BenTheTechGuy> Trace/breakpoint trap
<BenTheTechGuy> I see the issue in https://gitlab.com/qemu-project/qemu/-/issues/1147, but that was fixed long before the QEMU version currently in Debian was released. I can't find any reports in the Debian BTS either.
<psykose> which version do you haved
<BenTheTechGuy> 8.0.4 (Debian version 1:8.0.4+dfsg-1)
<psykose> hm
<psykose> should be fixed then so it might be something else causing the same thing
<psykose> that or the qemu-user-static you are running is not actually the same one that reports that version
<BenTheTechGuy> it is, I checked
<BenTheTechGuy> this looks to be post-issue-fix-commit
<psykose> whadya mean by that
<BenTheTechGuy> going to the source that Debian is using, that file does have the commit applied that fixed the issue I referenced earlier
<BenTheTechGuy> also I couldn't find any patches being applied that reference that file, so Debian isn't modifying the source in a way that would mess up this fix AFAICT
<BenTheTechGuy> Could this be a 16K vs 4K page issue?
<BenTheTechGuy> Does Debian have a 4K page Asahi kernel available for me to test?
<psykose> ah
<psykose> the fix commit was in 8.0 so it's not patched no
<psykose> and no it doesn't look page size related and it's supposed to work on 16k fine
<BenTheTechGuy> no, it's patched
<BenTheTechGuy> I'm on 8.0.4 and going to Debian's source for that version it's patched
<psykose> ?
<psykose> i mean it's not specifically backported, i.e. 8.0.4 already has the above fix in it
<psykose> not any other debian patches
<BenTheTechGuy> oh
<BenTheTechGuy> what I meant was there are no patches I could find that would interfere with the fix commit that's already in the source (being 8.0)
possiblemeatball has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi-alt
possiblemeatball has quit [Quit: Quit]
ShaozeChen has quit [Remote host closed the connection]
cylm_ has quit [Ping timeout: 480 seconds]
<mps> is there PKGBUILD for tiny-dfr somewhere
<mps> jannau: many thanks
<jannau> you probably want https://github.com/WhatAmISupposedToPutHere/tiny-dfr/commit/cc50c3314c0ce748b1f9d3c22667f165b15e7b12 as patch and install 99-touchbar-backlight.rules
<mps> jannau: thanks again. (though I don't use udev but this will be useful for alpine linux)
zhdi has joined #asahi-alt
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
<mps> built tiny-dfr and I see that I'm missing firmware. which macos version is needed to extract firmware for apple-z2
<_jannau__> I think it should work with 12.3 and 13.5. not sure if you have to do a fresh install or if running asahi-fwextract is enough
<mps> I installed macos somewhere after new year but I think it is 12.3 at least
<mps> will check now
<_jannau__> this has noting to do with macos, support for extracting the touchbar firmware was only added recently to asahi-installer/fwextract. I don't remember if the fw files are among the ones we copy during install. I think so but only after a certain point
<_jannau__> so it's not guaranteed that asahi-fwectract will work
<mps> macos is 13.1
<mps> now I have to remind self where firmware resides on macos
<mps> but first to upgrade m1n1 and kernel for alpine
chadmed has quit [Ping timeout: 480 seconds]
<mps> hm, I can't find any file with name dfrmtfw-*.bin on macos 13.1
chadmed has joined #asahi-alt
<mps> maybe upgrade of macos could help
<ChaosPrincess> the file you want is /System/Volumes/Preboot/${uuid}/boot/${hash}/usr/standalone/firmware/FUD/Multitouch.img4
<mps> J293_Multitouch.im4p ?
<ChaosPrincess> if thats from the ipsw, then yea, sounds like the right file
<jannau> if your install is new enough it should be included in ${ESP}/asahi/all_firmware.tar.gz and a recent asahi-fwextract should extract it
<jannau> or you could do a fresh uefi-only install
<mps> my current macos is 13.1 but I just started upgrade to 13.5.1
<jannau> this has nothing to do with the on device macos install
<mps> yes, on esp there is J293_Multitouch.im4p in all_firmware.tar
<jannau> I see we haven't bumped asahi-fwextract yet, but asahi-fwextract 0.57 or later will prepare the touchbar firmware
<mps> I have asahi-fwextract 0.5
<jannau> err, 0.5.7
<mps> ok, will upgrade it
<mps> asahi-fwextract says it upgraded firmware but I don't see apple dir under /lib/firmware where it is expected by apple_z2 module
<mps> iirc there is method to extact files from im4p files, but forgot how
<_jannau__> it's in ${ESP/vendorfw/firmware.{cpio,tar.gz}. our initramfs hooks ensure that is copied to /usr/lib/firmware/vendorfw
hightower2 has joined #asahi-alt
<mps> I have in ${ESP/vendorfw/firmware.{cpio,tar.gz} only brcm and asmedia dirs with files
<ChaosPrincess> you will have to reinstall a uefi-only install then, your install was from before the installer copied everything
<mps> ChaosPrincess: is it safe to not 'destroy' my installation
<ChaosPrincess> well, you might temporarily break it if you did something like hardcode partition numbers instead of uuids in fstab
<mps> aha, then I will left this for some other time
<_jannau__> but J293_Multitouch.im4p is in all_firmware.tar.gz, sounds more like an issue with asah-fwextract
<mps> hm, maybe I should upgrade asahi-scripts to
hightower4 has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
<mps> ah yes, with upgraded asahi-scripts asahi-fwextract create firmware.tar with apple subdir and there is firmware
<mps> good, now to fix tiny-dfr
<mps> here is error I got starting tiny-dfr https://tpaste.us/vN65 from terminal on X
<mps> I built it with `cargo build --release --all-features`
<_jannau__> it needs uinput in the kernel
<mps> aha, lets look
<mps> right, I didn't enabled it
<mps> nice, it works now
<mps> jannau: ChaosPrincess: thank you for help
zerdox_ has joined #asahi-alt
delroth has joined #asahi-alt
pounce has joined #asahi-alt
zerdox_ has quit [Quit: Page closed]
maria has quit [Ping timeout: 480 seconds]
maria has joined #asahi-alt
hightower2 has joined #asahi-alt
hightower2 has quit [Ping timeout: 480 seconds]
yeetbiscuit has joined #asahi-alt
yeetbiscuit has quit []
possiblemeatball has joined #asahi-alt
paddatrapper_ has quit [Ping timeout: 480 seconds]
ahdeb[m] has quit [Ping timeout: 480 seconds]
tumblingweed has quit [Ping timeout: 480 seconds]
mjolnir[m] has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi-alt
ahdeb[m] has joined #asahi-alt
tumblingweed has joined #asahi-alt
mjolnir[m] has joined #asahi-alt
paddatrapper_ has joined #asahi-alt
ChaosPrincess has quit [resistance.oftc.net reticulum.oftc.net]
dylanchapell has quit [resistance.oftc.net reticulum.oftc.net]
mikee3000 has quit [resistance.oftc.net reticulum.oftc.net]
psykose has quit [resistance.oftc.net reticulum.oftc.net]
mini_ has quit [resistance.oftc.net reticulum.oftc.net]
Cyrinux9474 has quit [resistance.oftc.net reticulum.oftc.net]
sneak has quit [resistance.oftc.net reticulum.oftc.net]
matrix_ds has quit [resistance.oftc.net reticulum.oftc.net]
seb4nihel has quit [resistance.oftc.net reticulum.oftc.net]
flokli has quit [resistance.oftc.net reticulum.oftc.net]
merry has quit [resistance.oftc.net reticulum.oftc.net]
sven has quit [resistance.oftc.net reticulum.oftc.net]
qdot has quit [resistance.oftc.net reticulum.oftc.net]
TellowKrinkle has quit [resistance.oftc.net reticulum.oftc.net]
jannau has quit [resistance.oftc.net reticulum.oftc.net]
imobilis has quit [resistance.oftc.net reticulum.oftc.net]
Chinese_soup has quit [resistance.oftc.net reticulum.oftc.net]
steffen[m] has quit [resistance.oftc.net reticulum.oftc.net]
mjolnir[m] has quit [resistance.oftc.net reticulum.oftc.net]
fredmb has quit [resistance.oftc.net reticulum.oftc.net]
kujeger has quit [resistance.oftc.net reticulum.oftc.net]
jjanzic has quit [resistance.oftc.net reticulum.oftc.net]
j`ey has quit [resistance.oftc.net reticulum.oftc.net]
highvoltage[m] has quit [resistance.oftc.net reticulum.oftc.net]
Leftas7 has quit [resistance.oftc.net reticulum.oftc.net]
larsjel has quit [resistance.oftc.net reticulum.oftc.net]
pounce has quit [resistance.oftc.net reticulum.oftc.net]
ahdeb[m] has quit [resistance.oftc.net reticulum.oftc.net]
MichaelLong has quit [resistance.oftc.net reticulum.oftc.net]
pjakobsson has quit [resistance.oftc.net reticulum.oftc.net]
cy8aer has quit [resistance.oftc.net reticulum.oftc.net]
sefidel has quit [resistance.oftc.net reticulum.oftc.net]
Mary has quit [resistance.oftc.net reticulum.oftc.net]
jn has quit [resistance.oftc.net reticulum.oftc.net]
zumi has quit [resistance.oftc.net reticulum.oftc.net]
Retr0id has quit [resistance.oftc.net reticulum.oftc.net]
tobhe has quit [resistance.oftc.net reticulum.oftc.net]
yuka has quit [resistance.oftc.net reticulum.oftc.net]
veloek has quit [resistance.oftc.net reticulum.oftc.net]
delroth has quit [resistance.oftc.net reticulum.oftc.net]
ayke has quit [resistance.oftc.net reticulum.oftc.net]
mx08 has quit [resistance.oftc.net reticulum.oftc.net]
clandmeter has quit [resistance.oftc.net reticulum.oftc.net]
minecrell has quit [resistance.oftc.net reticulum.oftc.net]
ncopa has quit [resistance.oftc.net reticulum.oftc.net]
_jannau__ has quit [resistance.oftc.net reticulum.oftc.net]
wille-io has quit [resistance.oftc.net reticulum.oftc.net]
leio has quit [resistance.oftc.net reticulum.oftc.net]
tbm has quit [resistance.oftc.net reticulum.oftc.net]
mixi has quit [resistance.oftc.net reticulum.oftc.net]
marcan has quit [resistance.oftc.net reticulum.oftc.net]
paddatrapper_ has quit [resistance.oftc.net reticulum.oftc.net]
tumblingweed has quit [resistance.oftc.net reticulum.oftc.net]
nela has quit [resistance.oftc.net reticulum.oftc.net]
nst has quit [resistance.oftc.net reticulum.oftc.net]
fugi has quit [resistance.oftc.net reticulum.oftc.net]
stintel has quit [resistance.oftc.net reticulum.oftc.net]
qyliss has quit [resistance.oftc.net reticulum.oftc.net]
xcpy0 has quit [resistance.oftc.net reticulum.oftc.net]
ah- has quit [resistance.oftc.net reticulum.oftc.net]
mps has quit [resistance.oftc.net reticulum.oftc.net]
paddatrapper_ has joined #asahi-alt
mjolnir[m] has joined #asahi-alt
pounce has joined #asahi-alt
tumblingweed has joined #asahi-alt
ahdeb[m] has joined #asahi-alt
jjanzic has joined #asahi-alt
fredmb has joined #asahi-alt
ChaosPrincess has joined #asahi-alt
dylanchapell has joined #asahi-alt
leio has joined #asahi-alt
nela has joined #asahi-alt
delroth has joined #asahi-alt
pjakobsson has joined #asahi-alt
MichaelLong has joined #asahi-alt
fugi has joined #asahi-alt
mikee3000 has joined #asahi-alt
cy8aer has joined #asahi-alt
kujeger has joined #asahi-alt
psykose has joined #asahi-alt
nst has joined #asahi-alt
Mary has joined #asahi-alt
jn has joined #asahi-alt
sefidel has joined #asahi-alt
mini_ has joined #asahi-alt
Cyrinux9474 has joined #asahi-alt
zumi has joined #asahi-alt
highvoltage[m] has joined #asahi-alt
seb4nihel has joined #asahi-alt
flokli has joined #asahi-alt
larsjel has joined #asahi-alt
merry has joined #asahi-alt
clandmeter has joined #asahi-alt
marcan has joined #asahi-alt
_jannau__ has joined #asahi-alt
wille-io has joined #asahi-alt
tbm has joined #asahi-alt
ncopa has joined #asahi-alt
mixi has joined #asahi-alt
Chinese_soup has joined #asahi-alt
steffen[m] has joined #asahi-alt
imobilis has joined #asahi-alt
TellowKrinkle has joined #asahi-alt
jannau has joined #asahi-alt
qdot has joined #asahi-alt
sven has joined #asahi-alt
tobhe has joined #asahi-alt
ayke has joined #asahi-alt
sneak has joined #asahi-alt
j`ey has joined #asahi-alt
Retr0id has joined #asahi-alt
stintel has joined #asahi-alt
Leftas7 has joined #asahi-alt
yuka has joined #asahi-alt
qyliss has joined #asahi-alt
veloek has joined #asahi-alt
matrix_ds has joined #asahi-alt
ah- has joined #asahi-alt
minecrell has joined #asahi-alt
mx08 has joined #asahi-alt
mps has joined #asahi-alt
xcpy0 has joined #asahi-alt
_jannau__ has quit [reticulum.oftc.net coulomb.oftc.net]
mixi has quit [reticulum.oftc.net coulomb.oftc.net]
marcan has quit [reticulum.oftc.net coulomb.oftc.net]
wille-io has quit [reticulum.oftc.net coulomb.oftc.net]
ayke has quit [reticulum.oftc.net coulomb.oftc.net]
mx08 has quit [reticulum.oftc.net coulomb.oftc.net]
veloek has quit [reticulum.oftc.net coulomb.oftc.net]
yuka has quit [reticulum.oftc.net coulomb.oftc.net]
zumi has quit [reticulum.oftc.net coulomb.oftc.net]
Retr0id has quit [reticulum.oftc.net coulomb.oftc.net]
sefidel has quit [reticulum.oftc.net coulomb.oftc.net]
Mary has quit [reticulum.oftc.net coulomb.oftc.net]
leio has quit [reticulum.oftc.net coulomb.oftc.net]
MichaelLong has quit [reticulum.oftc.net coulomb.oftc.net]
ahdeb[m] has quit [reticulum.oftc.net coulomb.oftc.net]
delroth has quit [reticulum.oftc.net coulomb.oftc.net]
pjakobsson has quit [reticulum.oftc.net coulomb.oftc.net]
jn has quit [reticulum.oftc.net coulomb.oftc.net]
minecrell has quit [reticulum.oftc.net coulomb.oftc.net]
ncopa has quit [reticulum.oftc.net coulomb.oftc.net]
tobhe has quit [reticulum.oftc.net coulomb.oftc.net]
clandmeter has quit [reticulum.oftc.net coulomb.oftc.net]
cy8aer has quit [reticulum.oftc.net coulomb.oftc.net]
tbm has quit [reticulum.oftc.net coulomb.oftc.net]
ahdeb[m] has joined #asahi-alt
leio has joined #asahi-alt
delroth has joined #asahi-alt
MichaelLong has joined #asahi-alt
pjakobsson has joined #asahi-alt
cy8aer has joined #asahi-alt
sefidel has joined #asahi-alt
Mary has joined #asahi-alt
jn has joined #asahi-alt
zumi has joined #asahi-alt
Retr0id has joined #asahi-alt
tobhe has joined #asahi-alt
veloek has joined #asahi-alt
yuka has joined #asahi-alt
ayke has joined #asahi-alt
minecrell has joined #asahi-alt
clandmeter has joined #asahi-alt
tbm has joined #asahi-alt
mixi has joined #asahi-alt
mx08 has joined #asahi-alt
_jannau__ has joined #asahi-alt
ncopa has joined #asahi-alt
wille-io has joined #asahi-alt
marcan has joined #asahi-alt
qdot has quit [reticulum.oftc.net liquid.oftc.net]
sven has quit [reticulum.oftc.net liquid.oftc.net]
steffen[m] has quit [reticulum.oftc.net liquid.oftc.net]
jannau has quit [reticulum.oftc.net liquid.oftc.net]
Chinese_soup has quit [reticulum.oftc.net liquid.oftc.net]
imobilis has quit [reticulum.oftc.net liquid.oftc.net]
seb4nihel has quit [reticulum.oftc.net liquid.oftc.net]
merry has quit [reticulum.oftc.net liquid.oftc.net]
psykose has quit [reticulum.oftc.net liquid.oftc.net]
mini_ has quit [reticulum.oftc.net liquid.oftc.net]
ChaosPrincess has quit [reticulum.oftc.net liquid.oftc.net]
TellowKrinkle has quit [reticulum.oftc.net liquid.oftc.net]
sneak has quit [reticulum.oftc.net liquid.oftc.net]
flokli has quit [reticulum.oftc.net liquid.oftc.net]
dylanchapell has quit [reticulum.oftc.net liquid.oftc.net]
mikee3000 has quit [reticulum.oftc.net liquid.oftc.net]
Cyrinux9474 has quit [reticulum.oftc.net liquid.oftc.net]
matrix_ds has quit [reticulum.oftc.net liquid.oftc.net]
psykose has joined #asahi-alt
dylanchapell has joined #asahi-alt
ChaosPrincess has joined #asahi-alt
sven has joined #asahi-alt
matrix_ds has joined #asahi-alt
flokli has joined #asahi-alt
Chinese_soup has joined #asahi-alt
merry has joined #asahi-alt
mini_ has joined #asahi-alt
imobilis has joined #asahi-alt
sneak has joined #asahi-alt
seb4nihel has joined #asahi-alt
qdot has joined #asahi-alt
mikee3000 has joined #asahi-alt
TellowKrinkle has joined #asahi-alt
steffen[m] has joined #asahi-alt
Cyrinux9474 has joined #asahi-alt
jannau has joined #asahi-alt
larsjel has quit [reticulum.oftc.net helix.oftc.net]
Leftas7 has quit [reticulum.oftc.net helix.oftc.net]
j`ey has quit [reticulum.oftc.net helix.oftc.net]
jjanzic has quit [reticulum.oftc.net helix.oftc.net]
pounce has quit [reticulum.oftc.net helix.oftc.net]
kujeger has quit [reticulum.oftc.net helix.oftc.net]
mjolnir[m] has quit [reticulum.oftc.net helix.oftc.net]
highvoltage[m] has quit [reticulum.oftc.net helix.oftc.net]
fredmb has quit [reticulum.oftc.net helix.oftc.net]
mjolnir[m] has joined #asahi-alt
kujeger has joined #asahi-alt
larsjel has joined #asahi-alt
pounce has joined #asahi-alt
jjanzic has joined #asahi-alt
fredmb has joined #asahi-alt
j`ey has joined #asahi-alt
highvoltage[m] has joined #asahi-alt
Leftas7 has joined #asahi-alt
Leo3418 has quit [Remote host closed the connection]
Leo3418 has joined #asahi-alt
ah- has quit [reticulum.oftc.net kinetic.oftc.net]
xcpy0 has quit [reticulum.oftc.net kinetic.oftc.net]
stintel has quit [reticulum.oftc.net kinetic.oftc.net]
fugi has quit [reticulum.oftc.net kinetic.oftc.net]
nela has quit [reticulum.oftc.net kinetic.oftc.net]
nst has quit [reticulum.oftc.net kinetic.oftc.net]
mps has quit [reticulum.oftc.net kinetic.oftc.net]
paddatrapper_ has quit [reticulum.oftc.net kinetic.oftc.net]
qyliss has quit [reticulum.oftc.net kinetic.oftc.net]
tumblingweed has quit [reticulum.oftc.net kinetic.oftc.net]
nst has joined #asahi-alt
xcpy0 has joined #asahi-alt
tumblingweed has joined #asahi-alt
paddatrapper_ has joined #asahi-alt
nela has joined #asahi-alt
fugi has joined #asahi-alt
stintel has joined #asahi-alt
qyliss has joined #asahi-alt
ah- has joined #asahi-alt
mps has joined #asahi-alt
qyliss has quit [Ping timeout: 480 seconds]
qyliss has joined #asahi-alt
qyliss has quit [Ping timeout: 480 seconds]
<mps> I changed a little my daemon to control keyboard backlight on X and now it can control backlight of touchbar
<ChaosPrincess> mps: unless you know what you are doing, just let the daemon do it's thing, or at least do not interfere with the auto-dimming. its an oled screen, and those dont really like being blasted at full power with static images.
<mps> ChaosPrincess: does tiny-dfr can be run as daemon?
<ChaosPrincess> its supposed to be run as a daemon, yes.
<mps> hm, I don't see option for this, it stays foreground in my case
<ChaosPrincess> or are you on a systemd-less distro
<mps> yes, I don't have systemd
<mps> openrc on alpinej
<mps> alpine*
<ChaosPrincess> is alpine's openrc the same as gentoo's?
<mps> I think so
<ChaosPrincess> use this
<mps> ah, thanks
<mps> I'm trying to make this but you saved me time
<ChaosPrincess> im running gentoo with systemd, and so it does the behavior that systemd expects
<mps> ChaosPrincess: ok, it works. but it doesn't toggle backlight, just dim after some time
<ChaosPrincess> yea, thats expected, it automatically dims after 30 (iirc) seconds of system inactivity, and then after 30 more shuts off the backlight completely
<ChaosPrincess> sorta like what macos is doing
<mps> right
<mps> I thought it can be controlled by some parameters
<mps> but is good as it is now
<ChaosPrincess> hardcoded for now, if there is demand, i can make it configurable
qyliss has joined #asahi-alt
<mps> last thing I don't know is how to disable cursor on it
<mps> i.e. working as pointer
<ChaosPrincess> have you installed the udev rules from the repo
<mps> yes, but I don't use udev
<ChaosPrincess> thats problematic, what do you use for seat management
<mps> nothing, I run X with startx from console
<ChaosPrincess> no elogind, or anything like that?
<mps> nothing
<ChaosPrincess> i am not sure what to do then, but the supported way is to assign the touchscreen input device to a separate seat
<ChaosPrincess> thats what the udev rules do
<mps> my effort is to make machines with minimal things
<ChaosPrincess> yea, idk how to do it on systems that do not have working seat management, if you figure it out - let me know.
<mps> sure ;)
<mps> and thanks again
hightower2 has joined #asahi-alt
cylm has joined #asahi-alt
cylm_ has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
<jannau> I guess explicit Xorg config ignoring the device is the option for systems without seat management
<mps> ChaosPrincess: I found simple solution, disable pointer device with xinput
<mps> buttons works while pointer doesn't
<mps> jannau: I think xorg config would be better solution
<mps> and there is another issue, when machine is suspended backlight of touchbar stays active
<mps> not sure but looks like closing LID disables backlight
<ChaosPrincess> yes, thats a thing that should happen
<ChaosPrincess> by not disabling when suspended - do you mean a suspend from the menu, not via lid close?
<jannau> backlight on on suspend is probably missing suspend support in the driver
chadmed has quit [Ping timeout: 480 seconds]
<mps> ChaosPrincess: suspend by pressing power button which is set to write 'echo mem > /sys/power/state'
chadmed_ has joined #asahi-alt