Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-02-08 00:00:00Z and 2022-02-09 00:00:00Z
Avatar
Jupstar ✪ BOT 2022-02-08 08:49:28Z
Figure_1.png
08:50
@Chairn: too bad that it changes the axis values :D
08:51
(atleast for the histograms)
Avatar
Jupstar ✪ BOT 2022-02-08 09:05:02Z
@deen: did you happen to read it, or did it get lost in the amount of pings your receive per day :D
btw @deen i made the surface creation single threaded now, maybe you can test if thats enough also i'd like to know what steps are required to find vulkan under macos, i added the pkg config in FindVulkan, but i dunno if i have to search for moltenVK instead or smth
Avatar
Read it, but forgot. What branch?
Avatar
Jupstar ✪ BOT 2022-02-08 09:07:24Z
pr_vulkan
09:08
oh and you need -DVULKAN=ON now
Avatar
figured that out already 😄
Avatar
I made a DDNet map and start it on server Server tips some wrong in the game layer and report this to here I checked the code about this tip but I still don't know why I can upload the map if need
Avatar
Jupstar ✪ BOT 2022-02-08 09:15:50Z
yeah i tried to change the value in GetNumberOfSwapImages in backend_vulkan.cpp for macos
09:16
hoped it could fix the FPS problem(read the issues on moltenVK) but apparently not
09:16
oh but it doesnt require the WaitForIdle hack?
Avatar
Don't know, just tried it to see if that helps with fps
Avatar
Jupstar ✪ BOT 2022-02-08 09:18:05Z
oh ok :D
09:20
ok thanks for testing, maybe apple or moltenvk make an update some day, already good it's working
Avatar
Jupstar ✪ BOT 2022-02-08 11:50:57Z
this checksum.cpp is really annoying, increases build time quite alot while debugging, can it be disabled for debugging?
Avatar
you should be compiling with -DDEV=ON
11:51
(anyway, even before this change)
11:52
(together with -DCMAKE_BUILD_TYPE=Release, if you want an optimized build)
11:52
-DDEV=OFF (the default) is for packagers and people who want to install the game
Avatar
Jupstar ✪ BOT 2022-02-08 11:52:41Z
what is the advantage of it, i like to do as less changes to environment as possible
Avatar
less stuff is built by default (the tools aren't), and checksum stuff isn't as comprehensive
Avatar
could we default DEV=ON for Debug build?
Avatar
Jupstar ✪ BOT 2022-02-08 11:53:38Z
i mean there is CMAKE_BUILD_TYPE=Debug, why cant it detect that instead
Avatar
I'd prefer not to make features dependent on optimization level
11:54
that sounds like hard-to-debug bugs
Avatar
Jupstar ✪ BOT 2022-02-08 11:55:49Z
mh ok, well my GUI exposes build targets and build type, so would be easier, but guess i have to add this to all ddnet repos i have locally :D
11:55
workspaces*
Avatar
I'm not seeing any disproportionate slowdown. (cmake -DCMAKE_BUILD_TYPE=Debug -GNinja -DPREFER_BUNDLED_LIBS=OFF -DVIDEORECORDER=ON . && ninja)
Avatar
incremental builds get slower because you always generate and compile checksum.cpp
Avatar
But checksum.cpp build takes 84 ms for me, seems negligible
11:57
84 ms for generation, 50 ms for compilation actually
Avatar
Jupstar ✪ BOT 2022-02-08 11:57:48Z
it takes most time for me when changing single lines or stuff
11:58
but anyway DEV=ON is fine
Avatar
how do you generate this graph @deen?
Avatar
Incremental build with 1 line in ui.cpp changed
11:59
Convert .ninja_log files to chrome's about:tracing format. - GitHub - nico/ninjatracing: Convert .ninja_log files to chrome's about:tracing format.
Avatar
Avatar
deen
Incremental build with 1 line in ui.cpp changed
the blue and green parts are the checksum. Why can ui.cpp only start building when checksum.cpp is generated?
Avatar
good question
Avatar
can't find a dependency in cmakelists
12:16
I have a build that: Uses an add_custom_command to generate a source file (call it "greeting.cxx") Builds an executable that links both greeting.cxx...
Avatar
@deen can you check whether the problem goes away if you set(CMAKE_OPTIMIZE_DEPENDENCIES 1) at the top of the CMakeLists.txt? (not the proper fix in case it works)
14:10
reading through the issue tracker a bit more, it looks like this is an unrelated feature
Avatar
Avatar
Jupstar ✪
@Chairn: too bad that it changes the axis values :D
plt.set_xlim(min, max) plt.set_ylim(min, max) You can use None, to keep the current value and change only min or max (edited)
Avatar
I tried that, didn't help 😄
Avatar
Jupstar ✪ BOT 2022-02-08 15:26:30Z
@Chairn:Traceback (most recent call last): File "/home/jupeyy/Schreibtisch/Teeworlds/DDNet/ddnet_jupeyy/build_rel/logs/./getimg.py", line 27, in <module> plt.set_xlim(None, None) AttributeError: module 'matplotlib.pyplot' has no attribute 'set_xlim'
Avatar
just xlim actually
Avatar
Jupstar ✪ BOT 2022-02-08 15:29:35Z
ah yeah
Avatar
matplotlib is not the most consistent library i saw
Avatar
Jupstar ✪ BOT 2022-02-08 15:29:39Z
just found it on gogole xd
Avatar
depending on the object types, sometimes it's set_blabla, sometimes just blabla...
Avatar
it basically mirrors matlab in my experience
Avatar
Jupstar ✪ BOT 2022-02-08 15:30:24Z
ah you even set ylim, ez as that :D
15:31
TabError: inconsistent use of tabs and spaces in indentation most annoying part about python xD
Avatar
Avatar
heinrich5991
it basically mirrors matlab in my experience
isn't it the other way around?
Avatar
no, I don't think so
15:31
matlab must be really old
15:31
first appeared: late 1970s
Avatar
yeah, more than 20 years, but matlab was just some blas library and plot library bundled all together at the start
Avatar
matplotlib: 2003
Avatar
hum, okay
Avatar
Avatar
Jupstar ✪
TabError: inconsistent use of tabs and spaces in indentation most annoying part about python xD
use a real editor 😄
Avatar
from Matplotlib, Wikipedia:
Pyplot is a Matplotlib module which provides a MATLAB-like interface.[11] Matplotlib is designed to be as usable as MATLAB, with the ability to use Python, and the advantage of being free and open-source.
Avatar
Jupstar ✪ BOT 2022-02-08 15:33:13Z
thanks :D
15:33
Figure_1.png
15:33
multithreaded vulkan overall has the straightest line
Avatar
can you try retrofitting a gaussian on the histogram or compute variance and kurtosis?
Avatar
what does the checksum stuff do?
Avatar
Also, based on the previous figure, all your samples have different lengths (edited)
Avatar
verify the integrity of what?
15:37
@Chairn r u a data analyst?
15:37
xd
Avatar
@Chairn I think that's called "moment"
Avatar
Jupstar ✪ BOT 2022-02-08 15:38:11Z
@Chairn: no im too dumb to use python xd and yeah, but i think its like zooming into a specific section, so maybe still ok
Avatar
github moment
Avatar
Jupstar ✪ BOT 2022-02-08 15:41:12Z
15:41
is starred even a legit word xD
Avatar
someone starred in a movie
15:42
that's definitely a word
15:43
not sure if you can use it here ^^
Avatar
github calls people who gave a star to ur project "stargazers"
15:46
look this pr
15:46
the amount of line changes
15:46
they did it
Avatar
Jupstar ✪ BOT 2022-02-08 15:46:15Z
@Chairn: you still chillin on windows?
15:46
:D
15:47
how much was it for ddnet
15:49
vulkan: 8,392 additions and 809 deletions. but dunno if it also counts the spv files, they are marked as binary tho
15:49
ok the backend alone is 6300 lines
15:50
more than 4 times that of OpenGL 3 (tho it shares some code with OGL 1 file) Maybe around 3 times as much :D
Avatar
Avatar
Ryozuki
github moment
I wanted to see who starred it, but clicking on the number stars it yourself...
16:18
u have to click here
16:18
in stars
Avatar
Avatar
Ryozuki
@Chairn r u a data analyst?
not at all ^^
Avatar
Avatar
Jupstar ✪
@Chairn: you still chillin on windows?
for my personal computer yes
Avatar
but im on a shitty xubuntu laptop that i stole from my work
16:27
damn github bot interleaving between my post 😦
Avatar
Jupstar ✪ BOT 2022-02-08 16:29:17Z
Ok, your main PC is the one with the problems in DDNet right?
Avatar
yes, my personal one
16:31
so i just tried compiling ddnet on my xubuntu, and there's a weird stuff with cmake not finding sqlite3, but then saying it found it
Avatar
Jupstar ✪ BOT 2022-02-08 16:32:13Z
yeah i had that too
16:32
just delete cmake cache and rebuild
Avatar
Could not find a package configuration file provided by "SQLite3" with any of the following names: SQLite3Config.cmake sqlite3-config.cmake ... -- ******** DDNet ******** -- Target OS: linux x86_64 -- Compiler: /usr/bin/g++ -- Build type: Release -- Dependencies: ... -- * SQLite3 found
Avatar
Avatar
Jupstar ✪
just delete cmake cache and rebuild
no, still there
16:36
but it does compile fine
Avatar
the bridge is dead again xd, really annoying
16:40
@Chairn wanna test the vulkan client if switching the GPU under windows works?
Avatar
Jupstar ✪ BOT 2022-02-08 16:40:38Z
test
16:40
ah nice works again
Avatar
i cant right now, im working
Avatar
Jupstar ✪ BOT 2022-02-08 16:40:57Z
alright :D
Avatar
if you need a shitty laptop to test things, here is my setup on linux: [2022-02-08 17:42:12][gfx]: Created OpenGL 3.0 context. [2022-02-08 17:42:13][opengl]: Vendor string: Intel Open Source Technology Center [2022-02-08 17:42:13][opengl]: Version string: 3.0 Mesa 20.0.8 [2022-02-08 17:42:13][gfx]: GPU vendor: Intel Open Source Technology Center [2022-02-08 17:42:13][gfx]: GPU renderer: Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2) [2022-02-08 17:42:13][gfx]: GPU version: 3.0 Mesa 20.0.8
Avatar
Jupstar ✪ BOT 2022-02-08 16:46:08Z
i'd love to have someone with Intel driver bug testing vulkan for sure, but i think i had a laptop with hd 3000 and it didn't had any bug :D
Avatar
How can I install those on centOS 8 justatest
16:48
Avatar
yum is the package manager on centOS i think
Avatar
Yes, I replaced apt with yum
16:49
But I think the packages have different names also idk
Avatar
replace dev with devel
16:50
you can search using yum list <package>
Avatar
Jupstar ✪ BOT 2022-02-08 16:50:33Z
is there no auto completion?
Avatar
yes, try installing bash-completions (edited)
Avatar
I can add build instructions for centos, give me a few minutes
Avatar
That would be nice
Avatar
sudo yum install gcc gcc-c++ make cmake git python gtest-devel gmock-devel libcurl-devel openssl-devel freetype-devel glew-devel libnotify-devel libogg-devel opus-devel opusfile-devel pnglite-devel SDL2-devel sqlite-develwavpack-devel
17:05
But I'm afraid the g++ version could be too old by default, what do you get on g++ --version?
Avatar
g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
Avatar
ok, that should work
Avatar
still get some no-matches
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
17:09
``` /nfusr/dev-server/dfelsing/code/ddnet/src/engine/client/backend/opengl/backend_opengl.cpp: In member function ‘bool CCommandProcessorFragment_OpenGL::InitOpenGL(const CCommandProcessorFragment_OpenGLBase::SCommand_Init)’: /nfusr/dev-server/dfelsing/code/ddnet/src/engine/client/backend/opengl/backend_opengl.cpp:574:64: error: invalid conversion from ‘void ()(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar, const void)’ {aka ‘void (*)(unsigned int, unsigned int, unsigned int, un...
Avatar
weird, what is the exact centos version?
Avatar
CentOS Linux release 8.5.2111
Avatar
do you want to build client too or just server?
17:13
because for server you probably just need a sudo yum install libsqlite-devel
Avatar
sudo yum install sqlite-devel
Avatar
yeah just server
Avatar
then just install sqlite-devel and build with cmake -DCLIENT=OFF .
Avatar
so instead of cmake .. I use cmake -DCLIENT=OFF .
17:17
cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
Avatar
cmake -DCLIENT=OFF .. actually
17:25
what does which cmake print? This error is a bit weird considering you just installed cmake from system repo
Avatar
Jupstar ✪ BOT 2022-02-08 17:25:32Z
why do we even support such old distros?
17:25
i'd prefer we update and have wayland support
Avatar
I installed it with yum /usr/bin/cmake
Avatar
Avatar
Jupstar ✪
why do we even support such old distros?
centos 8 is old?
Avatar
Jupstar ✪ BOT 2022-02-08 17:26:38Z
gcc 8 sounds very old
Avatar
Totally, that's why you needed this hack from the link
Avatar
CentOS Linux 8 will reach End Of Life (EOL) on December 31st, 2021. We recommend migrating to CentOS Stream 8 before that time.
Avatar
it's not supported anymore 😄
17:27
Released in 2014
Avatar
Jupstar ✪ BOT 2022-02-08 17:27:13Z
i also think this is kinda the opposite sense of what linux is for
Avatar
oh ok good to know 😅
Avatar
Jupstar ✪ BOT 2022-02-08 17:27:26Z
it has a packet manager so we dont need to be downward compatible
Avatar
wait, not 2014, I misread
Avatar
it was the default distro on my vps lul
17:28
I probably should use debian again
Avatar
2019 actually, so not that old. but they just stopped supporting anything
Avatar
debian best
Avatar
there is no further version, I think people are switching to almalinux
17:28
but yes, debian will be easier probably
17:29
so it seems like you somehow got a cmake version that is not compatible with the rest of your system
17:29
you can try updating everything, but that might also break more
17:30
(centos 7 is the one from 2014, and it will be maintained until 2024)
Avatar
Jupstar ✪ BOT 2022-02-08 17:32:18Z
but the last version is almost 2 years old
17:32
so its probs more like when someone cares there might be security updates xD
Avatar
Ok I managed to compile it somhow xd
Avatar
chillerdragon BOT 2022-02-08 17:45:08Z
image.png
17:45
cringe deen starrin his own repo
Avatar
ur late
Avatar
chillerdragon BOT 2022-02-08 17:45:36Z
oke sori i acted like i have a job today
17:46
oh ye new github UI is shiet. Ms starting to break things :c (@deen)
I wanted to see who starred it, but clicking on the number stars it yourself... (@Ryozuki)
17:48
Any chance i can get the password for 176.9.114.238:8300 ?
Avatar
Where do I find the config file
Avatar
chillerdragon BOT 2022-02-08 17:49:13Z
wat os?
Avatar
the server config file
17:49
compiled
Avatar
chillerdragon BOT 2022-02-08 17:49:59Z
wait wat cofig?
Avatar
where I put server name port map and stuff
Avatar
chillerdragon BOT 2022-02-08 17:50:35Z
you mean autoexec_server.cfg ?
17:50
yes
17:50
in autoexec_server.cfg or autoexec.cfg
17:50
in one of the storage paths
17:50
they get printed in the server log if you start it
17:50
its like 3 locations by default
17:51
current directory and directory in which the server is and one user wide directory that depends on your os
Avatar
Can I create a autoexec.cfg file in the build dir and the server detects it
Avatar
chillerdragon BOT 2022-02-08 17:52:03Z
try put a autoexec.cfg file next to the server that should do it
17:52
if the server is also in the build dir ye
Avatar
yeah worked
17:53
ty all
Avatar
chillerdragon BOT 2022-02-08 17:54:41Z
pog
Avatar
chillerdragon: foo
Avatar
chillerdragon BOT 2022-02-08 17:57:00Z
ty babe
17:57
should i finish and leave or can i continue farm the slowest time?
Avatar
can't you /save ?
Avatar
chillerdragon BOT 2022-02-08 18:00:32Z
btw thanks for the password thing instead of a forced restart :)
18:01
yea tru
18:01
but i was just told i got world record already anyways
18:01
maybe its time to finish
Avatar
maybe if you wait long enough your time will come all the way around and you'll get r1
18:03
troll
Avatar
chillerdragon BOT 2022-02-08 18:03:45Z
actually thought about a overflow on one of those maps with time tiles
18:04
but if i did my maffs correctly its quite unrealistic
Avatar
just do a pull request to make the variable that holds the time smaller greenthing
18:06
say you're saving ram or smth justatest
Avatar
chillerdragon BOT 2022-02-08 18:06:57Z
:D
18:07
short Time;
18:07
LMAO
Avatar
make it a C bitfield
18:07
you either have a time or you don't
18:10
🥴
Avatar
Avatar
Jupstar ✪
@Chairn wanna test the vulkan client if switching the GPU under windows works?
i can tonight if you want
18:21
@jupstar ✪
Avatar
Jupstar ✪ BOT 2022-02-08 18:21:34Z
sure
Avatar
around 9pm, is it fine for you?
Avatar
Jupstar ✪ BOT 2022-02-08 18:24:36Z
yeah
Avatar
chilerdragon: you can continue, i don't mind
Avatar
Avatar
chillerdragon
but if i did my maffs correctly its quite unrealistic
just create a map that abuse this mechanic 😄
Avatar
chillerdragon BOT 2022-02-08 18:28:25Z
oh nice thanks deen
18:57
Avatar
Jupstar ✪ BOT 2022-02-08 19:03:16Z
0.6 branch
Avatar
When I start the server I only find it on 0.7
Avatar
Jupstar ✪ BOT 2022-02-08 19:04:20Z
you need to checkout the 0.6 branch
19:04
in the github repo
Avatar
ohh ok ty
Avatar
Will ddnet stay forever on 0.6?
19:06
I know that a version change means that alot of mechanics would be broken so its only logical that ddnet doesnt migrate to other versions but I’m still asking out of curiosity
Avatar
Jupstar ✪ BOT 2022-02-08 19:20:13Z
0.7 is pretty compatible to 0.6
19:20
the server even supports 0.7 connections
Avatar
Ah okay didn’t know that
Avatar
well, @Jupstar ✪ @Jupstar ✪ im here 🙂
Avatar
Jupstar ✪ BOT 2022-02-08 19:56:34Z
wanna compile yourself or want precompiled @Chairn
Avatar
uh, precompiled please, i don't have visual studio on my computer (edited)
19:57
only an outdated 32bit mingw 😄
Avatar
Jupstar ✪ BOT 2022-02-08 19:57:17Z
pm
Avatar
ahaha, seems to work fine
19:58
it automatically chose the gpu without even me telling it to
Avatar
Jupstar ✪ BOT 2022-02-08 19:58:59Z
what does the graphic setting page show?
19:59
a list where you can select?
Avatar
wait, it fucks up my mouse sens
19:59
have to change that first 😄
Avatar
Jupstar ✪ BOT 2022-02-08 19:59:50Z
possible that i have a outdated SDL version in my ddnet-libs locally :D
20:01
image.png
Avatar
hum, it crashed when i alt tabbed
20:01
illegal instruction
Avatar
Jupstar ✪ BOT 2022-02-08 20:01:19Z
ah yeah i tried to make GLES work on windows xD
Avatar
is there a way to have console output, in the terminal i use it to start ddnet?
20:01
otherwise, i loose all the log
Avatar
Jupstar ✪ BOT 2022-02-08 20:01:52Z
cl_console something
20:02
or logfile "output.txt"
Avatar
cl_show_console 1 opens a cmd.exe that close
20:02
are there debug info in?
Avatar
Jupstar ✪ BOT 2022-02-08 20:02:32Z
you can create a shortcut and put at the end "dbg_gfx 4"
Avatar
never mind, my gdb cant run it
Avatar
Jupstar ✪ BOT 2022-02-08 20:02:47Z
then you'll get all kind of validation layers(if supported9
20:03
yeah i gave you a release version :D
Avatar
hum, there are 2 fullscreen options
Avatar
Jupstar ✪ BOT 2022-02-08 20:03:39Z
not 3? xd
Avatar
one offer only one resolution (screen one), second one offer more choice
20:04
after there is windowed fullscreen, windowed borderless and windowed
20:04
so that makes 3 fullscreen option
20:04
but 2 fullscreen options have exact same wording
Avatar
Jupstar ✪ BOT 2022-02-08 20:04:24Z
windowed fullscreen = fullscreen that acts like a window desktop fullscreen = use desktop video mode fullscreen = choose whatever you want
Avatar
ah, it shows only fullscreen for desktop fullscreen
Avatar
Jupstar ✪ BOT 2022-02-08 20:04:49Z
ah translation bug :D
Avatar
but i cant alt tab out
20:05
it crashes with "illegal instruction"
Avatar
Jupstar ✪ BOT 2022-02-08 20:05:13Z
on what GPU?
20:05
your NVidia?
20:05
(it shows in f1
Avatar
[2022-02-08 21:05:32][sdl]: SDL version 2.0.16 (compiled = 2.0.20) [2022-02-08 21:05:33][gfx]: Created Vulkan zu.zu context. [2022-02-08 21:05:33][vulkan]: warning: requested presentation mode was not available. falling back to mailbox / fifo relaxed. [2022-02-08 21:05:33][gfx]: GPU vendor: NVIDIA [2022-02-08 21:05:33][gfx]: GPU renderer: GeForce GT 740M [2022-02-08 21:05:33][gfx]: GPU version: Vulkan 1.1.95 (edited)
20:07
it always has v-sync on, even if the option is disabled
Avatar
ok do logfile "test.txt" illegal instruction pretty sure is a debug assert
Avatar
i can probably change that with nvidia control panel
20:07
yup
20:07
[2022-02-08 21:06:24][assert]: /home/jupeyy/Schreibtisch/Teeworlds/DDNet/ddnet_jupeyy/src/engine/client/backend/vulkan/backend_vulkan.cpp(989): Creating the swap chain failed. (edited)
Avatar
logfile "test.txt" and restart
20:08
"[2022-02-08 21:05:33][vulkan]: warning: requested presentation mode was not available. falling back to mailbox / fifo relaxed." that's unexpected
20:08
but explain why you only have vsync like FPS
Avatar
im trying to disable it with nvidia panel right now
20:10
yup, works fine ❤️
20:10
except the crash when alt tabbing
Avatar
yeah i'll try to reproduce it under windows
20:11
does the graphic setting tab let you choose intel?
Avatar
[2022-02-08 21:10:28][vulkan]: device ran out of memory [2022-02-08 21:10:28][vulkan]: vulkan error: Creating the swap chain failed. [2022-02-08 21:10:28][assert]: /home/jupeyy/Schreibtisch/Teeworlds/DDNet/ddnet_jupeyy/src/engine/client/backend/vulkan/backend_vulkan.cpp(989): Creating the swap chain failed.
20:11
in game menu?
Avatar
"device ran out of memory"
20:11
😮
Avatar
that's weird
Avatar
in the game menu yeah
Avatar
i dont see any graphic card choice
20:12
where should it be?
Avatar
no its probs bcs ur intel doesnt support vulkan
Avatar
yeah, my laptop is from 2014
Avatar
i hoped it does, then we could test if that works under windows 😄
Avatar
i7-4700mq
Avatar
i sadly have no multi gpu setup (edited)
Avatar
do you want me to try upgrading cpu and gpu drivers?
Avatar
well is worth a try sure
20:14
but ran out of memory sounds like exactly what it is xD
20:14
wouldnt even have thought such an old GPU supports vulkan tbh xD
20:14
but yeah nvidia has pretty long time support
Avatar
i have 8g of ram, so probably a problem somewhere else
20:14
ah graphic ram?
20:15
the ran out of ram is when i alt tab out
Avatar
probably, i dunno how well the driver swaps out VRAM to RAM
20:15
well i checked under linux but there isnt any memory leak when swap chaining, but i'll test more later
20:15
is the FPS still limited to the nVidia optimus?
Avatar
my gpu has 2g of vram
Avatar
should be enough actually
Avatar
nah, i turned it off with nvidia panel
20:16
but ingame option had no effect
Avatar
ah i see
20:16
how is it with vulkan then?
20:16
still bad?
Avatar
not for me 🙂
Avatar
nice 😄
20:16
atleast one opengl bug fixed xD
Avatar
ah, i need to try a map that used to crash
20:17
bit2 or artic frost
Avatar
btw do you have alot of skins or high res images? they use a lot of VRAM
20:17
a single 1024x1024 is 8MB of VRAM with mipmaps
20:18
ah ctrl shift D shows exact vram usage btw
20:18
since in vulkan you allocate everything urself except the pipeline and some pools
Avatar
i tried with an empty profile
20:19
but bit2 and artic frost don't crash 😄
Avatar
nice 😉
Avatar
but now there's a huge difference in fps with entities and without
20:19
320 without, 980 with
Avatar
was it less before?
Avatar
lemme try with my base profile
Avatar
RADV is also slower than radeonsi in GPU bound for me
20:20
but i checked my GPU usage and both were 100%, so i assume the driver is just a bit worse for me
20:21
in CPU bound scenarios i get almost tripple FPS with vulkan tho
Avatar
was more without and less with
20:21
like 400 without and 600 with
Avatar
ok 😄
20:22
maybe bcs GL1.x doesnt have linear mipmapping or smth
20:22
quite possible actually
20:22
i think 1.x doesnt even generate mipmaps
Avatar
[2022-02-08 21:22:06][vulkan]: vulkan error: A shader file could not load correctly [2022-02-08 21:22:06][assert]: /home/jupeyy/Schreibtisch/Teeworlds/DDNet/ddnet_jupeyy/src/engine/client/backend/vulkan/backend_vulkan.cpp(989): A shader file could not load correctly
20:22
with my base profile 😦
20:22
i deleted the original data
Avatar
oh yeah
20:22
you need the new data dir
Avatar
i guess, i will just copy skins folder
Avatar
it contains the vulkan shaders
20:23
shader dir is it
Avatar
no graphic card choice here
20:27
and memory usage is
Avatar
yeah ok 1.5gb vram
20:28
the other buffers are probs on your CPU RAM
20:28
you have alot of textures thats sure
20:28
i have around 300 mb vram less
Avatar
that's with all the skins
20:29
btw, it loads way faster than base client
Avatar
the map?
Avatar
like 2-3 seconds instead of 10
Avatar
ah the client start
Avatar
no the starting phase
Avatar
yeah OGL 1.x sadly has to rescale some textures
Avatar
map loading is still around 1 or 2 seconds i'd say
Avatar
bcs it doesnt support non-power of two textures
Avatar
but that's fine imo
Avatar
maploading might even be slower, bcs it buffers everything
Avatar
there are new intel graphics, but i guess it won't make a difference (edited)
Avatar
while gl 1.x just streams everything per frame
20:30
yeah i doubt
20:30
i think they only support vulkan since skylake or smth
20:31
ok ivy bridge supports 1.0
Avatar
mine is haswell
Avatar
but i am checking for 1.1 currently
Avatar
even older 😄
Avatar
yeah it could work
20:31
i might just make the windows build to allow vulkan 1.0
20:32
i only need 1.1 for better extension support
20:32
(i think)
Avatar
i prefer not updating intel graphics, it fucks up evertything sometimes
Avatar
true 😄
20:32
who knows how good the vulkan drivers even are XD
Avatar
and all this was because i didn't want to run it on intel graphics so why bother 😄
Avatar
true 😛
Avatar
do you want me to comment on https://github.com/ddnet/ddnet/pull/4600 ? (edited)
this will add support to load different opengl32.dll&#39;s to ultimatily add support for wrappers like d3d12 or software renderers without breaking normal opengl execution. We would need to shi...
Avatar
you can do that :D, what is your nVidia driver version btw? (edited)
20:35
i dont see any VRAM increase when the swapchain recreates, really weird it runs out of memory exactly then
20:35
but should defs recheck under windows
Avatar
471 is current or smth i guess
Avatar
this site says my driver is up to date
Avatar
yeah
20:36
2019.4.11
Avatar
oups, there's some personal info there
Avatar
guess they dropped support
20:36
too bad
20:36
ah interesting you are on win7
20:37
i read somewhere win7 only allows 1024 allocations, so good to see it working 😄
Avatar
1024 memory allocations per program?
Avatar
VRAM allocations
20:37
its some weird windows limitation
20:38
ok but gpuinfo says 4096(the default on windows)
20:38
maybe its just some weaker GPUs
20:39
or they fixed it already, who know how old the things were i read XD
Avatar
well, just checked nvidia website and yes, 425.31 is the last version for my gpu
Avatar
yeah :/
20:40
3 years old driver
20:40
"Ideally stay < 1024 allocations to reduce CPU overhead on Windows 7. The more allocations, the more overhead on work submission. This cost does not impact Linux." https://developer.nvidia.com/blog/vulkan-dos-donts/
20:40
ah there i got it from 😄
Avatar
it doesn't say it's a hard limit
Avatar
yeah
Avatar
just a recommendation
Avatar
probs remembered it wrongly, but i doubt we have so many allocations
20:43
i think the chunk size is around 20MB so with 1.5GB vram we use around 75 allocations
20:43
rest is just sub allocations
Avatar
well, thank you for your amazing work ❤️
20:48
if you want me to test anything else 😛
Avatar
@Chairn you could test if it crashes in windowed fullscreen, but windowed fullscreen might be a bit slower, bcs windows compositor is on then
21:20
windowed fullscreen does not allow resizing, so maybe the swapchain doesnt need to be recreated
21:21
gfx_fullscreen 3 in config, if you cannot even change it ingame 😄
Avatar
chillerdragon BOT 2022-02-08 21:56:50Z
trol deen xd
Avatar
yup, only fullscreen crash
22:19
windowed fullscreen doesnt, neither does any other
Exported 434 message(s)