ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
DarkShadow44 has joined #asahi
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
murlachmara has joined #asahi
murlachmara has quit [Remote host closed the connection]
RevHelix has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao has quit [Ping timeout: 480 seconds]
bisko has quit [Read error: Connection reset by peer]
<marcan> I hadn't announced that yet, but I guess I might as well now
marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | 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
bisko has joined #asahi
user982492 has joined #asahi
millenialhacker_ has joined #asahi
millenialhacker has quit [Read error: Connection reset by peer]
Moprius has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
turo has quit []
turo has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
YJSNPI has quit [Quit: ARRRRRRRRRRRGH]
YJSNPI has joined #asahi
nicolas17 has quit [Ping timeout: 480 seconds]
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
YJSNPI has quit [Quit: ARRRRRRRRRRRGH]
YJSNPI has joined #asahi
boardwalk has quit [Quit: The Lounge - https://thelounge.chat]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
millenialhacker_ has quit [Quit: Konversation terminated!]
weapon_of_nix[m] has joined #asahi
<weapon_of_nix[m]> hello, i'm having trouble getting video to work in firefox on asahi. i have a pretty default config and ffmpeg is installed. has anyone else experienced this? video works fine in VLC
guillaume_g has joined #asahi
systwi has quit [Ping timeout: 480 seconds]
systwi has joined #asahi
giskard has joined #asahi
the_lanetly_052___ has quit [Remote host closed the connection]
<mps> so I shouldn't answer above question because I don't use official asahi distro iiuc?
w12101111 has joined #asahi
ylebars[m] has joined #asahi
<ylebars[m]> Hello everybody out there!
<ylebars[m]> I am quite impress with the work doneon Asahi Linux.
bisko has quit [Read error: Connection reset by peer]
<ylebars[m]> s/./!/
bisko has joined #asahi
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sven> mps: i think the idea is to just move disto specific questions (e.g. how do I boot from usb? How do i built a custom image for Debian? Etc.) in there
neatsquirrel has joined #asahi
<mps> sven: I understand that intention is good but ime it will lead to some fragmentation and disconnection between people who just arrived to asahi
* sven doesn't care because he's not paying much attention to #asahi anyway
<sven> too much noise to read every message
<mps> "how do I boot from usb?" is generic question and if I (for example) answer and point to guide I wrote as generic answer I fear that this will be 'frown upon' and I will not answer
<mps> but yes, sometimes are too much messages out of context
<j`ey> it's not that serious! more just if there are longer alpine or debian or other distro questions/discussions, was the intent
<mps> well, however. we will see how this will work, and I'm not against having separate and specific topics channels especially if we don't start to scold people
<marcan> the point is to move discussion specific to unsupported distros there so folks don't get confused as to what applies to them and what doesn't
<marcan> weapon_of_nix[m]: try switching the audio device profile to input only and back to duplex in the mixer/audio config (or pavucontrol)
duckworld has joined #asahi
greguu has joined #asahi
duckworld has quit []
duckworld has joined #asahi
c10l has quit [Remote host closed the connection]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
c10l has joined #asahi
bisko has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
qyousef has joined #asahi
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
qyousef_ has quit [Ping timeout: 480 seconds]
<ylebars[m]> I wonder, why are Mac Studio not supported (yet)? My guess is it is quite a recent computer, as well as a bit expansive one, so no one in Asahi team has one to work on. Am I right or is there some specific issue with it?
<j`ey> ylebars[m]: they are supported to some extent, just not in the current official release
qyousef_ has joined #asahi
<ylebars[m]> j`ey: Sounds fair. Thank you.
<ylebars[m]> j`ey: As Neo said: wow!
<ylebars[m]> It is impressive how fast Asahi is evolving!
bisko has quit [Read error: Connection reset by peer]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qyousef has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
<ylebars[m]> I am in need of some computing power, but I am also very sensitive to noise – to the point a 15 dB noise can be some anoyance for me. It seems the new M1 computers can fit these two needs, but I really do not like macOS and I am quite use to Linux – more specificaly Debian. So I am lurking Asahi and am very impressed.
<ylebars[m]> My guess is that it is too early to use Asahi as a main system in production, but the question is: would I be able to give some help, nowing I will not have much time and I a mathematician, not a system specialist?
<ylebars[m]> I guess Asahi always needs some people to help, but I am not sure I can be useful in anyway.
<jannau> marcan: is that problem fixed by povik's "i2c: pasemi: Wait for write xfers to finish"? it's in v5.18-rc3 so it should be linux/asahi
<jannau> ylebars[m]: my mac studio is not silent. fans are spinning constantly at 1300rpm and are noticeable in a quiet room
<ylebars[m]> jannau: I did not knew that, thank you for this information.
<marcan> jannau: I need to rebase, yes
<rowang077[m]> @ylebars Depending on your needs you could run Asahi as your daily driver. There are some major things that don't work but it's possible. See here for a list: https://github.com/AsahiLinux/docs/wiki/Feature-Support. I can't comment on any noise since I don't actually have an M1 machine.
<rowang077[m]> but if you truly don't want any noise you could always get the fanless M1 macbook air.
<jannau> I think the main missing HW support to use the mac studio as development machine is display support and to a lesser extend usb 3
jakebot has quit [Quit: The Lounge - https://thelounge.chat]
<rowang077[m]> well computing power could also mean "mobile" computing power. Not entirely clear what @ylebars needs
<ylebars[m]> rowang077[m]: Thank you. Yes, I have read the wiki, especially the Feature Support section. Well, I need to use some USB 3 devices and if I use a laptop, I need to connect it on an external screen, so it seems some functionnality I need are not yet available.
<ylebars[m]> s/functionnality/functionnalities/
<ylebars[m]> rowang077[m]: Yes, I have been quite elusive.
<ylebars[m]> I am doing some HPC work. Of course, you do not do some complete run on a personal computer, you use a dedicated computer. But still, you need to test your code on the developing computer and therefore can do some demanding run on it.
<rowang077[m]> For HPC I would think you'd require CUDA or at least OpenCL?
<ylebars[m]> Also, it’s been a while since I wonded if I can have just one laptop with enough computing power, rather having a desktop and a laptop computer.
jakebot has joined #asahi
<ylebars[m]> rowang077[m]: Well, yes, but not necessarily.
<ylebars[m]> Now, indeed, I use OpenCL. One thing interresting in OpenCL is that it is not loocked up to one specific architecture. As M1 have GPU cores and TPU cores, clearly, OpenCL would be of some use on it. Only, it has to be supported by OpenCL …
<ylebars[m]> Applications like AI use quite a lot of heteregonous architecture, but many more classical model do not – parallel computing on CPU.
<rowang077[m]> Yes, that's correct. But as it stands OpenCL is not supported since the entire GPU driver implementation is not done yet. You could still run on it on your CPU but considering your application I don't think you will have a good time with this
<ylebars[m]> Thank you for all this informations.
<ylebars[m]> Well, as I understand it, I cannot be of any use yet for the Asahi team. Also, there are still some features I need that are not available. Therefore, I should wait a bit before trying it.
<ylebars[m]> I will still be lurking on what Asahi is doing.
<ylebars[m]> And I want to congrate and thank you for this amazing work!
<ylebars[m]> * Thank you for all these information.
<ylebars[m]> Oh! Yes!
<ylebars[m]> Can I ask people using a M1 Macbook Pro 14 if there is some noticeable noise?
<neggles> if your definition of 'noticeable' is 15dB(A), then, yes, because it's impossible to get down to a level that low outside of an anechoic chamber
<ylebars[m]> Well, indeed …
<neggles> and every computer that's not built to be purely passive will make noise under high load. at low load, it's effectively inaudible
<ylebars[m]> Thank you!
<neggles> apple's return policy is fairly lenient, you can return one within 2 weeks or so for a full refund in most countries
<ylebars[m]> Great! I did not knew that either.
<neggles> check what the policy is locally in your country
<neggles> but you can probably just buy one and return it if you don't like it / it's too loud.
<ylebars[m]> neggles: Yes, I will.
<neggles> don't expect to be making even remotely close to full use of the hardware on Linux for at least a year or two, though.
<neggles> reverse-engineering and writing drivers for mostly-undocumented hardware is *hard*
<ylebars[m]> neggles: Yes, this is something I knew already. Therefore, I did not expected Asahi being on alpha stage so early. It is very impressive how this project is doing.
<ylebars[m]> Still, I got it: the project will at least need one more year before being able to access more plainly to the hardware.
<neggles> honestly who knows how long it'll take?
<neggles> it's anyone's guess
<mps> idk for other but for me after using it for 5-6 months as daily driver it is quite fine and usable
user982492 has joined #asahi
<neggles> mps: oh for sure, but not if you want openCL accelerated by the NNPU/GPU/etc...
<mps> neggles: yes, but I don't have these things on some other arm machines
<neggles> I completely agree, but ylebars[m] specifically mentioned needing openCL :)
<mps> ok then
<Sobek[m]> Is a NNPU as hard to reverse and write driver for as the GPU ? harder ? not as hard ?
<neggles> probably harder in this case
<neggles> but that's not really a question that can be answered until someone starts working on it
<mps> side note: as no one know in this world how nerves actually works calling something neural network is misleading at least (but marketing :) )
<neggles> hey that's not true, we do know how nerves work, simulating a network of neurons is quite simple
<neggles> what we don't know is how to make them *think* :P
<ylebars[m]> mps: Absolutly.
<ylebars[m]> Actually, the so-called neural engine in M1 architecture corresponds to TPU architecture. It is made specifically to compute some specialize linear computing.
<mps> neggles: no, no one knows except those who have illusion that they know
<neggles> the functioning of a nerve cell is incredibly well characterized but i suspect I know where you're going with this argument and I'm not interested in having it
<mps> and it will be OT here
<mps> and you can't know what and where I lead you by this ;)
<mps> sorry to OT again
<rowang077[m]> There is some work done on the TPU. Wait let me find the link
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
ChaosPrincess has quit [Quit: WeeChat 3.5]
Moprius has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
yuyichao has joined #asahi
ChaosPrincess has joined #asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Method has quit [Read error: Connection reset by peer]
Method has joined #asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
user982492 has joined #asahi
user982492 has quit []
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #asahi
eroc1990 has quit []
eroc1990 has joined #asahi
riatre has quit [Quit: http://quassel-irc.org]
riatre has joined #asahi
turo has quit []
nicolas17 has joined #asahi
derzahl has joined #asahi
w12101111 has quit [Ping timeout: 480 seconds]
w12101111 has joined #asahi
w12101111 has quit []
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
darkapex has quit [Ping timeout: 480 seconds]
<weapon_of_nix[m]> <marcan> "weapon_of_nix: try switching the..." <- hmm i tried but nothing changed sadly
eroux has joined #asahi
<DarkShadow44> I'm currently trying again to get my asahi installation to work, but it only results in a blackscreen when I click on my "archmac" in the boot menu. I am connected via HDMI, is there something I can do to fix that?
<tpw_rules> try a different monitor
<DarkShadow44> apart from that?
<DarkShadow44> I only have two times the same monitor
<tpw_rules> https://github.com/AsahiLinux/m1n1/issues/159 this is almost certainly the issue. maybe something there will help you
<DarkShadow44> to be clear, HDMI is currently the only option, right?
<j`ey> yeah
<calcium> i saw someone here say a few days ago that some monitors don't work
<DarkShadow44> yeah, I heard that as well, but was hoping for some sort of solution :)
<Glanzmann> DarkShadow44: What is the nativ resolution of your monitor?
<DarkShadow44> 4K
<Glanzmann> DarkShadow44: have you tried forcing 4k resolution like that? echo display=3840x2160 >> /boot/efi/m1n1/boot.bin
<Glanzmann> j`ey: It does, I tried it myself and I have at least one user who can do it as well.
<DarkShadow44> I didn't change anything (yet), only installed it (a month ago) and tested it again today
<Glanzmann> j`ey: jannau found some extra ram to use so that we can do it.
<j`ey> Glanzmann: I didnt think/know that made it to the main m1n1 branch.
<Glanzmann> j`ey: Okay, just to be sure, I'll try it again with the main m1n1 branch and report back.
<nicolas17> "found some extra RAM" sounds so weird :P
<Glanzmann> j`ey: You're right. Any idea where that branch is?
<Glanzmann> nicolas17: The current upstream m1n1 has not enough ram for a 4k frame buffer.
<j`ey> Glanzmann: https://github.com/jannau/m1n1/commits/display_fb_alloc2 this maybe, but jannau knows best obviously!
<nicolas17> I know what it probably means in this context but still :D
<j`ey> nicolas17: m1n1 now sets the magic ENABLE_MORE_RAM bit :P
bisko has quit [Read error: Connection reset by peer]
<Glanzmann> Glanzmann: Yep, that's it.
<Glanzmann> j`ey: Just rebuild and testing right now.
bisko has joined #asahi
<DarkShadow44> so, what's the takeaway for newcomers like me?
<j`ey> nicolas17: hehe
<Glanzmann> DarkShadow44: I have a solution for you in a few minutes.
<Glanzmann> DarkShadow44: https://tg.st/u/4.txt
<Glanzmann> j`ey: Thank you for letting me know that jannaus patch did not made it upstream.
<DarkShadow44> Glanzmann: 404
derzahl has quit [Ping timeout: 480 seconds]
<Glanzmann> DarkShadow44: https://tg.st/u/4k.txt
<j`ey> Glanzmann: agrajag :o
<Glanzmann> j`ey: aka git.zerfleddert.de a computer of a very good friend.
user982492 has joined #asahi
neatsquirrel has quit [Read error: Connection reset by peer]
<DarkShadow44> thanks, but I still got the same issue, monitor just deactivates after "no signal"
<DarkShadow44> and just as a small heads-up, the curl doesn't work
<Glanzmann> DarkShadow44: Thank you, fixed. Sad for me and Ray Darcy it works.
<Glanzmann> DarkShadow44: Was worth a try.
<DarkShadow44> sure was, thanks for your time!
<DarkShadow44> was that a compiled version from that branch?
<VinDuv> Glanzmann: shouldn’t your 4k.bin end with display=3840x2160 to actually enable 4k? Or did you remove the default 1080p limit from display.c?
<Glanzmann> Yes, it should
<Glanzmann> And yes, it doesn't so I build and tested the right file and manged to upload the wrong one.
<Glanzmann> VinDuv: Thank you for pointing that out.
<Glanzmann> DarkShadow44: I updated the 4k.bin, if you want to try again.
<DarkShadow44> sure, I'll report back soon
<DarkShadow44> btw, is there a way to enter that boot menu mode without holding the powerbutton? It's a bit awkward...
<Glanzmann> DarkShadow44: Not that I'm aware off.
<Glanzmann> DarkShadow44: This is how you build it: https://tg.st/u/4k.sh
derzahl has joined #asahi
Chainfire has quit [Remote host closed the connection]
<DarkShadow44> thanks
<DarkShadow44> no luck with this version either though
ciggi has quit [Remote host closed the connection]
kibomo has joined #asahi
<Glanzmann> DarkShadow44: Thank you for reporting back, worth a try.
<kibomo> IDENTIFY
<kibomo> !IDENTIFY
<kibomo> #IDENTIFY
<DarkShadow44> Any data I could provide to help fix the issue, or should I just wait?
<VinDuv> Hmm, you can try my m1n1 patch if it’s still up, let me check
<kibomo> Hey I'm learning about computer architecture as a beginner and thought contributing to this project would be a good way to learn. I don't currently own any apple silicon devices is there any way i could contribute to documentation ect.?
<VinDuv> it is
<VinDuv> DarkShadow44: you can try https://vincent.duvert.net/dropbox/boot_display_wait.bin , if your monitor has the same weird reset behavior as mine it should fix your issue
ciggi has joined #asahi
<j`ey> kibomo: probably not..
<j`ey> unless there's stuff you can read from the linux drivers and turn into better documentation maybe
<DarkShadow44> VinDuv: How would I use that, just rename to boot.bin?
<VinDuv> yes
<DarkShadow44> I'll try and report back
<j`ey> DarkShadow44: and rerun the kmutil command
<DarkShadow44> what command? ._.
<VinDuv> j`ey: this is stage2 m1n1, no need to mess with stage1
kibomo has quit [Remote host closed the connection]
<j`ey> VinDuv: ohh right, derp
robinp_ has quit [Ping timeout: 480 seconds]
turo has joined #asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
<DarkShadow44> VinDuv: Can't believe that actually works, I got a screen now! And it's even a solid 1920x1080 :)
mps has quit [Remote host closed the connection]
<VinDuv> nice! :)
<DarkShadow44> thank you!
mps has joined #asahi
lucus has joined #asahi
kibomo[m] has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
greguu has quit [Ping timeout: 480 seconds]
<norris[m]> did anyone have a solution for the firefox video; or is that just a me problem
<j`ey> norris[m]: 09:43:13 <@marcan> weapon_of_nix[m]: try switching the audio device profile to input only and back to duplex in the mixer/audio config (or pavucontrol)
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
c10l has quit [Ping timeout: 480 seconds]