[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: file.png (140 KB, 1493x785)
140 KB PNG
>create an empty window with SDL
>104 Mb of RAM
So this is the new normal, huh? An empty window, with nothing in it, taking up 104 MB of RAM...
It seems there’s nothing I can do about it, right?
>>
You could fill the empty window with useful stuff or post about its RAM usage here
>>
>Linux
Found your problem. Try using a real OS with an actual desktop API so you don't need a 50 MB framework to reliably open a window.

There's a reason why every GUI program and game is developed for Windows.
>>
>>110532943
Use ai and stop being a snailer
>>
File: file.png (130 KB, 926x347)
130 KB PNG
>>110533168
Claude said there's nothing we can do since that's the GPU drivers being shoved down my throat.
>>
File: reaction-picard.jpg (76 KB, 860x624)
76 KB JPG
>>110533168
how dooes it even relate you complete retard?
>>
>>110533181
> create an empty window with SDL
He should ask Claude to write the code for an empty window with better performance
>>110533172
Skill issue
>>
File: 1782944914682045.jpg (241 KB, 3074x2194)
241 KB JPG
>>110533172
>Nvidia stealing your RAM
why are you surprised anon
>>
>>110533172
>nothing we can do
Fake news, my window takes 4kb of memory. It doesn't use the GPU for graphics, but still.
>>
>>110533172
we told you NVIDIA on linux is garbage
>>
File: yesgirl.gif (775 KB, 252x250)
775 KB GIF
>>110533195
youre spectacularly retarded
even moreso that klod said that its a driver issue
which im not even sure that it is
>>110533172
sdl uses up memory too
>muh blot
you might want these buffers up, its probably a feature of your gpu
something something shared buffers bw the gpu and your computer
not strictly drivers, probably more of an sdl thing, you could get empty everything in theory but in practice youre expected to have at least 4gigs worth of ram in modern times
>>
>>110533244
I didn’t read his post I don’t really care, trans
>>
>>110533265
cope
ur just retarded

>>110533172
>not strictly drivers, probably more of an sdl thing, you could get empty everything in theory but in practice youre expected to have at least 4gigs worth of ram in modern times

oh, yeah,
because the gpu is basically a computer within your computer
and the concept of shared buffers makes it so that lower level synchronization can get abstracted away, or even exist at the hardware level
this comes at the cost of a buffer being present, even if unused

my bet is that sdl allocates a shared buffer somewhere in the process, and to simplify things, it remains allocated during the whole execution of the program
>>
File: IMG_3266.png (517 KB, 668x587)
517 KB PNG
>>110533310
>cope
>ur just retarded



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.