#
#asahi · 2023-01-09 11:18
chadmed_i guess it just doesnt really know how to deal with a soc thats asymmetrical in the opposite direction to whats usually found on these types of things. having so many more pcores than ecores is kind of unusual. i suspect it will work far better on a base m1
#asahi · 2023-01-09 11:17
chadmed_ultimately the scheduler is still broken, if the ecores are running into stalls that frequently it should be moving stuff like pipewire off them
#asahi · 2023-01-09 11:16
chadmed_thats far more noticeable than baloo taking a bit longer to index files or whatever, so we tell the scheduler to make that stuff wait for pipewire
#asahi · 2023-01-09 11:15
chadmed_thats not really noticeable for background tasks/whatever kernel workers are doing, but with pipewire it causes audible stalling
#asahi · 2023-01-09 11:14
chadmed_well the problem at the moment is more that threads are stalling waiting for time on the ecores
#asahi · 2023-01-09 11:11
psykosein relatively sure the nice value doesn't do anything at all there
#asahi · 2023-01-09 11:05
chadmed_now to make pipewire stop trying to rely on dbus rtkit
#asahi · 2023-01-09 11:05
chadmed_with a slightly lower capacity factor on the ecores (based on coremarks/mhz) reniceing pipewire to -11 fixes things mostly
#asahi · 2023-01-09 09:22
regalramphi, how much work is left in the development of the GPU driver for M1 chips? is there still room for new contributors?
#asahi · 2023-01-09 09:07
chadmed_i think the scheduler needs some work
#asahi · 2023-01-09 09:07
chadmed_fluidsynth get stuffed up so hard that it actually misses notes...
#asahi · 2023-01-09 08:36
chadmed_or hell even just fix whatever is preventing pipewire from setting itself as a realtime thread
#asahi · 2023-01-09 08:35
chadmed_someone much smarter than i probably needs to fix the scheduler ;)
#asahi · 2023-01-09 08:35
psykosewasn't there some affinity apis things could use to be more sticky in general
#asahi · 2023-01-09 08:34
psykosei am mostly joking but it would also probably fix the issue in a bad way :p
#asahi · 2023-01-09 08:34
psykosenah, you'd have to edit whatever starts pipewire to do numactl -C something pipewire ..
#asahi · 2023-01-09 08:33
chadmed_is that a systemd command?
#asahi · 2023-01-09 08:33
psykosemodern problems, modern solutions, etc etc
#asahi · 2023-01-09 08:33
psykose:)
#asahi · 2023-01-09 08:32
psykosenumactl -C <core number> would probably help
#asahi · 2023-01-09 08:22
chadmed_it wouldnt even be noticeable if it werent for pipewire tbh, not even renice-ing it and wireplumber to -20 helps...
#asahi · 2023-01-09 08:22
chadmed_alyssa: heh yeah....
#asahi · 2023-01-09 04:59
alyssaah, same as every other big.little soc on mainline (-:
#asahi · 2023-01-09 04:59
alyssachadmed: "its slow to move active/priority threads to the P cores and the transition takes forever which results in hitching "
#asahi · 2023-01-09 01:21
kallistiAnother Asahi question. Does Asahi with the plasma desktop use SDDM as the login manager? I can't see how different desktop envs are configured via SDDM. I am trying to figure out how to set environment vars for each respective desktop environment
#asahi · 2023-01-09 00:30
kallistibrb
#asahi · 2023-01-09 00:28
kallistiYeah not sure regarding the segfault when greping via /. But ended up finding it in /etc/profile.d/ . Not sure why I didn't find it there before. Big shame on family...
#asahi · 2023-01-09 00:26
psykosenot good
#asahi · 2023-01-09 00:26
psykoseuhh
#asahi · 2023-01-09 00:21
kallistipsykose: ahh yeah, forget that greping from / seems to cause a segfault http://pastie.org/p/6ECGdeiLjVXcnze5uS0Sm4 . Perhaps that's why I'm not finding it.
#asahi · 2023-01-09 00:16
kallistiI was trying something like that with grep -rni but let me try again...
#asahi · 2023-01-09 00:08
psykosegrep -r LIBGL_ALWAYS_SOFTWARE /
#asahi · 2023-01-09 00:04
kallistiI seem to have `LIBGL_ALWAYS_SOFTWARE=1` set across all my shells / terminals. I have been grepping around the filesystem but I am not sure where this is being set. Is there something I'm missing? I think I checked the "usual places" `~/.zshrc` `~/.profile` `~/.bashrc` `~/.bash_profile` `~/.bash_rc` `/etc/profile.d/*` `/etc/profile` , etc.
#asahi · 2023-01-08 20:59
chadmed_the actual distribution of threads is similar to what macos does now so its a step in the right direction
#asahi · 2023-01-08 20:55
chadmed_its slow to move active/priority threads to the P cores and the transition takes forever which results in hitching
#asahi · 2023-01-08 20:54
chadmed_ive managed to capture accurate power consumption measurements for the cores which we were blocking on, but the scheduler just kinda isnt very good :/
#asahi · 2023-01-08 20:54
chadmed_aurelian: im actually working on energy-aware scheduling at the moment
#asahi · 2023-01-08 18:57
jannaulast night someone in #asahi-re was interested in looking into VRR / pro-motion
#asahi · 2023-01-08 18:54
mpsjannau: I trust you so not in urgency to revert, and all works fine for me anyway
#asahi · 2023-01-08 18:53
jannauwhich means that it is not going to work with the current Xorg
#asahi · 2023-01-08 18:52
jannaufeel free to revert the commit and test. from my understanding of how pro-motion works on macos I would expect that dcp has to do special things to refresh the display more than 60 times per second
#asahi · 2023-01-08 18:49
aurelianI was also wondering there are potential scheduler tweaks to use the E-cores more. When idling, I see firefox getting scheduled on the P-cores and ramping up their frequency
#asahi · 2023-01-08 18:48
jannauxrandr just reports what the drm/kms mode says
#asahi · 2023-01-08 18:46
mpsI remember that xrandr show 120 Hz
#asahi · 2023-01-08 18:45
mpsah, that is
#asahi · 2023-01-08 18:44
jannauit was not working! the 120 Hz mode was limited to 60 swaps per second
#asahi · 2023-01-08 18:43
mpsalso I'm tempted to revert this commit and test
#asahi · 2023-01-08 18:43
aurelianyea I figured
#asahi · 2023-01-08 18:43
mpsit is intentionally forced to 60Hz
#asahi · 2023-01-08 18:42
aurelianoh interesting

plus ›