#programming
1 messages · Page 147 of 1
oh, the fallback has not been touched since i stole the code form the vulkan tutorial lmao
Quack, 34965, Linux NixOS, Genuine Intel 0000 (i9 13900 Engineering sample) | RTX 4070 super
now, imma boost this shit
is it on the 4070 or the igpu?
4070s
huh
ah lmao
slight boost with cache optimization
now good fucking luck beating my score
because im gonna optimize this shit like crazy
It’ll be a basic one running on RNG but meh, it’ll be mine
am I allowed to modify the program for the fps challenge
@olive sable btw which ones the file that changes frame buffer settings again
Like alpine linux
im 7th in my own program, damn. i knew the 5950x wasnt a gaming cpu and that its getting slightly old but damn
its uh 13900 non K
the "common structs.jpp" fle also has the resolution and frames in flight
i like how you can see
intel 13
intel 12
amd 7000
amd 5000
the only one diverging from that is iggly
someone with a 14900KS is gonna wipe the floor with my ass
actually
i should probably try with dgpu
ok i made the latest version work on windows
i cant be bothered to make #ifdefs in the file and in the compiler, so im putting this shit in a fork
tbh its not even that hard its only 1 file that would need #ifdefs and the makefile flags need to change for windows, but i really cant be bothered
shiro really played screeps each day till cloudburst made a private server, and then stopped playing
wait there’s a challenge? explain
i made a vulkan
and its really fast
but we're seeing who can make it the fastest
rn the main competition is just hardware lmao
quack has 35000 fps
i see, so i just compile and run and see how many frames i get
if you want
its faster on igpu so if you have one i set it up to use that. otherwise it will fallback to dgpu
vani i know you'll compete with your 9950x or whatever
wait till i build elvyn's 7950x then we can compete 
wait till i get my new.. wait i cant afford all that
this 5950x is supposed to last me another 9 years
Can I use a diff program that does the same thing since my grqphing calcukator doesnt support vulkan
well that kinda defeats the point of this doesnt it?
Kinda
who here has a M3 ultra 28 core with all the options and ram?
It does have its own 3d projection functions builtin
thats cool but i havent even gotten to that ye, its jsut a triangle rn
I have an M3 pro with most options and 36gb
Not quite the same but still
yeah i'll rewrite your C++ that supports more complex x86 and run it on my EPYC 9965

It reported it was running on the 4070Ti in the terminal
i cant test how to compile for mac so i cant help on that, but it would be funny. idk if the faster single-core will outweigh the heavier os tho
it did??? damn
i'll use my 4070 super

does it just render a triangle
how so
Btw Sam, I can resize it just fine 
insanity
First time running Sam's code? 
if we assume qucks 34965 fps, we render a triangle every 28μs
is it anything special
to get extra performance i removed all the debugging and stuff, sorry
Like im expecting a specific fast drawing algorithm type thing
hard to describe ehat im thinking
Triangle are gpu primitive
But i hqve something in mind
Fair
So I'd assume it doesn't really use any other algorithm that the GPU use
the triangle itself is not the impresive part, its the cpu an gpu overhead being gone.
the gpu doesnt even spend much time rendering
i barely get 30% usage on my 3090
wait shit that means my 4070s can increase perf if i set the frame buffer correctly
Let the drag race begin
so what did you change the framebuffer to?
from 3 to 4096, no difference on iGPU
4096 frames in flight??????
brew install molten-vk vulkan-loader vulkan-tools
oopsies
wrong window
i am STRUGGLING rn
LMFAO
did you actually do that?
yeah
Ehat are thr dimensions of the triangle
wide
Does SDL even support MacOS?
the screen goes from -1 to 1, and the triangle's coordinates are
vec2 positions[3] = vec2[3](
vec2(0.0, -0.5),
vec2(0.5, 0.5),
vec2(-0.5, 0.5)
);
Yes, I wonder if my overclocked RAM has anything to do with it
it very well could. i have 4x16 3600 but its cl18 and i have an amd memory controller
I'd think FF0000
its pure red
different error means progress, go gpt 5 u can do this 
my 13900 is capped at 3200
unfortunate
im tightening the timings hold on
if i could ask an oracle anythign, i would ask what the deciding factor is
Mine runs at 3800, I could even get the timings down a bit if I wanted
you wanna me to try it on my threadripper
Quack, if you got the binary for 4096 frames would you mind posting it?
okay hold on
Want to test on my system as well
this is getting fun
beggars cant be choosers
Anyone got an iGPU preference build?
Just in case it's even possible to run it on my iGPU which has not been behaving well on Linux
WHEN I SWITCHED FROM DISCORD TO THE TRIANGLE IT SHOWED 5000 FPS THEN TANKED TO 300
damn, even windows gets 4 digits
LMAO
it showed this for like a frame then tanked back down to 200-300 ????????

its either a bug with SDL get time() lagging when changing focus. or its the os
the fucking mystery triangle
🔺
Or do I need to figure out how to build that from source too?
Finally someone is lower than me on the leaderboard 
all the recent builds preference igpu since we thought those did better
The calcukator claims to have drawn the triangle in 0ms
but i guess i need to change that???
Ofc
Well, where is such build so I could try?
Can you do a CLI argument?
im still in windows so not me
True, make it an argument for prefer iGPU
Understandable
Well, anyone got such build I can borrow?
Ok guys i have my submission
I have a build but I linked it for my system libraries
6315 fps on an HP Prime G2
whole server scheming to beat my score rn
Wasn't long ago when it was me
Note that I had to throw in extra code to measure the fps
did it not do so itself?
I had to write the program in HPPPL
huh, interesting
Based
So when can I have a build with which I can try to run on iGPU?
h what??
What one do you have currently?
Or do I change the code to try to do that manually?
well im making the gpu being a comandline arg code rn, but i ont have a build cuz im still in windows
The one I managed to compile
wtf is this language lmfao
can't even find it on google
I may as well kill two birds with one stone
I found it just fine
Terminates instantly, tries to use dGPU
bwaa
this fine?
the shaders folder
Classic shader error

I'm glad I went though all of the debugging for it
#ifdev isn't a command line argument, it's a compile flag
typo
My code for reference
you get the vision
Gets cut off but its #FF0000 and a closed parenthesis
oh i see hat you mean. ye indeed
ill need to pass a variable then instead, this is gonna take a litle bit longer then
The urge to hop back into cachy to get this to compile
But I'll just deal with the nix path issues mysekf
i dont think ive ever done command args in c++ before, lemme google
#- also know i spelled triangle wrong
i hate discord markdown
So much
I usually remember it as -1 headings
-# ok
i was thinking of just putting it here but that way you'l need to recompile each time
i must find a way to improve calculator fps
The games begin 
I guess I'll just wait for a build
Unless you want me to go in and change the code I can already compile
Custom code is accepted 👍
What was the prioritize iGPU line again

the frames drop if i keep rerunning it 😭

Better fully reboot it ig
Whuhhhh
yeah, dgpu boost it hard
i will take this into consideration
How is that even possible?
@olive sable dink donk new high score
what in the hell
if you don't believe me, hold on
Btw if yall have a graphing calculator i encourage you to beat my score with it
I was just thinking if you buffed frames in flight enough you could compensate for pci bandwidth
World's fastest 4070 super at least, that's for sure
i think i haven't set that
Hold on am i allowed to resize the window
his args are on screen, enhance, enhance, sharpen, copy, paste
Because i can get a better score if so
I'd watch 100
while making modifications
Can I make my triangle smaller?
sure
here the size doesnt really matter
its a diffrence of maybe 100 fps for full 1080p
iggly predicted this
Ok ill make a 1px triangle then
that isnt a triangle then but sure
except without the threadripper pro max ultra 16900KFX5D
a 4px triangle then
Getting a few more frames this morning

But it refuses to run on iGPU
i like how our numbers have gotten so obscenely large that 100 fps is nothing
dgpu finally is making a return
Literally refuses completely
streaming
It just always picks the dGPU
im working on that, ive never done commandline args before
Can't it be set as manually?
22809 fps actually
or it might be because im streaming
I assume not, this is not Windows
On my graphing calculator
i need 3 people on the job of optemizing the frames in flight count /j 
okay its probably because im streaming
It might just be that Linux doesn't understand my iGPU for some reason
ye, kinda maybe somewhat. its better to jsut suggest to vulkan to use one over the other
setting to 3 tanked my score back to 30K
capture kills
ye i expected that
huh its lower now
how much is your bp using?
Is 22809 fps good for a 4px triangle on my graphing calculator
segmentation fault on 16384
Does it still count since i lowered the size of the triangle dramatically
okay, i shouldn't make clean
You changing this? From what I can tell for me it doesn't do anything or the compiler is not doing its job
yep
lets do the math
Well, it does not appea to do much of anything, maybe doesn't even recompile the app
true
wait i can use a 3px triangle
let me stream on my phone instead
.-.
wait i gotta uh put my "disguise" on incase reflection decided to dox me
at 50000fps, each frame 0.02 ms, so 16384 frames ahead makes you run 327.68 ms behind
Not viable for a rhythm game
went up to 48K after i quit stream
in return for the less frame render latency we have play latency
So is changing the frames in flight value meant to actually recompile the app? I don't see it doing any of that
changing the source code doesnt make it recompile ye
How do I get it to recompile then? I already tried deleting the compiled stuff
in the github there is a makefile
Deleting the compiled stuff just compiled something that does the exact same thing
I'm using the makefile already, no?
I'm using make run for this
ye that shoudl be fine
Though it had to be modified a little to get it to actually build
thats normal probably
votes to move?
Either way, how do I make it pick up the change?
nice!
How even are you getting anythiing that high?
whole server in shambles trying to beat that
some cache optimization + modded something in my bios to boost cpu perf
at this point we're just reducing the frame latencty by making the frames always render late
- used my dgpu
there is no rule against it so ill allow it, but im not gonan be able to optemize anything irl like that
as long as it renders a triangle?
Does it need to actually render
yes
Or can i draw it to G1
otherwise i have 6548324581 fps
i dont remember the exact number with it was 6 billion something
otherwise i get a nonexistent fos boost nvm
must render a triangle in vulkan
No difference if i dont draw it
that's the rule
in vulkan? dang it
i cant use vulkan on an hp prime
@olive sable btw have you updated scores, superbox also hit 35K
im not lol, im coding rn. its not going fast since im easily distracted
aight
REMOVE ALL ASSETS and do RENDERING NOTHING
(GIVE FPS )
there are no assets besides that single triangle in the shader
and rendering nothing just gives you 6 bilion fps
thats no fun
What game ure are rendered
not really a game, jsut a triangle
its a vulkan shader
The magic triangle
Have u try out of Box rendering
Whar
one day someone show up with the 60K and imma die
Remove gui from windows (x squad - )
my 22809 fps on a graphing calculator is still funny lol
ngl i give up getting anything better than like 6000 fps on macos, i don't understand what the hell is going on with this platform so im just gonna like try my desktop PC
One hardcoded nix path later and I'm compiling finally
Set process priority idk
I love when #programming comes to stream it is just text editor 
Mac
S
At least your the only OSX submission
Good one
I will try and change that tomorrow
i was pretty damn sure i could beat superbox, BUT NOT BY THIS MUCH
Broke out of a bad habit
Well, I can't even make it compile with an updated magical setting
i broke something, idk what happened. this is 99% sure not a record but a bug
damn fuck
Whuh
i got beaten
No way Windows is beating Linux, so it must be a bug
is it fluctuating?
nope. i think its doing a doule for some reason
Out of date by the way, I hit 35K and
got 50K
oh it just stuck on that fps?
52K
no, it jsut counts each frame double
huh
Ideally it should be auto generated from a JSON anyway 
wanna know what's even more impressive
the fact that im using this which adds up even more pcie latency
FPS: 80.2688
Maybe PCIe latency is actually what it wants
How is it so SMOL?
Everyone else is getting in the thousands
fps cap, probably gsync
I'm on phone by the way
oh
Oh so mobile kinda sucks
i dont get what its doing, im on 70k fps now 
How’d you run that on a phone
...maybe i should try windows
Am i missing something
@olive sable can you share me the windows source code
we arent runnign on phone
.
So does anyone have any idea why the frames in flight param does absolutely nothing at all?
because your frame buffer already exceeded your latency
No, I mean it doesn't even recompile
oh
if you make it really low it will use the minimum that vulkan says your gpu allows +1, and the higher it gets , the less improvmeemnt increasing gives
Wait if i buffer my frame and blit it to the screen
No matter if I set it to 3 or 1024 the performance is the same and no compile commands are run
Is that like allowed
then recompile without clearing the make with higher number
idk why it happened
but computers are weird af
try make clear and then recompiling
I did make run with 3 and it did nothing still
Doesn't exist
Fuck i almost bent my screen
i made the makefile, it should exist
clear doesn't exist
Okay thank you for not picking llvm gpu
make clean
set it to 7,make clean, make run, set it higher, do not make clean and do make run
Does it just have so little impact that it barely changes the FPS? I only have 34K now with it set to 3
That did not do anything
huh
try setting it to 3
make clean
then make run
then do whatever and do not make clean afterwards
I think now it finally compiled with a new value
1024, under 30K FPS
lmao
i might have an idea why im getting 70k fps now in windows, but idk if im jsut being delsuional
lemme try the same thing in linux in a bit
inb4 its actually legit
I was already at 30k
i can already feel superbox is hitting 40K soon
when i got my records from before i was pkilling my whole system
So anything above 7 does absolutely nothing or makes the framerate worse, 2048 and up crashes
odd
i geuss 2048 is your gpu's max then
it worked on 16384 for me
you have a diffrent gpu
actually imma see what's the max i can go with
bro left me in vc
You have a weird record breaking 4070 super, I just have an average 4070Ti
Got 23500 with 1px rendered in buffer
It got overran by normies, I was in there earlier
for 1 pixel at that point we're better of eith cpu rendering i think
Is there even any optimizations I can apply at this point other than just overclocking my hardware?
I'm joining another vc
Wym eith
35K on iGPU, 52K on dGPU
with
@gritty dust join us

Well, I just have no idea how to improve anything from here
Yes ma'am
certainly pretty odd to see considering that all it need to render is just a triangle, it won't saturate all the schedulers
The calculator does use cpu rendering as you might expect lol
Since it’s a calculator… and has no gpu
Still surprised i got 23k with it
I wonder if it would be possible to get this onto my 3090, though the latency would probably be higher
does it have SIMD component
(AVX or similar)
Well, either way, I have run out of ways I can think of to increase FPS
Run my code in the official emulator for the calculator lol
See what happens
welp, i now know why --use-igpu isnt working. i forgot i dont have one
Lol

The emulator is faster than hardware calculator
I kind of want to get into rendering with Vulkan and stuff tbh because I haven't really learned that yet lol
dont question my obsession with doing stupid things to my calculator
I already fragmented its memory so i should prolly chill (running bad apple did that)
its not that hard, most of the vulkan stuff in the other files are init so you dont have to touch that. the mainloop is most of the work in optemizing
someone drugged him 
I cast english
... S tier typing
Optimizing*
my pc doesnt like rendering disocrd while its doing wha ti says is 70k fps in vulkan
so i couldnt see
Im curious if its possible to get more than 23k on a graphing calculator
Im genuinely curious
hmm, interesting
tearing the fabric of reality
is that why
the right one isnt actually being rendered, its jsut an afteriamge
huh
lemme test this in linux if the 70k fps is real or if its windows
Btw do you have suggestions on ways to learn optimization for code? bc my c++ rendering code is awful at rendering
its cuz i resized the window
cpu usage is the devil, for each function you write extra you feel shame in your soul
lol
Kk
I have no idea if there is even any way for my system to get more than 35K FPS with this, it seems to just cap out around that range and never go higher
i gitpushed the 70k fps windows repo in the windows branch
btw Iggly I usually have a mic Im just... on my phone lol it's 2am
maybe i should try
Oh its 8am here, but i dont need sleep, i need frames
Haha
@nocturne olive what's your score again
35K or so, peak I believe is something like 35 600

Lemme go back to windows
For fucks sakes lmao
Now that i rebooted i can see if the double fps was a glitch actually
# Leaderboard
|# | Name | FPS | OS | CPU | GPU |
|--|----------|-------|---------------|------------------|--------------------------------|
|1.| quack | 52958 | Linux NixOS | 13900 (ES Q0L4) | RTX 4070 Super |
|2.| superbox | 35600 | Linux Mint | 12700K | RTX 4070 Ti |
|3.| Iggly | 30573 | linux CachyOs | Z1 Extreme | AMD Phoenix |
|4.| Shuni | 27158 | Linux NixOS | 7950X | AMD Raphael (integrated) |
|5.| konii | 23141 | linux NixOS | 7600X | AMD raphael (integrated) |
|6.| Iggly | 18677 | Linux CachyOS | i7-1260p | Xe Graphics (integrated) |
|7.| Sam | 18153 | linux CachyOs | 5950x | RTX 3090 |
|8.| toast | 17000 | linux NixOS | 5900x | RTX 5070 ti |
|9.| unkomp | 9458 | linux Arch
anyone else?
I got scores to update
Thanks quack
I'll make a pull request for mine
Aigh, 70k fps mayhaps???? is pushed
what do I gotta do to get in on this
Ill give a neorowelldone to anyone who finds the potential bug causing this
send pleaseee
.
It's 2am I need frames
same braincell
Hold up Iggly I gtg to my PC discord brb
I used to be happy with my 18k fps in cachy bit now that i have 70k in windows its just sad
how do i compile this? do i need to change the sdl and vulkan paths?
Probably
On windows you do, on linux you dont i think
I FORGOT TO SET PERFORMANCE
SAM I hate you didnt make a cmake for this
The multithreading on windows is diffrent from the one in linux, its giving me issues and is posseblemy the reson windows got faster
Make one yourself and pr
Im not gonna make shit i wont use
Its 8am, let me be rude
I had a blip of 65k
sam do you even sleep
Sometimes
Im listening


im kidding its still at 52K ish

just less likely to dip below 52K
Quack you son of a bitch 
Fricking troll
52K 
sam wtf
Why are you using default resource monitor? Use btop
why?
btop is better
WSL Ubuntu
Selected GPU: llvmpipe (LLVM 15.0.7, 256 bits)
Look at how much better this is
Wdym?
awa
Whats wrong abou that one?
don't use wsl lol
find a usb stick
what is wrong with those l and L 
classic llvmpipe
install linux there and boot from there
user submitted results mhm
im not goin for a high score ngl im just running it on things for shits n giggles
So did someone try recreating the 70k fps yet on windows?
Or at least double checking my code so im not delusional
I did not, but I'm wondering if any of
's optimizations are reproducible
i'll do later
can someone help me set this up
i'm gonna try and build it on windows
im going to run this on 2x5090
its just bios tweak lmfao
hopefully this is going to get me the lead
Even the cache thing?
uh its linux so ill just try set it up later
the only thing i changed on sam's code is one of the fallback that made me used gsync for some reason
yeah
and i still boot the whole nixos in a usb drive btw
If someone included a cmake then another result would exist - crafter
imma return in few hours just to see people beating the shit outta my score

(you 14900KS owners, fuck you 😄)
You still have better hardware and if the scores improve i will gitpush
So it dont matter what i do youll be higher
i wonder what will i hit on my 14600KF
i used to be one until mine BROKE
Early 14th gen moment
Well, I guess my options for getting more frames is either overclocking/finetuning UEFI settings or just nothing
i wonder if i can push it harder
I wonder if optimizing my system to run the triangle as fast as possible would make NeuroSynth faster
CPU inferring a vocal synthesizer is a bit slow


GPU inference is unfortunately not supported on Linux
I didnt know my lack of sanity was contagious
Silly
I just don't want to wait 10 minutes for every change for my song to render
right
how does this even happen
like
@olive sable how do you make it compile static again
I got shit ton error on windows
Apparently it uses DX API
Its going, i think. Idk.
Im changing linux build to match the windows buid to see what changes
the program just crashes for me

You need the shaders folder in root
Of where you run the program, not the system
wait that worked
Holy
Just a bit annoying, I need my thing to go faster
On my GPU I was able to run the thing at real-time speeds
waiting for SDL3 to load up so i can build it on windows 
biggest number i saw was 72k
Ok now that we see the windows build does get 70k fps on other pc's too, the question becomes, is it a bug or not???
Now what hardware may that device have?
perfect screenshot.. 74k
i have a ryzen 9 5950X (16 cores 32 threads) and a rtx 4080
aight
We need someone with a weaker Windows machine to test it
i switch my statement
(you windows users, fuck you 😄)
errrrrrrrrrmmmmm i dont have a windows build yet i'm still trying to figure out how to piece it all together
c++ is not my strong suit
I'm very much assuming the insane FPS is either a bug in the code or an oddity with how Windows handles times
btw you should probably mention somewhere that you need to manually download glm and put it in the src directory
No need for that on Linux

Oh ye i forgot

It uses glm for the code i was making for the vertexbuffer. But that code isnt even used yet
The windows github fork

And then just do make, with the needed packages
Those are honestly the worst part of windows
You'l prob need to change include locations too in the makefile
Windows: go and track down 30 random zip files
Linux: sudo apt install
i'll try compiling both build and compare
here is a breakdown what i had to do:
- install glm into the src directory from github.
- change the paths in the makefile using search/replace to point where i have vulkan and sdl3 located.
- then make all
- (i also had to compile sdl manually and make a folder lib/x64 in the sdl directory. but that depends on how you install sdl )
- (also had to put the sdl3.dll next to the vulkan.exe file)
im a little dumb, how do i build this in visual studio
there isnt an sln or any kind of like, startup item
do i have to make a solution/project myself
You need to use CLI compilers
I dont use visual studio so i have no clue
hi shuni
ye, either use GNU Make with the Makefile or make a solution yourself I think
mhm all because lack of cmake
as someone in here is making
take a look at leaderboard 
Now let's see Shuni destroy the triangle rendering score with some magic trick (it would be funny)

I have seen it 
somehow I'm still 4th
I expected to drop further
Something that worked on windows doesnt work on linux
Fuck
it snot baout performance, but about globals
lmao
I do have a magic trick but it would be too much effort, so no
also I'm probably not getting first place because my system is just not built for this 
How to diff large arbitrary JSON without exhausting my memory?
PS C:\Users\Vanilla\source\repos\very-fast-but-very-bad-code-vulkan> make
clang++ -x c -O3 -Wall -IC:\VulkanSDK\1.4.321.1\Include -IC:\SDL3-3.2.20\include -march=native -flto -fomit-frame-pointer -c src/volk.c -o output/release/volk.o
process_begin: CreateProcess(NULL, clang++ -x c -O3 -Wall -IC:\VulkanSDK\1.4.321.1\Include -IC:\SDL3-3.2.20\include -march=native -flto -fomit-frame-pointer -c src/volk.c -o output/release/volk.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [makefile:14: output/release/volk.o] Error 2
?????
oh no im jsut stupid and forgot to edit the makefile args passing through
Large is > 1MB
could've gotten it tbh
7950x is better than 13900 non K
LMAO
do oy u have a vulkansdk folder in your C?
yes, but I have bad DDR5 configuration + display through iGPU
i have the VulkanSDK and SDL3-3.2.20 in my C:\
hmmm
my 2dpc ddr4 that is supposedly rated 3600 cl19 boots at 3200 cl14
For some unholy reason windows doesn't add it to path
oooohhhh, i remember, it would find the .dll while compiling but not while running, so i just copied the sdl.dll into the folder of the project
I had to manually do so
don't you get clang through mingw?
make a copy of sdl3.dll and put it in the folder maybe, i think that might work
you need to put the sdl3.dll in the output directory 
otherwise it complains it can't find the dll when launching
tho while compiling that isn't needed
nvm
oh

timings too tight
i killed quacks pc with my dogshit code
o7
ok im getting segmentation fault, core dumped when doing make run ARGS="--use-igpu"
thats how i know it works

oh ye thats the command for that once i gitpush it ok

i think your ram is just broken
maybe CL14 is too tight yeah
ussualy you can reset the bios by either a button on fancy mobo's or shorting 2 pins
so not bricked probably
PS C:\Users\Vanilla\source\repos\very-fast-but-very-bad-code-vulkan> make run
clang++ -O3 -Wall -DNDEBUG -I./src -IC:\VulkanSDK\1.4.321.1\Include -IC:\SDL3-3.2.20\include -DSDL_STATIC -DSDL_MAIN_HANDLED -std=c++23 -march=native -flto -fomit-frame-pointer -fno-rtti -fno-exceptions -ffast-math -o output/release/vulkan.exe output/release/main.o output/release/vk_frames.o output/release/vk_command.o output/release/vk_device.o output/release/vk_sync.o output/release/volk.o -fuse-ld=lld -LC:\VulkanSDK\1.4.321.1\Lib -LC:\SDL3-3.2.20\lib\x64 -lvulkan-1 -lSDL3 -lkernel32 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid -ladvapi32 -lsetupapi -lshell32 -ldinput8
lld-link: error: could not open 'SDL3.lib': no such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
where do i get one of these
do you have a "SDL3-3.2.20\lib\x64" folder?
but somehow not on windows
https://github.com/libsdl-org/SDL/releases/tag/release-3.2.20
i got myself VC.zip iirc
what
Switch to linux :xdx:
maybe doing this after midnight is not a bright idea
then just copy the .dll into the folde rof the project, cuz otherwise it cant find it for some reason

84K is insane
i stil dont get what is diffrent about the windows release and the linux one
the only thinh i can think of is the multithreading
linux uses
cpu_set_t cpuset;
CPU_ZERO(&cpuset);
const int core_id = 1;
CPU_SET(core_id, &cpuset);
const pthread_t thread = pthread_self();
pthread_setaffinity_np(thread, sizeof(cpu_set_t), &cpuset);
sched_param sch_params;
sch_params.sched_priority = sched_get_priority_max(SCHED_FIFO);
pthread_setschedparam(thread, SCHED_FIFO, &sch_params);
While windows uses
HANDLE hThread = GetCurrentThread();
SetThreadAffinityMask(hThread, 1 << 2);
SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
reset your bios
there should be a pin you can short for that
peaked out at 86k, off to bed o7
that's the thing, i can go to bios but windows ain't booting

well
oh
okay
windows is fucking weird
nixos can boot on cl14, cl16, cl18, cl19
windows fried ram?
windows allergic to preformance
@olive sable help
what did I miss
oh ye, windows moment, change the uint to Uint
it's not windows though 
or uint32_t if you prefer
i didnt have this on linux so idk
You can change the uint to uint32_t
But I think the issue runs deeper than that 

That one can be removed
HOLY SHIT WINDOWS YOU FAT FUCk

i hate windows
I did libSDL3.so
it built, but failed to run 
Move the binary to the src directory, it needs the /shaders folder
at least I'm 90% sure
Or just move the shaders folder over, either or
nope
there was a window that popped up for like 100ms, but the process gets terminated afterward
Classic not drawing
should I just test if the prebuilt executable here can run in the first place 
steam run a prebuilt only give me max 19K lol
how are you going to tell me the left one does 18k fps and the right one does 70K fps???
there is some fucking witchcraft going on in there
What is this
Just a triangle
Should I switch from windows...
the difrence betweent helinux and windows versions of the triangle
windows is the one doing 70K fps
Ion wanna dual boot and such
its doing better
in normal circumstances linux is absolutly faster, but for this im absolutly flabergasted
maybe better thread management?
now make minecraft that runs at 70k frames and make a youtube video about it and get a million views
you gotta make minecraft in vulkan
Minecraft 3
now thinking about it... that is technically what im doing 
What why
and actually remove the terrain
and actually remove everything besides a single triangle

that way you can get 70K fps
minecraft with extra trianlge with no craft with no cheese with no mine
make minecraft but instead of cubes.. its triangles
I cheese would be a W
How expensive are we talking
i wonder... how much would it hurt performance if instead of 1 triangle.. you make a cube from triangles..
so 70K fps means we have 0.014ms as budget
surely it won't hurt fps like at all right?
probably not much diffrence if you implement it in the shader
maybe a couple extra nanoseconds
probably even if you do it in the cpu it wouldn't cause a dip no?
isn't there a minimum amount of data you need to transfer where the extra verts will fit in?
not really

Tomfoolery is the culprit
i have this prebuilt, its not the 50k fps one from quack, but its experimental
shoudl be around 18K fps

I'm dying
to be fair, this is the most advanced high-tech top of the line triangle in #programming
Still trying to figure out what Windows is messing up?
ye
Have you tried running it on Windows without rendering?
Just a test to see if my very weird theory has any point to it
the fuck
Alpine
why are you trying to run prebuilt executables on Alpine 
99% won't work because Alpine uses musl
even it's not prebuilt it wouldn't run
that should work
glxgears and vulkaninfo and vkcube and stuff work?
okay now it won't run at all after switching the sdl3 x86 to x64
I rebooted into windows now
if no then it's just a general system issue not specific to the triangle application
according to chatgpt this is why vulkan is slower 
idk how to profile at the nanosecond level so this is my best bet
but vulkaninfo works yes
this is what also happening with me lmao
I'm guessing it's a combination of 1 and 3
could maybe tell by profiling it and seeing how much time it spends in the Vulkan driver stack vs the application itself
sam can you make a fully automatic env setup script, so we can boot up a fresh os and render the triangle 
idk how
we have that
it's called the Nix flake and the shell.nix that was posted yesterday 
nix 
I can't confirm if this speeds things up, remote overhead is lowering my FPS by a couple thousand
do you need to compile
or just put the whole glm folder in somehow
@olive sable i need clarification

the glm folder
hi
odd, putting the glm folder in src doesn't fix my issue

on windows it was jsut included with the vulkan sdk
i put it in there and it worked

Welp hello everyone
how do I setup env and compile in windows
ooooh, i think if oyu odn thave it inside the vulkan folder liek msot of us do, thenit doesnt get included cuz i dont have a seperate include for it
thats why putting it in the project folder works
i installed vulkan through scoop
install the vulkan sdk installer from lunarg website
install vulakn sdk, choose glm as extra lib
install sdl3-VC.zip thngy from the sdl github
compile the program with make
yes sir 
right, i don't have make
do I need volk

no
volk is already there
the volk.c should be inside the src folder
k
are you sure about the make part
@olive sable
100.000 

it would be pretty funny to get that 1 neurilion like vani said
does this even count for the leaderboard lmao
i highly doubt it will happen but it owuld be funny
why wouldnt it?
"now"
ive been optemizing this for 4 weeks 
it used to do 5000
i figured out how to resize windows in hyprland, after 3 days of usign it lmao
I'm in windows duh
then use the windows repo
THERE WAS A WINDOWS BRANCH??
i havent uupdated it in hours quack
fine i'll do it myself
BRO CLEAN UP YOUR MAKEFILE
windows score count?

nah
most of it is there cuz it needs to be there
vani got 2nd?






fast triangles