#
…

2022-05-07

00:09user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:09jakebot has joined #asahi
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi
01:51M0x8FFshulkk[m]is U-Boot a grub replacement?
01:52M1bn3mar[m]0x8FF / shulkk: no
01:58Moprius has quit [Quit: Konversation terminated!]
02:23PhilippvK has joined #asahi
02:25chadmedSobek[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
02:26chadmedwe use a normalised performance scaling factor (nominally DMIPS/MHz but its just a dimensionless number representing the performance ratio between the core types)
02:26chadmedthe 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
02:27phiologe has quit [Ping timeout: 480 seconds]
02:28nicolas17maybe there's stuff to do in userland
02:28nicolas17like can a process say "I'm not time critical so leave me on the efficiency cores"?
02:29chadmedif 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
02:29chadmedall 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)
02:31chadmedfor high performance heterogeneous SoCs, vendors are probably going to start making greater use of hardware scheduling like Intel have done for Alder Lake
02:32chadmedin 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
02:33nicolas17I saw a proposal for temperature-aware scheduling (on homogeneous CPUs), any idea what happened to that?
02:33nicolas17like run on the core that happens to be cooler right now
02:34nicolas17which would spread the heat across the chip, avoid sticking into one core which is already thermal-throttling and move to another
02:34chadmedin 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
02:35chadmedthat thermal stuff sounds like something that would be a good fit for a hardware scheduler tbh
02:36chadmedthe 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
02:36chadmedif 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
02:37Telvana has quit []
02:38user982492 has joined #asahi
02:40Telvana has joined #asahi
02:40nicolas17looks like this is for when the thermal throttling is *also* done by software?
02:43chadmedthis sounds very overengineered and cumbersome for SoCs that do not already rely on the kernel for performance statistics and power control
02:46chadmedreading the LPC slide deck, it doesnt even sound useful outside of thermally throttled environments
02:46chadmed"thermal pressure" is just a measure of the relative drop in performance caused by thermal throttling
02:50Telvana has quit []
02:52Telvana has joined #asahi
03:15nicolas17_ has joined #asahi
03:15nicolas17 has quit [Read error: Connection reset by peer]
03:16nicolas17_ is now known as nicolas17
03:25kov has quit [Quit: Coyote finally caught me]
03:26kov has joined #asahi
03:27robinp_ has joined #asahi
03:34robinp has quit [Ping timeout: 480 seconds]
03:38odyssey28[m] has joined #asahi
03:50dlromw^ has quit [Remote host closed the connection]
04:00marvin24 has joined #asahi
04:04marvin24_ has quit [Ping timeout: 480 seconds]
04:20chadmed has quit [Ping timeout: 480 seconds]
05:14ricorambo has joined #asahi
05:16ricorambo has quit []
05:16ricorambo[away] has joined #asahi
05:31ricorambo[away] has quit [Quit: Coyote finally caught me]
05:37ricorambo[away] has joined #asahi
05:44ricorambo[away] has quit [Quit: Coyote finally caught me]
06:08nicolas17 has quit [Quit: Konversation terminated!]
06:23w12101111 has joined #asahi
06:32weapon_of_nix[m]is there a way to see cpu temp? lm-sensors doesn't
06:34mpsweapon_of_nix[m]: /sys/devices/virtual/thermal/thermal_zone0/temp
06:34weapon_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
06:41weapon_of_nix[m]<mps> "weapon_of_nix: /sys/devices/..." <- doesn't appear accurate or this is a case temp sensor
06:45weapon_of_nix[m]yeah it seems to be reading the battery temp
06:46weapon_of_nix[m]macsmc_battery-virtual-0
06:49mpsthat is what I use to show temp, though it is no proper one but get some hints about temp on machine
07:06user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:08LinuxM1 has joined #asahi
07:17user982492 has joined #asahi
07:22LinuxM1 has quit [Quit: Leaving]
07:24abbe has quit [Remote host closed the connection]
07:24abbe has joined #asahi
07:47bisko has joined #asahi
07:55user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:55bisko has quit [Ping timeout: 480 seconds]
08:15jluthra has quit [Remote host closed the connection]
08:15jluthra has joined #asahi
08:19giskard has joined #asahi
08:19w12101111 has quit [Remote host closed the connection]
08:26m1n1m4[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.
08:31c10l has quit [Remote host closed the connection]
08:31c10l has joined #asahi
08:31mpsminecrell: not sure for mplayer but 'mpv -vo tct' works fine
08:32mpsminecrell: sorry, I mean m1n1m4[m]
08:34mps(it is really 'strange' when people use cryptic nick, playing hackers roles)
08:38mpsm1n1m4[m]: also 'mpv -vo drm' can be used on console, better than tct
08:39FakeShell[m] has joined #asahi
08:41m1n1m4[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?
08:41m1n1m4[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.
08:42m1n1m4[m]in fact i got a minimalistic white t-shirt from a friend last week 😁
08:43m1n1m4[m]m1n1m4[m]: normal t-shirt with only those words
08:43al3xtjames6 has joined #asahi
08:47al3xtjames has quit [Ping timeout: 480 seconds]
08:47al3xtjames6 is now known as al3xtjames
08:47m1n1m4[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"
08:48m1n1m4[m]m1n1m4[m]: but the colors are mixed, could it be from the depth of color of the console?
08:48m1n1m4[m]* the console video mode?
08:48mpsm1n1m4[m]: mpv can work without xorg or wayland, i.e. only on console
08:48mpsbut I don't know will mplayer also work
08:49m1n1m4[m]mps: ah, they are different, i thought you were abbreviating, will install mpv then. brb. Thanks
08:58m1n1m4[m]ok i get error: XDG_RUNTIME_DIR not set in the environment
08:59m1n1m4[m]MESA-LOADER: failed to open simpledrm: error loading shared library /usr/libs/xorg/modules/dri/simpledrm.dri.so
08:59m1n1m4[m]( no such file or directory )
08:59m1n1m4[m]failed to load driver simpledrm
09:00m1n1m4[m]i looked for it and it seems that qt libs were recently replaced with simpledrm on alpine
09:01m1n1m4[m]however could not find a package whose name resembled "simpledrm"
09:01mpsafaik mesa doesn't have simpledrm driver
09:02mpsbut I think it is not needed if mpv plays on console
09:03m1n1m4[m]ok i installed xorg to be able to use ff
09:03mpsm1n1m4[m]: are you sure you are running it from console, stupid question but
09:03m1n1m4[m]i could have a separate env on a alternate boot
09:04m1n1m4[m]do you want a package list?
09:04mpsno, please :)
09:04j`eym1n1m4[m]: so youre not running a terminal inside X?
09:05j`eybut from the actual console
09:05mpsfor example I don't have XDG_RUNTIME_DIR env and everything works
09:05m1n1m4[m]hmmm. I will restart and run it before ff
09:05m1n1m4[m]because i use xinit to run ff
09:05mpsso my guess was right ;)
09:07mpsm1n1m4[m] probably mixed X terminal with console
09:12chadmed has joined #asahi
09:13m1n1m4[m]mps: rebooted and without starting x from the same console the error is still the same.
09:14m1n1m4[m]i wonder if it is possible to list full dependency tree for mpv, clearly i am missing smt on the system, no?
09:14m1n1m4[m]mps: what do you think?
09:16mpsm1n1m4[m]: apk add mpv pulls all needed libraries
09:16m1n1m4[m]<mps> "m1n1m4! probably mixed X..." <- X is not fully intalled on my system, it only has enough to run ff
09:16j`eym1n1m4[m]: can you paste the command line you are using?
09:16mpsm1n1m4[m]: if you got XDG_RUNTIME_DIR not set in the environment that means you don't run mpv on console
09:17m1n1m4[m]mpv test.avi
09:17m1n1m4[m]mpv test.mp4
09:17mps'mpv -vo drm test.mp4'
09:17m1n1m4[m]mps: cool brb
09:19m1n1m4[m]PERFECT! Fullscreen, all colors there!!!
09:19m1n1m4[m]thanks again guys have a wonderful weekend!!!
09:22m1n1m4[m]ops sorry to bug you again, no sound.. I am using mc book air M1 2020
09:22c10l has quit [Remote host closed the connection]
09:22c10l has joined #asahi
09:23m1n1m4[m]i am using headphones, is there a param for audio output there on mpv?
09:23mps'mpv -vo drm -ao alsa test.mp4'
09:24mpsbut you must first run alsamixer and set some widgets there
09:45c10l has quit [Remote host closed the connection]
09:45c10l has joined #asahi
09:46m1n1m4[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!
09:46m1n1m4[m]thanks again!!!
09:48m1n1m4[m]BTW i have all the setup documented, if needed i can share it with anyone interested. "Back2Console"!
09:49m1n1m4[m]sorry if i am out of topic
09:56mpsm1n1m4[m]: it would be nice if you can post what is options are needed for alsa to work, someone new will need it
10:01mpsI mean specifics for m1
10:01m1n1m4[m]its the same
10:02m1n1m4[m]i had no sound, followed the guide and now i do
10:03m1n1m4[m]Ah, forgot... I skipped the two last lines because i do not need it to run all the time
10:04m1n1m4[m]so i did not start the service nor added it to the update
10:05m1n1m4[m]<mps> "'mpv -vo drm -ao alsa test.mp4'" <- then i did this and BANG! All is working PERFECT!!!
10:06c10l has quit [Remote host closed the connection]
10:06c10l has joined #asahi
10:12m1n1m4[m]Another dumb question, how do i switch between consoles? Could not figure the key sequence... Thanks
10:16mpsAlt+Fx where x is console (vt) number
10:17mpshmm, Alt is option or command key
10:24j`eyI think its option
10:26Cy8aer[m]if you not change something in `/sys/module/hid_apple/parameters/`...
10:26Cy8aer[m]... e. g. to have a more iso layout.
10:26c10l has quit [Remote host closed the connection]
10:26c10l has joined #asahi
10:28Cy8aer[m]If you play around with graphical environments it is Ctrl-Alt-Fx
10:35mizuhiki has joined #asahi
10:35mizuhikiis there anyone online?
10:36mizuhiki has quit []
10:37mizuhiki has joined #asahi
10:40mizuhiki has quit []
10:42mizuhiki[m] has joined #asahi
10:44mizuhiki has joined #asahi
10:44mizuhikicool it does work
10:45mizuhiki has quit []
11:09c10l has quit [Remote host closed the connection]
11:09c10l has joined #asahi
11:38Polo has joined #asahi
11:39Polo has quit []
11:52c10l has quit [Remote host closed the connection]
11:52c10l has joined #asahi
12:15w12101111 has joined #asahi
12:18Ry_Darcy has joined #asahi
12:33matqua[m]Hello mizuhiki
12:38eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:38c10l has quit [Remote host closed the connection]
12:38c10l has joined #asahi
12:38Moprius has joined #asahi
13:03c10l has quit [Remote host closed the connection]
13:03c10l has joined #asahi
13:03c10l has quit [Remote host closed the connection]
13:03c10l has joined #asahi
13:03c10l has quit [Remote host closed the connection]
13:03c10l has joined #asahi
13:03c10l has quit [Remote host closed the connection]
13:03c10l has joined #asahi
13:03c10l has quit [Remote host closed the connection]
13:14c10l has joined #asahi
13:22c10l has quit [Remote host closed the connection]
13:23c10l has joined #asahi
13:30c10l has quit [Remote host closed the connection]
13:31c10l has joined #asahi
13:31c10l has quit [Remote host closed the connection]
13:31c10l has joined #asahi
13:31c10l has quit [Remote host closed the connection]
13:31c10l has joined #asahi
13:31c10l has quit [Remote host closed the connection]
13:31c10l has joined #asahi
13:31c10l has quit [Remote host closed the connection]
13:31c10l has joined #asahi
13:31c10l has quit [Remote host closed the connection]
13:35c10l has joined #asahi
13:49Ry_Darcy has quit [Remote host closed the connection]
13:51bisko has joined #asahi
13:59c10l has quit [Quit: Bye o/]
14:00c10l has joined #asahi
14:05bisko has quit [Ping timeout: 480 seconds]
14:07c10l has quit [Quit: Bye o/]
14:10c10l has joined #asahi
14:13c10l has quit [Remote host closed the connection]
14:14c10l has joined #asahi
14:14c10l has quit [Remote host closed the connection]
14:14c10l has joined #asahi
14:16c10l has quit [Remote host closed the connection]
14:16c10l has joined #asahi
14:19c10l has quit [Remote host closed the connection]
14:19c10l has joined #asahi
14:20c10l has quit [Remote host closed the connection]
14:20c10l has joined #asahi
14:21c10l has quit [Remote host closed the connection]
14:21c10l has joined #asahi
14:23c10l has quit [Remote host closed the connection]
14:23c10l has joined #asahi
14:24c10l has quit [Remote host closed the connection]
14:25c10l has joined #asahi
14:27c10l has quit [Remote host closed the connection]
14:27c10l has joined #asahi
14:28c10l has quit [Remote host closed the connection]
14:28c10l has joined #asahi
14:30Techcable has quit [Read error: Connection reset by peer]
14:31Techcable has joined #asahi
14:50c10l has quit [Remote host closed the connection]
14:50c10l has joined #asahi
14:51wCPO6 has quit []
14:51c10l has quit [Remote host closed the connection]
14:51le0n has quit [Quit: see you later, alligator]
14:51c10l has joined #asahi
14:51jato has quit [Quit: ZNC - https://znc.in]
14:52le0n has joined #asahi
14:52imobilis_ has joined #asahi
14:52c10l has quit [Remote host closed the connection]
14:52c10l has joined #asahi
14:53wCPO6 has joined #asahi
14:53c10l has quit [Remote host closed the connection]
14:53c10l has joined #asahi
14:53c10l has quit [Remote host closed the connection]
14:54c10l has joined #asahi
14:54c10l has quit [Remote host closed the connection]
14:58jato has joined #asahi
14:58imobilis has quit [Ping timeout: 480 seconds]
15:02imobilis_ is now known as imobilis
15:09c10l has joined #asahi
15:09c10l has quit [Read error: Connection reset by peer]
15:09c10l has joined #asahi
15:09c10l has quit [Remote host closed the connection]
15:09c10l has joined #asahi
15:09c10l has quit [Remote host closed the connection]
15:23c10l has joined #asahi
15:32c10l has quit [Quit: Bye o/]
15:33c10l has joined #asahi
16:03nicolas17 has joined #asahi
16:09eroux has joined #asahi
16:09eroux has quit []
16:15w12101112 has joined #asahi
16:16w12101111 has quit [Read error: No route to host]
16:16w12101112 is now known as w12101111
16:17NekomimiScience has quit [Quit: Updating details, brb]
16:17NekomimiScience has joined #asahi
17:16dlromw^ has joined #asahi
17:20Axenntio has joined #asahi
17:24Axenntio has left #asahi [#asahi]
17:24Axenntio has joined #asahi
17:28Axenntio has quit [Quit: Textual IRC Client: www.textualapp.com]
17:28Axenntio has joined #asahi
17:30dlromw^ has quit [Ping timeout: 480 seconds]
17:31Axenntio has quit []
17:53bisko has joined #asahi
18:01bisko has quit [Ping timeout: 480 seconds]
18:18Axenntio has joined #asahi
18:41Axenntio has quit [Quit: Axenntio]
18:42c10l has quit [Quit: Bye o/]
18:46c10l has joined #asahi
19:21kylelaker has joined #asahi
19:30al3xtjames2 has joined #asahi
19:30al3xtjames has quit [Read error: Connection reset by peer]
19:30al3xtjames2 is now known as al3xtjames
19:59al3xtjames has quit [Remote host closed the connection]
20:00al3xtjames has joined #asahi
20:06user982492 has joined #asahi
20:14w12101111 has quit [Remote host closed the connection]
20:14w12101111 has joined #asahi
20:26giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
20:41bisko has joined #asahi
20:49bisko has quit [Ping timeout: 480 seconds]
20:58RevHelix has quit [Read error: Connection reset by peer]
20:58RevHelix has joined #asahi
21:06user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:14nico_32[m] has joined #asahi
21:18bisko has joined #asahi
21:26bisko has quit [Ping timeout: 480 seconds]
21:53MajorBiscuit has joined #asahi
21:59MajorBiscuit has quit [Quit: WeeChat 3.4]
22:16user982492 has joined #asahi
22:31user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:40al3xtjames1 has joined #asahi
22:40al3xtjames has quit [Read error: Connection reset by peer]
22:40al3xtjames1 is now known as al3xtjames
23:02bpye has quit [Ping timeout: 480 seconds]
23:05jakebot7 has joined #asahi
23:05jakebot has quit [Read error: Connection reset by peer]
23:05jakebot7 is now known as jakebot
23:12everfree has quit [Quit: leaving]
23:16everfree has joined #asahi
23:19yuyichao_ has joined #asahi
23:24PedroMandello[m] has joined #asahi
23:25PedroMandello[m] is now known as Diretorium[m]
23:29bpye has joined #asahi
23:34user982492 has joined #asahi
23:38Techcable has quit [Remote host closed the connection]
23:40Techcable has joined #asahi
…