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
MTecknology has joined #asahi
ciggi_ has quit [Ping timeout: 480 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
haichenzhou[m] has left #asahi [#asahi]
kettenis has quit [Ping timeout: 480 seconds]
eroc1990 is now known as Guest548
eroc1990 has joined #asahi
Guest548 has quit [Ping timeout: 480 seconds]
<ktz_[m]> Let me throw in my two cents in case they help. Apparently its not the battery itself causing the heating up as I used to think as well. My air has no battery at all, I mean physically and it still heats up in the same way it did before which is quite surprising to say the least. Not really sure but I think it has to do with how electricity is being fed into the machine meaning it feels like excessive power is overheating some component which
<ktz_[m]> dissipates the heat into the outer frame.. these are speculations of course but one thing is for sure that it's not the battery heating up
<tpw_rules> you mean like, the CPU?
kaine2 has quit [Quit: kaine2]
kaine2 has joined #asahi
<ktz_[m]> well not sure, both sides feel sort of equally heated so I wouldn't hesitating pointing fingers at the cpu. anyone who can thermanl screen it somehow could give us a much better picture
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
<ktz_[m]> s/wouldn't/would/, s/hesitating/hesitate/
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
derzahl has quit [Ping timeout: 480 seconds]
off^ has joined #asahi
eroc1990 has joined #asahi
<kaine2> im reading some of the literature regarding compatibility, has misconfigured audio actually caused a computer to blow up for someone? that sounds terrifying
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
PyroPeter has joined #asahi
pyropeter3 has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
off^ has quit [Ping timeout: 480 seconds]
off^ has joined #asahi
gabuscus has quit [Read error: No route to host]
gabuscus has joined #asahi
jluthra_ has quit [Remote host closed the connection]
<Glanzmann> kaine2: No, but damaged speakers.
jluthra_ has joined #asahi
kaine2 has quit [Ping timeout: 480 seconds]
<tpw_rules> did that happen either?
<Glanzmann> tpw_rules: No reports from m1 machines, but a couple of people in here blow speakers on other models.
emptynine has quit [Remote host closed the connection]
emptynine has joined #asahi
<tpw_rules> like, non apple computers?
<Glanzmann> tpw_rules: Yes, the problem is that apparantly when the turn the volume to high they melt and need to be replaced. They cost 15 EUR a pop. I found them somewhere. Of course it is also a big hasle to replace them for unexperienced people. Or expensive.
Ry_Darcy has joined #asahi
<chadmed> even like 5 seconds of overdriving these anaemic little tweeters and cones will cause them to be irreparably damaged
<chadmed> which is why theyre not being enabled until we can limit their volume in the kernel so that there is literally no possibility of them ever being driven hard enough to be damaged by users
Ry_Darcy has quit [Remote host closed the connection]
Ry_Darcy has joined #asahi
ep0x has joined #asahi
<ep0x> Well about i can confirm extensive heating on Mac m1 pro version, no matter if you charging or discharging. Battery life also is a problem. Let's say 10-12h on mac os battery life and on asahi its about 4-5h. Big difference for sure. I use it daily but something has to be done about this extensive battery drain and heat.
ep0x has quit [Quit: Page closed]
<chadmed> well we are still using software rendering, we have no video hardware accel, no power gating of inactive blocks/cores
<chadmed> battery life should improve massively once we get the gpu going enough for desktop use, then it will improve massively again when we get the video codecs working, and then again once we sort out the missing power management
ciggi has joined #asahi
epox has joined #asahi
<chadmed> you should not be surprised that the machines get hot when trying to software render a 5K desktop while also playing HD/4K videos or whatever else you might be doing lmao
<epox> true
<epox> i know that ;)
<epox> mostly i do not use videos at all, i am programming on Asahi
<epox> and i am doing Net CORE projects
<epox> and i can say there is really great performance doing net programming on linux
<chadmed> should be even better once we free up some cycles by offloading rendering to the gpu
<epox> currently using Rider (JetBrains product) as IDE and its like beast
<epox> M1 chip and linux on it is really perfect combination. I just wish to thanks all of you who contribute for this project and development of Asahi on M1
<epox> i wish i know more C programming and i wish i can help. I am stuck with Net :)
<jannau> you could check if your compositor / X11 constantly redraws the screen
<chadmed> kwin stops drawing if nothing's going on, the only issue with this is that there is very rarely nothing going on
<jannau> kde/plasma/wayland doesn't and it has noticeably lower CPU use than the login screen (sddm/x11)
<epox> Actually i use Plasma
<epox> x11 plasma
<epox> wayland for me is big problem to set correct resolution for the screen
<chadmed> i wish theyd hurry up and release sddm 0.2 so i can just yeet xorg altogether
<epox> idk, maybe i do some wrong steps but if i set wayland all scaling of whole Plasma get crazy :D
<chadmed> the only scaling issue ive had with wayland is terrible fractional scaling support at non-round numbers (everything looks like crap)
<chadmed> but it looks fine at 125% and 150%
<cmalvi[m]> <epox> "currently using Rider (JetBrains..." <- How do you manage ti install JetBrains ide?
<cmalvi[m]> <chadmed> "the only scaling issue ive had..." <- Try 175 if you want
<epox> cmalvi[m] normally install rider with yay or pacman, second step is to create symlink of your dotnet SKD folder to map with rider
<epox> also you need jdk 11, u will be asked pacman or yay, to install java sdk and pick up 11 version
<cmalvi[m]> epox: have you tried with IDEA?
<epox> i use it everyday
<epox> wait ill switch and make screnshot
<epox> give me 5min
<epox> need to restart ill help you
<cmalvi[m]> i need idea, can you help me to install it?
<epox> sure
<cmalvi[m]> really thank you :)
chir4gm has quit []
<epox> wait 5min i am in restaurant but on MAC os i need restart on asahi
<epox> brb
chir4gm has joined #asahi
<cmalvi[m]> sure
epox has quit [Quit: Page closed]
<cmalvi[m]> feel free to write me in private
ptudor has quit [Ping timeout: 480 seconds]
off^ has quit [Ping timeout: 480 seconds]
ep0x has joined #asahi
<ep0x> i am here
<ep0x> ha!
<ep0x> cmalvi look at
<cmalvi[m]> i see
<ep0x> it works like beast
<cmalvi[m]> can you help me to install idea and ridera please? :)
<cmalvi[m]> ep0x: cool
<cmalvi[m]> s/ridera/rider/
<ep0x> yay -S Rider
<ep0x> in ur treminal
<cmalvi[m]> -> Could not find all required packages:
<cmalvi[m]> Rider (Target)
<ep0x> enable AUR packages
<cmalvi[m]> already enabled
<cmalvi[m]> 1 aur/rider 1:2022.1.1-1 (+55 2.04)
<cmalvi[m]> A cross-platform .NET IDE by JetBrains.
<cmalvi[m]> you meant this?
<ep0x> y
<cmalvi[m]> ok
<cmalvi[m]> 2m left
<ep0x> ill be slow i need to eat food is on the table :D
<ep0x> it will ask to install java JDK select 11 version
<cmalvi[m]> oh if you preferr write me after :)
<cmalvi[m]> ep0x: ok
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
<ep0x> did you install ?
<cmalvi[m]> "compressing package"
<cmalvi[m]> but it didn't ask me about what JDK to install
<ep0x> hmm
<ep0x> one moment
<cmalvi[m]> cmalvi[m]: installing now
<cmalvi[m]> Error: LinkageError occurred while loading main class com.intellij.idea.Main
<cmalvi[m]> OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.util.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
<cmalvi[m]> java.lang.ExceptionInInitializerError: null
the_lanetly_052__ has joined #asahi
<ep0x> this happens when you start rider right?
<cmalvi[m]> yes
<ep0x> type java --version and tell paste here
<cmalvi[m]> openjdk 18.0.1.1 2022-04-22
<cmalvi[m]> OpenJDK Runtime Environment (build 18.0.1.1+2)
<cmalvi[m]> OpenJDK 64-Bit Server VM (build 18.0.1.1+2, mixed mode)
<ep0x> wrong, you have open jdk 18
<ep0x> remove it if you do not use it
<cmalvi[m]> ok
<cmalvi[m]> and the what i need to install?
<ep0x> and install openjdk 11.0.15
<cmalvi[m]> s/the/then/
<cmalvi[m]> 2 extra/jre11-openjdk 11.0.15.u10-1 (173.8 KiB 571.5 KiB) (Installed)
<cmalvi[m]> OpenJDK Java 11 full runtime environment
<cmalvi[m]> done also with jkd
<ep0x> try now to run rider
<cmalvi[m]> seems to run with some warnings
<ep0x> its ok, warning because you didn't install NET SDK 6 probably
<cmalvi[m]> yes sure
<cmalvi[m]> thanks
<cmalvi[m]> will work also IDEA?
<cmalvi[m]> * thanks really :)
<ep0x> install intelli IDEA from yay as well
<ep0x> and it works without additional settings or installation
<ep0x> Pycharm works to
ptudor has joined #asahi
<ep0x> but remember, if you want to use Rider you need to install dotnet version you wish, 5- or 6 what ever u like
<cmalvi[m]> really thank you,
<cmalvi[m]> ep0x: yes i'm installing it now
<ep0x> after you do that, you must symlink /usr/share/rider/lib/ReSharperHost/linux-arm64/ with location of your dotnet installed in ur system
<ep0x> or rider won't work
<cmalvi[m]> how can i do this?
<cmalvi[m]> never used symlinks
<cmalvi[m]> just ln -s "rider path" "dotnet install" right?
<cmalvi[m]> so for dotnet
<cmalvi[m]> ln -s /usr/share/rider/lib/ReSharperHost/linux-arm64/ /user/share/dotnet
<cmalvi[m]> it is correct?
<cmalvi[m]> s/user/usr/
<ep0x> i think thi is correct ln -s /usr/share/rider/lib/ReSharperHost/linux-arm64/ /user/share/dotnet
<ep0x> type dotnet --version
<ep0x> and see path
ep0x has quit [Quit: Page closed]
<cmalvi[m]> yes already correct
<cmalvi[m]> now i'll try to install idea
<cmalvi[m]> and then fix the ui scale for both
<cmalvi[m]> about ui scale: 14 seems fine, but rider runs on xwayland so for now blurry text due to fractional scaling
<cmalvi[m]> have you tried to install the toolbox?
off^ has joined #asahi
the_lanetly_052___ has joined #asahi
<cmalvi[m]> * about ui scale: 14 seems fine, but all ide run on xwayland so for now blurry text due to fractional scaling
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi
<Cy8aer[m]> > you mean like, the CPU?
<Cy8aer[m]> hm, but you can locate the heating CPU on high loads. This is the middle bottom part and it does not spread out to the front sides (when on battery only or the device is loaded 100%).
<Cy8aer[m]> But I agree: with linux something heats up "something" which may be controlled. Otherwise you would have the same effect with macOS.
off^ has quit [Ping timeout: 480 seconds]
<Cy8aer[m]> And I also agree: We need to wait for some major hardware accelerations before we can really decice what to do with heating.
<Cy8aer[m]> I will try to load the battery at downtime until then...
<Cy8aer[m]> s/decice/decide/
<j`ey> Cy8aer[m]: you charge the battery, not load it
<j`ey> (in english terms)
<Cy8aer[m]> j`ey: I cannot hide - still these old german flaws.
<jannau> Glanzmann: https://github.com/AsahiLinux/m1n1/pull/212 framebuffer reallocation
<Glanzmann> jannau: Thank you for the heads up.
<cmalvi[m]> <Cy8aer[m]> "I will try to load the battery..." <- Also, according to macOS battery health screen, the battery degradation is worse on linux, so i think i'll do the same about charging
kettenis has quit [Read error: No route to host]
<Glanzmann> Cy8aer[m]: Have you figured out how to disable the charging on Linux?
<Glanzmann> If so, I would put it in my faq and also use it, because most of the time, I'm running on linux, I'm plugged in.
<Glanzmann> jannau: Reading the irc backlog and you commit messages, does that mean you don't get any screenoutput on your studio until macos is booting/booted? Same as on the mini?
<Glanzmann> your*
<mps> Glanzmann: auto', 'inhibit-charge' and 'force-discharge'
<mps> inhibit-charge is to disable charging
<Glanzmann> mps: Thanks.
<mps> so `echo 'inhibit-charge' > /sys/class/power_supply/macsmc-battery/charge_behaviour` will (well) you know ;)
off^ has joined #asahi
<jannau> yes, the hdmi output on the mac studio has the same behavior as on the mac mini
<Glanzmann> I 
<Glanzmann> I see, I'll put that in my rc.local
<Glanzmann> jannau: I see, thank you for confirming.
<mps> Glanzmann: I wrote small perl daemon to control charging but looks like I lost it when destroyed previous mbp
<Glanzmann> mps: Hrhr. I see. I never backup my workstations, and sometimes I loose a configuration that I did not save somewhere else. :-)
<Glanzmann> mps: But you know restic, don't you?
<mps> ah, found it https://tpaste.us/NO0k
<Glanzmann> Nice.
<mps> I do backup but sometimes I miss it for few days
<mps> maybe I will write daemon in C when I find time
<mps> nearly whole week I worked on riscv visionfife SBC to run alpine on it
kettenis has joined #asahi
kettenis_ has joined #asahi
kettenis has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi
___nick___ has joined #asahi
kettenis has joined #asahi
kettenis_ has quit [Ping timeout: 480 seconds]
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
memoryleak_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<BahramAbasov[m]> good day
<BahramAbasov[m]> just got my m1
<BahramAbasov[m]> and installed asahi
kettenis_ has joined #asahi
memoryleak has joined #asahi
kettenis has quit [Ping timeout: 480 seconds]
BahramAbasov[m] is now known as BahramBakhtiyar[m]
___nick___ has quit []
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
sirn has quit [Remote host closed the connection]
sirn has joined #asahi
kettenis_ is now known as kettenis
off^ has quit [Ping timeout: 480 seconds]
off^ has joined #asahi
off^ has quit [Remote host closed the connection]
lanodan has joined #asahi
rootbeerdan has quit [Read error: Connection reset by peer]
al3xtjames7 has joined #asahi
al3xtjames has quit [Ping timeout: 480 seconds]
al3xtjames7 is now known as al3xtjames
Ry_Darcy has quit [Remote host closed the connection]
AlexeyDebelov[m] has joined #asahi
kloenk has quit [Remote host closed the connection]
kloenk has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
WellHoney[m] has joined #asahi
hellsenberg has joined #asahi
hell__ has quit [Read error: Connection reset by peer]
kaine2 has joined #asahi
<cmalvi[m]> Does anyone tried to install steam? Just for curiosity
<Cy8aer[m]> > I see, I'll put that in my rc.local
<Cy8aer[m]> Sorry I was afk. mps did your perl script something with temperature measuring as well? I guess you checked up the battery charge to e.g. stop loading at some level. Probably there should be a stop loading on temperature levels as well? But that should be the job of the chip...
<Cy8aer[m]> sorry did not see that you posted the code. ..
<mps> Cy8aer[m]: this was just proof of concept written in few minutes, not real solution
<Cy8aer[m]> mps: but does what it should
<WellHoney[m]> I'm trying to boot macOS from m1n1, do I need to extract kernelcache from Preboot? Because in stream I saw it's needed by run_guest.py
<j`ey> there's a page on the wiki, one sec
<WellHoney[m]> Thanks :)
Xe has quit [Quit: WeeChat 3.5]
Xe has joined #asahi
<WellHoney[m]> m1n1 repo's wiki is redirected back to code page, in README.md "developer quickstart" link is also broken, so I didn't find it lol
<povik> a
<j`ey> b
<jannau> j
eroc1990 has quit [Ping timeout: 480 seconds]
eroc1990 has joined #asahi
bisko has joined #asahi
bisko has quit []
al3xtjames has quit [Quit: Ping timeout (120 seconds)]
al3xtjames has joined #asahi
derzahl has joined #asahi
<Dcow[m]> D?
<WellHoney[m]> I suggest adding `bputil -n` to m1n1 Wiki for uninstalling purpose, just wasted some time googling it 😅
<j`ey> WellHoney[m]: add it to the wiki!
memoryleak has quit [Ping timeout: 480 seconds]
artemist has quit [Quit: artemist]
artemist has joined #asahi
ep0x has joined #asahi
<ep0x> cmalvi[m] : i personally use x11 since i can't hit correct scaling on wayland, but for me no difference at all x11 is fine and text, scaling etc on Rider is good. Actually it seems to be good on whole system using x11
<cmalvi[m]> I found good 175% scaling on gnome settings and set font size on 14 on rider and idea
<ep0x> Cy8aer[m] i can notice heat even when load is 1% or less on CPU, i mean afk basically, i let it run for 40min afk and wen i come back, i can feel heat. But let's say wait at least first version of GPU drivers and as you said then we can think about finding what is causing heat
tired has quit [Quit: /]
tired- has joined #asahi
<ep0x> i will try ur suggestion but i use Plasma, i think i already did try all scalings :D
<ep0x> doe's anyone know when will be next release of asahi
<ep0x> and i need speakers to work :D
<j`ey> no-one knows
<j`ey> speakers is definitely some ways off
<j`ey> there was a rebase of the kernel on top of 5.18, but it didnt bring any new features
<ep0x> I mean i see on github updates and fixes, is there any way to apply them manually ?
<j`ey> ep0x: not much reason to, the packages will be updated if there's something that is needed
<ep0x> Thanks buddy
artemist has quit [Remote host closed the connection]
artemist has joined #asahi
lanodan_ has joined #asahi
lanodan has quit [Ping timeout: 480 seconds]
<Glanzmann> j`ey: The rebase brought studio support, but current there seem to be only three users (marcan, jannau and the other guy)
<Glanzmann> currently*
<Glanzmann> kettenis: Does OpenBSD has already speaker support? I read the OpenBSD 7.1 hacker news post and there were two audio codecs listed, do you already support more than Linux does?
<Glanzmann> kettenis: OpenBSD 7.1 changelog also mentions M1 Ultra support. Do you also have a studio?
eroc1990 is now known as Guest603
eroc1990 has joined #asahi
Guest603 has quit [Ping timeout: 480 seconds]
<jannau> there are at least 2 more mac studio (m1 ultra) users
<jannau> the update hasn't really brought support though. m1 ultra is unfortunately buggy and it's not yet supported by the installer
<cmalvi[m]> ep0x here two screenshot so you can compare
<povik> went to see the openbsd announcement myself and peeked at aplnco
<povik> kettenis: i think you can drop ^ this
<povik> the binding didn't change (there wasn't much in it in the first place)
<Glanzmann> jannau: I see.
<ep0x> cmalvi[m] thanks buddy it seems to be fine on ur scaling, ill try now. Btw how long do u get battery life using Asahi?
<j`ey> Glanzmann: ar_nd and m_a_z have m1 ultra too
<Glanzmann> j`ey: Right, I forgot about them.
<Glanzmann> ep0x: On the air, I can do approx 10 hours on Linux.
<Glanzmann> But I'm using xorg + fvwm2.
<Glanzmann> A friend of mine who uses a high dpi notebook and myself are using 20pixel fonts and you can use this apparantly to make windows bigger: https://github.com/kaueraal/run_scaled
<cmalvi[m]> ep0x: i'm using it mostly for developement, so a terminal, a text editor and a browser with a ton of tabs opened. There are also other programs opened in background like nextcloud client. If i recall correctly like 6h or some more with 100% of brighteness
<ep0x> #Glazzmann run_scaled script works on Plasma?
<cmalvi[m]> Glanzmann: it helps with th eblurry text on wayland using fractional scaling?
<ep0x> #cmalvi[m] same here, around 6h dev mostly, also tabs like 5-10 max.
<cmalvi[m]> ep0x: for me like 50 tabs, but i know i have a problem with tabs 😂
<ep0x> hahah :D damn what a hell you do with 50 tabs :D anyway you are addicted for tabbing :D
<ep0x> Tabster
<Glanzmann> cmalvi[m] / ep0x: No, that is for xorg.
<cmalvi[m]> Glanzmann: oh ok thanks
<cmalvi[m]> ep0x: only when code are poorly documented
<opticron> yeah...if 50 tabs is a problem, I'm a tabaholic
<opticron> tree style tabs has been my downfall
<cmalvi[m]> also librewolf (firefox fork) eats less ram than chrome, so it surely helps
___nick___ has quit [Ping timeout: 480 seconds]
<ep0x> did chromium finally released with patch? for 16k page size or still in progress?
<Glanzmann> ep0x: Debian chromium is still on version 101. IIRC 102 has the patch.
<Glanzmann> But yes, 102 was released yesterday apparantly.
<ep0x> ungoogle is 102 so ill try :D
<ep0x> i hope ill touch the sky :D
ep0x has quit [Quit: Page closed]
ciggi has quit [Read error: Connection reset by peer]
ciggi has joined #asahi
winter has quit [Quit: The Lounge - https://thelounge.chat]
winter has joined #asahi
al3xtjames has quit [Quit: Ping timeout (120 seconds)]
al3xtjames has joined #asahi
tired- has quit [Quit: /]
Glanzmann has quit [Quit: EOF]
tired- has joined #asahi