ChanServ changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
djorz has quit [Ping timeout: 480 seconds]
kenzie7 has quit []
kenzie7 has joined #asahi-gpu
<lina> Oh so that's why xonotic kept glitching out and crashing on ultra! ^^;;
<lina> (I never got around to debugging that...)
<lina> alyssa: By the way, I left the multi-kmscube reproducer running all night and no splat, so I'm pretty sure the issue is fixed!
<alyssa> nice~
hjpm has joined #asahi-gpu
hjpm is now known as foton
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi-gpu
foton has quit [Remote host closed the connection]
<chadmed> ~30W system draw while playing maxxed out xonotic at the 14" screen's native res
<chadmed> thats nuts
<chadmed> not getting any crashes with xonotic-sdl but -glx does after a couple of minutes in game
capta1nt0ad has quit [Quit: Konversation terminated!]
<lina> Umm... does anyone have a mirror of the 21F2092 (14.2 M2) InstallAssistant.pkg? It dropped off of Apple's CDN and I can't find it... T_T
<lina> *12.4
<lina> I think I'm going to have to use DFU... ;;
ashi has joined #asahi-gpu
<ashi> lina: is this helpful? https://github.com/sinojerk/installassistant
Znullptr has quit []
<ashi> Sorry I have no idea about macOS, my M2 Air is for linux :P but it says InstallAssistant, a shell script to get the "InstallAssistant.pkg" and build "Install macOS XXX.app" for macOS you can even use it in the Recovery mode in its description ;)
<lina> No, the files are no longer available from apple...
<lina> So I need someone who already has a copy T_T
<lina> But I'm already DFUing the Mac so too late I guess
<ashi> lina: Do you need it to extract firmware files from 12.4?
<lina> No, I need it to have a full 12.4 install of macOS so I can run it under the hypervisor
<lina> We already get the firmware files in the Asahi Linux installer from the IPSW (which is available and is what i'm using to DFU now)
<lina> It just means I need to wipe the whole machine... So I get to reinstall Asahi too...
<lina> Which means the beginning of the stream is going to be a bunch of waiting ;;
Gues__________________________ has joined #asahi-gpu
<ashi> lina: Your streams are great! They will still be great with waiting! :)
<lina> Thank you <3
<ashi> Will I need stuff from 12.4 also to run your driver? I already upgraded to 13.
Dcow has joined #asahi-gpu
<lina> The Asahi installs are already using 12.4 ^^
<lina> This is just for reverse engineering
<ashi> oh okay, I was not aware that the installer pulls/installs things from 12.4 even when on a new version. Thanks and good luck with todays efforts :) - I assume you are preparing now, so I will stop bothering you :)
Dcow has quit []
Gues__________________________ has quit [Quit: Textual IRC Client: www.textualapp.com]
Dcow has joined #asahi-gpu
cylm has quit [Ping timeout: 480 seconds]
ashi has quit [Quit: Leaving]
pjakobsson has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi-gpu
Major_Biscuit has joined #asahi-gpu
capta1nt0ad has quit [Quit: Konversation terminated!]
SSJ_GZ has joined #asahi-gpu
Gues__________________________ has joined #asahi-gpu
Gues__________________________ has quit []
capta1nt0ad has joined #asahi-gpu
cylm has joined #asahi-gpu
capta1nt0ad has quit [Quit: Konversation terminated!]
capta1nt0ad has joined #asahi-gpu
maria has quit [Quit: The Lounge - https://thelounge.chat]
maria has joined #asahi-gpu
amarioguy has quit [Remote host closed the connection]
zzywysm has quit [Remote host closed the connection]
zzywysm has joined #asahi-gpu
zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
<Dementor> Congratulations on getting the M2 to work Lina!!!
Major_Biscuit has quit [Ping timeout: 480 seconds]
<Tramtrist> its a beautiful thing
<Tramtrist> ive made it my unofficaly part time job to boost lina and alyssa on Mastodon as much as possible
zzywysm has joined #asahi-gpu
<alyssa> todo: figure out how to GL_QUADS with glPolyMode(front=GL_LINE, back=GL_FILL)
erik3424 has quit [Quit: erik3424]
<alyssa> if we even can.
<alyssa> also, gl_GL_POLYGONS
<alyssa> for the fillModeNonSolid feature in Vulkan too
artemist has quit [Quit: artemist]
<jannau> 8 GPU core M2 works as well
Dcow has quit [Remote host closed the connection]
<alyssa> jannau: how much apple hardware do you have? o_o
<sven> he’s competing with marcan apparently ;)
<alyssa> sven: what arm macs do you have
<sven> just m1 MacBook Air and m1 mini
<alyssa> damn that's more than me
<sven> I only got the mini as a uart adapter
<sven> and then used that to write dwc3 support. I could only use the air now
Dcow has joined #asahi-gpu
Dcow has quit [Remote host closed the connection]
<alyssa> GL_POLYGONS seems to hit a compute shader
<alyssa> and then the actual draw has an impossibly small number of quads
<alyssa> GPU side translation i guess
<jannau> err, forget that. there is no 8 core gpu model of the m2 mbp 13". so at least too much apple hw to keep track of the configurations
<alyssa> :_d
<alyssa> for LINES, LINES --
<alyssa> unk fill lines set, polygon mode set to lines, lines or points set, object type set to 5, fragment face 2 gets bit 18 set
<alyssa> by symmetry bit 18 of fragment face 2 is part of polygon mode, so...??
<alyssa> by appeal to powervr, object type 5 in powervr is LINE_FILLED_TRIANGLE which sounds right
<alyssa> "unk fill lines" and "lines or points" appear to be mirrors
Dcow has joined #asahi-gpu
<alyssa> for POINTS< POINTS
<alyssa> point size is now written from the shader
<alyssa> both polygon mode to Point
<alyssa> bit 19 of frag face 2 set
<alyssa> (more evidence for the duals)
<alyssa> object type is 6 which in powervr is POINT_FILLED_TRIANGLE which sounds right
<alyssa> so interestly, "lines or points" / "unk fill lines" aren't set in this case
<alyssa> LINES, POINTS does something odd
<alyssa> point size written from the VS
<alyssa> but with some lowering happening that I don't immediately recognize
<alyssa> "unk fill lines" / "lines or points" set
<alyssa> polygon mode on both faces is lines
<alyssa> objecct type is POINT_SPRITE_UV_10
<alyssa> bafflingly
<alyssa> back face culling is enabled
<alyssa> front faces are flipped
<alyssa> we're drawing points, 256 of them instead?!
<alyssa> and then we have another draw with polygon mode point on both faces, unk fill lines, again object type points, now culling front faces, somehow drawing 256 points again?!
<alyssa> every quad in the original ends up getting lowered to its own pair of 2 draws like this
<alyssa> doing the two faces separately i guess
Dcow has quit [Ping timeout: 480 seconds]
<alyssa> so... two-sided poly modes are getting lowered I guess
<alyssa> thankfully I don't think Vulkan needs them
<jannau> x11 works, the modesetting driver just can not deal with card2 (or not card0) as kms driver
<alyssa> yeah that sounds right
<alyssa> marcan: may need to ship something like that for the reference distro..
<jannau> or I need to investigate why drm_aperture_remove_framebuffers() and devm_drm_dev_alloc() race each other
<jannau> documentation suggest that drm_aperture_remove_framebuffers should be called first but that resulted sometimes in no /dev/dri/cardX at all
Major_Biscuit has joined #asahi-gpu
pbsds0 has joined #asahi-gpu
pbsds has quit [Ping timeout: 480 seconds]
SSJ_GZ has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi-gpu
<alyssa> jannau: I've hit the same issue on panfrost+mediatek so meh
<alyssa> panfrost+rockchip seems to work but maybe only if built as modules