ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
pthariensflame has joined #asahi-alt
pthariensflame has quit []
pthariensflame has joined #asahi-alt
pthariensflame has quit []
pthariensflame has joined #asahi-alt
pthariensflame has quit []
fugi has quit [Quit: Ping timeout (120 seconds)]
fugi has joined #asahi-alt
clandmeter0 has joined #asahi-alt
clandmeter has quit [Ping timeout: 480 seconds]
clandmeter0 is now known as clandmeter
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-alt
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-alt
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-alt
deflated8837 has quit [synthon.oftc.net weber.oftc.net]
skippypaws has quit [synthon.oftc.net weber.oftc.net]
pipppero has quit [synthon.oftc.net weber.oftc.net]
tpw_rules has quit [synthon.oftc.net weber.oftc.net]
_alice has quit [synthon.oftc.net weber.oftc.net]
robher has quit [synthon.oftc.net weber.oftc.net]
mokou has quit [synthon.oftc.net weber.oftc.net]
Manouchehri_ has quit [synthon.oftc.net weber.oftc.net]
steev has quit [synthon.oftc.net weber.oftc.net]
arnd has quit [synthon.oftc.net weber.oftc.net]
deflated8837 has joined #asahi-alt
tpw_rules has joined #asahi-alt
pipppero has joined #asahi-alt
skippypaws has joined #asahi-alt
arnd has joined #asahi-alt
robher has joined #asahi-alt
Manouchehri_ has joined #asahi-alt
_alice has joined #asahi-alt
steev has joined #asahi-alt
mokou has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
mikelee has quit [Remote host closed the connection]
<jtolio>
I'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
<jtolio>
kwin_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?
<opticron>
My first inclination would be to try it on the reference distro
<opticron>
and see if it does the same thing
<jtolio>
sure, 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?
<jtolio>
maybe 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
<ChaosPrincess>
so, that function is technically a part of mesa
<ChaosPrincess>
but why is it calling it in the first place
<ChaosPrincess>
is it doing something super stupid like grabbing a swizzled texture and then converting it on cpu?
<ChaosPrincess>
but why spin in driverGetExtensionsThen
<ChaosPrincess>
idgi
<jtolio>
this 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
mikelee has quit [Ping timeout: 480 seconds]
<jtolio>
pprof also seems to think that __driDriverGetExtensions_d3d12 is calling itself
stipa has quit [Read error: Connection reset by peer]
<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 :)