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
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jakebot has joined #asahi
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
<M0x8FFshulkk[m]> is U-Boot a grub replacement?
<M1bn3mar[m]> 0x8FF / shulkk: no
Moprius has quit [Quit: Konversation terminated!]
PhilippvK has joined #asahi
<chadmed> Sobek[m]: i dont think theres much research left to do in terms of hetergeneous scheduling on linux. we know how to do it, and its probably about as good as software scheduling for these things can get
<chadmed> we use a normalised performance scaling factor (nominally DMIPS/MHz but its just a dimensionless number representing the performance ratio between the core types)
<chadmed> the problem is you cant really heavily optimise the scheduler for one system/set of cores or another because the kernel runs on such diverse hardware
phiologe has quit [Ping timeout: 480 seconds]
<nicolas17> maybe there's stuff to do in userland
<nicolas17> like can a process say "I'm not time critical so leave me on the efficiency cores"?
<chadmed> if you wanted to optimise the software scheduler any further, you _could_ maybe rewrite the kernel system to just be a generic "give thread to x processor" mechanism that gets called by a vendor-specific scheduler driver but then you have approximately one morbillion schedulers for 3 squillion different SoCs
<chadmed> all of which have to be maintained independently and you lose the collective benefit of scheduler improvements with how its done currently (generic mechanism everyone uses)
<chadmed> for high performance heterogeneous SoCs, vendors are probably going to start making greater use of hardware scheduling like Intel have done for Alder Lake
<chadmed> in high performance chips that dont need to as aggressively save power, you can sacrifice some of the power budget to a scheduler for an uplift in performance from more fine grained scheduling than the generic kernel mechanism can handle which improves occupancy
<nicolas17> I saw a proposal for temperature-aware scheduling (on homogeneous CPUs), any idea what happened to that?
<nicolas17> like run on the core that happens to be cooler right now
<nicolas17> which would spread the heat across the chip, avoid sticking into one core which is already thermal-throttling and move to another
<chadmed> in terms of priority hinting for the scheduler, this is already implemented kind-of via niceness and i think there was some experimentation with explicit scheduler hinting added in code but idk what happened to that
<chadmed> that thermal stuff sounds like something that would be a good fit for a hardware scheduler tbh
<chadmed> the more of this sort of logic you jam into the kernel the more dependencies you need to compile in (sensor drivers etc) which sort of brings up the lowest possible latency for any given system
<chadmed> if our goal is to optimise for performance and hardware block occupancy making the kernel chew through cycles deciding stuff like that is not a really good use of an AP's time
Telvana has quit []
user982492 has joined #asahi
Telvana has joined #asahi
<nicolas17> looks like this is for when the thermal throttling is *also* done by software?
<chadmed> this sounds very overengineered and cumbersome for SoCs that do not already rely on the kernel for performance statistics and power control
<chadmed> reading the LPC slide deck, it doesnt even sound useful outside of thermally throttled environments
<chadmed> "thermal pressure" is just a measure of the relative drop in performance caused by thermal throttling
Telvana has quit []
Telvana has joined #asahi
nicolas17_ has joined #asahi
nicolas17 has quit [Read error: Connection reset by peer]
nicolas17_ is now known as nicolas17
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
robinp_ has joined #asahi
robinp has quit [Ping timeout: 480 seconds]
odyssey28[m] has joined #asahi
dlromw^ has quit [Remote host closed the connection]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
ricorambo has joined #asahi
ricorambo has quit []
ricorambo[away] has joined #asahi
ricorambo[away] has quit [Quit: Coyote finally caught me]
ricorambo[away] has joined #asahi
ricorambo[away] has quit [Quit: Coyote finally caught me]
nicolas17 has quit [Quit: Konversation terminated!]
w12101111 has joined #asahi
<weapon_of_nix[m]> is there a way to see cpu temp? lm-sensors doesn't
<mps> weapon_of_nix[m]: /sys/devices/virtual/thermal/thermal_zone0/temp
<weapon_of_nix[m]> <nicolas17> "weapon_of_nix: Linux already..." <- would be awesome to have a command that could disable all performance cores/efficiency cores on demand. i know it's easy to do per process but it's more of a pain to globally disable
<weapon_of_nix[m]> <mps> "weapon_of_nix: /sys/devices/..." <- doesn't appear accurate or this is a case temp sensor
<weapon_of_nix[m]> yeah it seems to be reading the battery temp
<weapon_of_nix[m]> macsmc_battery-virtual-0
<mps> yes
<mps> that is what I use to show temp, though it is no proper one but get some hints about temp on machine
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LinuxM1 has joined #asahi
user982492 has joined #asahi
LinuxM1 has quit [Quit: Leaving]
abbe has quit [Remote host closed the connection]
abbe has joined #asahi
bisko has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
giskard has joined #asahi
w12101111 has quit [Remote host closed the connection]
<m1n1m4[m]> hello all, found that mplayer works from the console and it plays an mp4 there but the colors are all wrong. Could it be because of the raster thing? I tried all the output modes, none of them shows the correct "pallette" for the vid.
<m1n1m4[m]> Thanks
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
<mps> minecrell: not sure for mplayer but 'mpv -vo tct' works fine
<mps> minecrell: sorry, I mean m1n1m4[m]
<mps> (it is really 'strange' when people use cryptic nick, playing hackers roles)
<mps> m1n1m4[m]: also 'mpv -vo drm' can be used on console, better than tct
FakeShell[m] has joined #asahi
<m1n1m4[m]> <mps> "minecrell: not sure for mplayer..." <- hmm i get "error opening/initializing the video out device" seems i am missing some xorg cfg or something. I did not get to install the xfce, do i need to?
<m1n1m4[m]> Thanks mps BTW i am not a hacker, the name was chosen to connect also with the project and my idea of install only what you need and use.
<m1n1m4[m]> s/you/i/
<m1n1m4[m]> in fact i got a minimalistic white t-shirt from a friend last week 😁
<m1n1m4[m]> m1n1m4[m]: normal t-shirt with only those words
al3xtjames6 has joined #asahi
al3xtjames has quit [Ping timeout: 480 seconds]
al3xtjames6 is now known as al3xtjames
<m1n1m4[m]> so the only outputs that are working are the rasters. all the others give me the same message "error opening/initilizing the video out device"
<m1n1m4[m]> m1n1m4[m]: but the colors are mixed, could it be from the depth of color of the console?
<m1n1m4[m]> * the console video mode?
<mps> m1n1m4[m]: mpv can work without xorg or wayland, i.e. only on console
<mps> but I don't know will mplayer also work
<m1n1m4[m]> mps: ah, they are different, i thought you were abbreviating, will install mpv then. brb. Thanks
<m1n1m4[m]> ok i get error: XDG_RUNTIME_DIR not set in the environment
<m1n1m4[m]> MESA-LOADER: failed to open simpledrm: error loading shared library /usr/libs/xorg/modules/dri/simpledrm.dri.so
<m1n1m4[m]> ( no such file or directory )
<m1n1m4[m]> failed to load driver simpledrm
<m1n1m4[m]> i looked for it and it seems that qt libs were recently replaced with simpledrm on alpine
<m1n1m4[m]> however could not find a package whose name resembled "simpledrm"
<mps> afaik mesa doesn't have simpledrm driver
<mps> but I think it is not needed if mpv plays on console
<m1n1m4[m]> ok i installed xorg to be able to use ff
<mps> m1n1m4[m]: are you sure you are running it from console, stupid question but
<m1n1m4[m]> i could have a separate env on a alternate boot
<m1n1m4[m]> yes i am
<m1n1m4[m]> do you want a package list?
<mps> no, please :)
<m1n1m4[m]> ahaha
<j`ey> m1n1m4[m]: so youre not running a terminal inside X?
<j`ey> but from the actual console
<mps> for example I don't have XDG_RUNTIME_DIR env and everything works
<m1n1m4[m]> hmmm. I will restart and run it before ff
<m1n1m4[m]> because i use xinit to run ff
<m1n1m4[m]> brb
<mps> so my guess was right ;)
<mps> m1n1m4[m] probably mixed X terminal with console
chadmed has joined #asahi
<m1n1m4[m]> mps: rebooted and without starting x from the same console the error is still the same.
<m1n1m4[m]> i wonder if it is possible to list full dependency tree for mpv, clearly i am missing smt on the system, no?
<m1n1m4[m]> mps: what do you think?
<mps> m1n1m4[m]: apk add mpv pulls all needed libraries
<m1n1m4[m]> <mps> "m1n1m4! probably mixed X..." <- X is not fully intalled on my system, it only has enough to run ff
<j`ey> m1n1m4[m]: can you paste the command line you are using?
<mps> m1n1m4[m]: if you got XDG_RUNTIME_DIR not set in the environment that means you don't run mpv on console
<m1n1m4[m]> mpv test.avi
<m1n1m4[m]> sorry
<m1n1m4[m]> mpv test.mp4
<mps> 'mpv -vo drm test.mp4'
<m1n1m4[m]> mps: cool brb
<m1n1m4[m]> PERFECT! Fullscreen, all colors there!!!
<m1n1m4[m]> thanks again guys have a wonderful weekend!!!
<m1n1m4[m]> ops sorry to bug you again, no sound.. I am using mc book air M1 2020
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
<m1n1m4[m]> i am using headphones, is there a param for audio output there on mpv?
<mps> 'mpv -vo drm -ao alsa test.mp4'
<m1n1m4[m]> cool brb
<mps> but you must first run alsamixer and set some widgets there
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
<m1n1m4[m]> <mps> "but you must first run alsamixer..." <- yes, installed alsa and all the tricks there from the alpine linux page and it is working beautifully!
<m1n1m4[m]> thanks again!!!
<m1n1m4[m]> BTW i have all the setup documented, if needed i can share it with anyone interested. "Back2Console"!
<m1n1m4[m]> sorry if i am out of topic
<mps> m1n1m4[m]: it would be nice if you can post what is options are needed for alsa to work, someone new will need it
<m1n1m4[m]> mps: Sure, just follow here https://wiki.alpinelinux.org/wiki/ALSA
<mps> heh
<mps> I mean specifics for m1
<m1n1m4[m]> its the same
<m1n1m4[m]> i had no sound, followed the guide and now i do
<mps> ok
<m1n1m4[m]> Ah, forgot... I skipped the two last lines because i do not need it to run all the time
<m1n1m4[m]> so i did not start the service nor added it to the update
<m1n1m4[m]> <mps> "'mpv -vo drm -ao alsa test.mp4'" <- then i did this and BANG! All is working PERFECT!!!
<m1n1m4[m]> thanks
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
<m1n1m4[m]> Another dumb question, how do i switch between consoles? Could not figure the key sequence... Thanks
<mps> Alt+Fx where x is console (vt) number
<mps> hmm, Alt is option or command key
<j`ey> I think its option
<Cy8aer[m]> if you not change something in `/sys/module/hid_apple/parameters/`...
<Cy8aer[m]> ... e. g. to have a more iso layout.
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
<Cy8aer[m]> If you play around with graphical environments it is Ctrl-Alt-Fx
mizuhiki has joined #asahi
<mizuhiki> hello
<mizuhiki> is there anyone online?
<mizuhiki> exit
mizuhiki has quit []
mizuhiki has joined #asahi
mizuhiki has quit []
mizuhiki[m] has joined #asahi
mizuhiki has joined #asahi
<mizuhiki> hello
<mizuhiki> cool it does work
<mizuhiki[m]> test
mizuhiki has quit []
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
Polo has joined #asahi
Polo has quit []
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
w12101111 has joined #asahi
Ry_Darcy has joined #asahi
<matqua[m]> Hello mizuhiki
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
Moprius has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
bisko has joined #asahi
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
bisko has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
Techcable has quit [Read error: Connection reset by peer]
Techcable has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
wCPO6 has quit []
c10l has quit [Remote host closed the connection]
le0n has quit [Quit: see you later, alligator]
c10l has joined #asahi
jato has quit [Quit: ZNC - https://znc.in]
le0n has joined #asahi
imobilis_ has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
wCPO6 has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
jato has joined #asahi
imobilis has quit [Ping timeout: 480 seconds]
imobilis_ is now known as imobilis
c10l has joined #asahi
c10l has quit [Read error: Connection reset by peer]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
nicolas17 has joined #asahi
eroux has joined #asahi
eroux has quit []
w12101112 has joined #asahi
w12101111 has quit [Read error: No route to host]
w12101112 is now known as w12101111
NekomimiScience has quit [Quit: Updating details, brb]
NekomimiScience has joined #asahi
dlromw^ has joined #asahi
Axenntio has joined #asahi
Axenntio has left #asahi [#asahi]
Axenntio has joined #asahi
Axenntio has quit [Quit: Textual IRC Client: www.textualapp.com]
Axenntio has joined #asahi
dlromw^ has quit [Ping timeout: 480 seconds]
Axenntio has quit []
bisko has joined #asahi
bisko has quit [Ping timeout: 480 seconds]
Axenntio has joined #asahi
Axenntio has quit [Quit: Axenntio]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
kylelaker has joined #asahi
al3xtjames2 has joined #asahi
al3xtjames has quit [Read error: Connection reset by peer]
al3xtjames2 is now known as al3xtjames
al3xtjames has quit [Remote host closed the connection]
al3xtjames has joined #asahi
user982492 has joined #asahi
w12101111 has quit [Remote host closed the connection]
w12101111 has joined #asahi
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bisko has joined #asahi
bisko has quit [Ping timeout: 480 seconds]
RevHelix has quit [Read error: Connection reset by peer]
RevHelix has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nico_32[m] has joined #asahi
bisko has joined #asahi
bisko has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
MajorBiscuit has quit [Quit: WeeChat 3.4]
user982492 has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al3xtjames1 has joined #asahi
al3xtjames has quit [Read error: Connection reset by peer]
al3xtjames1 is now known as al3xtjames
bpye has quit [Ping timeout: 480 seconds]
jakebot7 has joined #asahi
jakebot has quit [Read error: Connection reset by peer]
jakebot7 is now known as jakebot
everfree has quit [Quit: leaving]
everfree has joined #asahi
yuyichao_ has joined #asahi
PedroMandello[m] has joined #asahi
PedroMandello[m] is now known as Diretorium[m]
bpye has joined #asahi
user982492 has joined #asahi
Techcable has quit [Remote host closed the connection]
Techcable has joined #asahi