#asahi · 2023-12-21 16:04
ydaltonsven: so basically the kernel pings whatever process (speakersafetyd in this case) unlocks the speakers#asahi · 2023-12-21 16:00
ydaltonisn't that the one where, if speakersafetyd panics and the kernel doesn't hear from it after ~500ms, the kernel will go into "safe" mode#asahi · 2023-12-21 16:00
j`eyI think the question is: if speakersafteyd panics because things get hot, then it gets restarted.. will it know things are hot?#asahi · 2023-12-21 15:59
sventhere's a timeout which is constantly reset by speakersafetyd that restricts the speakers to a safe limit again if it expires#asahi · 2023-12-21 15:53
ydaltonquestion: does the kernel side speaker safety implementation have a time out? like if speakersafetyd panics due to one of the speakers overheating, is there some kind of timeout to let the speakers cool down before returning back to normal flow?#asahi · 2023-12-21 15:52
j`ey(not documentation but..)#asahi · 2023-12-21 15:52
j`eythere's some structs a bit further down, which seem to correspond to the ioctls#asahi · 2023-12-21 15:50
ydaltonin drm/asahi_drm.h they're laid out but i don't see any explanation on them#asahi · 2023-12-21 15:50
ydaltonspeaking of which, where are those ioctls documented?#asahi · 2023-12-21 15:49
ydaltoni was looking at the possibility of writing a tool like that but it doesn't look like the uAPI has ioctls for that#asahi · 2023-12-21 15:40
leiodoes anything like nvtop exist for asahi/agx?#asahi · 2023-12-21 14:50
DarkShadow44_mackinda feel like I'm running my main system, so kudos to everyone involved <3#asahi · 2023-12-21 14:50
DarkShadow44_macI'm really amazed at how far asahi has come, I'm on the fedora remix since yesterday and I'm impressed on how well everything just... works#asahi · 2023-12-21 14:27
leioyeah, sorry, kind of a separate topic from me#asahi · 2023-12-21 13:50
DarkShadow44_macyeah it does. But I'm talking native ARM wine here#asahi · 2023-12-21 13:49
leiobut I thought box64 outside wine generally works with 16k pages for things?#asahi · 2023-12-21 13:48
DarkShadow44_macwell, for starters, wine (and all of windows) assumes 4k pages. I think I worked around that, but wine simply doesn't run. I wish I knew the reason behind it#asahi · 2023-12-21 13:47
leioor put otherwise - does it work fine for 64-bit x86 emulation then, i.e. WOW64?#asahi · 2023-12-21 13:47
leiocan't be that apple silicon doesn't do arm32 when it works with 4k pages; do 64-bit x86_64 stuff work with 16k pages via box64/femu?#asahi · 2023-12-21 13:46
leiowhat's the actual core reason that 16k page and wine don't work?#asahi · 2023-12-21 12:52
DarkShadow44_macwell, since I can't run smaller pages in the first place...#asahi · 2023-12-21 12:52
eilnfrom smaller pages#asahi · 2023-12-21 12:51
DarkShadow44_macperformance hit? from?#asahi · 2023-12-21 12:50
eilnDarkShadow44_mac: also expect a performance hit#asahi · 2023-12-21 12:36
DarkShadow44_macthanks for the explanation though#asahi · 2023-12-21 12:36
DarkShadow44_macwelp I just wish it wasn't so hard to figure out what exactly goes wrong#asahi · 2023-12-21 12:35
DarkShadow44_macoh I see#asahi · 2023-12-21 12:35
PaulFertserThe CPU core itself does, but not the important peripherals that are part of the SoC.#asahi · 2023-12-21 12:35
chadmedsome of the iommus rightfully cant be put into bypass mode, so you lose things like wifi #asahi · 2023-12-21 12:34
chadmednot without gross hacks, and not all hardware#asahi · 2023-12-21 12:34
DarkShadow44_macI thought the hw supports both?#asahi · 2023-12-21 12:33
PaulFertserIt's likely there wouldn't be ever due to how hw works.#asahi · 2023-12-21 12:32
DarkShadow44_macso I guess there isn't a native 4k kernel yet?#asahi · 2023-12-21 12:28
ydaltonhttps://fosstodon.org/@slp/111187832131376149#asahi · 2023-12-21 12:27
ydaltonhe's gotten steam and some steam games working, but wine itself i've had problems with#asahi · 2023-12-21 12:26
ydaltonyou also might be interested in the work of slp, who has a 4k kernel running as a lightweight virtual machine over a 16k host#asahi · 2023-12-21 12:24
ydaltons/no/not#asahi · 2023-12-21 12:23
ydaltonaccording to `apt info wine`, it's at version 8.0, which is no terribly out of date#asahi · 2023-12-21 12:20
DarkShadow44_macprobably broken due to 16k pages, but I wanted to make sure I don't waste my time investigating#asahi · 2023-12-21 12:20
DarkShadow44_maceh they're often pretty out of date. I just want wine to be running winecfg at this point#asahi · 2023-12-21 12:20
ydaltonx86 wine apps#asahi · 2023-12-21 12:19
ydaltonbut openmpt had an arm64 version, are you looking into running x86 applications?#asahi · 2023-12-21 12:18
ydaltoni was able to run openmpt and x11 forwarded it to my desktop#asahi · 2023-12-21 12:18
ydaltondunno, whatever the latest one was in the debian repos#asahi · 2023-12-21 12:18
DarkShadow44_macwhat version of Wine though?#asahi · 2023-12-21 12:16
ydalton*in a debian virtual machine#asahi · 2023-12-21 12:16
ydaltoni've run wine in a debian in a virtual machine and it works fine#asahi · 2023-12-21 12:15
DarkShadow44_macI want to test if wine has general issues on arm64 or it really is the 16k pages#asahi · 2023-12-21 12:14
ydaltondo you want to run 4k applications/x86 programs?#asahi · 2023-12-21 12:14
ydalton4k kernel is not recommended