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
<Sobek[m]>
Btw, watching the GPU reverse engineering talk by lina from the other day. The way she speaks (a bit fast) makes it a bit hard to follow for whomever it may concern, slow down a bit :)
<AdryzzOLEDEdition[m]>
you can slow it down and there are also autogenerated subtitles btw
<Sobek[m]>
Yeah now the autogen subtitles are available, but they could do with some manual copy editing ^^'
Gaspare has quit [Quit: Gaspare]
<Sobek[m]>
Random thought, can OpenGL be implemented using Metal as a backend ? (And thus use the stables APIs on macOS)
<jannau>
Sobek[m]: macos still has OpenGL although deprecated. it would also not help with linux/*bsd driver
<Sobek[m]>
Basically for Linux drivers we want mesa talking with the linux kernel API.
<Sobek[m]>
Rn we have a mesa talking to the unstable macos kernel API developed by Alys.sa, which could allow for an opensource maintained up to date OpenGL implem, if it weren't likely to break on macOS updates. Impelmenting the OpenGL stuff in term of Metal (like MoltenVK does with Vulkan) would however be maintainable.
<Sobek[m]>
Obviosly this would not be useful for Linux, granted
<VinDuv>
IIRC the MoltenVK developers also maintain an OpenGL-to-Metal driver
<jannau>
I don't think anyone here has the goal to write an macos opengl user space drive
<jannau>
mesa as zink as opengl to vulkan driver as well
<Sobek[m]>
:D
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi-gpu
<yuni>
lina: So proud of you <3
<yuni>
Sobek[m]: AFAIK, the OpenGL driver Apple ships on the M1 is mostly translating to Metal inside.
<yuni>
Although it does advertise some hardware features that Metal does not (like wide lines), not sure if there are extra special private Metal APIs for Apple :p
<yuni>
I believe some people are shipping Zink-on-MoltenVK, as jannau said
<yuni>
But yeah, our goal is supporting (OpenGL and Vulkan) on Linux.
<yuni>
The macOS support in Mesa is strictly for developers.
<yuni>
And will mostly be obsoleted as Lina makes more progress ^_^