marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
ptudor has joined #asahi
ptudor_ has quit [Ping timeout: 480 seconds]
tbodt_ has joined #asahi
tbodt_ has quit [Ping timeout: 480 seconds]
ten15723774326 has joined #asahi
ten1572377432 has quit [Ping timeout: 480 seconds]
ten15723774326 is now known as ten1572377432
nepeat has quit [Quit: ZNC - https://znc.in]
nepeat has joined #asahi
gabuscus has quit []
Wormn has joined #asahi
Wormn has quit [Quit: Konversation terminated!]
Wormn has joined #asahi
Wormn has quit [Quit: Konversation terminated!]
Wormn has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
crabbedhaloablut has joined #asahi
loki_val has joined #asahi
crabbedhaloablut has quit [Read error: Connection reset by peer]
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
Wormn has quit [Remote host closed the connection]
cylm has joined #asahi
ten15723774326 has joined #asahi
ten1572377432 has quit [Ping timeout: 480 seconds]
ten15723774326 is now known as ten1572377432
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
atipls has quit [Killed (NickServ (Too many failed password attempts.))]
atipls has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
TellowKrinkle has joined #asahi
atipls_ has joined #asahi
ten15723774322 has joined #asahi
atipls has quit [Ping timeout: 480 seconds]
ten1572377432 has quit [Ping timeout: 480 seconds]
ten15723774322 is now known as ten1572377432
dcow has joined #asahi
dcow has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
wille-io has quit [Quit: Ping timeout (120 seconds)]
wille-io has joined #asahi
lena6 has joined #asahi
ten15723774324 has joined #asahi
ten1572377432 has quit [Ping timeout: 480 seconds]
ten15723774324 is now known as ten1572377432
<janneg> pitust: that sounds like systemd's backlight service which restricts the minimal brightness to avoid having people turn their display off while they might need to display to turn/increase the brightness
<pitust> that would make more sense if the minimum was 1
<janneg> argue with the systemd backlight service authors. it's afaik 10% of max to be safe
<pitust> ah
<mps> just note: I don't have any issue with touchbar, though I don't use systemd nor any of these big DE, plain openrc and plain awesomewm
<pitust> what happens if you set the backlight brightness to like 12
<pitust> and enable tiny-fdr
<mps> I didn't tried exactly this value but tried different ones and it works
<pitust> hmm okay weird
<mps> will try exactly 12 and will report to you, but can't right now because I'm out of home
<pitust> sure
lena6 has quit [Ping timeout: 480 seconds]
petterroea has joined #asahi
i509vcb has quit [Quit: Connection closed for inactivity]
systwi has joined #asahi
<mps> pitust: tested it, don't see any flickering
<mps> so I guess hardware and kernel part are not problem
<pitust> dunno then
<pitust> raising brightness reduces flicker
gladiac has quit [Quit: k thx bye]
<pitust> so maybe some touchbars are worse than others?
systwi_ has quit [Ping timeout: 480 seconds]
<ChaosPrincess> systemd backlight thing - tiny-dfr should install a udev rule that tells systemd to get it's hands off the backlight device
<pitust> maybe
<ChaosPrincess> filcker - the display is PWM, and while i do not see it with just my eyes, filming it using a high speed camera mode - it flickers even under macos here
<pitust> ah
systwi_ has joined #asahi
systwi has quit [Ping timeout: 480 seconds]
atipls_ has quit []
atipls has joined #asahi
espo has quit [Quit: WeeChat 4.0.5]
AnuthaDev has joined #asahi
slp has joined #asahi
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
dcow has joined #asahi
espo has joined #asahi
dcow has quit [Ping timeout: 480 seconds]
dcow has joined #asahi
melse has joined #asahi
pounce has quit [Remote host closed the connection]
pounce has joined #asahi
<melse> I'm having some issues upgrading to kernel-16k, it boots and I can get into a console window but the desktop environment isn't working at all - there are a tonne of error messages, has anyone seen anything similar to this?
<j`ey> what error messages?
<melse> (in journalctl) e.g. failed to lock front buffer on /dev/dri/card1: drmModeAddFB2WithModofiers failed: Invalid Argument
melse has quit [Read error: Connection reset by peer]
melse has joined #asahi
<janneg> melse: do you see this on a 13-inch macbook pro?
<melse> Yep
<melse> M2
<janneg> if this is an older install try installing tiny-dfr
<janneg> I suspect /dev/dri/card1 might the the touchbar display
<melse> Yeah it's an oldish fedora install
<melse> Ha it works, thanks
<janneg> does the touchbar work as well?
<melse> The screen works but the touchscreen doesn't seem to work
<melse> It maybe worked once the first time I tapped it? But not confident
<ChaosPrincess> anything in `dmesg | grep firmware`
<melse> Yeah apple-z2 saying unable to load firmware (apple/drfmtfw-j493.bin) a few times
<ChaosPrincess> that is the issue, since it is an old install, it did not extract that firmware
<melse> Makes sense, is there some way to do that without reinstalling?
<ChaosPrincess> make a separate efi-only install, copy the firmware archive to your one.
<janneg> if you can make 3GB of space you do what ChaosPrincess said
<ChaosPrincess> or maybe wait for official release, there will be some way for firmware updates
<janneg> you do not even have to finish the install. you can grab the firmware and delete the partions once the install is has created the EFI system partition
<janneg> installer can be killed with Ctrl + c
<janneg> you want 'asahi/all_firmware.tar.gz' and 'vendorfw/firmware.{cpio,tar}' from the ESP
melse has quit [Remote host closed the connection]
hightower2 has joined #asahi
dcow has quit [Ping timeout: 480 seconds]
melse has joined #asahi
dcow has joined #asahi
melse has quit [Remote host closed the connection]
jeisom has joined #asahi
melse has joined #asahi
lena6 has joined #asahi
melse has quit [Read error: Connection reset by peer]
melse has joined #asahi
dcow has quit [Ping timeout: 480 seconds]
melse has quit [Read error: Connection reset by peer]
lena6 has quit [Read error: Connection reset by peer]
melse has joined #asahi
hightower2 has quit [Ping timeout: 480 seconds]
<j`ey> apparently RPi are shipping 16k kernel for rpi5
hightower2 has joined #asahi
dcow has joined #asahi
melse has quit [Ping timeout: 480 seconds]
dcow has quit [Remote host closed the connection]
dcow has joined #asahi
<janneg> oh, I missed that or it was added later: https://threedots.ovh/blog/2023/09/gathering-some-raspberry-pi-5-details/
<j`ey> not sure, saw it via twitter
<j`ey> that's good for us!
hightower2 has quit [Read error: Connection reset by peer]
espo has quit [Quit: WeeChat 4.0.5]
espo has joined #asahi
hightower2 has joined #asahi
wontons has joined #asahi
wontons has quit []
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi
hightower2 has quit [Read error: Connection reset by peer]
hightower2 has joined #asahi
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #asahi
Moprius has joined #asahi
amarioguy2 has quit [Remote host closed the connection]
amarioguy has joined #asahi
Moprius has quit [Quit: bye]
hightower2 has quit [Read error: Connection reset by peer]
hightower2 has joined #asahi
qyliss has quit [Remote host closed the connection]
qyliss has joined #asahi
i509vcb has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
slp has quit [Ping timeout: 480 seconds]
hightower2 has quit [Read error: Connection reset by peer]
jacksonchen666 has joined #asahi
melse has joined #asahi
melse has quit [Remote host closed the connection]
jacksonchen666 has quit [Ping timeout: 480 seconds]
lxdr has quit [Remote host closed the connection]
lxdr has joined #asahi
lawrence has quit [Ping timeout: 480 seconds]
lawrence has joined #asahi
xcpy04 has joined #asahi
xcpy0 has quit [Read error: Connection reset by peer]
xcpy04 is now known as xcpy0
stipa is now known as Guest1676
Guest1676 has quit [Read error: Connection reset by peer]
stipa has joined #asahi
disaster has quit [Ping timeout: 480 seconds]
disaster has joined #asahi
arekmx has joined #asahi
arekm has quit [Read error: Connection reset by peer]
basso has quit [Ping timeout: 480 seconds]
basso2 has joined #asahi
slp has joined #asahi
wille-io has quit [Read error: Connection reset by peer]
wille-io has joined #asahi
_dhewg has joined #asahi
dhewg has quit [Read error: Connection reset by peer]
_dhewg is now known as dhewg
hightower2 has joined #asahi
ydalton has joined #asahi
hightower3 has joined #asahi
hightower2 has quit [Read error: Connection reset by peer]
<ydalton> hi, i was wondering what /dev/dri/card1 is referring to? is it the dcp? because drm_info doesn't seem to give any info on it
tenkuu has joined #asahi
maz has quit [Ping timeout: 480 seconds]
maz has joined #asahi
melse has joined #asahi
opotin658 has joined #asahi
opotin65 has quit [Remote host closed the connection]
opotin658 is now known as opotin65
<janneg> ydalton: nobody knows, depends on probe order. check /sys/kernel/debug/dri/1/name
<leio> I got a USB-C to USB-A adapter and it turns out that the USB-A port works now in my fedora, but not the USB-C ports. I guess that's thunderbolt for me and I would need a non-ultra and the front panel ports for working USB-C at this point?
<leio> hmm, no, they "just work" for ttyACM debugging, so something else must be up
<ydalton> hm, catting /sys/kernel/debug/dri/1/name says asahi, while catting /sys/kernel/debug/dri/0/name says apple (which i think is the dcp?) it also says soc:display-subsystem
<ydalton> and asahi is the name of the agx driver right?
melse has quit [Quit: Igloo IRC: https://iglooirc.com]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Guest1620 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has joined #asahi
Guest1682 has joined #asahi
<janneg> ydalton: yes, asahi is the agx driver. is there a /sys/kernel/debug/dri/128
jacksonchen666 has joined #asahi
ydalton` has joined #asahi
ydalton` has quit []
jacksonchen666 has quit []
ydalton` has joined #asahi
<ydalton`> yes, there is, and its name is the same as /sys/kernel/debug/dri/1
ydalton has quit [Ping timeout: 480 seconds]
<pitust> maybe DP?
<pitust> (over usb-c)
<janneg> 128 is the render node
ciggi has quit [Read error: No route to host]
hightower3 has quit [Read error: Connection reset by peer]
ciggi has joined #asahi
espo has quit [Quit: WeeChat 4.0.5]
espo has joined #asahi
almson has joined #asahi
<ydalton`> pitust: i thought that wasn't even a thing
<ydalton`> dp-alt-mode was still wip no?
ydalton` has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.3)]
flom84 has joined #asahi
Cyrinux9474 has quit []
<almson> Hi everyone. I've been a long-time Patreon contributor. I've donated $2400 over two years to this exciting project, and yet I'm still on my 2015 MBP 15 running Manjaro because I can't decide on a new computer. My thoughts have been leaning away from Apple and I stopped contributing, but just days ago I realized that a new MBP can give me something that almost no other laptop in other
<almson> world can: a screen I can use outdoors. For that, Asahi would need to support 1000 nit HDR-mode brightness. To be clear, I don't need or want HDR, and I heard it doesn't work on Linux anyway. I just need the brightness for regular work. That would make me pull the trigger over an XPS.
Cyrinux9474 has joined #asahi
hightower2 has joined #asahi
<janneg> almson: the display backlight in non-HDR mode only goes up to 500 nits. for more we have to investigate first how HDR on macOS works, this is not a priority considering other missing features in the display driver
ximet has quit [Quit: The Lounge - https://thelounge.chat]
ximet has joined #asahi
<almson> janneg: ok, thanks. I'm just pointing out that this is a killer feature that is separate from HDR as a whole.
Moprius has joined #asahi
almson has quit [Quit: WeeChat 4.0.4]
<bluetail> how can you all talk about more brightness when I already have enough with minimum? Whats the gain of more brightness?
<opticron> like almson said, outdoor usage
<opticron> if you're going to fight with the sun, you need all you can get
<j`ey> also talking of brightnesss, this is how you can change it from the command line w/o sudo: $ busctl call org.freedesktop.login1 /org/freedesktop/login1/session/auto org.freedesktop.login1.Session SetBrightness "ssu" "backlight" "amdgpu_bl0" 4711
<j`ey> err, wrong thing
<j`ey> busctl call org.freedesktop.login1 /org/freedesktop/login1/session/auto org.freedesktop.login1.Session SetBrightness "ssu" "backlight" "apple-panel-bl" N
tenkuu has quit [Read error: Connection reset by peer]
jeisom has quit [Ping timeout: 480 seconds]
tenkuu has joined #asahi
tenkuu has quit [Read error: Connection reset by peer]
sfi has left #asahi [Leaving]
tenkuu has joined #asahi
tenkuu has quit [Read error: Connection reset by peer]
kidplayer_666 has joined #asahi
<kidplayer_666> Hey there!
<kidplayer_666> Not sure if this has been reported before
<kidplayer_666> But when I put my MacBook pro 13" M1 to sleep
<kidplayer_666> Touchbar doesn't seem to sleep properly
<kidplayer_666> (On fedora asahi, latest updates I could find)
<janneg> thanks, a known problem I forgot about
<kidplayer_666> Fun lol
<kidplayer_666> Btw, im a complete noob to the whole IRC thing
<kidplayer_666> And barely a linux user (did do distrohoping a while back)
<kidplayer_666> Also, probably common question, but what happened with the whole speaker exploding experimental driver?
<j`ey> that's something that still needs to be worked on
kidplayer_666 has quit [Remote host closed the connection]
tenkuu has joined #asahi
kidplayer_666 has joined #asahi
<kidplayer_666> Fair enough
<kidplayer_666> Realistically, fixing sleep somewhat and getting speakers are what stands between me and actually trying to main linux
<j`ey> work around is to use headphone jack with external speakers, if you're not on the move all the time
kidplayer_666 has quit [Remote host closed the connection]
kidplayer_666 has joined #asahi
<kidplayer_666> Ik, I've been surviving on bt headphones, but im on the move a lot
<kidplayer_666> Im a uni student
Chai-T-Rex has joined #asahi
<kidplayer_666> And it's the laptop I bring with me every day
<j`ey> yeah makes sense
<kidplayer_666> Tho im stunned about the progress im watching regarding the whole driver situatuon
ChaiTRex has quit [Ping timeout: 480 seconds]
<kidplayer_666> Also, ya may consider updating the docs lol, cause now touchbar is a thing
maximbaz has quit [Quit: bye]
maximbaz has joined #asahi
<j`ey> ah yeah, fedora have enabled it now, it's a bit confusing because the feature support page was mostly about alarm..
<kidplayer_666> Oh ok. Is arch based asahi actually getting discontinued or not yet?
<j`ey> the plan is to keep the kernel and stuff updated, but not much work on 'integrating' everything nicely
<kidplayer_666> Also, how do you managed the whole driver repos thing on fedora? Is there even the granularity of choosing stuff like asahi-edge and such?
<j`ey> I think fedora decided not to do that
<j`ey> it seems like they have an outdated -edge package
<kidplayer_666> And that's a good compromise, I think. Keeping existing users happy enough, but saving resources for actual driver development instead of simple distro maintenance
<mps> j`ey: alpine also have touchbar
<kidplayer_666> Wdym?
<j`ey> mps: yeah, that's why the feature support page maybe needs a bit of a rejig about how it display whats available or not
<mps> j`ey: yes, docs are our 'issue'
Moprius has quit [Quit: bye]
<kidplayer_666> Maybe I can help maintain it lol
AnuthaDev has quit [Remote host closed the connection]
AnuthaDev has joined #asahi
AnuthaDev has quit [Remote host closed the connection]
AnuthaDev has joined #asahi
kidplayer_666 has quit []
kidplayer_666 has joined #asahi
AnuthaDev has quit [Quit: AnuthaDev]
kidplayer_666_ has joined #asahi
kidplayer_666_ has quit [Remote host closed the connection]
nela has quit [Quit: bye!]
nela has joined #asahi
kidplayer_666_ has joined #asahi
kidplayer_666 has quit [Ping timeout: 480 seconds]
kidplayer_666_ has quit [Read error: Connection reset by peer]
kidplayer_666 has joined #asahi
<ChaosPrincess> kidplayer_666: pushed the screen disable on sleep
<ChaosPrincess> im not fully powering down the mipi link like macos does rn, but i dont think it uses that much power anyway
<ChaosPrincess> actually, are we even powering down dcp when going to sleep? i did `echo mem >/sys/power/state`, and the primary display stayed on
kidplayer_666_ has joined #asahi
<kidplayer_666_> ChaosPrincess: what do you mean. Im on fedora, just did a dnf update, nothing yet. (Keep in mind, im a noob)
<ChaosPrincess> i mean i sent a pr to the kernel repo :P
<kidplayer_666_> Ah ok lol
<kidplayer_666_> Hopefully it's soon here
<j`ey> markan said he will be merging stuff soon-ish
<kidplayer_666_> As in hours, days, weeks?
<ChaosPrincess> as soon as it happens and not a minute sooner
<j`ey> once he's merged it, fedora still need to update to that (which Im guessing they do pretty quickly..)
<kidplayer_666_> Would be really nice to soon have the touchbar not on while on sleep
<mps> ChaosPrincess: I put my macbooks to sleep with `echo mem >/sys/power/state`
<kidplayer_666_> ChaosPrincess: very funny
<ChaosPrincess> mps: i tried to do that, and the display stayed on
<ChaosPrincess> and sleeping with the kde button left the cursor on the screen
<mps> ChaosPrincess: you mean touchbar display?
<ChaosPrincess> primary
<ChaosPrincess> i just fixed the touchbar driver that it turns off, and was testing
<j`ey> drivers/gpu/drm/apple/dcp.c has a .pm sleep ptr thingy
<mps> hm, in my case primary display blanks but touchbar stays
<mps> ChaosPrincess: ah, you mean with your latest patch
<ChaosPrincess> yea, my issue is with primary rn
<mps> understand now
<ChaosPrincess> why is it not turning off
<j`ey> ChaosPrincess: do you not seeing anything in dmesg from dcp?
kidplayer_666_ has quit [Remote host closed the connection]
<ChaosPrincess> sec, let me try again and check
kidplayer_666_ has joined #asahi
<ChaosPrincess> https://paste.bingner.com/paste/dcv4q - nothing suspicious in dmesg
<j`ey> weird
<ChaosPrincess> actually, dcp supports 13.5, right?
<janneg> yes, it supports 13.5 (although we handle it atm still as 13.3 comaptible)
<janneg> I think the poweroff path ("apple-dcp 38bc00000.dcp: dcp_poweroff() done") should be hit on suspend
<ChaosPrincess> ok, im stupid, i was using simplefb
<j`ey> ChaosPrincess: phew PEBKAC
kidplayer_666_ has quit [Remote host closed the connection]
kidplayer_666_ has joined #asahi
lena6 has joined #asahi
bdface has joined #asahi
<bdface> fractional scaling got disabled during an f39 update
<bdface> is reenabling the same as before?
<ChaosPrincess> turns out i had old m1n1 which had no idea what 13.5 is.
ptudor has quit [Ping timeout: 480 seconds]
<janneg> bdface: probably not using the display driver (for whatever reasons). fedora 39 is not really tested yet
<kidplayer_666_> Is fedora 39 even out yet
<bdface> in about a months tiem
<bdface> *time
<janneg> no, it's in beta
<kidplayer_666_> Yeah like february
<leio> fedora asahi remix installer offers 39 already
<kidplayer_666_> Whaaat
<kidplayer_666_> Let me check that out
<kidplayer_666_> I installed recently
<kidplayer_666_> Maybe I managed to accidentally go into 39
<leio> I'm not saying it's a good choice at this point or anything, I'm just saying it's there
<leio> or at least it's in the installer_data.json file :)
<bdface> is the touch bar on 38?
<janneg> yes, it's in the installer along with rawhide. it's currently autogenerated and has 91 entries to chose from
<janneg> we will fix that
<bdface> 39 is pretty good barring this one predicament
<janneg> yes, the touchbar is in 6.5.4-403 available in all releases
<leio> is 6.4.0-asahi-10 OK for running on M2 Ultra with the patches added? It's not finding a driver for nvme, etc. Probably some config fun again, but just making sure I shouldn't be looking at 6.5 asap
kidplayer_666_ has quit [Read error: Connection reset by peer]
<leio> (patches = PR #180 and #192)
kidplayer_666_ has joined #asahi
<kidplayer_666_> Cringe
<kidplayer_666_> As ir turns out, im on fedora 38 still
julio7359 has joined #asahi
bdface has quit [Remote host closed the connection]
julio7359 has quit [Remote host closed the connection]
<kidplayer_666_> And I sure as hell ain't digging deep insto installer files
<kidplayer_666_> Maybe they are already prepairing
<kidplayer_666_> Or some dev is already testing it
kidplayer_666_ has quit [Remote host closed the connection]
kidplayer_666_ has joined #asahi
<leio> if I include kernel image as a payload to boot.bin, can I also pass kernel command lines similar to variables to m1n1-stage1 or through some other means?
<janneg> bdface: display driver works on a fresh fedora-asahi 39 (kde install)
ptudor has joined #asahi
kidplayer_666_ has quit [Read error: Connection reset by peer]
<j`ey> leio: you can add boot args to the dtb
<j`ey> also m1n1 supports appended args, like you did with display=
<j`ey> chosen.bootargs=blah
<leio> so that line would go after stage2 and before dtbs?
<leio> (the boot problem was because my CMDLINE in .config didn't save, must have told it to not save when I entered that)
<j`ey> I think they can be in any order
<janneg> the order doesn't matter, m1n1 checks all payloads
<leio> and it'll figure out where kernel ends and find it even at the very end, ok
<j`ey> but I think you need to make sure you get a null terminator?
<leio> echo -n "foo\0" >> boot.bin ?
<leio> looks like run_guest_kernel does just an echo "chosen.bootargs=$args"
<janneg> see src/payload.c some size can be detected others like u-boot need to be compressed
<j`ey> ah no, it does it based on \n, not null terminator
<leio> I've put Image.gz there, so guess it'll find the args at the end fine then
<leio> thanks, got it booting through that
<j`ey> tbh you could just use run_guest_kernel and then copy the m1n1 it generates to boot.bin
leahcl has quit [Remote host closed the connection]
leahcl has joined #asahi
<leio> building the kernel natively now, trying to move away from a separate helping host, etc :)
<leio> no working u-boot and thus no grub makes that a bit of a challenge :)
flom84 has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
Misthios has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
yuka has quit [Remote host closed the connection]
i509vcb has quit [Quit: Connection closed for inactivity]
yuka has joined #asahi
loki_val has quit []
jeisom has quit [Ping timeout: 480 seconds]