<bslsk05>
karimsayedre.github.io: Ray Tracing In One Weekend In CUDA
<zid>
rtx: deprecated
msv has quit [Remote host closed the connection]
msv has joined #osdev
jcea has quit [Ping timeout: 272 seconds]
Left_Turn has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
GeDaMo has joined #osdev
vdamewood has joined #osdev
frkazoid333 has quit [Ping timeout: 252 seconds]
bradd has joined #osdev
goliath has joined #osdev
Lucretia has joined #osdev
jistr has quit [Read error: Connection reset by peer]
jistr has joined #osdev
sprock has quit [Ping timeout: 252 seconds]
aaabbb has joined #osdev
Epsilon60 has joined #osdev
Epsilon60 has quit [Quit: Client closed]
osmten has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
sprock has joined #osdev
xenos1984 has joined #osdev
<nikolar>
zid: kek
<nikolar>
GPGPU LET'S GO
<zid>
to be faaaair he's using resources that would contend if you actually tried to use it for realsies in a game
<zid>
so the RT units acting as offload still helps irl
<zid>
but it shows that ultimately they're pointless, if you could have just added more shader units
<zid>
or cuda cores
<heat>
cuda cuda cuda cuda cuda cuda cuda
<nikolar>
zid: i think that rt units do some fancy reordering to improve memory access patterns nowadays
<nikolar>
so they kind of actually do something useful lol
<heat>
i mean surely they do something useful
<heat>
otherwise they wouldn't be 10x faster at doing raytracing
<heat>
(i don't know if its 10x faster, however, consider this: i don't really care, it's 9am)
<heat>
also i bought the 5070
<heat>
yay
<zid>
They're not, raytracing is all memory bound once you get it fast enough
<nikolar>
heat: rip have fun with messing with nvidia drivers
<nikolar>
fun fact, every time my coworkers had an issue with their laptops, and i was asked to help
<nikolar>
it was nvidia
<nikolar>
zid: thus the reordering thing helps
<zid>
nvidia drivers are funky lately, especially on newer cards
<zid>
but if you're using last gen on non-AAA games you won't even notice anything ime
<nikolar>
zid: how long until heat returns the card and buys amd or intel :P
<zid>
shims too stronk
<zid>
no reason?
<zid>
he plays football leg watcher simulator 2022
<nikolar>
lel
<zid>
but he wants to play it at 16k now
<nikolar>
that works with nouveveue too right :P
Left_Turn has joined #osdev
<heat>
nikolar: thanks
<heat>
i mean, i don't expect too much awfulness honestly
<nikolar>
you're welcome
<nikolar>
well no awfulness is better than not too much awfulness honestly
<heat>
is there such a thing as no awfulness?
<nikolar>
well amdgpu literally just works for me
<nikolar>
and i assume intel is no worse, though i haven't run intel (i)gpus in years
<heat>
i hear constantly (and have experienced it personally) that AMD software just sucks
<heat>
intel software also sucks now that people run AAA games on those
<nikolar>
can't say i've encountered the suck on amd
<heat>
nvidia's software is good quality, it just doesn't integrate well with the linux ecosystem at all
<nikolar>
unlike nvidia
<kof673>
there is just pessimal and less pessimal init
<kof673>
*innit
<heat>
correct
<zid>
intel still hasn't got their shit together re gpu drivers
<zid>
nvidia's are experimental and you sometimes have to wait them out
<zid>
radeon/amd was *historically* awful, but idk anymore
<nikolar>
they are fine
<nikolar>
in my experience
<nikolar>
and intel's igpu stuff was fine too
<nikolar>
like 3 years ago when i last had an intel lapotop
<zid>
intel's on their.. like.. 5th driver team
<zid>
the integrated stuff worked okay, when it was just an opengl.dll and dx9.dll
<zid>
but the proper full on gpus with PERFORMANCE and stuff?
<zid>
lots of churn and slowdowns and crashiness
<zid>
perf is getting there at least though
<aaabbb>
amdgpu is good now that rocm is a thing
<zid>
what's a rocm?
<aaabbb>
radeon open compute platform
<nikolar>
zid: rocm is amd's cuda
<zid>
so their 'cuda era'?
<zid>
right
<nikolar>
that's been a thing for a while though
<aaabbb>
well hip is amd's cuda, but rocm supports hip
<nikolar>
close enough
<aaabbb>
and although hip isn't new, they only recently started putting effort into it
<nikolar>
and it's getting fine? i think
<aaabbb>
hip is meant to be so easy that you can practically just s/cuda/hip/g your entire source code and make it valid hip
<zid>
do I still have to use C++
<aaabbb>
like cudaMalloc() and hipMalloc() have identical semantics etc
<aaabbb>
it's only a subset of c++ but yeah
<nikolar>
zid: well
<aaabbb>
you don't have to write with C++isms, you can write with no templates, nothing like that, and make it basically C
<zid>
nvidia's shit was hard to use in C but vaguely doable, but that was like 1.0
<nikolar>
it is a cuda like thing
<nikolar>
so yea
<zid>
I assume they slowly add to it
<nikolar>
aaabbb: if you use a c++ compiler, it's c++
<nikolar>
no matter how you write
<nikolar>
semantics are different
<zid>
and eventually there'sno way to use certain things from C and you're just done and have to switch
<nikolar>
zid: just write small c++ wrappers and use c :P
<nikolar>
extern "C" it baby
<zid>
yea but when people infect a codebase with C++, they end up giving you a class rather than an api
<nikolar>
i haven't looked into cuda that much
<nikolar>
bit it didn't look too classy to me
<nikolar>
(i think, it's been a while)
<zid>
I haven't looked since the 8800gtx
<nikolar>
yeah only gpu things i've done are opengl+glsl
<nikolar>
and i think one tiny opencl program
<nikolar>
is opencl relevant?
<nikolar>
or is everyone doing cuda
<zid>
everyone just does cuda :p
<nikolar>
dang
<zid>
you're using an nvidia gpu for it
<zid>
so you just use cuda
<nikolar>
i don't have/want an nvidia gpu
<nikolar>
so opencl it is for me :P
<zid>
everyone doing compute has nividia
<nikolar>
well i am messing with stuff on my desktop/laptop
<nikolar>
so whoo cares
<zid>
you said is it relevent or is everyone doing cuda
<zid>
This isn't about you
<nikolar>
i know
<nikolar>
i am just saying that i don't care about cuda :P
<nikolar>
opencl at least works in c
<nikolar>
though, nowadays everone does the spir-v thing
<nikolar>
so it gets through the same backend bits right
<aaabbb>
opencl doesn't give as much good insight into the gpu's architecture so it's often less efficient
<aaabbb>
sycl is replacing opencl. it's really all cuda, sycl, and hip now
<zid>
did they seriously name it sycl expecting me to call it "cycle"
<zid>
can I have words with whoever did that
<zid>
and by words I mean bats
<zid>
and by have I mean hit with
<nikolar>
what's a sycl
<nikolar>
first time i'm hearing about it
<nikolar>
> SYCL (pronounced "sickle") is a higher-level programming model to improve programming productivity on various hardware accelerators. It is a single-source embedded domain-specific language (eDSL) based on pure C++17. It is a standard developed by Khronos Group, announced in March 2014.
<nikolar>
and it's bloody c++ again
<aaabbb>
nikolar: kronos group's new thing
<nikolar>
can c++ people just not
<aaabbb>
it's just a replacement for opencl
<aaabbb>
zid: oh it looks like it's pronounced sickle not cycle, thankfully
<GeDaMo>
There are other languages which compile to GPUs
<zid>
amatersu is an old ainu god that the japanese stole afaik
<zid>
oh it's oukami, til
<zid>
never seen it with the bar
<zid>
so big god
<zid>
GOD KING
<nikolar>
> The game's name is a pun, as "ōkami" can mean either "great god" (大神) or "wolf" (狼) in Japanese.
<nikolar>
kek
<GeDaMo>
Excuse me, goddess :P
<nikolar>
yeah we got the jist
<zid>
smh GeDaMo so genderpilled he's assigning genders to primal forces
<zid>
(amaterasu is totally a grill though kek)
<zid>
tsukuyomi and susanoo and amaterasu all appear in your favourite anime btw nikolar, naruto
<GeDaMo>
You use the Celestial Brush to draw shapes in order to invoke magic
<nikolar>
yup, gril
<nikolar>
*grill
<nikolar>
zid: i've never even seen much naruto
<nikolar>
shocker i know
<zid>
aka she has a stance change in umvc3 :P
<zid>
nikolar: that was the joke well done
<nikolar>
(i can't always tell sarcasm over text, i'm sorry)
<zid>
I know your favourite anime though
<nikolar>
lol do you now
<zid>
(kill la kill uncensored)
<nikolar>
never heard
<GeDaMo>
Huh "Amaterasu is described in the Japanese and European versions of the game as a female; in the North American version, the character is genderless"
<zid>
see
<zid>
genderpilled GeDaMo
<GeDaMo>
Americans can't deal with gender? :P
<zid>
americans are made of genderfluid
<nikolar>
how's that suprising
<GeDaMo>
Not surprising, just sad :(
<zid>
also I fucking hate whoeer came up with the stupid bar system for japanese transcription
<zid>
I forget the name of the system
<zid>
someone's name I think
<nikolar>
what's so stupid about it
<nikolar>
the same idea is used in latin and no one has issues with that
<zid>
I wanna play umvc3
<zid>
why is it £20 on steam, I can't buy it for nikolar and force him to play me at that price
<bslsk05>
wiki.supercombo.gg: Ultimate Marvel vs Capcom 3 - SuperCombo Wiki
<nikolar>
funky
<zid>
in case you wanted to fight amaterasu vs shuma-gorath
<Ermine>
nes is cool
<zid>
the hardware is trash and badly designed
<Ermine>
but games are iconic
<nikolar>
zid: isn't most nintendo's hardware funky :P
<zid>
no
<zid>
it's all very boring and well designed
<zid>
that's why it tended to come off as underpowered
<zid>
because people weren't aiming for tricks
<zid>
no cell architecture or emotion engine etc
<zid>
or whatever the fuck sega was up to lol
<nikolar>
so, underpowered?
<zid>
no, just.. people didn't even really care?
<zid>
They all made cel shaded or pixel art games
<nikolar>
i mean, switch 1 was already using like 2 year old soc or something
<zid>
rather than trying to get something shit that couldn't, to push 3d
<zid>
mgsv vs random-unity-game
<nikolar>
mgsv?
<zid>
metal gear solid 5
<zid>
Runs on a potato, looks like a modern AAA
<zid>
cus it was hand built
<zid>
ps3 you get like, 0 fps without figuring out how to do tricks
<zid>
even first party switch games are unity trash :(
<nikolar>
lol
<zid>
pokermans has the unity "low fps animations if model is far away" thing
<zid>
and it looks like garbage, and the game still runs like ass
<nikolar>
i mean the hardware is kind of assa
<nikolar>
so checks out
<zid>
people just treat it like it's ass
<zid>
you'd get good perf if you *wanted* to
<Ermine>
wii hardware is cursed actually
<zid>
wii is literally an overclocked gamecube
<zid>
and a DS is two gbas glued together :P
<Ermine>
it has two cpus
<zid>
so do a lot of things
<zid>
re consoles
<Ermine>
wii i mean
<zid>
ds has two also
<Ermine>
one cpu is for gcube compat
<zid>
no
<Ermine>
and those cpus have different arches
<zid>
they went for a kernel/user split, but with different cpus
<zid>
user code is always on the ppc
goliath has joined #osdev
<zid>
because it's literally just an overclocked gamecube, but they added a 2nd cpu to handle the system menu
<zid>
for SECURITY
<zid>
(then forgot to actually bother to write secure code, so every single syscall seemingly was exploitable)
<zid>
nikolar did I ever tell you about the trucha exploit
<nikolar>
dont
<nikolar>
don't think so
<zid>
k
<zid>
oh
<zid>
They nicely rsa (or maybe blowfish? I forget) secured binary loading
<zid>
so only signed shit
<zid>
and strcmp'd the key, the.. binary key
<zid>
so every 256th sig is just "" cus it starts 0x00
<zid>
so you can fake-sign stuff by just fuzzing your binary for a few nanoseconds
<nikolar>
lol
n00by has joined #osdev
<zid>
and the original exploit for wii was funny, they just sorted A31
<zid>
because the user/kernel split was same as x86, signed/unsigned addresses
<zid>
sorted -> shorted
<zid>
start user program, tell it to write to address n, short address pin, now it's writing to 2GB+n :P
<nikolar>
oh kek
<nikolar>
you need to physically modify the console though
<zid>
only once
<zid>
then they could dump keys and firmware and stuff
<zid>
and find the trucha bug
<zid>
now you have a softmod so you don't have to boot zelda every time you want to run code
<zid>
and you can fuzz all the syscalls
<nikolar>
nice
<nikolar>
how long until they mod switch 2 undetectably
<zid>
no idea, I think they're taking it semi-seriously this time at least
<zid>
switch 1 was in development hell and nvidia had SIX bootloaders floating around, until within weeks of launch
<nikolar>
lol
<zid>
and that's the holy grail of a softmod, getting the bootloader to trust unsigned firmwares
<zid>
cus they often just cannot ever ever fix it
<zid>
xbox had that issue
<zid>
they were clever and wrote a little virtual machine into mask rom, so that they could run... sort of like, eBPF stage 2 loaders
<zid>
but they used a shit insecure hash, and the VM had a bug, so it was just permafucked
<nikolar>
lol
<zid>
I have effectively my bootsector.bin custom on my wii
<zid>
I can hold buttons to get into a rescue mode and boot shit from usb etc
<zid>
(without needing to be signed)
TkTech has quit [Remote host closed the connection]
<nikolar>
that's cute
<zid>
Packaged in the 4.2 update to erase BootMii as boot2. Also found preinstalled in LU64+ Wiis. Improves hardware compatibility, fixes the signing bug in the unused signature check code, and unintentionally breaks the HackMii Installer
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xenos1984 has quit [Ping timeout: 245 seconds]
xenos1984 has joined #osdev
TkTech has joined #osdev
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
Matt|home has quit [Read error: Connection reset by peer]
sbalmos has quit [Quit: WeeChat 4.6.3]
gog has joined #osdev
sbalmos has joined #osdev
foxsecu has joined #osdev
Matt|home has joined #osdev
Gooberpatrol_66 has quit [Quit: Konversation terminated!]
raphaelsc has quit [Remote host closed the connection]
Gooberpatrol66 has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
<kof673>
nikolar, eight Kami that correspond to the Kamite Khemenu ancient egypt the land of khem :D The “great reed” of the Japanese mythos is identical with the papyrus reed that represented the Mount of Earth in Egypt or the lotus of Meru in India # you just get noah and 2 vultures again, a dove and a crow/raven
pabs3 has quit [Read error: Connection reset by peer]
pabs3 has joined #osdev
alexander has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
alexander has joined #osdev
Shaddox404 has joined #osdev
Shaddox404 has quit [Client Quit]
xenos1984 has quit [Ping timeout: 248 seconds]
goliath has quit [Quit: SIGSEGV]
xenos1984 has joined #osdev
n00by has joined #osdev
n00by has left #osdev [#osdev]
Lucretia has quit [Remote host closed the connection]
Turn_Left has quit [Read error: Connection reset by peer]
asarandi2 has quit [Quit: WeeChat 4.5.2]
asarandi has joined #osdev
corinne has quit [Remote host closed the connection]