#programming

1 messages Ā· Page 149 of 1

sage crag
#

interestingly the compiler doesnt seem to respect #[inline(never)]

tender river
#

another silly one

#

this is looking just like hblang bug reports except not a bug neuroCry

sage crag
#

bwa

tender river
#

ub is pure silliness

#

it was invented by big ctf to test more pens

opaque sigil
sage crag
#

you also like this about hblang enub

#

why is it so hard to do anything when you feel sick

#

bwabwa

opaque sigil
opaque wharf
tender river
#

lie in bed and read something

sage crag
#

noe

opaque wharf
#

But the body does try to remove foreign stuff at all cost

#

That at all cost part is problematic enub

sage crag
#

i already removed all of my foreign material earlier

opaque wharf
rigid snow
#

huh

sage crag
opaque wharf
sage crag
opaque wharf
#

They are L O U D tho

tender river
sage crag
#

noe

#

nop

tender river
opaque wharf
#

Hugging face absorbing papers with code but doesn't even have non-machine learning paper smh

opaque wharf
#

At what point does a game stop being a game and go into simulator territory?

tender river
#

??? linkedin didnt even check their signup captcha

#

it just doesnt work

glad path
#

i got that with a cloudflare captcha once

#

turned on 1.1.1.1 and it fixed it

#

wasnt on linkedin though

olive sable
#

i am back from sleeping and rotting in bed

#

lemme update the leaderboard

bitter coral
#

I fixed da maths.neuroHypers neuroHypers

#

I have no clue why the tutorial I followed gave the wrong equations.

#

I would assume I don't need to make a filled ellipse option as you can just use the paint bucket.

tender river
#

Not for production use

#

linkedin please neuroCry

bitter coral
tender river
#

it allows blind people to pass them

steel mesa
#

sideways toad, sideways toad, sideways toad, sideways toad, sideways toad, sideways toad, sideways toad, sideways toad,

#

that's what I imagine the audio says

olive sable
#

if i use my bt headphones on windows i have to remove them from linu and repair them to use them

#

a bit annoying but not the end of the world

warped narwhal
olive sable
#

edit it as you please, as long as you dont cheat by forging the fps

#

you're also not allowed to just not render anything

warped narwhal
opaque wharf
olive sable
#

this is cool and all, but the purpose is to note down the gpu that was used to render it

#

not all 3 in your system

#

aight i cleaned upt he code for the linux build, it shoul be a lot more orderly now

opaque sigil
#

okay since i'm already on windows to grab some backups, ran it the triangle again and got around 66k (w11)

olive sable
#

im trying to combine the 2 repso for windows and linux into 1

#

jsut need to change the makefile too now

tender river
#

old nix apparently used let { a = 5; b = a; body = a + b; } instead of let a = 5; b = a; in a + b

opaque sigil
#

Thanks I hate it

tender river
#

so it was literally just syntax sugar for rec { a = 5; b = a; body = a + b; }.body

opaque sigil
#

Though I get it

olive sable
#

aight the main branch should jsut check for windows at compile now instead of needing to use a seperate branch

#

havent tested it thos since i did this on linux

#

aight it works, i can delete the other branch

#

shiro is a contributor now apparently

sage crag
#

shr

tender river
#

stop reading my mind

olive sable
#

the windows build is still doing 70K fps, while linux is still only doing 18K fps. the only diffrence betweenthe 2 is this tho

sage crag
#

erfing

#

same width

#

amazing

tender river
#

noto n noto

olive sable
olive sable
tender river
#

contributors dont receive notifications on new commits

#

(and neither do you)

olive sable
#

oh ye

#

its only pr's?

sage crag
olive sable
tender river
#

mobile NeurOhISee

sage crag
olive sable
tender river
#

i think the top one is a tiny bit more to the left

tender river
midnight sigil
#

I don't have an ipv6 assigned

olive sable
#

guys, i may not have a brain, but i have an idea....
instead of THREAD_PRIORITY_HIGHEST, what if i used THREAD_PRIORITY_TIME_CRITICAL?

tender river
midnight sigil
#

it causes bsod

#

I tried

olive sable
midnight sigil
#

I freezes my whole windows

olive sable
#

lemme try

hollow spruce
#

(LOL @olive sable ]

olive sable
#

i get 72053 fps normally, and if i dotn crash ill say the other number

hollow spruce
#

Let me test @midnight sigil modify script
In a100 gpus 😐

olive sable
#

ok while i didnt bsod, all my windows did become unresposive

midnight sigil
olive sable
#

it did ask "... is unresponsive. close?" so i did that

#

trying to launch it again im stuck at 10k fps now

#

windows might have secretly nerfed it

midnight sigil
olive sable
#

even if it did it wouldnt matter

midnight sigil
#

yea it's cpu capped

olive sable
#

also doesnt all 3d acceleration (on nvidia) run on cuda behind the scenes?

#

you jsut dont program it in cuda

midnight sigil
olive sable
#

yep, cuz it aint doing shit

midnight sigil
#

and 100% compute_1, whatever that is

olive sable
#

ok but like, then what else?

opaque sigil
#

graphics apis?

#

they're implemented by the driver

olive sable
#

i mean the physical stuff

#

it runs on cuda cores

#

im sorry for the confusion lol

opaque sigil
#

the name cuda core is kinda shit tbh

#

they're not bound to cuda, cuda is a level above what they would write to implement the graphic apis

midnight sigil
olive sable
#

no

midnight sigil
#

for matrix transformation computing

olive sable
#

while vulkan does have support for ofloading shit onto the tensor cores, you generally dont do it much

hollow spruce
#

Someone says the tensor core ?

olive sable
#

ye but those unified shader cores are just the 10496 cuda cores on my 3090 no?

opaque sigil
#

yeah

midnight sigil
opaque sigil
#

at the end you're calling a function on a bunch of inputs, whether you do this in a general purpose manner via cuda or via specialised graphics apis doesn't really matter to the ones that end up executing it

olive sable
midnight sigil
hollow spruce
#

Bye my #### academic (i hate academic)
I will ask my Dad to my academic

olive sable
# midnight sigil for matrix transformation computing

you do need to do some very specific stuff do do matmul with tensor cores instead of just localy
normally you jsut do mat1 * mat2

for tensor cores you need to do this whole ass thing

#version 450 core
#extension GL_KHR_memory_scope_semantics : enable
#extension GL_NV_cooperative_matrix : enable
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable

#pragma use_variable_pointers

layout (local_size_x = 64, local_size_y = 1, local_size_z = 1) in;

layout(set = 0, binding = 0) coherent buffer Block {
    float y[1024*1024];
    float x[];
} block;

void main() {
    fcoopmatNV<32, gl_ScopeSubgroup, 16, 8> m = fcoopmatNV<32, gl_ScopeSubgroup, 16, 8>(0.0);

    m = m + m;
    m = m - m;
    m = -m;
    m = 2.0*m;
    m = m*2.0;

    coopMatLoadNV(m, block.x, 16, 128, false);
    coopMatStoreNV(m, block.x, 16, 128, false);
}
opaque sigil
#

they do be very particular about how you use them yup

#

(for good reason)

olive sable
#

i doubt it would be faster anyways for just a singular multiplication

#

since you need to transfer memory to it and such too

midnight sigil
opaque sigil
#

you'll need to move the memory around either way, unless you hate yourself i guess

midnight sigil
#

*literally all programmers in the world

olive sable
#

its just glsl, so normally you dont have to do much memory stuff yourslef

sage crag
#

mlem

tender river
#

bucket

olive sable
#

the next step of the vulkan triangle optimization is optimizing the shader binary NeuroClueless

               OpCapability Shader
          %1 = OpExtInstImport "GLSL.std.450"
               OpMemoryModel Logical GLSL450
               OpEntryPoint Fragment %main "main" %outColor
               OpExecutionMode %main OriginUpperLeft
               OpSource ESSL 310
               OpSourceExtension "GL_GOOGLE_cpp_style_line_directive"
               OpSourceExtension "GL_GOOGLE_include_directive"
               OpName %main "main"
               OpName %outColor "outColor"
               OpDecorate %outColor Location 0
       %void = OpTypeVoid
          %3 = OpTypeFunction %void
      %float = OpTypeFloat 32
    %v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
   %outColor = OpVariable %_ptr_Output_v4float Output
    %float_1 = OpConstant %float 1
    %float_0 = OpConstant %float 0
         %12 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
       %main = OpFunction %void None %3
          %5 = OpLabel
               OpStore %outColor %12
               OpReturn
               OpFunctionEnd
hollow spruce
#

Nai

opaque sigil
#

Have fun

olive sable
#

since getting linux my windows clock keeps getting unsynced

#

consisntently off by exactly an hour

#

sometimes 2

hollow spruce
#

Linux distro name ?

olive sable
#

cachyos

hollow spruce
olive sable
#

cachyos isnt the problem here

#

its windows that keeps getting unsynced

#

also i broke my windows somehow, its locked to 10K fps untill i resize the window slightly

hollow spruce
#

Restart ure pc easy

olive sable
#

i did

olive sable
#

what

sage crag
#
poll_question_text

On my PC, I am currently using

victor_answer_votes

6

total_votes

11

victor_answer_id

1

victor_answer_text

Linux (NixOS)

victor_answer_emoji_id

1163912230585237655

victor_answer_emoji_name

enub

olive sable
#

they're breaking win10 cuz they want to be a bitch on win11?

tender river
midnight sigil
tender river
#

so nix actually got 45% votes

olive sable
tender river
#

which is still a lot for a single distro

tender river
olive sable
#

ohhh, the poll was about which pc I am using, not konii

tender river
#

yesh its not a trivia question neurojuice

olive sable
#

when i read the "on my pc" i didnt self-insert

hollow spruce
#

I will use windows 10 lts

#

No recommended on lts mode

midnight sigil
olive sable
#

why lag the game on an interval?

midnight sigil
#

neuroShrug why do I know

#

maybe browser gc

hollow spruce
#

What ure uptime in WINDOWS

olive sable
#

a couple hours ussualy

hollow spruce
#

Mine was 4 days only doing hibernate mode

#

Since reset my pc now 18 hours

midnight sigil
worldly panther
#

YOOOOO
SATA'S ACTUALLY SPEAKING ENGLISH NOW LETS FUCKING GOOOO
-# sure its still nonsense BUT ITS ALMOST COHESIVE

#

"I hate that" is so real tho

glad path
#

lol

#

i need a full essay of that so much

#

just to randomly paste into gc's

olive sable
#

i got the profiler to work on windows so im gonna try that in a bit

#

first imma eat

tender river
#

i'm smort

glad path
#

it is infact real

worldly panther
amber fractal
olive sable
midnight sigil
#

car

#

chat what is the weirdest package manager

amber fractal
#

Nix tbh

#

programming to download stuff is a very weird concept

glad path
glad path
amber fractal
midnight sigil
#

windows do have a package manager

#

it's winget

glad path
#

theres homebrew but

#

its not really official

#

and macports ithink

#

or whatever itscalled

olive sable
#

you're still 1st

true hemlock
#

not until 14900KS owners show up MonkaTera

#

maybe i should also try the macos

#

but only apple product i have is an ipad waaaaa_death

#

maybe i coult rent a mac?

#

M4 max, $47 AUD per week

#

monkas

olive sable
#

dont rent shit for this stupid project lmao

#

also according to vani mac struggles for performance

#

probably cuz vulkan to metal conversion or soemthing idk

glad path
#

i spoofed my mac address and ip to imitate my doorbell

opaque wharf
midnight sigil
#

you're speaking names wrongly

olive sable
#

you mean to tell me the guy named KuShiro, with the word Shiro next to his name, is not shiro?

midnight sigil
#

quack's username is kushiro

olive sable
#

you're right

#

i didnt know

midnight sigil
olive sable
amber fractal
#

:SMH:

nocturne olive
#

Anyway how the triangling going? Is Linux faster than Windows yet?

true hemlock
#

nope can't figure it out

amber fractal
#

-# Chat, I may start NN work again soon. I have some things I need to do before then but it's coming.

true hemlock
#

its odd, vulkan is supposedly faster in linux

#

i might wanna make a one click compiler for linux ngl

#

@nocturne olive can you try the triangle on windows

amber fractal
nocturne olive
true hemlock
#

also i suspected that nuking 80% of the vulkan lib actually makes most of the lib files recompiles and optimized from source hence an even faster performance

nocturne olive
true hemlock
#

yeah you can try

nocturne olive
#

I'm gonna need the file though

true hemlock
#

.

#

i still find it hard to believe that my es cpu performs really good at triangle lol

nocturne olive
#

So as it turns out my remote laptop lacks the headers for the C++ STD, who could have ever expected that

olive sable
#

linux multithreadign sucks apparently

#

that and there might be a problem with the drivers

#

something to do with linux using mesa and windows having direct hardware

nocturne olive
olive sable
#

evilShrug idk how

opaque wharf
#

Do a funny and write custom kernel

nocturne olive
#

How is MSVC this massive? 2GB for a compiler? The remote machine only has 128GB total for Windows

#

And still no compile

#

This "portable" compiler sucks, it needs 40 billion things to already be installed and still complains after that

hard raptor
#

Would i be crazy for making a web-ui for ableton?

nocturne olive
#

I don't know what Ableton is

hard raptor
nocturne olive
#

How silly

#

I hate MSVC now by the way
How has it downloaded 15GB of garbage and still not basic stuff like float.h that are required for the most basic hello world program??

#

I don't have the storage to be dealing with this on my remote machine

hard raptor
#

And then like optimize audio transfer between client and host using the QUIC Protocol

nocturne olive
#

@true hemlock I don't think this thing is running the triangle, I don't have the storage for all the garbage MSVC wants to install just to try to mabe get the basic float and string headers required

hollow spruce
#

11.00MiB

nocturne olive
# hollow spruce 11.00MiB

This thing has installed 15GB of garbage and still no float.h, string.h or any of the other ultra important things

#

This thing couldn't even run the basic hello world since iostream depends on float.h

hollow spruce
#

Wait i have gpp INSTALL in windows pc without wsl unit

hollow spruce
nocturne olive
#

Not even Visual studio, this is all the compiler

olive sable
#

how do you have 15GB? i dont think i even use half as muchs torage for that

nocturne olive
#

MSVC just sucks that bad

hollow spruce
nocturne olive
#

And again, it still doesn't even have the most basic headers

#

So I can't even compile triangle

hollow spruce
#

Give me details to install all models ? If i can assist that

nocturne olive
#

Whar?

amber fractal
#

huh? This isn't AI

#

Shoutout to discord for splitting a permission so one can finally pin messages without also having access to deleting other people's messages.

hollow spruce
#

I got free data yea

nocturne olive
#

What would I need that for?

hoary lion
#

newyork soon

#

im going to be the best programmer

#

trust

violet harness
#

whats the fastest and most effective way to learn python

hoary lion
#

fuck around

amber fractal
#

and find out

hoary lion
#

honestly basic syntax is like the easiest

violet harness
#

so if i fuck around and basic syntax im good to go? Pog

amber fractal
#

It's one of the best starts you can get

nocturne olive
#

That also didn't come with the headers
Or I installed the wrong GCC

glad path
#

It takes time lol

true hemlock
#

its weird though, clang++ should've already included all the headers by itself

amber fractal
true hemlock
#

and i already packed clang++ in

#

i'll look into it

glad path
nocturne olive
amber fractal
glad path
#

So add them together and its hard to accurately type without sacrificing speed

#

Still better than apple watch se tho

amber fractal
#

I still rely heavily on autocorrect to be anywhere near fast

glad path
#

Can’t type on that at all

glad path
#

It’s usually an annoyance

true hemlock
amber fractal
glad path
amber fractal
nocturne olive
#

And this is why I hate Windows, making things work is just impossible

true hemlock
#

while i try fixing it

nocturne olive
#

Kinda SMOL

true hemlock
#

better than my laptop lmao

#

idk why it suck so bad on my laptop

nocturne olive
#

I assume Windows 11 sucks so bad

true hemlock
#

its not even old

#

isn't vani using win 11

nocturne olive
olive sable
#

windows 11 is fine these days

true hemlock
#

its fine

nocturne olive
#

Didn't they just recently push an update that wipes disks?

olive sable
#

for some people yes

#

idk why

#

but iirc that also rolled out on win10

nocturne olive
#

Either way, I hate Windows, I hate MSVC, someone go tell Microsoft how to make a proper tech stack

#

MSVC doesn't even come with the headers to compile hello world and obviously can't run triangle

olive sable
#

aight, imma profile the trisangle and then go to bed

nocturne olive
#

I'm uninstalling this garbage

#

I need my little storage space back

true hemlock
#

i should probably make interactive .bat ngl

nocturne olive
#

This laptop only has 128GB for Windows and most of it is already used up

true hemlock
amber fractal
#

Windows gets one 128GB sata drive and that's it

olive sable
#

i think i may have bad news

#

lemme verify the facts beforehand tho

nocturne olive
#

Whar?

olive sable
#

i think the windows 70K fps stuff may be fraudulent. i need to research first tho

#

what renderdoc is showing isnt too promesing at least

#

either we arent doing drawcalls or renderdoc cant see them

glass flower
#

PainPeko i need a second pair of eyes.. preferably someone who knows rust...
I've been trying to debug a issue that i've been having with a c++ to rust port for the past 2 days.. and i just can't figure it out.
https://gist.github.com/Adesii/3c574eabb151282832a90083669a558b
its a binary greedy mesher for a voxel game im making. but its not meshing the voxels correctly.... it works in the c++ version and i literally can't see a difference in the functionality between the two. yet they have drastically different outcomes..
im unsure if the hashmaps are just not being populated correctly or if the loops in the greedy mesher are wrong... i got no clue

nocturne olive
olive sable
#

thats probably not it since that should be a decision on the vulkan side of things

#

but idk

nocturne olive
#

Well, Windows is Windows and it does odd stuff

glass flower
#

tink couldn't you add a bit of movement in the shader to check that?

#

but it does sound odd.. i don't think vulkan does that kind of stuff. if you render something its gonna render it

olive sable
#

i like how making it do 7 frames in lfight makes 7 of a bunch of diffrent objects

#

and quack was apprenlty making 4096 frames in flight

#

madman

olive sable
#

but i guess renderdoc couldnt fit it on the timeline cuz of the frame only taking a couple microseconds to render???

nocturne olive
#

Maybe the one is rendering the trinalge and then it just skips rendering the rest of the times?

#

Or I don't understand what your thing means

#

I don't know

#

Figure out what it's messing up

olive sable
nocturne olive
#

But would Windows do something weird, see that the content is identical and tell the GPU to not refresh?

olive sable
#

well to be honest, i dont think thats possible withoutmaking it slower

#

cuz you only know the output once it has rendered ont he gpu in theory, and to check if its the same you'd have alreadty rendered it

nocturne olive
#

I really have no clue how Windows could actually be that much faster

olive sable
#

the only possebility is the diffrence in how it handles threading, or the vulkan api not going directly to hardware commands

rare bramble
#

windows and linux are pretty tied in most benchmarks that I have seen, linux maybe better in some productivity benchmarks.

#

there shouldnt be a huuuuge difference

olive sable
#

well there is

nocturne olive
#

Well the difference is like 60K FPS

rare bramble
#

ye, I have seen

olive sable
#

18K fps vs 72K fps ye

rare bramble
#

but like I dont see how the gap could be so large either

nocturne olive
#

I'm pretty confident Windows is messing something up, like could it somehow mess with the timings of when the frame count is checked?

#

How do you determine when to calculate FPS?

olive sable
#

the renderthread just does +1 to a value, and the control thread changes that to fps

#

renderhtread is uncapped, control thread does 20fps

nocturne olive
#

But how is the timing determined?

#

I hope not with sleep()

olive sable
#

like this

nocturne olive
#

Do you account for race conditions anywhere? If the render thread is constantly updating frame count, it could end up having just copied the frame count value as the FPS update thread updates it, adds 1 to the old value and pushes that to the frame count, counting two intervals of frames

olive sable
#

i dont account for race conditions at all

nocturne olive
#

Then we can't be sure if frame count is being race conditioned

#

The frame count could be showing corrupted values

olive sable
#

the only thing i have is

std::atomic<bool> running = true;
std::atomic<uint64_t> frameCount = 0;

but i dont think im using them correctly

#

atomic suppsoedly helps with race conditions between threads

nocturne olive
#

Hm

#

It should maybe help, not sure

#

Then it seems possible you have to look at the FPS update function in case that's being scheduled inconsistently by the Windows scheduler, causing it to miss the intervals

#

It's always possible it's making a syscall, Windows takes the thread and goes off doing other stuff, and only returns it a while later

rare bramble
olive sable
#

even if it was scheduled inconsistently, the SDL_GetTicks() should still make the fps acurate

rare bramble
#

adding a mutex would destroy the performance

olive sable
#

true

#

well im done with all the info i na get out of renderdo

#

im trying nsight now

#

nsight takes a lot longer tho so im waiting on the results

#

40 seconds of "gameplay" is taking 5 min to compile the results of

#

this shit is using 6GB of ram for statistics and api calls

#

i lied its at 11GB now AquaCry

rare bramble
#

oh damn

olive sable
#

"showing 466261 out of 466261 cpu frames" ah yes, i can see why now

#

oh i discoverd why it would start up in 10K fps and switched to 73K when resising.
i accidentally made them use the same core but they automatically switch when resizing the window apparenlty

#

ah yes, the windows NT kernel is givign us 3 microseconds of interupt

nocturne olive
#

I assume that's time-based interrupts

glass flower
#

buhFlip im gonna flip... my binary mesher was working all this time. but my voxel array wasn't....

nocturne olive
olive sable
#

i have tried it but it didnt work out

glass flower
olive sable
#

first tim using it after reboot makes the system choppy, and after that it jsut behaves the same way as highest prioroty

#

so im geussing it just decides to not do real time after locking up

nocturne olive
midnight sigil
#

put the triangle in windows bootloader so it doesn't get affected by windows fr

faint sandal
#

you can write it as a native application if you uh

#

Like dealing with only ntdll calls

#

which means software rendering only

midnight sigil
serene briar
#

I need image perms

#

gimme šŸ™

midnight sigil
rare bramble
serene briar
#

i need to be active here

opaque wharf
olive sable
#

how are we even supposed tog ive you those?

#

we're just programmers

#

it says that the profiler overhead is that tiny grey bar of 13 microseconds, but this was running at 3000fps instead of 72000 fps so its a bit more i think

midnight sigil
true hemlock
#

@olive sable i figured something that might be a bit helpful

olive sable
true hemlock
#

i didn't resize

#

and just hovered to taskbar

midnight sigil
#

I use win + tab previously

true hemlock
#

but once i resized it jumps to 90K+ ish

#

before resize

olive sable
#

you mean to fix it being stuck at 10K fps beofre resizing problem?

midnight sigil
true hemlock
#

after resize

olive sable
#

i fixed that already, i made a stupid mistake in copying code for the multithreading

rare bramble
#

Genuine Intel 0000

true hemlock
#

just might be helpful to figure out why windows gives way more fps for some reason

olive sable
#

hmmm

#

that is true

midnight sigil
#

how do you screenshot taskbar

#

I press win and they gone

true hemlock
#

prtsc

olive sable
#

thats a bit sus

true hemlock
midnight sigil
#

before resize

olive sable
#

hmmm

midnight sigil
#

after resize

#

lmao

#

it went the other way around

true hemlock
#

i need to check GPUZ aswell

olive sable
#

ye i was putting both threads onto the same core by accident, resizing redistributes that for some reason

true hemlock
olive sable
#

no wait

#

hmmm

true hemlock
#

need to check first though

olive sable
#

im not sure anymore

true hemlock
#

hold on

olive sable
#

i was sure i fixed it beofre, but now it seems to not be fixed anymore

true hemlock
#

before resize

midnight sigil
#

bro has a dirty taskbar

true hemlock
#

after resize

#

ah

#

yeah, figured out

olive sable
#

gpu clock goes down, memory clock plummets.

midnight sigil
olive sable
#

no i have them in the wrong order lmao

true hemlock
#

gpu clock goes up

olive sable
#

yes

#

mem clock too

true hemlock
#

and memory clock....

midnight sigil
#

memory clock looks like cpu capping issue

true hemlock
#

right, task manager measures utilization differently

#

my GPU draws more power after resize too

midnight sigil
#

seems reasonable

true hemlock
#

GPU load seem to go up

#

memory being that slow before resize tells me that it attempt to fill the SM on the GPU out really slowly, which then it just splits saturation between clocks

#

resizing seems to "refresh" something

olive sable
#

i thought it had something to do with the multithreadign but putting everything into a single thread doesnt fix it

true hemlock
#

it is 100% vulkan and shader thing, failing to utilize the GPU before that "refresh"

olive sable
#

its indeed refreshign something i guess

#

let me think about this for a sec

true hemlock
#

also

#

memory seem to fluctuate, not just be really that low

nocturne olive
true hemlock
#

okay i got an idea

#

roughly how much shader memory does this thing take?

#

because i had a suspicion that the low clock is probably related to the GPU's L2 cache, although that doesn't help our case lol

olive sable
#

vkAcquireNextImageKHR() or vkQueuePresentKHR() are both able to see that the window resized, and are able to report it as VK_ERROR_OUT_OF_DATE_KHR or VK_SUBOPTIMAL_KHR
in repsonse you ussualy rebuild the swapchain but here i dont.
the question becomes how vulkan behaves if you keep running it like this

true hemlock
#

that reminds me of one part of your code that handles something related to resizing...

olive sable
#

ye i deleted all the resizing stuff this morning

true hemlock
#

oh? have you pushed that to github?

olive sable
#

but its still there in old commits, just commented out mostly

#

only the very first commit handles resizing properly

nocturne olive
#

There's definitely nothing handling resizing, resizing on Linux just breaks all rendering
It stops rendering and I assume on Linux halts on the render call so the FPS goes to 0

true hemlock
#

hm

olive sable
#

i have an idea tho, im gonan take the VkResult result = function() from the previopusly mentioned functions to see if they actually keep rendering if the window resizied

nocturne olive
amber fractal
#

Weird, must depend on what it is. My laptop had no issues scaling any of the binaries

true hemlock
amber fractal
#

Also compiled from source

olive sable
#

ye windows doesnt either, but the problem is if vulakn peaces out after it resized

true hemlock
#

dunno why it doesn't have such utilization before resizing though

#

making it full screen also does the same thing (with this one visual bug in the middle for some reason)

nocturne olive
olive sable
#

ye

true hemlock
#

multiple

#

they seem to share the resources

amber fractal
amber fractal
true hemlock
#

resizing one

#

resizing both

#

so this isn't even related to CPU at all

nocturne olive
#

How Windows handles unhandled resizes on Vulkan contexts is the key here

olive sable
#

resizing activates VK_ERROR_OUT_OF_DATE_KHR

#

interesting

amber fractal
#

Does it forever stop drawing?

olive sable
#

im not sure

amber fractal
#

That's my guess personally, and whatever jank happens with the window happens

nocturne olive
amber fractal
amber fractal
midnight sigil
#

it's just sam didn't clear buffers idk

olive sable
#

it only clears the buffers when a new one is being rendered onto it

#

so thats normal

amber fractal
nocturne olive
#

Yep, it's probably that

amber fractal
#

So we have the answer to what if you don't render the triangle

olive sable
#

ok so we cracked the case wide open and the 124000fps was fraudulent. yujihmm so the higher gp clock comes from the gpu not rendering anytihng and judt presenting the already rendered framebuffer

midnight sigil
#

coming back to this and the error, I found your code accidentally created a double double bubble, which is not supposed to happen neuroAware

olive sable
midnight sigil
#

I just stared at the debugger for 30 mins lol

olive sable
#

ok so the only options i have is re-add framebuffer resizing handling at a small cost. or find a way to disable resizing completly

amber fractal
#

On windows only neuroTroll

olive sable
#

on linux it jsut crashes apparenlty when resizing

true hemlock
#

try RGB triangle btw

midnight sigil
#

neuroPogHD windows > linux

opaque wharf
olive sable
#

u mena rgb as in it changes colours or its just diffrent colours?

true hemlock
#

change

midnight sigil
olive sable
#

uhhhh

true hemlock
#

every single frame

olive sable
#

changing colours would mean addig uniform buffers

opaque wharf
nocturne olive
true hemlock
amber fractal
nocturne olive
amber fractal
#

You'd just not be rendering the titlebar at all

#

good luck moving the window

ivory plinth
#

what are you guys doing neuroLookUp

olive sable
#

ok so ill see what i can do about rgb triangle, but dont expect much

nocturne olive
ivory plinth
nocturne olive
amber fractal
true hemlock
amber fractal
nocturne olive
true hemlock
ivory plinth
olive sable
#

either i have to spend a day or 2 on adding uniform buffers, or we choose between one of these variables

in int gl_VertexIndex;    // only present when targeting Vulkan
in int gl_InstanceIndex;  // only present when targeting Vulkan
in int gl_DrawID;
in int gl_BaseVertex;
in int gl_BaseInstance;

and base the colour of that

nocturne olive
midnight sigil
ivory plinth
olive sable
true hemlock
true hemlock
#

triangle

#

šŸ”ŗ

nocturne olive
#

the magical triangle

opaque wharf
nocturne olive
#

It's so silly how #programming has just become "make the triangle go fast" simulator

olive sable
#

so rgb trianlg eno tpossible for now. ill try the sdl lock window stuff now tho

amber fractal
true hemlock
amber fractal
#

Where are you going

midnight sigil
#

ā–³-----------------

nocturne olive
# true hemlock

Based on the area around the triangle not being updated, it's definitely not rendering

true hemlock
midnight sigil
#

tower

nocturne olive
#

If it was still rendering the triangle would still be normal in the area the default window takes up

true hemlock
midnight sigil
#

do you perhaps play any source engine games?

#

it's like the null buffers

olive sable
#

ok so while the bug being fixed is cool and all, i only get 8K fps with multiple threads and 10K fps on a single thread now

#

bwaa

amber fractal
olive sable
#

but ye now linux is faster since it wasnt cheating

nocturne olive
olive sable
#

i gitpushed it

true hemlock
#

aight

#

merged?

olive sable
#

ye

amber fractal
olive sable
#

yep

#

sadly no 6 digits anymore

nocturne olive
#

And so Linux was once again superior and everyone was satisfied

true hemlock
#

exactly

midnight sigil
#

I'm not RAGEY

#

windows better

#

!!!11!!1

olive sable
#

nah

nocturne olive
#

Nah, Linux'd win

olive sable
#

since windows is slow and pathethic now imma go back to linux

#

brb

true hemlock
#

lets fucking goooooo

ivory plinth
#

so how does this leaderboard thing work

nocturne olive
#

Just run the thing, then show the score you get and state your hardware

olive sable
#

i have to edit it manually sadly

opaque wharf
#

Perfect first time project

ivory plinth
opaque wharf
#

Learn how to make discord bot that updates scoreboard with your submission

ivory plinth
olive sable
true hemlock
#

oh well

#

fps cuts in half NOOO

#

bad optimization SMH smh my head sam

olive sable
#

you're still getting 50K even with the no resizing?

true hemlock
#

yeah

olive sable
#

on windows?

true hemlock
#

windows

olive sable
#

what

true hemlock
#

i need to try actually using nvme on nixos

#

brb gotta switch nvme

olive sable
ivory plinth
#

also i saw a ram column in the board neuroLookDown

true hemlock
#

actually let me make clean and recompile

#

just for good measure

nocturne olive
#

Even without the insane advantage of not having to render the triangle quuck still has insane hardware

olive sable
#

honestly i should have resizied the window while profiling to see what it would do

#

but im geussing it jsut completely ignored all vulkan comamnds tot he framebuffer in favour for jsut full throthle on refreshing the same buffer

midnight sigil
#

this bug also exists in other arithmetic operations

olive sable
#

Your parcel will be delivered today between 14:43 and 15:43 neuroHypers

midnight sigil
ivory plinth
#

lower while minimized neuroLookDown

olive sable
#

could jsut be getting less priority

ivory plinth
#

almost 13k when apps open

midnight sigil
true hemlock
#

@ivory plinth what's your cpu

ivory plinth
true hemlock
#

my 50K seems not right

#

hold on

#

seems about right now

olive sable
#

ye thats seems correcter

midnight sigil
#

correcter

true hemlock
#

im going to nuke windows leaderboard

olive sable
true hemlock
#

oh

#

wait

#

is that why my laptop is getting lower than 5K

#

because i didn't resize

olive sable
midnight sigil
true hemlock
#

@olive sable max score of yours?

olive sable
#

well, i cant get above 11K rn AquaCry

#

i used to do 13K on windows if i made taskmanager kill everything on my system

warped narwhal
#

I wonder how that is, cause we have pretty similar pc's so I don't see what would stop you from getting higher

olive sable
#

idk either

#

mybe ram

ivory plinth
#

i should reboot into windows and try

warped narwhal
#

what ram do you have? I'm using 4x16 @3600 cl16

olive sable
#

same

#

huh

#

i have 16-19-19-38 or some shit

warped narwhal
#

I'm on 16 19 19 36

olive sable
#

i dont really wanne opent he biuos rn so idk

warped narwhal
#

cachyos is bloated, confirmed! glueless

nocturne olive
#

I have 2x32GB 3200 CL16, running at 3800 CL19

#

But I could get it down a bit to CL18 if I bothered to do that

#

Probably lower too

olive sable
#

hmmm, i used to get 11K fps acording to my chat history here

#

on windows

#

but now im getting nearly 11K without killing everythin in task manager

true hemlock
#

Genuine Intel 0000 my beloved

olive sable
#

13K is probably psossible then

#

ok so now that we fixed the resize bug, is igpu prefered again?

true hemlock
#

gotta try

#

yeah imma try

olive sable
#

there is a commandline arg now for it

#

--use-igpu

nocturne olive
#

Though depending on what Windows is doing it might not work if Windows decides you only get the dGPU today

true hemlock
#

nope, way lower on iGPU

olive sable
#

if you're running it with makefile you need to do ARGS="--use-igpu"

nocturne olive
#

And on my system it definitely won't work either based on it not allowing to run on iGPU before

true hemlock
#

"way lower"

olive sable
#

i dont have an igpu so wouldnt matter anyways

olive sable
blissful geyser
#

Can i post articles here

warped narwhal
#

30k on the most recent version neuroHypers

olive sable
blissful geyser
olive sable
#

not the psp

blissful geyser
#

It is programming and llm related

olive sable
#

i actually have a psp on my desk

#

lmoa

blissful geyser
#

Yep they managed to port llama2 on this old thing

#

AI on your psp

#

Insane

true hemlock
warped narwhal
true hemlock
#

aight

olive sable
#

gcc strats

blissful geyser
#

You could probably do more with it

olive sable
#

i dont have gcc on my linux

true hemlock
#

updated

olive sable
true hemlock
#

i wanna try CL11 on my nixos

#

see how much more FPS i could hit

nocturne olive
#

Whose Linux score is the highest right now by the way?

#

I forgor

#

Oh yeah

#

The leaderboard

olive sable
#

its up

nocturne olive
#

About what I expected

#

quuck just has too insane hardware

olive sable
ivory plinth
#

lmao

nocturne olive
true hemlock
#

i murdered one of microsoft's background process

olive sable
#

oh ye updating the leaderboard also pushed my broken makefile

#

oops

true hemlock
#

@olive sablescore btw?

olive sable
#

im getting about 18230 on linux rn

#

so same as before

#

roughly 11K on windows

true hemlock
#

aight imma head to linux

#

i'll just

#

swap my nvme

olive sable
#

also, what did you even do to get that score of 50K before? cuz increasing the frames in flight makes it slower for me

true hemlock
#

it was actually faster with flames in flight 8

faint sandal
#

murder wininit.exe

#

it'll save you tons of resources

true hemlock
#

and for how i got 50K above, i don't fucking know i was even surprised when i do make run and it hit that kind of number

faint sandal
#

all the foreground processes will be killed

true hemlock
#

i did optimize CPU voltage curve and memory tweaks

#

that's all

olive sable
#

ye im already on pbo 3, im not gonna stress my cpu even more

true hemlock
#

time for nixos

olive sable
#

Pkilling discord makes my ram usage spike to 32gb for cashe???

livid adder
#

prolly a dumb question but what model was neuro trained on? ._____.

olive sable
#

What is it caching???

olive sable
rare bramble
warped narwhal
true hemlock
#

aight imma update your score

olive sable
#

Hmm, setting the core_id on both threads to the same number seems to be better for merformance

#

But it was already set to the same before by accident cuz i copy pasted the code without thinking

true hemlock
#

pc decided to not post again ICANTTAKETHISANYMORE

#

fuck it

#

imma just use 2 ram slot

olive sable
#

ok so unless anyone else has ideas on how to make thei run faster, the currenct code is peak performace while stilla ctually rendering?

true hemlock
#

should be

#

god damn using only 2 sticks look ugly

#

might wanna get dummy stick just because my ocd is acting up

olive sable
#

People use fakes with rgb these days to fix that

#

I just use 4 sticks

#

Damn im really tired now

#

I think ill start actually implementing features again instead if optemizing. But not today

true hemlock
#

I FIGURED OUT WHY

#

my dram voltage is 1.2 instead of 1.35

olive sable
#

According to linux im also running 1.2V

midnight sigil
#

SPELL: Spelling error - "const" is not a word. ahh yes, thank you, Visual Studio 2022

nocturne olive
true hemlock
midnight sigil
#

no

true hemlock
#

its a surprisingly good cooler

midnight sigil
true hemlock
#

well it can't properly cool my 14600KF

#

90C on 105W lmao

scarlet arch
#

Guys, prepare for something absolutely dumb we just discovered. So, turns out on Rust 1.87.0 and later (including nightly), a format string that is too long stops rustfmt from working.

So, here's our fucking solution kekw

true hemlock
#

but somehow it does really well for my 13900

#

150W, 70C

opaque wharf
#

Does rust really hates improper solution to anything? evilWheeze

scarlet arch
#

I wasn't able to find the right issue yet. Otherwise I'd attach the screenshot

scarlet arch
#

and, we have other files with the exact same code (except for this splitting), and those format correctly

#

but yeah, the original error formatting string was over 70 chars, and the moment we only gave it 70, suddenly everything worked again

noble zodiac
#

time to manually format your code as god intended

sick owl
#

This seems totally unenforceable

scarlet arch
#

hahaha the fun part is, it doesn't just stop formatting this piece of code. it stops the whole file from being formatted. and rustfmt -v ... doesn't even show an error

scarlet arch
rare bramble
#

companies training AI with copyrighted books and artworks completely diregarding the rights of the creator is fine, but blockin ad servers from sending garbage to your pc is now a copyright violation

opaque wharf
#

and frames website execution inside web browsers as a copyright violation.

website execution web browser. Hmmm, I wonder why is it called web browser

#

This is grounded in the assertion that a website’s HTML/CSS is a protected computer program that an ad blocker intervenes in the in-memory execution structures (DOM, CSSOM, rendering tree), this constituting unlawful reproduction and modification.

scarlet arch
#

are they this dumb

#

this would make my darkreader extension a copyright violation too

opaque wharf
#

Yes it will

#

They are technically correct in the sense that HTML and CSS is a copyrightable material

scarlet arch
#

oh boy do I love the enshittification of the internet....

opaque wharf
#

But the execution and modification of its in-memory representation remains to be solved

rare bramble
#

wouldnt it be comparable to ordering a painting and then doodling on the painting after you have bought it?

scarlet arch
opaque wharf
#

This is where digital stuff analogy breaks down tbh

scarlet arch
#

probably

opaque wharf
#

I'm trying to ponder about it

scarlet arch
#

I just hope they find actual experts

opaque wharf
#

Can it be modeled as a compiler I wonder

#

Because even if the raw code representation IS a copyrighted material, the display / presentation can be anything

#

Because it is equally valid to render the HTML / CSS code as text

#

Hmm, modding games also falls under the same category

opaque wharf
#

I think I have pondered it enough. They cannot enforce how other program should interpret the HTML + CSS data

#

Unless they build their own HTML + CSS interpreter

#

Because otherwise, opening the HTML + CSS in text editor would also infringe their copyright since their representation differ

scarlet arch
opaque wharf
scarlet arch
opaque wharf
#

(ab)using alt text evilWheeze

#

Let them try in their futile effort lol

noble zodiac
#

you can always use gemini

noble zodiac
hexed grove
#

does anyone know the default supported codecs on windows 95

noble zodiac
#

you cannot imagine how deep that rabbit hole is and its still not working reliably

nocturne olive
rigid snow
#

wav is not a codec, pcm is

#

basically equivalent of bitmap for audio

opaque wharf
#

95 is 1995 right?

#

Vorbis is around 2000 IIRC so probably not hmm

hexed grove
#

😭

#

raw audio data

opaque wharf
#

Like in the old days of telephone modem

rigid snow
#

that’s going to be way more unreliable

#

like, astronomically

noble zodiac
#

its also going to take ages

rigid snow
nocturne olive
opaque wharf
slim marsh
#

I feel impostor today and got cooked with a research project I have to submit like I said

hexed grove
opaque wharf
#

So, I think the best way is to just make your own modulation evilWheeze

slim marsh
hexed grove
#

now i gotta get a 95 iso and install it on a vm

opaque wharf
hexed grove
#

and then figure out networking because it never works

opaque wharf
#

Bro, what are you doing with windows95 if you needed to install it anyway? catdespair

rigid snow
hexed grove
#

im making a twitch proxy so you can watch twitch on... anything basically

#

with a web browser

#

do not start saying that this is false advertising because it wont run on your toaster

nocturne olive
#

Note that browsers on 95 do not support opening modern sites

rigid snow
#

streaming pcm evilDeadge

hexed grove
#

no ssl

#

no nothing

rigid snow
#

ssl is overhead

hexed grove
#

html might have to worry about

#

because im unsure where to get docs on earlier versions

opaque sigil
#

I sure would hope you're not using ssl in 2025

opaque wharf
uneven pulsar
#

yeah ssl is a waste of everything just use regular http

opaque wharf
#

twitch proxy so you can watch twitch on... anything basically

actual rendered images that the browser just displays

evilWheeze

rigid snow
#

everything https is handled by reverse proxies nowadays anyway, nobody implements any of it themselves

opaque wharf
#

And that is the bigger issue than the server

rigid snow
#

all i’m saying is there’s nothing to even think about here, just don’t do https

#

if you need it it’s included with nginx or whatever you’re using

rigid snow
#

flask is the server

#

you put it behind a proxy and you have https handled

#

transparent to your app

opaque wharf
#

We should have a dedicated cursed project thread here in #programming ICANT

true hemlock
#

i fucking hate the usb nixos

#

and the installer in it

opaque sigil
#

Hm?

hexed grove
#

i spent 5 minutes attempting to figure out why qemu woulnt run

#

found out i didnt have it installed

#

😭

void haven
#

real

somber vine
#

can we use python instead of css
like I mean streamlit or taipy

true hemlock
#

holy fuck

worldly plank
true hemlock
#

everytime i tried using the nixos installer, it either froze the WHOLE system, stuck at 46%, randomly fails then refuses to wanna work with partitioning my ssd, whatever all the random problems

#

NOT a single time it wanna work

#

NIXXXXXX

#

NIIIIIIIXXXX

nocturne olive
#

Ask Elvyn for help

true hemlock
#

AND THEN BOOTING THAT USB SHIT TOOK SO FUCKING LONG

#

FOR SOME REASON

nocturne olive
#

USBs are slow

true hemlock
#

ITS NIX

#

ITS SUPPOSED TO BE QUICK

#

IDK HOW MANY TIMES I HAD TO FORCEFULLY KILL IT BY CUTTING OFF POWER

sage crag
true hemlock
#

IT WAS USED TO BE QUICK

somber vine
#

css

nocturne olive
#

I wouldn't exactly expect a system that rebuilds itself for every installed application to be the fastest thing ever

sage crag
true hemlock
#

yes

somber vine
#

ok

true hemlock
#

and it refused to work

somber vine
#

skill issue

sage crag
true hemlock
#

either my nvme is somehow fucked

#

or something else

sage crag
sage crag
somber vine
#

buy a new nvme

nocturne olive
#

Or maybe Nix doesn't like your weird CPU

true hemlock
#

maybe

sage crag
#

should be the same as other linux distros, they all use the same firmware

somber vine
#

and check

#

oracle cloud maybe

#

it has an always free tier

sage crag
true hemlock
#

????

sage crag
true hemlock