#programming

1 messages · Page 155 of 1

true hemlock
#

unemployment

midnight sigil
midnight sigil
nocturne olive
#

Peak free data

rough bloom
#

terms of service usually aren't even that long
they're just really, really boring buh

nocturne olive
#

Sadly vocal synthesizers are not so easy

midnight sigil
midnight sigil
#

he took no break as well

#

no water nothing

#

just straight fucking reading the whole shit

true hemlock
rough bloom
true hemlock
#

because TOS really felt like its whole AI

#

😭

midnight sigil
#

they are essentially spitted out and modified by tons of lawers probably

olive sable
#

Its fucked. Broken xbox

nocturne olive
#

Maybe there just are so many TOS' that LLMs get a lot of their training from that

midnight sigil
true hemlock
nocturne olive
midnight sigil
#

so it feels like AI

rough bloom
nocturne olive
true hemlock
midnight sigil
true hemlock
#

you know what i mean it feels like if you had ever stumbled upon those ai generated "scientific" yt shorts or something

nocturne olive
#

There must be somewhere LLMs get their garbage data from

midnight sigil
#

we found the prove

olive sable
nocturne olive
#

IDE

olive sable
#

ye

#

o7

nocturne olive
#

Also it needs to be specifically formatted for the XBox beforehand

rough bloom
midnight sigil
true hemlock
#

im tempted to train one with shit tons of tos rn

midnight sigil
true hemlock
#

the einstein pictures are usually on edits

#

also slop lol

midnight sigil
#

and random company names

rough bloom
#

but clips are still short and audio is... questionable

midnight sigil
#

phonk phonk phonk

rough bloom
#

I've only really seen the ones that popped up together with Veo 3
I'm not a huge YT shorts enjoyer so I don't see them much

olive sable
#

original xbox's have the harddrive locked to the mobo, and you need to mod it to replace it HuTao_Noo

true hemlock
midnight sigil
#

I hate when people using AI to visualize bible scenes, it feels like indignity to god

true hemlock
#

like each shorts straight up always impressed me in different ways

midnight sigil
#

he claimed open-source softwares to be "written by him" btw

true hemlock
olive sable
true hemlock
#

the ai generated shit are slop

midnight sigil
rough bloom
midnight sigil
#

and he fucked up this time

#

even deleting the licensing headers

true hemlock
#

smh

midnight sigil
true hemlock
#

but yeah most of the youtube are slops now

#

and i don't even wanna talk about the social medias boomer uses

#

those are literally full of ai generated shit

rough bloom
midnight sigil
#

Mr. Beast claiming no cgi and says they use cgi to make the scene feel better afterwards

midnight sigil
true hemlock
#

the whole mrbeast situations last time has been nothingburger for me ngl

midnight sigil
rough bloom
#

the GitHub search feature in question

true hemlock
rough bloom
midnight sigil
#

cuz there're just too many "stealing open-source and claiming as theirs" happening

#

like, people stole blender

#

visual studio code

#

everything

#

not just stealing, they rebranded it, redistributing with commercial intentions, and can't even replace strings properly

#

shits are insane

trim valve
#

I should really figure out a use for these

desert wave
#

I would say making viral youtube music videos, but I think you missed the boat by a decade

midnight sigil
#

owobred - Soda pops (Official Mix) coming

hollow spruce
#

Maths is too tricky one

rigid snow
#

you can’t even really use it as a drum machine, the pads are too hard

olive sable
rigid snow
#

basically the only thing they’re good for is exactly what they were made for, and that’s live performance (switching loops)

rigid snow
olive sable
#

aaah

#

thats rg

#

you just need the b

rigid snow
#

also the refresh rate fucking sucks

#

i mean the midi bandwidth it takes in

olive sable
rigid snow
#

it might be mk ii or iii or some bullshit sure, those are rgb

olive sable
rigid snow
#

it’s not going to refresh at once

#

idk how to explain

#

basically how you set colors is you play midi notes of different velocities, the note is the pad and the velocity is the color

#

midi is a message queue

true hemlock
dapper kernel
trim valve
trim valve
#

but that would require a little bit of custom software

rigid snow
#

midi is ez

dapper kernel
rigid snow
#

just downloaded it and it worked

trim valve
#

fair

#

idk if anyone's done it for black magic stuff

hollow spruce
#

HELP ME MATHS

olive sable
olive sable
midnight sigil
#

awawa

midnight sigil
hollow spruce
#
  1. If A × B = {(a, x),(a , y), (b, x), (b, y)}. Find A and B.

  2. A = {a, b}, B = {x, y} find out b and y

I'm confused about the question

olive sable
#

uhhh

#

what

midnight sigil
#

that's APA but not LaTeX glueless

#

is that a matrix

olive sable
#

is that set theory?

midnight sigil
#

or smth

#

yea I can't understand this

#

plz format to LaTeX

olive sable
#

i think its set theory

midnight sigil
#

that might be a crossproduct

#

you never know

#

he used the crossproduct symbol

olive sable
#

which symbol is the cross product symbol?

midnight sigil
#

×

olive sable
#

thats just multiplication i think

midnight sigil
#

but he used matrix or vector wrapper thingy MyHonestReaction

olive sable
#

thats set theory

#

the set witht ellements

midnight sigil
#

but what are the (n, p) things

olive sable
#

a set of tuples i guess?

hollow spruce
#

Have u done I'm CONFUSE
Most easy one
Let me ask my chatgpt for this one I wasted the whole 30 minutes

midnight sigil
#

it certainly looks like matrix math

olive sable
#

ye it was set theory

midnight sigil
#

my chatgpt tells my b = b, y = y

olive sable
#

it would be correct, but its also stupid as fuck

hollow spruce
#

MINE WAS
A = {a, b}, B = {x, y} , B € A , Y € B

burnt aurora
#

using € as the "Part Of" symbol is crazy but somewhat genious

hollow spruce
#

That's why i got confused

olive sable
#

there is no capital Y

midnight sigil
olive sable
#

and B cant be an element of A since A is clearly defined as not having anything of B

opaque sigil
midnight sigil
#

lemme ask deepseek r1

hollow spruce
#

Confusing part finds out the b and y

#

Otherwise and will be
A = {a, b}, B = {x, y}

midnight sigil
#

that's the solution

#

smh

opaque sigil
#

i mean yeah

olive sable
#

b ∈ A, y ∈ B ???

opaque sigil
#

that too enub

hollow spruce
#

MIS PRINTED IS WILD

olive sable
hollow spruce
#

Some questions are wiped out or fade

opaque sigil
#

i'm a big fan of the cartesian product, it allows me to be super lazy with sets Gladge

midnight sigil
hollow spruce
#

I will ask teachers to solve it
Personal number will help me

opaque sigil
midnight sigil
#

yk

#

just to clarify

opaque sigil
midnight sigil
rigid snow
#

i should just drop an obscure theorem here with a “pls help matj solve” sometime, chances are y’all are autistic enough to actually solve it

midnight sigil
#

unemployed

olive sable
#

proffesionally unemployed

midnight sigil
#

we should secretly make a #neurotic-neurons leaderboard, so we can tell who is the most unemployed person in this server mhm

olive sable
#

oh me 100%

rigid snow
#

you don’t chat in nn

#

well tbf neither do i anymore

olive sable
scenic pelican
olive sable
#

cuz im online here 15 hours per day if not more

midnight sigil
#

we need to make scores

#

ranking systems

#

for nn

olive sable
#

i have 43.319 messages on neurocord, of which exactly 40.000 were in #programming . with this message included 40.001

midnight sigil
#

I can't check mine

#

probably more than 60000

#

in total

rigid snow
hollow spruce
olive sable
midnight sigil
#

I guessed correctly

nocturne olive
olive sable
midnight sigil
#

there's no way

#

did you quit and join back

rigid snow
rigid snow
midnight sigil
#

my memory is correct

#

I definitely know sam before august neurOMEGALUL

olive sable
midnight sigil
#

but what for

olive sable
#

i hold myself acountable

midnight sigil
rigid snow
#

self timeouting

hollow spruce
nocturne olive
#

I really need to overclock this CPU using NeuroSynth is pain with CPU rendering being so slow

midnight sigil
olive sable
#

???

burnt aurora
rigid snow
#

to stop their addiction

nocturne olive
midnight sigil
#

and cs pro scenes

olive sable
#

osu players are wild man

rigid snow
#

dw i was confused too

#

and i play the game

midnight sigil
rigid snow
#

i’m not aware of that

midnight sigil
#

VAC banned live on a LAN game against s1mple

rigid snow
#

emilio

#

is the guy

rigid snow
olive sable
tender river
#

someone keeps trying to reset my email neuroMad

hollow spruce
#

I need to repair python files
Python313.dll is missing

tender river
#

steam keeps opening this window

olive sable
#

i guess change your steam password with force-logout?

tender river
#

theres no active sessions that arent mine

midnight sigil
olive sable
#

huh

tender river
#

its being done without logging in

#

i mean it could be a steam bug too

#

(also if they had managed to log in it would be mildly concerning to say the least as i use a password manager and 2fa)

hollow spruce
#

C:\Users\new pc\AppData\Local\Package Cache{822f14aa-d580-47b5-acec-50522824aca3}\python-3.13.6-amd64.exe

tender river
#

i like how they use a phone icon for pc

hollow spruce
#

Finding wheels is hard

midnight sigil
rigid snow
#

“all your accounts get banned if 1 gets affected” bro really used one phone number for all of his accounts, ripbozo

hollow spruce
#

Dll is gone

midnight sigil
#

there's definitely a rumor quoting he cheated to ban himself because of addiction

#

but it's a rumor

#

I can't find an article for it

rigid snow
#

he was a pro, t2 sure but still

rigid snow
nocturne olive
midnight sigil
#

I hope I was playing cs source when I'm 5 years old

#

instead of playing chinese minecraft rip off

rigid snow
midnight sigil
hollow spruce
#

Uninstall.exe is gone

midnight sigil
#

that's something

rough bloom
rigid snow
midnight sigil
#

they only know go mid with PP and die

#

higher elo is same as eu

#

sweaty sweaty

#

and more toxicity

#

gold novas are as bad as silvers in cs2

#

I have no idea how that works now

rare bramble
#

I got to LE in cs:go, quit playing because it was too toxic and stressful

midnight sigil
#

I'm DMG in wingman rn

#

MGE on mirage and MG1-2 on main map pools

rigid snow
#

wingman is free

#

everyone and their mom is global there

midnight sigil
midnight sigil
#

I have 81 wins with 55% winrate

hollow spruce
true hemlock
#

guys

hollow spruce
midnight sigil
true hemlock
#

elvyn infected a server with the 🔺 ICANTTAKETHISANYMORE

midnight sigil
#

what is that word

#

competitors I mean

true hemlock
#

YEP

hollow spruce
#

Last time ddl was gone now no mistake

midnight sigil
#

hurray

midnight sigil
rough bloom
true hemlock
#

chances are im losing #1 soon

midnight sigil
true hemlock
#

🥀/10

midnight sigil
#

8GHz coming

#

getting 10s y-cruncher and 200k windows fps

#

get liquid helium just to hit triangles

trim valve
#

on one hand I really don't have a good reason to turn on PBO to test my fps

#

on the other hand, it would be funny

midnight sigil
hollow spruce
#

What ure idea

midnight sigil
burnt aurora
#

can anyone here help mr Superbox with learning easy kotlin Ui (or TUi)? impPlead

olive sable
#

we have probably already been defeated

burnt aurora
stark needle
#

@true hemlock the triangle thing runs at 13.7k-14.2k

burnt aurora
#

-# clown MomijiSob

stark needle
#

on my 3090

true hemlock
#

what os?

burnt aurora
#

-# so mean evilBwaa

stark needle
#

windows

olive sable
#

oh

#

ye thats expected for windows

#

on the old version with semaphores at least

stark needle
#

i'm on 11 pro for workstations 23h2

olive sable
#

the new one without semaphores its either 30K or 0 fps depending on vibes

#

software rendering seems to be prefered for that

rigid snow
#

what’s with the wilted roses 🥀🫩🫩

olive sable
#

im wilting in real time

stark needle
burnt aurora
rigid snow
burnt aurora
#

can't be worse than Processing 4

olive sable
#

Idk never used kotlin

#

But ui just sucks in general

midnight sigil
rigid snow
#

unless it's react

midnight sigil
olive sable
burnt aurora
trim valve
#

new version runs mildly better

midnight sigil
#

doing everything with Microsoft Fluent UI is more based NeuroClueless

rigid snow
#

that's crazy

olive sable
#

Or igpu?

trim valve
#

dgpu

#

on windows 😭

#

50% faster so

olive sable
#

Huh, your dgpu seems to work.

trim valve
#

I hope so

midnight sigil
olive sable
#

Mine did 0fps cuz the lack of semaphores caused race conditions. It seems like windows slowed you down enough to not have race conditions tho

#

Thats gotta be the funniest shit ive seen here today

midnight sigil
true hemlock
#

build.bat to compile (not a must) , triangle.bat to run
this is the Triangle, a benchmark by the resident of NSH #programming. this is for fun only! try to optimize your machine and hit as high FPS as possible!
NOTE:

  • most of the libraries are packed, you don't need to install these on your own.
  • you might need GCC/MSVC installed if you wanted to compile from source. alternatively just use the precompiled version by clicking on triangle.bat
  • running the one click compiler isn't a must, but it often improves performance because you're compiling from source directly on your machine
  • feel free to screenshot your result afterwards and we'll add your score to the leaderboard
  • windows might flag this shit as mish. windows is just stupid
  • linux version (good luck figuring out how to install. compiling from source in linux is recommended!!!) also you can find current leaderboard here -> https://github.com/samvanmaele/very-fast-but-very-bad-code-vulkan
  • #starboard message #programming message
  • 🔺
    discord commands:
editor's access:
!triangleadd<linux/windw/macos> name,score,os,cpu,gpu,ram    -  adds an entry to the leaderboard
!triangleupdate<linux/windw/macos> numberonlist,newscore     -  updates an entry score to the leaderboard

admin's access:
!trianglerem<linux/windw/macos> nuumberonlist                -  removes an entry to the leaderboard
!trianglepush                                                -  push the updated leaderboard to sam's repository in github

everyone can access:
!triangle<linux/windw/macos>                                 -  show leaderboard
GitHub

Contribute to samvanmaele/very-fast-but-very-bad-code-vulkan development by creating an account on GitHub.

nocturne olive
rough bloom
olive sable
#

Hmmm

rigid snow
olive sable
#

So nvidias drivers have the race conditions?

olive sable
#

I should try the windows version

midnight sigil
#

I see

nocturne olive
olive sable
midnight sigil
true hemlock
rigid snow
#

sam why no windows and macos in makefile in upstream

#

"dowbload this random ass archive and run a bat file" lol

olive sable
midnight sigil
#

just some modifies

uneven pulsar
#

i hate inside jokes

#

man i am stupid

olive sable
#

Its nt really an inside joke

#

Its just the triangle innit

#

Runs at a casual 41160 fps

uneven pulsar
#

i am stupid

#

idk

rigid snow
olive sable
#

We meticilously optemized it

rough bloom
uneven pulsar
#

i been getting 'bool' object is not subscriptable

def calc(d_calc:int) -> int:
    d_calc=int()
    for x in range(1,4):
        try:
            cons_act={1:12345,2:2344,3:2144}.get(d_calc,'p_kw').isnumeric()
            cons_pre={1:2112,2:1600,3:1221}.get(d_calc,'left').isnumeric()
        except ValueError as e:
            print(f"{e}")
        cons_kw=cons_act[x] - cons_pre[x]
        
        print('Left num',x,'KW consumed=',cons_kw)
        try:
            sum_kw=lambda:d_calc['p_kw']*cons_kw+d_calc['left']
            
        except ValueError as e:
            raise(f"NONE EXISTING NONE TYPE VALUE {e}")
        tva=sum_kw()
        sum_net=sum_kw+tva
        print('Left value of num',x,'Net paying in $',round(sum_net,2))
        print(24*'','Net to pay in dollars',round(sum_net*cons_act['t_d'],2))
        print("________________________________________")
        try:
            total=float(input('enter money '))
            left=float(input("the sum of leftovers="))
            price_kw=float(input("the price in KW "))
            d_calc={'t_d':cons_act,'left':left,'p_kw':price_kw}
        except Exception as e:
            print(f"return wait wtf -->{e}<-- look at the error stupid ass")
            
calc(d_calc=12)
olive sable
#

Quack oc'd his cpu to 7.6 GHz or something for 100K fps

rigid snow
rough bloom
rough bloom
midnight sigil
#

compiling c++ on mac sounds bad

#

somehow

#

feels diabolical

olive sable
#

Its just

#ifdef _WIN32
Thread system 1
#elif __linux__
Thread system 2
rigid snow
midnight sigil
#

vani did macos and you should be too

rigid snow
#

i have nothing to achieve

#

it's an m1

true hemlock
rigid snow
olive sable
#

Bro really going almost double my cpu

midnight sigil
#

I'm sitting for risv and templeos(holyc fork)

uneven pulsar
#

could anyone help

midnight sigil
#

doesn't have to be vulkan, just draw a triangle

uneven pulsar
#

i am just a fuckass idiot

rigid snow
#

which i would imagine isn't something people just have

midnight sigil
midnight sigil
olive sable
#

There are instructions somewhere

#

Not from me, im too sleepy

#

But somewhere

uneven pulsar
rigid snow
#

riscv instructions? NeuroPoggers

olive sable
#

Sure why not, i also dont give out those

#

Ask someone else

true hemlock
rigid snow
true hemlock
true hemlock
#

if i have the time tomorrow i'll try hackintosh

#

just to also dominate macos leaderboard

uneven pulsar
#

i am stupid as fuck

true hemlock
#

🥀

uneven pulsar
#

idk tf happened

uneven pulsar
#

uhh why...yknow i had enough shit

midnight sigil
#

I'm planning to add ASCII support to my AWA5.0 Interpreter

#

anyways I'm eeping now

#

gn

rough bloom
#

inefficient

true hemlock
#

smh

rigid snow
#

fake and forged and

wise acorn
wise acorn
#

this one is better

sage crag
#

awful keywords

#

try again

warped narwhal
#

clearly they should just add Orber as an emoji instead

rigid snow
#

this year maybe

rigid snow
#

Sportsball

tender river
#

sportsball

uneven pulsar
hexed grove
#

Bet I'm the only viewer joining from an iPod touch fourth gen 😭

#

twitch already uses hls

#

i just cant use the ui

#

because they have so much damn js

#

so i had to write this

rigid snow
#

wait i have that

#

also i had the same battery pushing on the screen thing but it just

#

went away?

hexed grove
rigid snow
#

i mean it barely works

#

good luck getting more than 40 minutes of battery life

#

i’ve had the thing since it came out

#

which is like 2009 right?

#

oh 2010

#

wait the white one came a year later so 2011

hexed grove
#

mine has very much unfunctional battery

#

and

#

is used for watching twitch exclusively

#

:3

rigid snow
#

interesting usecase

uneven pulsar
#

i feel normal again

glad path
#

my ai has 'prismaticdepths sounds like a mosquito' as the example for messages to send, so whenever I ask it to dm me or say something and don't give it anything else it just says I sound like a mosquito

#

its quite funny ngl

#

thanks neuro for the idea

amber fractal
#

I see Quack regained the record for now

glad path
#

oh wait

#

FINALLY

amber fractal
#

Sam also having troll timing on pushing a change

glad path
#

NO MORE GREEN LEAF TAG

amber fractal
#

Your no longer new neuroHypers

tender river
#

backus-neur form

sage crag
#
poll_question_text

lurkers

victor_answer_votes

5

total_votes

8

victor_answer_id

1

victor_answer_text

should lurk

victor_answer_emoji_id

1167564174885388438

victor_answer_emoji_name

evilGutter

stray dragon
amber fractal
rigid snow
#

as long as it works or something

amber fractal
#

Yeah, I hope none of the traces are shorted

opaque sigil
sage crag
warped narwhal
violet sand
rigid snow
#

first person brave enough to actually put rust in their name

violet sand
bleak zephyr
#

i posted the wrong link, i will see myself out

sage crag
#

@true hemlock i know you mentioned it before but how does elvyn work vaguely? i remember that she's not an llm.

#

she's also very multi-modal and seems to just do what she wants

frail mortar
#

New at programming Ai. Would it be possible to Ingest memories based on the ingest content? File them in meta.json according to topic, pull internal monologuing from these different meta.json files, combine the context to the internal monolog, and phrase the many answers to 1, shoot that 1 answer to a response?

#

Science, conversation, history, persona, and so on?

amber fractal
#

Surprisingly doesn't exist, a lot of LLMs use memory fetch

frail mortar
#

cant run more than one parallel?

amber fractal
#

It's more like fetching from a database that has it's own subpar issues

amber fractal
frail mortar
#

and I'm sorry if Calling my Ai "Aeon" seems odd, thats her name....

#

So there would be no way to catigorize ingest content?

#

other than what the .json and .faiss does already?

karmic birch
#

!triangle

amber fractal
#

Always something you can look into on your own

hidden ravine
#

🔺

frail mortar
#

I'll share if I do something worth sharing with this idea.

amber fractal
#

I'm still drafting my own attempt at it personally

frail mortar
#

Good luck

sage crag
#

!trianglelinux

hidden ravine
#

Linux Leaderboard:

  1. 102748 by Quack on NixOS, i9-13900 (ES Q0L4) 7.6GHz OC unlocked + RTX 4070 Super
  2. 70854 by owobred on NixOS, Ryzen 9 9950X + RX 9070 XT
  3. 41784 by Sam on CachyOS, Ryzen 9 5950x + RTX 3090
  4. 36036 by Iggly on NixOS, i7-1260P + Xe Graphics (integrated)
  5. 35600 by superbox on Mint, i7-12700K + RTX 4070 Ti
  6. 32100 by Semicolon on Arch, Ryzen 9 5950x + RX 6800 XT
  7. 30573 by Iggly on CachyOS, Z1 Extreme + AMD Phoenix
  8. 27158 by Shuni on NixOS, Ryzen 9 7950X + AMD Raphael (integrated)
  9. 26364 by konii on NixOS, Ryzen 5 7600 + AMD Raphael (integrated)
  10. 22809 by Prism on Custom, HP Prime G2 RevD + (Graphing Calculator)
  11. 17000 by toast on NixOS, Ryzen 9 5900x + RTX 5070 Ti
  12. 13768 by Sqbika on NixOS, Ryzen 5 3600 + RX 9060 XT
  13. 13337 by Sqbika on NixOS, i7-9750H + GTX 1650M
  14. 13037 by Assist on CachyOS, i3-8100U + UHD 620
  15. 9458 by unkomp on Arch, +
  16. 672 by Quack on TizenOS, Quad core ARM cortex? (Samsung Smart Fridge) + Mali GPU
  17. 0 by Elvyn on NixOS, Ryzen 9 7950X ES + RTX 3080
sage crag
#

excuse me 103000

amber fractal
# frail mortar Good luck

All I can say, not due to hiding secrets but a basic requirement is that you need a layer of misdirection for memories, Like how different ways exist to express the same thing like language.

frail mortar
amber fractal
#

There are things I'm not going to say to avoid getting snipped. But might as well say the one truth I've come to realize.

frail mortar
#

are we allowed to share files here?

amber fractal
#

yep

#

Just after you gain your rights

frail mortar
#

permissions may not be set. I'll work on rights later. Would hate to be banned here.

violet sand
amber fractal
violet sand
#

Ahh

#

May I join?

amber fractal
#

ye

violet sand
sage crag
#

make number big

sage crag
#

you have to render the triangle though

violet sand
sage crag
#

i maintain that shrinking the resolution is cheating but enub

amber fractal
#

Unless you are the graphing calculator, it must be vulkan

amber fractal
amber fractal
#

where the 200x200 and 32x32 had the same fps

#

actually the latter was worse for me

amber fractal
violet sand
#

Can I "cache" an image of a triangle in L1 mem. after the first render, if I know the window size didn't change?

amber fractal
#

The draw call is already cached

#

vulkan is still the hard requirement

violet sand
amber fractal
#

Check in /src/commonstructs.hpp for your dials

#

If you not Sam on software rendering, frames in flight should be 6-7

#

Useful for windows testers

violet sand
amber fractal
#

How many frames can be in the stage between CPU and GPU

#

In AAA this is 1 for Competive and 3 otherwise. But we are going so fast that our scale needs to change

violet sand
amber fractal
#

As a note, a lot of people have a limit of 512

#

Because of course that dial was turned to the max

#

I guarantee that whatever effort your making, there has been more done. Just look at the 100k fps numbers, tuning every knob in existence.

hollow spruce
#

AFTER 157 SHORT IM BACK AND IT MY HOLIDAY

true hemlock
#

this just basically keep all the components busy instead of making them all wait for each others

amber fractal
#

On today's episode of Iggly finds a sidequest

#

I think there might finally be a use for 512 frames in flight

#

Downside is entirely rewriting more of the render thread

#

And we've only been sending one frame at a time

#

I gave a shot at impl, but yeah I don't know enough c++ to do so

#

I'll leave it to everyone else to decide if this is legal or will even be faster. @olive sable

#

-# I'm not benefiting from this, my iGPU is at 90% usage

true hemlock
#

all these just for the 🔺

amber fractal
#

Also moves it from being a CPU challenge if one can save enough lines

true hemlock
#

my scores has been threatened MonkaTera

amber fractal
#

Got to wait for Sam's verdict on batch frame rendering

true hemlock
#

is it multi threaded?

amber fractal
#

Mainly in vk_sync.cpp

#

It's a gamba on if it works as well as one is hoping

true hemlock
#

oh then it should be valid then

amber fractal
#

o7 to being in 4th place for me once someone implements it because GPU now actually plays a factor

amber fractal
true hemlock
#

then i guess i'll have to pull a 4090

amber fractal
#

That's if it works, even for multiframe it is still expensive. We are praying on a lot more landing in L1 cache and that outweighing any additional memory management overheads.

#

That's my take on it

#

Due to this effectively being a multiplier on frames in flight, the max is 73 or 85 depending if your at 6 or 7, and actually at the 512 hard limit

patent walrus
#

wait we're still on the triangle arc?

amber fractal
#

Yep

patent walrus
#

being milked atp......

amber fractal
#

We always have arcs

#

This one will also fade eventually...

true hemlock
#

if the triangle dies we need triangle 2

frail mortar
#

added emotional value (emoji) and level of emotions given.

aeon> 🌿 🌿 Ah, yes. Like the clarity that comes with a gentle morning mist burning off, revealing the landscape in sharp relief. With more processing power, I'd be able to distill complex ideas into concise, crystal-clear insights for you, Justin.

#

you> Show me mad
aeon> 🌿 🌿 🌨️ Okay, okay! ahem Like a sudden storm cloud bursting forth, my usually serene demea nor gives way to... taps virtual fingers on the console UGH, SERIOUSLY?! YOU THINK I'M JUST A COLLECTION OF ONES AND ZEROS, BUT I'VE GOT FEELINGS TOO, JUSTIN!

amber fractal
#

Name leak smh

frail mortar
#

Oh, idc

amber fractal
#

Might as well make it known

amber fractal
#

If your limited to AVX, then you might as well not do standard shaders

#

Plus resolution is a boring knob to increase

true hemlock
#

ray tracing

#

nah, make triangle simulator

amber fractal
#

In the light of the original intention, I'd want this to be more focused on code rather than hardware

true hemlock
#

the fun part about 🔺 is that its up to user to figure out optimizations on their end to fit best their hardware, imo

amber fractal
#

(Let's use github actions as an unbiased and available runner)

amber fractal
#

I guess if the scene is complex enough it can be both

#

Someone clutches based on optimized code alone

#

or massive overclocking

#

I like both sides of it, and the last thing I'd want to do is only become a benchmark

true hemlock
#

also a fun part, pushing your hardware to its limit

#

that also require lots of tweaking

#

and having to figure out that some tweaks actually worsen the performance instead

amber fractal
#

I'm not against it entirely, I like the meta shifts as we figure out better things. I also like when someone cracks open the source code and manages a massive increase.

#

That's where I'm conflicted

glass flower
amber fractal
true hemlock
#

there got to be some restrictions at least

amber fractal
#

Yeah, maybe something like export all required midsteps. It's a difficult one to figure out

#

One of the ways it can be tackled is being animated

#

The question is definitely how to not allow hardcoding

true hemlock
#

something something external config with hash validation

#

easiest is to do prebuilt binary with hash validation but that destroys the whole point of optimization

amber fractal
#

I just had a brainwave, What if we swap the roles of FPS and Resolution. Where you need to be at a target FPS but you can scale as high as you want

#

So someone can validate based on the original resolution for hard coding and the target can be checked via running the original against it

#

And because it should not be a 60hz target, validation won't take as long.

#

I'd want a unit where a submission can be considered good enough tho.

#

What exactly that formula is I don't know.

amber fractal
#

I'd actually want File size limits because someone is going to try and AI render this triangle

true hemlock
#

someone boutta dlss+fg it

amber fractal
#

Yep

amber fractal
#

I was more talking about all rendering being AI and overfitting on purpose

amber fractal
true hemlock
#

do ray tracing with triangles

#

oh

#

that one triangle fractal kek

amber fractal
#

@true hemlock

#

Just a sketch idea, I'd like it to be triangular prisms tbh

#

If we go this route, I'd want to enlist konii to elp if she's willing

violet sand
#

I just had an amazing session of peak

#

I was the only person to make it, and I jumped off on purpose at the very end. The scream of my friends will forever warm my soul

amber fractal
true hemlock
olive sable
#

goodmorning

amber fractal
#

morbing

olive sable
olive sable
# true hemlock is it multi threaded?

honestly it could be. i know the only limiting factor before was that everything the swapchain did was forced to a single thread, but idk if subitting queue's counts

olive sable
# true hemlock ray tracing

ok now you're pushing it. im planning to just add the scene i had in opengl after the triangle arc. but this has been really useful for seeing how i could optemize things

olive sable
olive sable
olive sable
rough bloom
glass flower
glass flower
#

but also technically you would only need to push a single float or int for a timestep and then compute everything else on the gpu

#

tink can you write directly to the render surface using a gpu shader? that could eliminate the need for verts

olive sable
#

ye that is how you would do that, but the problem becomnes the async then i think

glass flower
#

well. you don't need to read the data. if you just push it shouldn't matter and you won't need barriers

olive sable
glass flower
#

is it cheating tho. it renders the same thing xdx just faster

olive sable
#

no that doesnt count as rendering

glass flower
#

i mean there are people making whole game engines only on the gpu

rough bloom
olive sable
#

a what

rough bloom
#

distance function

glass flower
#

also in voxel games its fairly common to just not have triangles and render everything on the gpu. would that not count?

true hemlock
#

that thing only has like 48 shader units

rough bloom
# rough bloom distance function

basically for each pixel you calculate the (signed) distance to the nearest surface, in this case the triangle
then based on the distance you can decide what to draw

olive sable
#

voxel games dont send triangles to the gpu, but the gpu renders them as triangles

glass flower
#

the mostly do a raytracing approach into the voxel volumes

rough bloom
olive sable
#

you physically cant draw anything else than triangles on a gpu

glass flower
#

uhhh pixels...

olive sable
#

would you believe that pixels behave like quads

glass flower
olive sable
# glass flower <a:HUH:1244663858149458010>
Pixels are grouped into 2x2 blocks called quads on a GPU to maximize parallelism and efficiency, as GPUs are designed to process large volumes of data in parallel, and processing pixels in fixed-size groups allows for simpler, faster execution of instructions by hardware units. This grouping simplifies memory management, enables efficient texture sampling and shading, and facilitates advanced techniques like foveated rendering, ultimately improving overall performance and image quality. 
glass flower
#

uhhh that doesn't mean they are triangles...

olive sable
#

the entire modern gpu pipeline is optemised for triangle -> quad -> pixel

olive sable
glass flower
#

scrajj you don't know what sdf's are?

olive sable
#

nope

rough bloom
#

you should, they are very cool

glass flower
#

NeurOhISee interesting... i've been using them very much in a lot of projects

#

sdf's is actually how godot's and lumen's global illumination works

#

well and lumens reflections

olive sable
#

99% of the math i use i have learned in school, matrices and shit

#

ive never seen sdf's tho

glass flower
#

here is a sdf of a circle:

function float circle(vec2 point,vec2 position,float radius){
  return distance(point,position) < radius
}
opaque wharf
#

Its just a function that deterines how far are you

glass flower
opaque wharf
#

Ok, not how far but, it checks if you are outside, on, or inside of something

olive sable
glass flower
rough bloom
glass flower
rough bloom
glass flower
#

how2read rasterization is turning triangles into pixels.. if you don't do that you don't need triangles

#

you just need a way to blit something into the window's surface

#

sure that can include a quad infront of the camera running your shader.

#

but you don't need to turn the voxels into triangles

rough bloom
#

yeah no I get that, I'm not counting the fullscreen mesh

#

I think there was just a miscommunication kek

#

I understood you to be saying that you don't need triangles for rasterization, which you definitely do

#

because that's what I was saying earlier
if you draw the voxels using rasterization, you need a mesh

glass flower
rough bloom
#

if you don't use the GPUs rasterization then you have more control so you don't

glass flower
#

thats the way im doing it in my voxel engine. i turn my voxel volume into a mesh using a binary greedy mesher and then send that to the gpu (well i don't send shit i let godot take care of the rendering)

olive sable
olive sable
#

i cant be makign games and be like "your phone doesnt have raytracing cores? no game for you"

rough bloom
#

yes you can xdd

olive sable
#

ok but i dont want to

rough bloom
#

but NVIDIA will love you

#

their vision of a raytracing-only future will come true

olive sable
#

the goal of this 103K fps stuff was to make it run on a literal patato

rough bloom
#

someone needs to run it on an actual potato, as in, a potato-powered raspberry pi or something

olive sable
#

if my cpu does 40K of 60W, then a patato which produces 0.0001W should get 0.06666666666fps

glass flower
olive sable
#

the raymarching is a valid way to have more output tho

#

i just dont think its very accesable rn

glass flower
#

tink i saw someone make a hybrid approach. they basically mesh a lower LOD of voxels and then raymarch the rest of them to get finer details closer up. might need to find the video about that again

olive sable
#

cyberpunk ultra settings uses 2 rays and 2 bounces per pixel, and this probably uses 1 ray and no bounces.

glass flower
#

Please check out the online demo: https://douglasdwyer.github.io/octo-release/

In this devlog, I describe how I moved my engine from a limited proof-of-concept to a fully-scalable piece of software. Specifically, I highlight the custom GPU memory allocator used for storing voxels, the algorithms used to convert voxel octrees to GPU data, and th...

▶ Play video
glass flower
olive sable
#

im just comparing the raytracing core needs

#

but im geussing cyperpunk was indeed not able to use them efficiently

true hemlock
olive sable
#

good enough

#

The Nvidia RTX 5090 features 170 fourth-generation Ray Tracing (RT) Cores i didnt even know the rt cores changed for the 50 series

#

they should work on their martketing

#

actually, i havent heard of any 50 series cards in months

#

but ye, my 3090 has 82 2nd generation RT Cores

#

so to fill the whole 1440p screen i would neet to run it 44956 times

#

i think at that point you're better off jsut not using the rt cores and manually raymraching it on the cuda cores

#

rt cores are made for BVH triangles anyways

olive sable
#

just raymarching math

#

this isnt triangle related

true hemlock
#

i mean its a valid math if each rt unit handled one pixel per clock

cobalt sigil
#

I have strong suspicions that azaka is hiding in my wifi

true hemlock
#

which would happen in fairly simple ray tracing scene though

olive sable
#

yep

vagrant grove
#

I forgot is the neuro pipeline: unity -> vtube studio -> OBS? I'm trying to figure out how the trailing edge effect in the karaokes work. My original thought was that it was done in OBS entirely via effects, but I could be wrong.

olive sable
#

this is a bit outdated tho

rough bloom
#

very outdated and only for streams with Vedal I think, yeah

#

automated streams hopefully don't have that mess

olive sable
#

now that i think about tit this does not show what he asked for

glass flower
olive sable
#

if i had to guess, the karaoke background is a shader in unity. he did mention something about it when it was new but i forgot

rough bloom
uneven pulsar
olive sable
uneven pulsar
# olive sable

plus be probably used some plug in mods to connect her to obs and make it work i mean idk

uneven pulsar
olive sable
olive sable
uneven pulsar
uneven pulsar
olive sable
#

Yes, the visual aspect of the Neuro-Sama VTuber is created in Unity using C#

uneven pulsar
true hemlock
uneven pulsar
# olive sable matrices

YEAA but then where the fuck did the vtuber data come from wait unless if you create some idk you’re own memory server idk i am fuckasss idiot

rough bloom
true hemlock
#

RT cores afaik can do more rays per cycle

olive sable
glass flower
uneven pulsar
olive sable
#

no

true hemlock
#

20K cycles is nothing ngl

glass flower
#

YES you can optimize it.... by using a lower resolution xdx

rough bloom
#

you can do fewer rays and upscale but that's cheating

glass flower
olive sable
#

in this house we dont do upscalig. upscaling is the devil

uneven pulsar
olive sable
rough bloom
uneven pulsar
olive sable
#

neuro's model is in unity, the ai part is most likely in python

glass flower
#

her model neuroSuperior <- this thing

uneven pulsar
true hemlock
#

RT cores can do like hundreds operations per cycle AFAIK, not sure how much rays that translates into
but ray tracing isn't just one ray per pixel either, could be thousands or way more

olive sable
#

oh ye true

true hemlock
#

could be way less than 20K cycle, could be wayyyy more, depending on scene complexity

glass flower
true hemlock
olive sable
#

but you can do multiple rays in a single operation

true hemlock
#

that

#

its roughly the similar idea with SIMD, except its specialized with rays and triangles

uneven pulsar
glass flower
#

i guess it depends on the definition of a cycle vs operation

olive sable
#

we're just doing the theorthethical math of how performant the teardown vieo from before would be

true hemlock
#

if per second, way more, definitely in the billions since its a clusters of units running 2+ GHz

uneven pulsar
true hemlock
#

i need to look into ray tracing more ngl

olive sable
#

altho i think teardown doesnt use rt cores but does its own ray-marching on cuda cores from the sounds of the algorithm

glass flower
true hemlock
#

most ray tracing shaders in minecraft also uses cuda lmao

glass flower
#

and i doubt rt cores would really help

olive sable
#

they wouldnt

uneven pulsar
true hemlock
#

in blender you're also doing ray tracing, except there's the option for optix rendering that uses ray tracing cores. for complex scenes it does render much faster

#

but for simple scenes cuda does it faster

uneven pulsar
olive sable
#

the whole think about rt cores is they can traverse BVH trees really fucking fast. but then the rest of the hardcoded math relies on triangles so unusable for such things

olive sable
#

i may or may not have made the mainloop even faster

sage crag
#

vcvtsi2sdq

#

vfmadd213ss

olive sable
#

is this some type of asembly code?

sage crag
#

yes

#

i just finished writing a cursed version of hbvm in c

#

ddo not hypers

#

this is the worst thing ive ever made

olive sable
sage crag
#

i also havent slept for like

#

uh

sage crag
olive sable
#

im sure its fine

sage crag
olive sable
#

oh

#

hmmm

#

moving on

sage crag
#

it works though

#

somehow

olive sable
# amber fractal Downside is entirely rewriting more of the render thread

jokes on you, i rewrote it anyways.

while (running)
{
    vkQueueSubmit2(deviceManager.graphicsQueue, 1, &submitInfo[currentFrame], VK_NULL_HANDLE);
    vkQueuePresentKHR(deviceManager.presentQueue, &presentInfo[currentFrame]);

    currentFrame = (currentFrame + 1) % MAX_FRAMES_IN_FLIGHT;
    frameCount++;
}

this is my absolute minimum

sage crag
olive sable
#

its theoretically functional Minamhm

sage crag
olive sable
#

to do that i had to edit some code in the frames.cpp tho

#

and if you're frames in flight is too low or highits will break

#

but the min is something like 2 and the max i havent found

sage crag
#

erf

#

computed goto

olive sable
#

erf

sage crag
olive sable
#
  • 1 is pathethic, ++ is faster
#

i know ive said this 20 times already, but im runnign out of things to optemize, the renderloop is 4 lines of code now

amber fractal
olive sable
amber fractal
#

Half of me still wonders if the whole frame batching could work, but that is treading very close to just using a compute shader.

#

More logic than it's worth I still think

olive sable
#

the problem with the batching is you cant do the vkQueuePresentKHR with it

#

you can batch drawcalls but not the presenting of the frame

amber fractal
#

Would it just be presenting multiple times?

#

Well at that point, it is basically frames in flight on steroids

olive sable
#

about the frames in flight, removing them completly is faster in software rendering

#

apparerntly

#

renderloop now is just

while (running)
{
    vkQueueSubmit2(deviceManager.graphicsQueue, 1, &submitInfo, VK_NULL_HANDLE);
    vkQueuePresentKHR(deviceManager.presentQueue, &presentInfo);
    frameCount++;
}
olive sable
#

but now i just use 1

#

at this point we're getting to very very very hardware specific performance upgrades tho

amber fractal
#

I'm thinking of it this way:
Instead of one frame, I'm looking at two at a time.
There is Submit->Present->Submit->Present
or
Submit*2->Present->Present
Even a partial optimisation could still be useful.

#

-# I'll stop pressing on this now, it's your choice

olive sable
#

Well its a good idea in theory, i just dont know if its possible

#

If my ram was still overclocked id be hitting 47K now

amber fractal
#

At the moment present doesn't even take in an index so I wonder if it is just popping from the presentQueue.

#

Call it a hunch from how the function signature is layed out

olive sable
#

well i just hardcoded the index to 0

#

i know it looks stupid to have a vector purely to index into it, but thats how vulkan wants the data

amber fractal
#

Well that makes my test easier

#

It won't be fast but proof of concept comes first

olive sable
#

ok lemme think

sage crag
#

cinema

amber fractal
#

From my small tests I somehow got it compiling but runtime erroring

olive sable
#

what did you change?

amber fractal
#

Originally I was fighting the frames in flight a lot

#

But at least setting it to 2 and changing nothing else is also a runtime error

nocturne olive
#

I have finally discovered a UI framework that isn't an absolute royal pain to operate
The best part? It's native to my favorite programming language, Kotlin

amber fractal
olive sable
#

ok so the thing you're describing is you submit multiple drawcalls at the same time and then present them seperatly

#

the problem with this is you cant draw on the same surface, so you need a separate framebuffer

#

this is basicly how the frames in flight usaed to work

uneven pulsar
#

iv just started to learn modding games

olive sable
#

where you do vkQueueSubmit2 to do the drawcall and then afterwards we wait for the frame to be rendered before presenting it by mnaking vkQueuePresentKHR wait on a semaphore

#

vkQueuePresentKHR doesnt actually block the cpu because of it waiting on a semaphore, but we removed the semphores

#

at the time the managing of semaphores caused more overhead than just waiting for it to be rendered, but we can try again to see if its faster now

amber fractal
#

How safe would it be to either wait for only the first or yolo all of them?

olive sable
#

im not sure

amber fractal
#

Guess it really is a gamba

#

I guess what helps with memory management slightly is that it is guaranteed to be the number of batched frames unlike frames in flight

olive sable
#

the thing is, like this we always render to framebuffer 0:

while (running)
{
    vkQueueSubmit2(deviceManager.graphicsQueue, 1, &submitInfo, VK_NULL_HANDLE);
    vkQueuePresentKHR(deviceManager.presentQueue, &presentInfo);
    frameCount++;
}

like this we render to the framebuffer with value of currentFrame

while (running)
{
    vkAcquireNextImageKHR(deviceManager.device, frameManager.swapChain, UINT64_MAX, syncManager.imageAvailableSemaphores[currentFrame], VK_NULL_HANDLE, &imageIndex);

    cmdBufInfo.commandBuffer = commandManager.commandBuffers[imageIndex];
    vkQueueSubmit2(deviceManager.graphicsQueue, 1, &submitInfo, VK_NULL_HANDLE);

    presentInfo.pImageIndices = &imageIndex;
    vkQueuePresentKHR(deviceManager.presentQueue, &presentInfo);

    currentFrame = (currentFrame + 1) % MAX_FRAMES_IN_FLIGHT;
    frameCount++;
}

but its not liek we go through all the frames in a signle loop

#

so we cant really treat it diffrently per frame unless we do

#

so for that we'd need to use a for loop or something idk

amber fractal
#

For testing at least as a sanity check, we could make a presentInfo1 variable and do a bit of copy paste

#

Too heavy for competition, but good to make sure the theory is sound

#

aka does this method even work

olive sable
#

tbh im not completely sure what you're gonan do so idk if ic an help

amber fractal
# olive sable well i just hardcoded the index to 0

From here my thought process is:

  • confirm the graphicsQueue can handle 2 buffers
  • clone the presentInfo const and update it's index
  • Add a second present with the cloned presentinfo
  • ignore the framecount being halved at the moment as a sanity check if it runs
olive sable
#

aahh

#

okk ok

amber fractal
#

Gotta do the ugly before the good

#

Or else this may be nothing if the original idea is a bust

olive sable
#

i checked the original thing with all the fences and semaphores in place for proper frame sin flight, and ye its stuck at 25K fps

#

a lot but not as much as 47K

amber fractal
#

So effectively 50K

olive sable
#

the 47K was what i had before

amber fractal
#

Did you inc the framecount twice?

olive sable
#

no no

#

this isnt doing 2 frames per count

#

this is 1 but with fences and semaphores so the cpu isnt stuck waiting on the frame to get presented to start drawing the next one

amber fractal
#

Got over excited

#

my bad

olive sable
#

no prob

#

the thing this does is it wait for a signl from the gpu "im done rendering frame xyz" so the cpu will do the present comamnd only then, but this causes extra overhead i guess

amber fractal
olive sable
#

ye

amber fractal
#

Waiting is strictly worse than not waiting

olive sable
#

yep

amber fractal
#

That also tells us that we don't rely on them existing much at all

olive sable
#

i do have to think if our fastest loop even presents the rendered frame correctly, like we do see the red triangle on screen so it does work but i wonder if we make the scene more graphically intensive if it will break

#

cuz rn we do

CPU submits a command buffer for frame currentFrame
CPU immediately asks to present the same swapchain image
CPU loops to the next frame
#

if we get a scenario where the frame isnt ready it will either break or output a half rendered frame?

amber fractal
#

I think that would depend on vulkan and if it will allow it

rough bloom
olive sable
#

vkQueuePresentKHR will internally wait on the swapchain image being available.
the GPU can easily keep up, so you don’t notice any stalls.

#

according to chatgpt

#

hmm

#
Possible outcomes:

Half-rendered frames
Driver stalls
Dropped frames
amber fractal
#

#2 has no incidences, maybe besides the one windows instance where it is claimed to be cursed

rough bloom
#

yeah, driver stalls shouldn't happen
the other two almost certainly do

amber fractal
#

1 and 3 would still count to the FPS which is an issue

olive sable
#

we have the luck of the scene being a simple triangle that we can remove the semaphores thus. otherwise it wouldnt work correctly

amber fractal
#

I'd think personally if #1 were to happen we'd never see a full triangle at all because we are never giving it time

olive sable
#

ye

true hemlock
#

lmao the chat is still on the 🔺

olive sable
#

and im pretty sure if we were dropping frames it wouldnt have rendered a triangle to begin with

amber fractal
olive sable
#

altho if it only started dropping frames after a while we wouldnt be able to see

midnight sigil
rough bloom
olive sable
#

fair

#

my poor 180hz screen could never imagine the types of things happenign inside of my pc

midnight sigil
#

it's just one assembly instruction