marcan 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
JusticeEX has quit [Ping timeout: 245 seconds]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi-gpu
JusticeEX has joined #asahi-gpu
PhilippvK has joined #asahi-gpu
phiologe has quit [Ping timeout: 260 seconds]
JusticeEX has quit [Ping timeout: 256 seconds]
phire has joined #asahi-gpu
zkrx has quit [Ping timeout: 260 seconds]
zkrx has joined #asahi-gpu
maor26 has joined #asahi-gpu
Raqbit has quit [Ping timeout: 256 seconds]
ryanhrob[m] has quit [Quit: Idle for 30+ days]
Raqbit has joined #asahi-gpu
JusticeEX has joined #asahi-gpu
tomtastic_ has joined #asahi-gpu
tomtastic has quit [Ping timeout: 245 seconds]
tomtastic_ is now known as tomtastic
Mary_ has quit [Quit: Bye!]
tomtastic has quit [Read error: Connection reset by peer]
tomtastic has joined #asahi-gpu
skg has quit [Quit: 〜バイバイ〜!]
JusticeEX has quit [Ping timeout: 260 seconds]
skg has joined #asahi-gpu
Jasper[m] has quit [*.net *.split]
chrisf has quit [*.net *.split]
feuerrot has quit [*.net *.split]
neobrain has quit [*.net *.split]
modwizcode has quit [*.net *.split]
vup has quit [*.net *.split]
dhewg has quit [*.net *.split]
Augur[m] has quit [*.net *.split]
Bastian[m] has quit [*.net *.split]
morelightning[m] has quit [*.net *.split]
jn__ has quit [*.net *.split]
rbenua has quit [*.net *.split]
cyrozap has quit [*.net *.split]
anuejn has quit [*.net *.split]
cyrozap has joined #asahi-gpu
dhewg has joined #asahi-gpu
vup has joined #asahi-gpu
anuejn has joined #asahi-gpu
modwizcode has joined #asahi-gpu
jn__ has joined #asahi-gpu
feuerrot has joined #asahi-gpu
zzoon has quit [*.net *.split]
rockinrobstar[m] has quit [*.net *.split]
AkihikoOdaki[m] has quit [*.net *.split]
svenpeter has quit [*.net *.split]
simjnd[m] has quit [*.net *.split]
yrlf has quit [*.net *.split]
varad has quit [*.net *.split]
linuxgemini has quit [*.net *.split]
richbridger has quit [*.net *.split]
prusnak has quit [*.net *.split]
Emantor has quit [*.net *.split]
prusnak has joined #asahi-gpu
varad has joined #asahi-gpu
linuxgemini has joined #asahi-gpu
yrlf has joined #asahi-gpu
richbridger has joined #asahi-gpu
chrisf has joined #asahi-gpu
RiniaOk_yama[m] has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
izzyisles[m] has quit [Ping timeout: 258 seconds]
blazra has quit [Ping timeout: 258 seconds]
winocm has quit [Ping timeout: 258 seconds]
bngs[m] has quit [Ping timeout: 240 seconds]
mofux[m] has quit [Ping timeout: 240 seconds]
Guest57260 has quit [Ping timeout: 244 seconds]
josiahmendes[m] has quit [Ping timeout: 272 seconds]
davidrysk[m] has quit [Ping timeout: 240 seconds]
OctopusET[m] has quit [Ping timeout: 240 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
hypergenesis[m] has quit [Ping timeout: 240 seconds]
cepheus has quit [Ping timeout: 240 seconds]
user1tt[m] has quit [Ping timeout: 258 seconds]
_alice has quit [Ping timeout: 258 seconds]
bylaws has quit [Ping timeout: 258 seconds]
rbenua has joined #asahi-gpu
neobrain has joined #asahi-gpu
Emantor has joined #asahi-gpu
konradybcio has quit [Ping timeout: 258 seconds]
zkrx has quit [*.net *.split]
crabbedhaloablut has quit [*.net *.split]
taowa has quit [*.net *.split]
sven has quit [*.net *.split]
HeN has quit [*.net *.split]
nkaretnikov has quit [*.net *.split]
tardyp has quit [*.net *.split]
chrisf has quit [*.net *.split]
yrlf has quit [*.net *.split]
feuerrot has quit [*.net *.split]
qyousef has quit [*.net *.split]
mxw39 has quit [*.net *.split]
pg12_ has quit [*.net *.split]
bpye has quit [*.net *.split]
theracermaster has quit [*.net *.split]
DrWhax has quit [*.net *.split]
ch3sh1r3c4t has quit [*.net *.split]
maximus65 has quit [*.net *.split]
bloom has quit [*.net *.split]
commandoline has quit [*.net *.split]
JTL has quit [*.net *.split]
mrasmus has quit [*.net *.split]
krbtgt has quit [*.net *.split]
sbingner has quit [*.net *.split]
rjeli has quit [*.net *.split]
r1fl has quit [*.net *.split]
austriancoder has quit [*.net *.split]
vijfhoek has quit [*.net *.split]
tomtastic has quit [*.net *.split]
Raqbit has quit [*.net *.split]
jix has quit [*.net *.split]
stemnic has quit [*.net *.split]
opticron has quit [*.net *.split]
chivay has quit [*.net *.split]
dougall has quit [*.net *.split]
imobilis has quit [*.net *.split]
Shiz has quit [*.net *.split]
rbenua has quit [*.net *.split]
modwizcode has quit [*.net *.split]
anuejn has quit [*.net *.split]
the-mentor3 has quit [*.net *.split]
solarkraft has quit [*.net *.split]
puhitaku has quit [*.net *.split]
Ziemas has quit [*.net *.split]
maximus64 has joined #asahi-gpu
dougall_ has joined #asahi-gpu
feuerrot has joined #asahi-gpu
krbtgt has joined #asahi-gpu
yrlf has joined #asahi-gpu
rbenua has joined #asahi-gpu
jix has joined #asahi-gpu
ch3sh1r3c4t has joined #asahi-gpu
Ziemas has joined #asahi-gpu
solarkraft has joined #asahi-gpu
anuejn has joined #asahi-gpu
bloom has joined #asahi-gpu
rbenua has joined #asahi-gpu
rbenua has quit [Changing host]
vijfhoek has joined #asahi-gpu
mrasmus_ has joined #asahi-gpu
theracermaster has joined #asahi-gpu
DrWhax has joined #asahi-gpu
mrasmus_ is now known as mrasmus
sbingner has joined #asahi-gpu
commandoline has joined #asahi-gpu
sven has joined #asahi-gpu
vijfhoek has joined #asahi-gpu
vijfhoek has quit [Changing host]
ch3sh1r3c4t has joined #asahi-gpu
ch3sh1r3c4t has quit [Changing host]
nkaretnikov has joined #asahi-gpu
tardyp has joined #asahi-gpu
tomtastic has joined #asahi-gpu
opticron has joined #asahi-gpu
taowa has joined #asahi-gpu
stemnic has joined #asahi-gpu
qyousef has joined #asahi-gpu
commandoline has joined #asahi-gpu
commandoline has quit [Changing host]
r1fl has joined #asahi-gpu
imobilis has joined #asahi-gpu
rjeli has joined #asahi-gpu
nkaretnikov has joined #asahi-gpu
nkaretnikov has joined #asahi-gpu
nkaretnikov has quit [Changing host]
JTL has joined #asahi-gpu
puhitaku has joined #asahi-gpu
HeN has joined #asahi-gpu
krbtgt has joined #asahi-gpu
krbtgt has quit [Changing host]
austriancoder has joined #asahi-gpu
Shiz has joined #asahi-gpu
sbingner has joined #asahi-gpu
sbingner has quit [Changing host]
JTL is now known as Guest63404
crabbedhaloablut has joined #asahi-gpu
mxw39 has joined #asahi-gpu
chivay has joined #asahi-gpu
chrisf has joined #asahi-gpu
zkrx has joined #asahi-gpu
pg12_ has joined #asahi-gpu
modwizcode has joined #asahi-gpu
phire has quit [*.net *.split]
phire has joined #asahi-gpu
Guest63404 is now known as JLT
JLT has quit [Quit: WeeChat 2.9]
JTL_ has joined #asahi-gpu
bngs[m] has joined #asahi-gpu
macc24 has quit [*.net *.split]
narmstrong has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
jn__ has quit [*.net *.split]
daniels has quit [*.net *.split]
balrog has quit [*.net *.split]
_whitelogger has joined #asahi-gpu
Baughn has joined #asahi-gpu
JTL_ is now known as JLT
dottedmag has joined #asahi-gpu
dottedmag has joined #asahi-gpu
neunon has quit [*.net *.split]
ar has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
jn__ has quit [*.net *.split]
modwizcode has quit [*.net *.split]
krzywix- has quit [*.net *.split]
riasue has quit [*.net *.split]
Lightsword has quit [*.net *.split]
rcombs has quit [*.net *.split]
sirn has quit [*.net *.split]
narmstrong has quit [*.net *.split]
radex1 has quit [*.net *.split]
eric_engestrom has quit [*.net *.split]
brinly has quit [*.net *.split]
titanous has quit [*.net *.split]
XeR has quit [*.net *.split]
thestr4ng3r has quit [*.net *.split]
linkmauve has quit [*.net *.split]
krzywix has joined #asahi-gpu
vlixa has joined #asahi-gpu
jn__ has joined #asahi-gpu
riatre has joined #asahi-gpu
gruetzkopf has joined #asahi-gpu
modwizcode has joined #asahi-gpu
Lightsword has joined #asahi-gpu
neunon has joined #asahi-gpu
sirn has joined #asahi-gpu
brinly has joined #asahi-gpu
radex1 has joined #asahi-gpu
narmstrong has joined #asahi-gpu
eric_engestrom has joined #asahi-gpu
titanous has joined #asahi-gpu
linkmauve has joined #asahi-gpu
XeR has joined #asahi-gpu
thestr4ng3r has joined #asahi-gpu
radex1 has quit [*.net *.split]
sirn has quit [*.net *.split]
narmstrong has quit [*.net *.split]
eric_engestrom has quit [*.net *.split]
brinly has quit [*.net *.split]
titanous has quit [*.net *.split]
XeR has quit [*.net *.split]
linkmauve has quit [*.net *.split]
thestr4ng3r has quit [*.net *.split]
ar has joined #asahi-gpu
thestr4ng3r has joined #asahi-gpu
XeR has joined #asahi-gpu
radex1 has joined #asahi-gpu
brinly has joined #asahi-gpu
titanous has joined #asahi-gpu
eric_engestrom has joined #asahi-gpu
narmstrong has joined #asahi-gpu
JLT has quit [*.net *.split]
phire has quit [*.net *.split]
pg12_ has quit [*.net *.split]
puhitaku has quit [*.net *.split]
austriancoder has quit [*.net *.split]
nkaretnikov has quit [*.net *.split]
sbingner has quit [*.net *.split]
jsvcycling_ has quit [*.net *.split]
jsvcycling_ has joined #asahi-gpu
JLT has joined #asahi-gpu
puhitaku has joined #asahi-gpu
nkaretnikov has joined #asahi-gpu
austriancoder has joined #asahi-gpu
sbingner has joined #asahi-gpu
sbingner has joined #asahi-gpu
sbingner has quit [Changing host]
sirn has joined #asahi-gpu
rcombs has joined #asahi-gpu
pg12_ has joined #asahi-gpu
JLT is now known as JTL
TheJollyRoger has quit [*.net *.split]
phire has joined #asahi-gpu
TheJollyRoger has joined #asahi-gpu
neobrain has quit [*.net *.split]
richbridger has quit [*.net *.split]
vup has quit [*.net *.split]
Necrosporus has quit [*.net *.split]
mjg59 has quit [*.net *.split]
j`ey has quit [*.net *.split]
bngs[m] has quit [*.net *.split]
linuxgemini has quit [*.net *.split]
dhewg has quit [*.net *.split]
cyrozap has quit [*.net *.split]
skg has quit [*.net *.split]
maor26 has quit [*.net *.split]
PhilippvK has quit [*.net *.split]
DarkShadow44 has quit [*.net *.split]
m42uko has quit [*.net *.split]
dhewg has joined #asahi-gpu
mjg59 has joined #asahi-gpu
m42uko_ has joined #asahi-gpu
cyrozap has joined #asahi-gpu
neobrain has joined #asahi-gpu
phiologe has joined #asahi-gpu
j`ey_ has joined #asahi-gpu
cyrozap is now known as Guest19902
Necrosporus has joined #asahi-gpu
DarkShadow44 has joined #asahi-gpu
maor26 has joined #asahi-gpu
skg has joined #asahi-gpu
richbridger has joined #asahi-gpu
vup has joined #asahi-gpu
bngs[m] has joined #asahi-gpu
bngs[m] has quit [Ping timeout: 252 seconds]
phire has quit [*.net *.split]
phire has joined #asahi-gpu
linkmauve has joined #asahi-gpu
bngs[m] has joined #asahi-gpu
Guest44411 has joined #asahi-gpu
cepheus has joined #asahi-gpu
zzoon has joined #asahi-gpu
josiahmendes[m] has joined #asahi-gpu
Jasper[m] has joined #asahi-gpu
bylaws has joined #asahi-gpu
emily has joined #asahi-gpu
winocm has joined #asahi-gpu
JJJollyjim1 has joined #asahi-gpu
OctopusET[m] has joined #asahi-gpu
morelightning[m] has joined #asahi-gpu
RiniaOk_yama[m] has joined #asahi-gpu
blazra has joined #asahi-gpu
simjnd[m] has joined #asahi-gpu
izzyisles[m] has joined #asahi-gpu
hypergenesis[m] has joined #asahi-gpu
rockinrobstar[m] has joined #asahi-gpu
_alice has joined #asahi-gpu
Augur[m] has joined #asahi-gpu
Bastian[m] has joined #asahi-gpu
AkihikoOdaki[m] has joined #asahi-gpu
davidrysk[m] has joined #asahi-gpu
svenpeter has joined #asahi-gpu
konradybcio has joined #asahi-gpu
mofux[m] has joined #asahi-gpu
user1tt[m] has joined #asahi-gpu
JusticeEX has joined #asahi-gpu
KajetanPuchalski has joined #asahi-gpu
<DarkShadow44> For who's interested: My current project is on Github at https://github.com/DarkShadow44/AsahiLinux-gpu
<DarkShadow44> Main goal will be having a shader assembler/disassembler in C, that could be plugged into LLVM for bytecode generation
<DarkShadow44> Still in its early stages though...
<DarkShadow44> Most of understanding is based on dougallj
<DarkShadow44> Does this sound like a useful undertaking to you?
<daniels> DarkShadow44: it depends on what your end goal is - ultimately the results of the GPU reverse engineering will result in a Mesa driver which uses Mesa's NIR compiler framework rather than LLVM
taowa has quit [Changing host]
taowa has joined #asahi-gpu
<daniels> NIR (like SSA) is a mostly-architecture-independent SSA IR which is good for transformations and optimisations
<daniels> each driver (and generation within the driver) though has its own custom backend IR, which is a much closer fit to assembly and disassembly
<daniels> so the short answer is that LLVM is not useful in and of itself. the driver won't use LLVM to implement a full compiler at any point; and for code generation and analysis in development, the driver will ultimately have its own bespoke backend IR, so a (dis)assembler will ultimately be targeted closer to that
<DarkShadow44> well, I'm trying to 1) have a disassembler that can turn bytecode into readable assembly (for debugging)
<DarkShadow44> and 2) to make an assembler for usage with mesa/nir
<DarkShadow44> or whatever we end up using in the end
<DarkShadow44> main part of that will be an immediate representation in form of structs that represent the operations the GPU can do
<chrisf> DarkShadow44: id encourage you to enhance things that exist rather than building yet another one, if you can
<DarkShadow44> As another abstraction, to make bytecode generation via NIR easier and more flexible when the architecture changes, e.g. with the next chips
<daniels> oh no, please don't think about future architecture generations
<daniels> if the new architecture has trivial changes, you don't need enough adaptation to have built an abstraction layer
<daniels> it it has substantial changes, your abstraction layer is just going to get in the way
<DarkShadow44> hmm depends on how much it changes
<chrisf> or at least "not another layer beyond what we will need as the backend ir"
<DarkShadow44> So you'd turn NIR code directly into G13 bytecode?
Raqbit has joined #asahi-gpu
<daniels> nope, via a backend IR - I would recommend reading the blog post above to get a reasonable idea of the lines between the three (NIR, backend IR, bytecode)
<chrisf> your instructions-as-structs model isnt wildly off
<DarkShadow44> yeah, that's my IR
<DarkShadow44> that's why I don't understand why you dislike that approach
<chrisf> you need something like this. just no *additional* layer
<DarkShadow44> layer in what sense?
j`ey_ is now known as j`ey
<chrisf> in the short term i guess it doesnt matter if you go in slightly odd directions as long as it turns "?" bits into things we understand
<DarkShadow44> well, my goal would also be to get the code upstreamed eventually
<DarkShadow44> AFAIK there's no assembler project (in C) yet
KajetanPuchalski is now known as mrkajetanp[m]
<DarkShadow44> Just need to flesh out the architekture, then I consider asking for integration
mrkajetanp[m] is now known as mrkajetanp
mrkajetanp has quit [Quit: authenticating]
mrkajetanp has joined #asahi-gpu
zkrx has quit [Ping timeout: 248 seconds]
balrog has quit [Quit: Bye]
balrog has joined #asahi-gpu
<bloom> DarkShadow44: looks like you're having fun :)
<DarkShadow44> bloom: Now that I finally figured out how device_load/store work, definitely :)
zkrx has joined #asahi-gpu
TheJollyRoger has quit [Ping timeout: 240 seconds]
bpye has joined #asahi-gpu
maor26 has quit [Quit: Leaving]
TheJollyRoger has joined #asahi-gpu
TheJollyRoger has quit [Ping timeout: 240 seconds]
TheJollyRoger has joined #asahi-gpu