#programming

1 messages · Page 145 of 1

worldly panther
#

genuinely impressive

glad path
#

why is is literally impossible to install nmap 😭

#

i get compile errors

#

and the executable installer literally doesnt even download (the link for it does nothing)

#

and its not officially on homebrew

#

actually i think it might be

worldly panther
#

whats your os?

olive sable
#

i would like to present to the esteemed members of #programming
18153 FPS

#

at this point, it is not possible to go faster on this pc without extra overclocking

#

i have done it all

#

i can actually say that now

opaque wharf
#

Nope. You should still be able to get more

olive sable
#

litterely impossible

opaque wharf
#

Go raw asm and skip hyprland neuroTroll

jagged turtle
olive sable
#

the only way to potentialy do that is raw machine code

tight tinsel
#

any suggestions on other ways to design 3d models for a 3d printer?

#

Tinkercad works but it feels very clunky

opaque wharf
#

Btw Sam, you're going to college right? Time to learn TeX or typst neuroTroll

olive sable
opaque wharf
#

If you need CAD, then onshape provide a free tier

#

Fusion360 too

olive sable
#

making sure the gpu is ready with the previous frame has been thrown out of the window

midnight sigil
olive sable
#

ive seen 4.68 at the highest

#

at idle it did 5.14 cuz i forced max performance, kinda scary

midnight sigil
#

I have faster clockspeed NeuroClueless

olive sable
#

which would mean it would probably run faster on your pc

#

besides the fact i locked it to core 1 and 2 cuz those were the fastest

opaque wharf
#

It doesn't work like that

#

There are more things in life than clock speed

#

Unless you have the exact same CPU model

olive sable
#

does your GPU support 7 frames in flight tho? cuz thats how much i ended up making it do

#

and the amount of framebuffers is that + 1 so a grand total of 8

#

ussualy a game does 2, maybe 3 KEKW

olive sable
#

maybe ram for the vulkan stuff, but i cant really see that

#

i just see core 1, which is the renderthread, doing 99%, and core 3, which is unallocated so probably something vulkan picked, doing 89%

midnight sigil
#

this is doomed

olive sable
#

most of the renderthread has been commented out. at the cost of "potential race conditions" with the gpu xdx

#

i aint waiting on those fences

midnight sigil
#

bro trying to max out the cpu on a fucking triangle

olive sable
#

tbh

midnight sigil
olive sable
#

i think an igpu might actually be faster on this since its closerby

#

the gpu is doing jackshit anyways

#

im getting 40% usage max so the ps5's apu should be able to still handle it

midnight sigil
#

:O

#

cpu's with an igpu tend to have a slower clockspeed no?

olive sable
#

idk

midnight sigil
#

cuz power has to supply the igpu instead of cpu cores

olive sable
#

i think potentially the high cpu usage might be the cpu just checking if the gpu is finally done

#

lemme profile this shit

midnight sigil
#

gpu bottleneck

olive sable
#

wait my profiler is in windows

#

uh

midnight sigil
olive sable
#

or bus latency?

#

latency is probably more acurate

bitter coral
#

I’m trying to do some work on my art program but there’s a cat on the desk in front of my monitor, a cat trying to sleep on my shoulder and a cat that tried to sit on my lap.neuroBwaa

midnight sigil
#

make a vulkan program that directly call hardwares, instead of using the OS as middleman, so it's way way faster NeuroClueless

olive sable
#

idk how

olive sable
#

im already using the volk libe for extra performance

#

dynamically loads entrypoints

midnight sigil
#

stop trying to get 2 million fps or something neuroSob

#

plz

#

I beg you

olive sable
midnight sigil
olive sable
#

but vani said 1 neurillion

midnight sigil
#

are you gonna buy liquid hydrogen to attempt world record overclocking and run your little triangle program

olive sable
#

no i dont think i will

#

this isnt the right cpu to do that anyways

midnight sigil
#

can you do overhead frames on other performance cores

olive sable
#

uhhh

#

hmm

#

lemme try something completely stupid

amber fractal
#

Might as well do them on the E cores if they exist as well

midnight sigil
olive sable
#

i have 16 full cores here

amber fractal
#

:waiting:

midnight sigil
#

mad insane

amber fractal
#

don't question how you get the log numbers

midnight sigil
#

it's not making a game engine anymore, it's having as many fps as possible neurOMEGALUL

#

from now on, make a new branch, and don't care about extendability but only fps

olive sable
#

while most studios focus on making games as fast as possible

#

here at bwaa studios we focus on making frames as fast as possible

olive sable
midnight sigil
#

do you have a repo for your code

#

I'm interested in vulkan

olive sable
#

i meant pushing them oput of the slop machine

#

with fast

midnight sigil
olive sable
#

or can you share private prepos still?

#

cuz tbh this would not look good on my cv

amber fractal
#

Learning how to minmax mhm

amber fractal
midnight sigil
amber fractal
#

Also I want to try running as well on my system

#

it would be funny

midnight sigil
midnight sigil
olive sable
midnight sigil
#

one branch for the actual game engine and one for the funny

amber fractal
#

I need one of these commit messages to be "The autism has hit critical speed"

midnight sigil
#

sure companies won't care about your little dev branch

amber fractal
olive sable
amber fractal
midnight sigil
midnight sigil
olive sable
#

it used to be called "desktop" cuz thats the folder its in on my linux

midnight sigil
amber fractal
midnight sigil
#

the commit message is just "18K fps" neurOMEGALUL

olive sable
#

yep

amber fractal
#

-# neurOMEGALUL

olive sable
#

oh i forgot i did that profraw thing

#

its in there too now

#

idk what it actually does but i googled stuff to make the vulkan faster and that supposedly does something

#

dont ask me what tho

midnight sigil
#

can dlss work with 20k fps

olive sable
#

idk

midnight sigil
#

super sampling a triangle neuroWicked

amber fractal
#

Maybe FSR can if you can force enable it

olive sable
#

lets start at, how do we get dlss on here, and wouldnt the overhead of using it make it worse?

amber fractal
#

I expect a leaderboard soon

olive sable
#

the sam vulkan triangle challange

#

NeuroBounce fastes system wins

midnight sigil
olive sable
#

i expect quack to pull some threaripper pro max ultra 16900kxdx5D OC out of his dealer to win

midnight sigil
#

we should limit to a certain clockspeed

opaque wharf
midnight sigil
#

and thread counts

olive sable
#

vulkan should supposedly support that

bitter coral
#

The cats are finally leaving, but I have stuff to do now so I still can’t work on the art program.neurOMEGALUL

midnight sigil
olive sable
#

yes

midnight sigil
#

this is extremely limited on bus speed ngl

amber fractal
olive sable
#

but you need cpu cores to send commands to the gpu and stuff

#

vulkan can supposedly do that async and stuff with multiple cores

midnight sigil
amber fractal
#

Testing on laptop

midnight sigil
#

pcie slots right next to the cpu

olive sable
#

place your pcie slot in the cpu

bitter coral
midnight sigil
#

make the program small enough to run on L1 cache so we don't even need ram

amber fractal
#

Wait a second, let me ask my sibling to borrow a Legion GO rq

olive sable
#

oh ye, the makefile has a "make debug" option. i completly removed all of that functionality

#

why? i cant remember tbh, somethign to do with me removing the runtime errors

midnight sigil
#

who needs debug if we have brains

olive sable
#

-fno-exceptions

#

that thing

amber fractal
olive sable
#

the compiled project rn 161,600 bytes. shouldnt that already fit inside L1 cache?

bitter coral
# opaque wharf Then invite the cat back

There’s still the cat that was on my shoulder, he’s on my lap now. He got lonely for being locked away from me for a few hours today so now he’s clingy.

olive sable
#

if we want it to fit inside L1 we need to find a cpu with more L1 or just nuke more than half the filesize

midnight sigil
olive sable
#

thats fine as long as you dont need to throw anything

amber fractal
#

I'll be taking the windows debuff

midnight sigil
#

cuz without it makes my std lib on msvc buggy

olive sable
#

what

midnight sigil
#

yuh

#

microsoft shenanigans

olive sable
#

someone should bring your std lib to a hospital

#

oh ye i remember now why i remved debug

#

//if (enableValidationLayers && !debugManager.checkValidationLayerSupport(validationLayers)) throw std::runtime_error("validation layers requested, but not available!");
this line has an if with a throw

amber fractal
#

git isn't installed :RAGEY:

olive sable
#

and no runtime errors means they cut of my arms, no throwing

#

i could just keep the function and not throw, but it kinda feels like having a debug defeats the point of removing all the excepts

#

ok enough yapping

amber fractal
#

@olive sable I may be blindge but what deps are being used here

olive sable
#

volk, sdl2, and vulkan

#

that should be all besides the standart included libs

amber fractal
#

Time to fast track how to properly set up a dev enviroment

olive sable
#

i wonder if i could jsut make another renderthread

#

it will probably immediatly crash since its usign the same recources as the first thred, but it would be interesting

amber fractal
#

Just don't write ReallyInnocent

olive sable
#

yep, immediate core dump KEKW

#

lets ask chatgpt since i cant be bothere to google how to properly do this

amber fractal
#

chatgpt: "dont"

olive sable
#
Short answer: you’re overwriting a live std::thread with another one. That triggers std::terminate() immediately — hence the crash — and even if it didn’t, having two threads both drive the same swapchain/semaphores/fences is invalid and races like crazy.
#

and races like crazy.

#

i am somewhat of a racer myself you see

hoary lion
#

racer

#

f1 mentioned

olive sable
#

instead of racing myself i make my code race

hoary lion
#

you know who is faster than your code?

olive sable
#

max verstappen

hoary lion
#

that took a while to answer

#

but 👍

olive sable
#

i was typing something else first but ye

#

"stappen" is dutch for walking, and "ver" is mostly used to signify an increase/intensifying

#

so his last name litteraly says "gotta go fast"

hoary lion
#

i mean

#

he is

#

what an amazing name

olive sable
#

ver can also be used negativly but we wont talk about that

midnight sigil
olive sable
amber fractal
#

We love clang errors

#

I'm guessing I still need deps first

olive sable
#

ok i figured out while vulkan allows parallellization for a lot of things.
one window → one surface → one swapchain, so only 1 core is allowed to ask for the actual swapchain submiting

olive sable
#

it might also just be my makefile beig set up for linux

amber fractal
#

I just need to figure out how to install deps

#

I'm already running git bash for make at least

olive sable
olive sable
#

but since im not doing that rn im sadly limited to 1

#

hmmmmmmmm
if i make 16 windows, and each one has their own 18k, could i call that 16*18K fps?

amber fractal
#

Up to the judges

olive sable
#

that doesnt really count does it

#

its not in the spirit of the challenge imo

true hemlock
patent walrus
olive sable
#

hi vani

patent walrus
#

glad to know its not like, fake intel

amber fractal
#

Hey @true hemlock ReallyInnocent
I have another benchmark for you

true hemlock
olive sable
#

vani, im not at 1 neurmillion fps, but i have reached 18153 fps

true hemlock
#

im not bound by NDA so shrugR

patent walrus
#

suspicious intel

amber fractal
#

we love make (e=2): The system cannot find the file specified.

olive sable
#

oh thats either clang not being installed, or it cant find the shaders

#

its probably fine to use gcc tho

amber fractal
#

Probably need clang yep

olive sable
amber fractal
# true hemlock ?

Sam released the max fps on a triange and I'm making a leaderboard

olive sable
#

my pb is 18153 fps, apparently we're making this a leaderboard

midnight sigil
true hemlock
#

what's the leaderboard rn

amber fractal
#

Just sam

olive sable
#
leaderboard

sam - 18153 fps: linux CachyOs, 5950x, rtx3090
midnight sigil
olive sable
#

im not gonna gitpush yet since its really pathethic to be the only one on a leaderboard

olive sable
opaque wharf
olive sable
true hemlock
olive sable
#

that already has better single core than my 5950x, i wont be 1st for long

amber fractal
#

clang please

#

install

olive sable
true hemlock
olive sable
#

you should just need vulkan, volk and sdl2

amber fractal
true hemlock
#

ah aight

amber fractal
#

I see the exe

#

it is not being added into path

olive sable
#

you might need some windows specific stuff in the makefil

amber fractal
#

Maybe, but I at least need to get it to error in the first place

olive sable
#

-lvulkan might need to become vulkan-1on windows

amber fractal
#

Finally, dep error

true hemlock
#

might just try later because i might need to go soon though lmao

midnight sigil
amber fractal
true hemlock
#

or maybe if there's precompiled build for it

olive sable
#

idk how to releease builds

#

but if you're on linux

true hemlock
#

nope my 13900 system is on windows lol

olive sable
#

well shit

true hemlock
#

wait does the rendering support multi threadding

olive sable
#

kinda

true hemlock
#

might wanna try on my threadripper aswell, its on linux

olive sable
#

we use a total of 2 cores

true hemlock
#

damn nvm then

midnight sigil
midnight sigil
#

"We support multithreading, with grand total of 2 cores." sounds funny

true hemlock
#

was gonna say i wanna try on my epyc 9655 aswell but damn

olive sable
#

i wish i could use multiple cores for rendering, but the thing that takes up 95% of the rendertime is only allowed to run on a single core

true hemlock
#

happens

#

an idea though

#

make the whole shader run on AVX

#

so, no gpu

olive sable
#

vulkan is a lot better for multithreading than any other graphics api, but specifically the swapchain is only 1 per window

hollow spruce
#

How is your pc build ?
Day @true hemlock

midnight sigil
#

so the world record now is 0.0550873ms per frame

hollow spruce
olive sable
#

oh ye i kinda hardcoded the cpu cores it uses since that was the fastes on my pc. it should use core 1 and 2

#

starting at 0

true hemlock
olive sable
true hemlock
#

vibin

hollow spruce
olive sable
#

its fine

true hemlock
#

so it'll show up as that

olive sable
#

"duh" so rude neuroSadge

#

but ye he's joking if you cant tell

hollow spruce
#

One minor problem
(Neutral mixed line wire )
I will fix BYe

jagged turtle
olive sable
#

18153 fps is 0.05508ms per frame

#

thats crazy

#

55µs Minamhm

true hemlock
#

elvyn's 7950x is also engineering sample btw

midnight sigil
true hemlock
#

might not perform as good as retail ones but

#

got it for cheap hey

olive sable
#

i wonder who keeps killing engineers and looting their samples

true hemlock
#

ya ask? EvilSideEye

midnight sigil
olive sable
#

its a rare drop too so he must really be farming them

true hemlock
jagged turtle
amber fractal
#

Okay, I think I'm far too dumb to get this working.

olive sable
#

make sure you link with -lvulkan-1 for windows

#

that 1 is important for some reason

midnight sigil
#

does it work with wsl

amber fractal
#

I can't even figure out how to get the libs to link

true hemlock
#

should probably release a precompiled build if you wanted server wide leaderboard kek

olive sable
midnight sigil
olive sable
#

totaly non-suspicious file

amber fractal
#

Virus (real)

true hemlock
#

mods

#

mish his pc

olive sable
#

mods its a file

#

i swear

amber fractal
#

It's just a flavor of archive

midnight sigil
olive sable
#

its small-ish

midnight sigil
#

what did you pack in

olive sable
#

doesnt fit in L1, but probably does fit in L2

#

well uh... main.o vk_frames.o vk_command.o vk_device.o vk_sync.o

amber fractal
#

Where is a usb, I'm loading up an iso

olive sable
#

and volk + sdl

amber fractal
#

Requirements are live env

#

as not mine

midnight sigil
#

does static linking increase execution speed

olive sable
#

doe sit?

midnight sigil
olive sable
#

hmmm

midnight sigil
#

doe sit

olive sable
#
Static linking produces a larger executable file than dynamic linking because it has to compile all of the library code directly into the executable. The benefit is a reduction in overhead from no longer having to call functions from a library, and anywhere from somewhat to noticeably faster load times.
#

it might

true hemlock
#

it should fit in my L2 though

#

2MB L2 per core

olive sable
#

i have 512kb per core, less but also fits

#

if i use static linking it will increase in size tho

true hemlock
#

only 36MB L3 for the whole chip lmao compared to 5950x 64MB

midnight sigil
#

we're talking about 0.05ms here NeuroClueless

amber fractal
true hemlock
#

dynamic linking adds a bit overhead, of course

olive sable
#

"nearly imperceptible" maybe if you're a plebian running at sub-1000fps. but here every microsecond counts

midnight sigil
#

my L1 cache is 80KB per core

olive sable
true hemlock
#

something something i9 14th?

#

but yeah even if you scaled it down to 80kb it probably still won't fit lol, other processes still takes the cache

midnight sigil
#

i7 14700f

true hemlock
#

it definitely will fit any L3 though

midnight sigil
true hemlock
#

which is more than enough

amber fractal
#

I find random cpu before this drive

midnight sigil
#

if they can make games under 1kb, so can us

olive sable
#

i doubt most games under 1kb used vulkan tho neurOMEGALUL

maiden geyser
true hemlock
#

what

olive sable
#

the math is worng but i get what he means

maiden geyser
true hemlock
#

ah yes

olive sable
#

isnt it 33% per core then?

#

if you split it right down the midle

amber fractal
#

m.2 rocket drive will have to do

midnight sigil
olive sable
#

anywas here im just using 1 core for handling the swapchain, since that is the only thing i cant multithread about vulkan, and another core for handling the rest. that 2nd core only reaches about 6% on my pc tho neurOMEGALUL

midnight sigil
#

should we allow custom hardware and shit or it's limited to modifying the original code, and has to be on vulkan

amber fractal
true hemlock
olive sable
#

im fine with custom hardware, but i hope nobody here starts amking a core 2 due powered by the sun

#

only 2 cores, but 5 bilion GHZ

olive sable
#

you'd need 3 cores probably tho

true hemlock
#

in theory you can make an ASIC with really simple pipeline and make it clock like crazy

olive sable
opaque wharf
#

The theoretical speed limit for a computer clock is limited by the speed of light

midnight sigil
#

rush to ibm and borrow those quantum computers, and the fps will be infinite since it's undefinable neuroHypers

olive sable
#

we've talked about putting the rendering on the cpu, but most of the time is spent submitting and presenting the rendered image. so why not put the program on the gpu?

true hemlock
opaque wharf
#

I know. Just talking theoretical

midnight sigil
true hemlock
#

people seriously figured out to use a line of pipeline component in a streaming way

amber fractal
#

Are we allowed FPGA that renders the exact output?

olive sable
#

ok new idea, considering the theory of relativity, instead of rendering more frames per second, just make time for the pc faster than for us.
send the pc through space at 99% the speed of light and the fps will be billions

true hemlock
#

despite a core being relatively large and seem pretty impossible to reach high clock speed if compared to lightspeed, people fuckin made component queue system to maximize pipeline throughput

olive sable
midnight sigil
midnight sigil
#

science starts with stupidity fr

olive sable
#

we need to core that renders to be going at lightspeed compared to the core that measures the time and fps

midnight sigil
#

hitting trees with stones gone hard

olive sable
opaque wharf
#

Quick mafhs shows that a light travelling a planck distance would need 5.39124645 × 10^-44s. Double that and we round it to 1*10^-43

olive sable
#

im thinking of a small particle acceleratpr with a core going through it and a core in the centre neuro5head

opaque wharf
#

The maximum theoretical clock will have the speed of 10^43 Hz

olive sable
#

hmm

#

quantum tunneling

#

fuck it

#

entagnlement

midnight sigil
olive sable
#

entengle both sides of the pcie bus

midnight sigil
#

just do quantum computer at this point

olive sable
#

instant data transfer

true hemlock
olive sable
#

i like how we were taking this seriously at first and now we're just doing sci-fi shit

opaque wharf
midnight sigil
#

wait for 100 years so we have commercial quantum computing available

true hemlock
#

not only you have practically zero latency

opaque wharf
#

You still need to send a signal for when the computation is done

midnight sigil
#

Portal ahh thoughts

true hemlock
#

you can do practically infinite size of memory aswell

opaque wharf
#

No, the latency will still be limited by the speed of light

true hemlock
#

infinite sized L1 cache

#

imagine

opaque wharf
#

But the bandwidth is limited by how many qubit you can cram

midnight sigil
olive sable
#

the speed of light is a large enough limit imo

opaque wharf
midnight sigil
true hemlock
#

you can have insane bandwidth too if you figured out a signal encoding that works with quantum entanglement

olive sable
opaque wharf
amber fractal
true hemlock
amber fractal
#

That'd require a FS that can handle race conditions tho

opaque wharf
#

Entanglement can help ease the bandwidth

#

But not with the signal speed

midnight sigil
#

oh nuu I took a look at my motherboard and it broke my pc neuroSadge

true hemlock
#

i just need the ddr5 PepeHands

olive sable
#

pro series

true hemlock
#

and maybe an AIO

olive sable
#

that metal is really chunky

true hemlock
#

im tempted to get the 2x64gb dimms

maiden geyser
true hemlock
#

but im broke so might get 2x32, then get 2x64 later and use the 2x32 for my own pc lol

#

my pc is still on ddr4

opaque wharf
#

Quantum things just reminds me of how bad Vedal play Outer Wilds evilWheeze

midnight sigil
true hemlock
#

kinda wanna sell and get X870e but well

#

its fine

olive sable
#

e

maiden geyser
amber fractal
#

Manually typing the url goes hard

#

At least it downloaded

true hemlock
#

epyc 9684X owners be winning

amber fractal
#

Failed to create vulkan instance my beloved

maiden geyser
south whale
#

my current mobo nottlebecking my cpu and ram

true hemlock
flint dome
#

random question: why is it every time i do a ctf challenge i always get a massive headache while doing it

#

this only happens then

unkempt citrus
#

Thats because youre thinking

#

its a very dangerous activity

#

you should leave it for trained professionals

south whale
#

like i have NEVER seen my cpu boost higher than ~4.05ghz and ram is at 2933

flint dome
unkempt citrus
#

Thats the spirit

true hemlock
south whale
#

mobo is asus a320m-r

#

hold on

midnight sigil
true hemlock
midnight sigil
amber fractal
#

@olive sable We love errors on the binary

olive sable
amber fractal
#

cachyos because yes

olive sable
#

i completely removed error handling and such so makes sense

#

this is my most "works on my pc" ah code so far

amber fractal
#

Some vector error, can't create larger than max size

olive sable
#

ah

#

in the common structs headerfile

#

try to lower the amount of frames in flight

amber fractal
#

bwaa

olive sable
#

i put it at 7 cuz a latency of 7 frames is unnoticable at 18000fps, and its gave me an extra 100 fps

#

but on laptops its probably not supported

amber fractal
#

Here I was using the binary so I didn't have to compile

olive sable
true hemlock
#

i def should linux my briefcase just for this fr fr

amber fractal
#

Time to type another url into firefox yippie

solid bough
#

It’s usually that they modulate the fuel amount

amber fractal
#

Wait, there is a flash drive next to me

olive sable
amber fractal
#

I'm very stupid sometimes

solid bough
amber fractal
#

Show me a linux port

olive sable
#

are you serious? safari?

#

not having a linux port is not event he problem for me

#

i just dont understand why you'd use safari

solid bough
solid bough
amber fractal
#

Safari for windows is already cursed

#

by concept alone

olive sable
#

the none-iphone safari versions all suck, every single one. even for mac its ridled with bugs

solid bough
olive sable
#

just dont use safari

#

firefox is fine

solid bough
olive sable
#

chrome is okay

solid bough
#

Actually it’s my main

midnight sigil
#

safari is crazy

solid bough
#

I got these browsers installed: IE11, Microsoft Edge, Google Chrome, Safari

I was doing that from memory, so I might have missed a few

amber fractal
#

uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

midnight sigil
#

I use curl and render websites with my brain

amber fractal
#

It still crashed with the same error

olive sable
olive sable
amber fractal
olive sable
#

bwaa

midnight sigil
#

bwaa

amber fractal
#

I at least have selected GPU console text

midnight sigil
amber fractal
#

The window flashes for half a second

#

never draws

midnight sigil
#

something about the main loop I see

#

can you hook a debugger on it

solid bough
#

Well, the part I’m always wondering with is if my PC starts when the startup screen freezes

#

First try: nope

olive sable
#

the window gets created at the very start, so it could be anything vulkan related

solid bough
#

Because for some odd reason my pc does this

#

And another boot fail facepalm

amber fractal
#

Shame that this is live usb

#

so I'll have to re set it up

solid bough
#

Damn

olive sable
#

if the 18K fps version isnt working, the 16K fps version is the first commit into the repo

#

and that one does have fully intact debug

amber fractal
#

I think we need it

#

I humbly request to not compile it

olive sable
#

fine lmao

solid bough
olive sable
#

nah

#

not my problem

solid bough
amber fractal
solid bough
#

And this time a crash mids OS runtime???

#

should I just reinstall the OS?

olive sable
solid bough
#

but it’s kind of odd that’s just since I installed my new ram kit that the issues appeared

#

But oddly, it is only on start up

amber fractal
solid bough
olive sable
amber fractal
#

Debug info version!

solid bough
#

Finally it started

bitter coral
#

If the issue only started because of new ram then I kinda doubt it’s an os issue.

solid bough
#

Dance reliability score. Dance:

hollow spruce
amber fractal
#

Large window, still fails

midnight sigil
amber fractal
#

Lovely

olive sable
#

bwaa

midnight sigil
#

this one with virus?

midnight sigil
#

100kb less Susge

olive sable
#

oh ye for debug version you probably need the vulkan sdk

hollow spruce
#

"=> Network management is gone <="

solid bough
amber fractal
#

I'll check that and if I'm stupid I'm stupid

midnight sigil
#

install opera gx as well

solid bough
# hollow spruce Ure safe

Oh that is just something on Windows that tells how reliable the PC was lately. Idk why it counted my Vacation days though

midnight sigil
#

and all chinese browsers

olive sable
#

you only need one lmao

hollow spruce
amber fractal
midnight sigil
solid bough
solid bough
amber fractal
solid bough
olive sable
#

uhh

hollow spruce
#

ERR_CONNECTION_REFUSED

hollow spruce
olive sable
#

if the debug works it should probably give decent description ofhte issue

#

oh

#

for that is hould probably compile for debug

#

im stupid

hollow spruce
#

Let me do crut ure file

solid bough
#

I lost that Browser... Anyways

olive sable
#

yay

#

i should probably stop sending random files here

#

the mods might getmad

olive sable
amber fractal
#

got it

solid bough
hollow spruce
#

Chromium is suck

solid bough
solid bough
hollow spruce
#

Let me reinstall chromium

solid bough
amber fractal
#

wha, huh

solid bough
amber fractal
#

How is it a file open error

olive sable
#

the only files its opening are the shader files

amber fractal
#

wait

olive sable
#

which should jsut be in a folder named shaders

amber fractal
#

let me fetch those then

olive sable
#

you only need to spv's

sage crag
#

erf

olive sable
#

hi konii

solid bough
amber fractal
#

It's a triangle yippie

sage crag
amber fractal
#

3k is not correct because this is still on battery for some reason

olive sable
#

if the full game ran at 3K on battery id be more than happy

#

even 1k is fine actually

opaque wharf
sage crag
#

better than 0.5

olive sable
opaque wharf
amber fractal
#

4k seems like where this ends, but these render layers geez

hollow spruce
#

I HAD one problem
(I'm always limited by data
First' conver
(Txt to json )
I can put txt as data

olive sable
#

i live my 18000 fps spf NeuroClueless

amber fractal
#

IT WAS NO SHADERS THE WHOLE TIME

olive sable
#

without debug layers it shoudl do +50%

#

so mayhaps 6k fps

amber fractal
#

1 and 2 are the worst

hollow spruce
#

I need to change to a new pcb byb
(Then login computer)
Then work ai task
Training

amber fractal
#

somehow

olive sable
#

hmmm

#

so the ones that run better for me?

#

i didnt manage to static link vulkan or sdl2 or volk so far, but i managed to static link SDL3

#

lemme try that

stark needle
#

hi

olive sable
#

Hello

amber fractal
#

I'm first testing if the power limit is set correctly

#

Hi Shad

hollow spruce
#

Still pcb is not available

#

Bye i come back 5 mintus
Still finding pcb in my electrition shop

solid bough
#

Mmmmm, coffee neuroHypers

amber fractal
#

Alright, going through the executables in order

olive sable
amber fractal
#

because I found a method to actually see the fps

olive sable
#

I got volk to staticly link now too. And vulkan just cant be staticky linked byt that should not cause any overhead due to volk

#

Im not gonna put that on git yet tho

glad path
#

Is the homebrew version of nmap official

sage crag
amber fractal
#
  1. 26600
  2. 26400
  3. 3750
  4. 3750
#

Starting up spike which I'm not counting was 28000

opaque wharf
sage crag
#

100mb binary

olive sable
amber fractal
sage crag
#

nice screenshot

amber fractal
#

Didn't want to fps drop

olive sable
#

Laptop gpu's must be better for this with the lower latency to gpu then

amber fractal
#

Nah this is the Legion GO

#

Both powerful gpu and on die

sage crag
#

its probably a combination of bandwidth and latency

olive sable
#

Ok so 26377 fps on legion go

sage crag
#

want me to run it on my igpu?

olive sable
#

Sure neuroHypers

#

If you can get it to run

amber fractal
#

Make sure to grab shaders

sage crag
#

from where

amber fractal
#

because man was that fun not being bundled

olive sable
#

Uhhh. The code automatically chooses dedicated gpu ig you have one

#

Hmm

#

Either go into the code and make that +1000 points negative, or disable your gpu

sage crag
#

i do not have a dgpu

olive sable
#

Ah

#

Then its fine

sage crag
#

where code or where binary

#

need one or the other

olive sable
sage crag
#

nice one

olive sable
#

Ye that was an oepsie

#

Im sure its fine

solid bough
sage crag
#

the joy of setting up a dev environment

olive sable
solid bough
amber fractal
#
leaderboard

Sam - 18153 fps: linux CachyOs, 5950x, rtx3090
Iggly - 30573 fps: linux CachyOs, Z1 Extreme, AMD Phoenix (intergrated)
#

Strange, when I'm not pulling up the kde overview the fps number starts with a 3

sage crag
#

not that i have the same thing as you, im using nixos

amber fractal
#

let me install a waybar rq

solid bough
amber fractal
#

It's not a wayland session frick

solid bough
sage crag
maiden geyser
#

i like how the only copy of that image left for me is a telegram embed of the discord link

solid bough
amber fractal
#

@olive sable I'm changing my submission

sage crag
#

it will have poisoned that environment

solid bough
sage crag
solid bough
sage crag
#

your use of italics is very annoying

solid bough
sage crag
#

anyway, say you had two different projects that used the same dependency, but required different versions

solid bough
solid bough
midnight sigil
# olive sable 28000fps???

you should make an external program that reads the fps in memory, and take the max(and average maybe) fps in 10s duration

#

or else it's not accurate

sage crag
#

nix-shell -p gnumake clang volk vulkan-volk vulkan-headers vulkan-loader SDL2 glm lld
@olive sable is there anything else im supposed to need

#

because running make just dies

solid bough
amber fractal
#

Not sure if SDL will allow editing the title from not main thread, I'd imagine that has already been done tho

amber fractal
amber fractal
#

Also grab a bar because KDE cuts off the text

solid bough
#

Oh and Sorry konii for annoying you with Italics, May I sparingly use Italics when it fits?

amber fractal
#

and the overview being enabled reduces fps by a lot

#

-# note to self, 41k covered up by another window

solid bough
midnight sigil
#

gnumake

#

clang

opaque wharf
opaque wharf
solid bough
#

Brb

midnight sigil
#

italics italics italics

solid bough
midnight sigil
#

I think italics are okay, as long as they are used properly. With the above case, it's probably a no.

solid bough
solid bough
solid bough
midnight sigil
rough bloom
#

iGPU go fast YEP
dGPU only did ~20k (probably doesn't help that display output and compositing currently goes through the iGPU)

midnight sigil
solid bough
rough bloom
#

I accidentally tested that too

#

~5k

midnight sigil
#

so it is faster

#

:O

solid bough
#

I was swiping the words

rough bloom
#

messed up the GPU scoring function enough that it chose the software renderer

sage crag
#

erf

rough bloom
#

@sage crag @amber fractal flake

{
  description = "Description for the project";

  inputs = {
    devenv-root = {
      url = "file+file:///dev/null";
      flake = false;
    };
    flake-parts.url = "github:hercules-ci/flake-parts";
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
    devenv.url = "github:cachix/devenv";
  };

  outputs = inputs@{ flake-parts, devenv-root, ... }:
    flake-parts.lib.mkFlake { inherit inputs; } {
      imports = [
        inputs.devenv.flakeModule
      ];
      systems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];

      perSystem = { config, self', inputs', pkgs, system, ... }: {
        devenv.shells.default = {
          name = "my-project";

          packages = with pkgs; [
            vulkan-headers
            vulkan-volk
            SDL2
            glm
            lld
          ];

          stdenv = pkgs.clangStdenv;

          enterShell = ''
            export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_LD_LIBRARY_PATH"
          '';

          env.EXTRA_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [ SDL2 gcc-unwrapped.lib ]);
        };

      };
      flake = {};
    };
}

doesn't include the Vulkan loader because that's not required anymore, remove -lvulkan from the LDFLAGS in the Makefile

sage crag
#

flakes deliv

#

i hate flakes deliv

midnight sigil
#

do I have to use nixos

sage crag
#

please dont

#

i do not recommend nixos for real people

#

fake people only

midnight sigil
#

are you fake

#

fake tv

sage crag
#

im literally a tv

midnight sigil
#

so real tv

sage crag
rough bloom
# sage crag i hate flakes <:deliv:1346261888689766543>

a classic nix shell with shell.nix or something probably works, idk just make sure it uses the clang stdenv, it makes stuff easier NODDERS
I use flakes because it's convenient to do nix flake init -t github:cachix/devenv#flake-parts

sage crag
#

mabe its just me who thinks flakes are unnecessarily complex and verbose

rough bloom
#

Hmm I can see unnecessarily verbose but not complex
their structure is really simple, you have a list of inputs that get mapped to an output attrset through a function, that's pretty much it

nocturne olive
#

Now I wonder what would happen if the thing decided to run on my 3090 which has no display attached to it and runs on a x4 chipset slot

sage crag
rough bloom
#

true, though those also do a lot less

tender river
tender river
rough bloom
#

because it's convenient to do nix flake init -t github:cachix/devenv#flake-parts

tender river
tender river
sage crag
tender river
# rough bloom > because it's convenient to do `nix flake init -t github:cachix/devenv#flake-pa...
{
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  outputs = { nixpkgs }: {
    devShells = nixpkgs.lib.genAttrs [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ] (system: let
      pkgs = import nixpkgs { inherit system; };
    in {
      default = pkgs.mkShell.override { stdenv = pkgs.clangStdenv; } {
        buildInputs = with pkgs; [
          vulkan-headers
          vulkan-volk
          SDL2
          glm
          lld
        ];
        shellhook = ''
          export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_LD_LIBRARY_PATH"
        '';
        env.EXTRA_LD_LIBRARY_PATH = nixpkgs.lib.makeLibraryPath (with pkgs; [ SDL2 gcc-unwrapped.lib ]);
      };
    };
  };
}
tender river
#

computers bad

sage crag
#

puter

#

awawa

tender river
#

you could still use flakes using import ./shell.nix { ... } in flake code

rough bloom
tender river
rough bloom
#

public flakes are different, ye

sage crag
#
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell rec {
  buildInputs = with pkgs; [
    lld
    clang
    gcc-unwrapped

    glm
    SDL2

    vulkan-volk
    vulkan-loader
    vulkan-headers
  ];
  stdenv = pkgs.clangStdenv;
  shellHook = ''
    export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH
  '';
}

this works

tender river
#

nERMd lld/clang/gcc-unwrapped should go to nativeBuildInputs, also stdenv = pkgs.clangStdenv doe nothing, you have to mkShell.override { stdenv = pkgs.clangStdenv; } { ... } instead

sage crag
#

i dont like the LD_LIBRARY_PATH here

#

gross

tender river
#

i hate how i have to do it with rust sometimes too

#

the compiler just expects the library to be there without setting rpath neuroSadge

sage crag
#

pkg-config neuroSadge

tender river
#

nix dynamic linking is just static linking but with a separate file

#

mhm

sage crag
#

"nix dynamic linking"

tender river
#

LD_LIBRARY_PATH=/run/current-system/sw/lib

sage crag
tender river
#

emscripten heavy

sage crag
#

emscripten needs a diet

#

actually this is more useful

#

why on earth do you need nodejs and openjdk

opaque sigil
sage crag
opaque wharf
#

Now I wonder how I'll fare with lucienne

sage crag
#

your cpu is worse than mine why is it beating me by 22k fps

opaque wharf
#

He has a secret compile sauce

#

By turning the in-flight frame up to 7

sage crag
opaque wharf
#

Oh, I thought that was a reply to Sam neurOMEGALUL

true hemlock
#

wait how did you guys got it to work

sage crag
solid bough
true hemlock
#

damn nix

solid bough
#

Wait

#

ugh, too late

sage crag
# true hemlock damn nix

shell.nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell rec {
  nativeBuildInputs = with pkgs; [
    lld
    clang
    gcc-unwrapped
  ];
  buildInputs = with pkgs; [
    glm
    SDL2

    vulkan-volk
    vulkan-loader
    vulkan-headers
  ];
  shellHook = ''
    export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH
  '';
}

you can try and replicate this on windows or whatever if you want enub

sage crag
solid bough
sage crag
#

it doesnt really have anything to do with converting from float16 to int

#

i did rounding to reasonably close number
enub

rough bloom
solid bough
sage crag
#

are you running it with make run

rough bloom
#

no

solid bough
sage crag
rough bloom
#

./output/release/vulkan nub

sage crag
#
[nix-shell:~/code/very-fast-but-very-bad-code-vulkan]$ ./output/release/vulkan
Selected GPU: llvmpipe (LLVM 19.1.7, 256 bits)

llvmpipe neuroDespair

#

did i need to add mesa

rough bloom
#

I adjusted the GPU selection code to favor the iGPU over the software renderer

sage crag
#

git diff?

rough bloom
#
diff --git a/src/vk_device.cpp b/src/vk_device.cpp
index 1a4d126..e973df0 100755
--- a/src/vk_device.cpp
+++ b/src/vk_device.cpp
@@ -101,7 +101,7 @@ int DeviceManager::rateDeviceSuitability(VkPhysicalDevice physicalDevice)
     VkPhysicalDeviceFeatures deviceFeatures;
     vkGetPhysicalDeviceFeatures(physicalDevice, &deviceFeatures);

-    if (deviceProperties.deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) score += 1000;
+    if (deviceProperties.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU) score += 1000;
     score += deviceProperties.limits.maxImageDimension2D;

     return score;
#

will also make it use the iGPU over the dGPU

solid bough
sage crag
#

my editor counts this all as trailing whitespace because its a dos format file

#

funny

solid bough
rough bloom
sage crag
#

this is a minor improvement

solid bough
sage crag
solid bough
nocturne olive
#

Can I has thing to test? And how do I test it on Linux Mint?

sage crag
#

@rough bloom try running it with gamemode

maiden geyser
#

neuro stream starting not at 1 am???

sage crag
# sage crag <@105382012671520768> try running it with gamemode
programs.gamemode = {
    enable = true;
    enableRenice = true;

    settings = {
      general = {
        renice = 10;
        softrealtime = true;
        # may break things
        igpu_desiredgov = "performance";
        igpu_power_threshold = -1;
      };
      
      # danger
      gpu = {
        apply_gpu_optimisations = "accept-responsibility";
        gpu_device = 0;
        amd_performance_level = "high";
      };
    };
  };

here's how i have it in my configuration.nix

solid bough
nocturne olive
rough bloom
sage crag
sage crag
rough bloom
sage crag
#

probably upower or ppd

#

i have 30 librewolf tabs open atm

rough bloom
#

30 glueless

tender river
nocturne olive
rough bloom
tender river
#

i use system76-scheduler

#

but it has no sway integration so i wrote it myself

sage crag
sage crag
solid bough
opaque wharf
#

Wait, the stream is now?

#

I didn't see the schedule lmao

solid bough
rough bloom
opaque wharf
#

Neuro will never be as perfect as Evil enub

sage crag
#

why am i also using cfs

#

im using the xanmod kernel

solid bough
#

Should I get Twitch Turbo?

sage crag
true hemlock
#

bruh lol

#

yeah im getting nix

sage crag
#

rip

solid bough
#

By the way, Hi 🦆

sage crag
tender river
sage crag
#

could use ananicy enub

nocturne olive
solid bough
#

I somehow misread it while glancing

tender river
#

are you sure ananicy is a good idea

sage crag
tender river
sage crag
#

no one uses the python one

solid bough
#

Hello chayleaf

nocturne olive
sage crag
rough bloom
sage crag
sage crag
nocturne olive
#

Did not work

sage crag
#

erm

#

well, this is awkward

sage crag
#

try sudo apt install -y libvulkan-volk-dev

nocturne olive
nocturne olive
#

Same error

sage crag
#

uhhh

opaque sigil
#

konii do you have the shell.nix enub

opaque sigil
#

sick, thanks

rough bloom
# nocturne olive Same error

if you can't get the system provided package to work then you can try putting #define VOLK_IMPLEMENTATION at the start of src/main.cpp
then remove -lvulkan -lvolk from the LDFLAGS in the Makefile