#asahi-alt · 2023-07-15 03:44
AndrewYuwill use the GNU toolchain#asahi-alt · 2023-07-15 03:34
chadmedthis issue does not exist with clang/llvm #asahi-alt · 2023-07-15 03:34
chadmedin fact its kind of essential on these machines as there is a bug in gcc's cpu caps detection where it will pass assembly to the assembler that it thinks the cpu doesnt support (it does)#asahi-alt · 2023-07-15 03:33
chadmedso they dont count#asahi-alt · 2023-07-15 03:33
chadmed11* of which 5 are glibc, gcc, gdb, binutils and binutils-libs#asahi-alt · 2023-07-15 03:32
chadmedtheres like 15 packages that dont build correctly and most of them are gnu-affiliated#asahi-alt · 2023-07-15 03:32
chadmedive been using it system wide for years #asahi-alt · 2023-07-15 03:31
AndrewYuclang system toolchain was unexpected#asahi-alt · 2023-07-15 03:31
AndrewYuwow#asahi-alt · 2023-07-15 03:30
chadmed(sensible meaning clang system toolchain, -O3 -mcpu=apple-m1 -flto=thin and a mess of lld flags for relro et al)#asahi-alt · 2023-07-15 03:29
chadmedive been running gentoo exclusively now on this machine for over a year and even pushing the limits of a "sensible" gentoo rice everything works as youd expect #asahi-alt · 2023-07-15 03:28
AndrewYuthx!#asahi-alt · 2023-07-15 03:27
chadmedtheres also a guide i wrote on the wiki #asahi-alt · 2023-07-15 03:27
chadmedAndrewYu: https://github.com/chadmed/asahi-gentoosupport and https://github.com/chadmed/asahi-overlay#asahi-alt · 2023-07-12 21:34
jtolio@glanzmann I don't suppose it would be easy to have a main/source/Sources in your dpkg repository? `apt-get source libgl1-mesa-dri` would be convenient here, but i'll go get it elsehow :)#asahi-alt · 2023-07-12 21:30
jtoliopprof also seems to think that __driDriverGetExtensions_d3d12 is calling itself#asahi-alt · 2023-07-12 21:19
jtoliothis doesn't have the debug symbols (i don't know how to get debug symbols to pprof.host) but https://pprof.host/hw0g/top says that all the time is being spent in apple_dri.so. it doesn't appear that the cpu waste is happening in kwin code#asahi-alt · 2023-07-12 21:17
ChaosPrincessidgi#asahi-alt · 2023-07-12 21:17
ChaosPrincessbut why spin in driverGetExtensionsThen#asahi-alt · 2023-07-12 21:17
ChaosPrincessis it doing something super stupid like grabbing a swizzled texture and then converting it on cpu?#asahi-alt · 2023-07-12 21:07
jtoliomeanwhile, here's the window sharing version that doesn't spin out: https://github.com/KDE/kwin/blob/Plasma/5.27/src/plugins/screencast/windowscreencastsource.cpp#L43-L50#asahi-alt · 2023-07-12 21:06
jtolioaccording to pprof, this is the function that is (indirectly) calling __driDriverGetExtensions_d3d12: https://github.com/KDE/kwin/blob/Plasma/5.27/src/plugins/screencast/outputscreencastsource.cpp#L42-L48#asahi-alt · 2023-07-12 21:03
ChaosPrincessbut why is it calling it in the first place#asahi-alt · 2023-07-12 21:03
ChaosPrincessso, that function is technically a part of mesa#asahi-alt · 2023-07-12 21:03
jtoliomaybe an easier thing to try would be to pull a later build of kwin_wayland from sid, since arch has 5.27.6 kwin and debian bookworm has 5.27.5#asahi-alt · 2023-07-12 21:01
jtoliosure, though I was hoping to avoid a reinstall of everything or even partition resizing. foolish of me to have set this up as my primary workstation lol. i mean, this seems like a common enough pattern within this IRC group (share fullscreen in firefox on wayland with KDE) that perhaps someone else knows if it works for them before i go and reinstall?#asahi-alt · 2023-07-12 20:57
opticronand see if it does the same thing#asahi-alt · 2023-07-12 20:57
opticronMy first inclination would be to try it on the reference distro#asahi-alt · 2023-07-12 20:55
jtoliokwin_wayland pegs a core to 100% spending the entire time in __driDriverGetExtensions_d3d12 - 98.5% of the pprof output. So, now what? lol. I don't know if this is KDE, Asahi GPU drivers, or what. Anyone have ideas of what I should look to next to try and fix full screen sharing?#asahi-alt · 2023-07-12 20:55
jtolioI'm on @glanzmann's Debian distro on an M1 mini, using KDE on Wayland. Whenever I screenshare a window on Firefox, things work fine. However, when I try and screenshare my full screen, the compositor (kwin_wayland) spins out and pegs a core and goes unresponsive, making it pretty hard to interact with windows. I went and added gperftools' CPU profiler to a build of kwin_wayland, and the difference is when trying to share a full screen #asahi-alt · 2023-07-11 18:57
floklitpw_rules: I bumped the kernel pin to asahi-6.3-10, as well as added a flakes-compat thing, both separate PRs.#asahi-alt · 2023-07-11 07:46
chadmednilshiro: i dont think it builds properly for aarch64#asahi-alt · 2023-07-10 22:56
nilshiroany one using Hyprland WM?#asahi-alt · 2023-07-10 22:56
nilshirohello#asahi-alt · 2023-07-10 21:01
mpsquick patch is here https://tpaste.us/nkx9 if someone needs it#asahi-alt · 2023-07-10 21:00
mpsbuilding 6.3-11 kernel with rust 1.70 and rust-bindgen 0.66.1 requires fixes in rust/Makefile#asahi-alt · 2023-07-10 13:33
mpschadmed: sven: thanks for good explanation#asahi-alt · 2023-07-10 12:42
svenyeah, the biggest issue with some other distros or "tutorials" were people pushing branches that sometimes literally had "hack" or "wip" in their name to end users#asahi-alt · 2023-07-10 12:40
chadmedif you want to mirror upstream, you could have the -edge kernel as a separate package#asahi-alt · 2023-07-10 12:39
chadmedthe issue was people jumping the gun and pushing releases with every new (sometimes untested) commit or tag and then users coming to complain that something wasnt working#asahi-alt · 2023-07-10 12:38
chadmedg.fd.o asahi/mesa tags are fair game, and the source tree of whatever version of the kernel is tagged off for use in the PKGBUILD is also fair game#asahi-alt · 2023-07-10 12:37
chadmedthe idea is to discourage people from using _unreleased_ versions of the kernel and mesa #asahi-alt · 2023-07-10 11:52
mpsafaik all other distros also have all these things, only we (alpine) don't have these#asahi-alt · 2023-07-10 11:52
mpsand also asahi distro have asahi-mesa package#asahi-alt · 2023-07-10 11:51
mpsbut even official asahi distro have separate linux-asahi-edge which differs from linux-asahi only in GPU enabled#asahi-alt · 2023-07-10 11:51
mpsyes, right#asahi-alt · 2023-07-10 11:50
ncopaand im kinda waiting for the GPU to move out from the "edge" config#asahi-alt · 2023-07-10 11:49
ncopamps: re enable GPU on alpine, my impression was that upstream asahi devs were pretty unhappy that downstream distros run anything except whatever version was in https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/PKGBUILD#asahi-alt · 2023-07-08 13:01
Ry_DarcyOK, thanks. kworker/u16:2-rtkit-206400000.gpu is also doing a lot of context switching.#asahi-alt · 2023-07-08 13:01
j`ey'Submission queue management'