09:49 <+bridge> [ddnet] Figure\_1.png 09:49 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940529755806134292/Figure_1.png 09:50 <+bridge> [ddnet] @Chairn\: too bad that it changes the axis values \:D 09:51 <+bridge> [ddnet] (atleast for the histograms) 10:05 <+bridge> [ddnet] @deen\: did you happen to read it, or did it get lost in the amount of pings your receive per day \:D 10:07 <+bridge> [ddnet] Read it, but forgot. What branch? 10:07 <+bridge> [ddnet] pr\_vulkan 10:08 <+bridge> [ddnet] oh and you need -DVULKAN=ON now 10:10 <+bridge> [ddnet] figured that out already 😄 10:15 <+bridge> [ddnet] ok, works with https://github.com/def-/ddnet/commit/239603a9f414d218f8d70ca0ee345a095c5027e0 10:15 <+bridge> [ddnet] but now only reaches vsync fps, even though vsync is off 10:15 <+bridge> [ddnet] yeah i tried to change the value in 10:15 <+bridge> [ddnet] GetNumberOfSwapImages in backend\_vulkan.cpp for macos 10:16 <+bridge> [ddnet] hoped it could fix the FPS problem(read the issues on moltenVK) but apparently not 10:16 <+bridge> [ddnet] oh but it doesnt require the WaitForIdle hack? 10:17 <+bridge> [ddnet] Don't know, just tried it to see if that helps with fps 10:18 <+bridge> [ddnet] oh ok \:D 10:20 <+bridge> [ddnet] ok thanks for testing, maybe apple or moltenvk make an update some day, already good it's working 12:50 <+bridge> [ddnet] this checksum.cpp is really annoying, increases build time quite alot while debugging, can it be disabled for debugging? 12:51 <+bridge> [ddnet] you should be compiling with `-DDEV=ON` 12:51 <+bridge> [ddnet] (anyway, even before this change) 12:52 <+bridge> [ddnet] (together with `-DCMAKE_BUILD_TYPE=Release`, if you want an optimized build) 12:52 <+bridge> [ddnet] `-DDEV=OFF` (the default) is for packagers and people who want to install the game 12:52 <+bridge> [ddnet] what is the advantage of it, i like to do as less changes to environment as possible 12:53 <+bridge> [ddnet] less stuff is built by default (the tools aren't), and checksum stuff isn't as comprehensive 12:53 <+bridge> [ddnet] could we default DEV=ON for Debug build? 12:53 <+bridge> [ddnet] i mean there is CMAKE\_BUILD\_TYPE=Debug, why cant it detect that instead 12:54 <+bridge> [ddnet] I'd prefer not to make features dependent on optimization level 12:54 <+bridge> [ddnet] that sounds like hard-to-debug bugs 12:55 <+bridge> [ddnet] 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 12:55 <+bridge> [ddnet] workspaces\* 12:56 <+bridge> [ddnet] I'm not seeing any disproportionate slowdown. (`cmake -DCMAKE_BUILD_TYPE=Debug -GNinja -DPREFER_BUNDLED_LIBS=OFF -DVIDEORECORDER=ON . && ninja`) 12:56 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940576748645543976/Screenshot_2022-02-08_at_12.55.26.png 12:56 <+bridge> [ddnet] incremental builds get slower because you always generate and compile checksum.cpp 12:57 <+bridge> [ddnet] But checksum.cpp build takes 84 ms for me, seems negligible 12:57 <+bridge> [ddnet] 84 ms for generation, 50 ms for compilation actually 12:57 <+bridge> [ddnet] it takes most time for me when changing single lines or stuff 12:58 <+bridge> [ddnet] but anyway DEV=ON is fine 12:58 <+bridge> [ddnet] how do you generate this graph @deen? 12:59 <+bridge> [ddnet] Incremental build with 1 line in ui.cpp changed 12:59 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940577464202166312/Screenshot_2022-02-08_at_12.58.45.png 12:59 <+bridge> [ddnet] https://github.com/nico/ninjatracing 12:59 <+bridge> [ddnet] the blue and green parts are the checksum. Why can ui.cpp only start building when checksum.cpp is generated? 13:00 <+bridge> [ddnet] good question 13:01 <+bridge> [ddnet] can't find a dependency in cmakelists 13:14 <+bridge> [ddnet] I found a related thread: https://cmake.org/pipermail/cmake-developers/2014-June/010708.html 13:16 <+bridge> [ddnet] probably more related: https://gitlab.kitware.com/cmake/cmake/-/issues/21673 15:05 <+bridge> [ddnet] @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) 15:10 <+bridge> [ddnet] reading through the issue tracker a bit more, it looks like this is an unrelated feature 16:20 <+bridge> [ddnet] plt.set_xlim(min, max) 16:22 <+bridge> [ddnet] I tried that, didn't help 😄 16:22 <+bridge> [ddnet] plt.set_xlim(min, max) 16:22 <+bridge> [ddnet] plt.set_ylim(min, max) 16:23 <+bridge> [ddnet] plt.set_xlim(min, max) 16:23 <+bridge> [ddnet] plt.set_ylim(min, max) 16:23 <+bridge> [ddnet] You can use None, to keep the current value and change only min or max 16:26 <+bridge> [ddnet] @Chairn\:``` 16:26 <+bridge> [ddnet] Traceback (most recent call last): 16:26 <+bridge> [ddnet] File "/home/jupeyy/Schreibtisch/Teeworlds/DDNet/ddnet_jupeyy/build_rel/logs/./getimg.py", line 27, in 16:26 <+bridge> [ddnet] plt.set_xlim(None, None) 16:26 <+bridge> [ddnet] AttributeError: module 'matplotlib.pyplot' has no attribute 'set_xlim' 16:26 <+bridge> [ddnet] ``` 16:29 <+bridge> [ddnet] just xlim actually 16:29 <+bridge> [ddnet] ah yeah 16:29 <+bridge> [ddnet] matplotlib is not the most consistent library i saw 16:29 <+bridge> [ddnet] just found it on gogole xd 16:29 <+bridge> [ddnet] depending on the object types, sometimes it's set_blabla, sometimes just blabla... 16:30 <+bridge> [ddnet] it basically mirrors matlab in my experience 16:30 <+bridge> [ddnet] ah you even set ylim, ez as that \:D 16:31 <+bridge> [ddnet] `TabError: inconsistent use of tabs and spaces in indentation` most annoying part about python xD 16:31 <+bridge> [ddnet] isn't it the other way around? 16:31 <+bridge> [ddnet] no, I don't think so 16:31 <+bridge> [ddnet] matlab must be really old 16:31 <+bridge> [ddnet] first appeared: late 1970s 16:31 <+bridge> [ddnet] yeah, more than 20 years, but matlab was just some blas library and plot library bundled all together at the start 16:32 <+bridge> [ddnet] matplotlib: 2003 16:32 <+bridge> [ddnet] hum, okay 16:32 <+bridge> [ddnet] use a real editor 😄 16:32 <+bridge> [ddnet] from Matplotlib, Wikipedia: 16:32 <+bridge> [ddnet] > 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. 16:33 <+bridge> [ddnet] thanks \:D 16:33 <+bridge> [ddnet] Figure\_1.png 16:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940631366037557278/Figure_1.png 16:33 <+bridge> [ddnet] multithreaded vulkan overall has the straightest line 16:35 <+bridge> [ddnet] can you try retrofitting a gaussian on the histogram or compute variance and kurtosis? 16:36 <+bridge> [ddnet] what does the checksum stuff do? 16:36 <+bridge> [ddnet] Also, based on the previous feature, all your samples have different lengths 16:36 <+bridge> [ddnet] verify the integrity of what? 16:36 <+bridge> [ddnet] Also, based on the previous g, all your samples have different lengths 16:36 <+bridge> [ddnet] Also, based on the previous figure, all your samples have different lengths 16:37 <+bridge> [ddnet] @Chairn r u a data analyst? 16:37 <+bridge> [ddnet] xd 16:37 <+bridge> [ddnet] @Chairn I think that's called "moment" 16:37 <+bridge> [ddnet] https://docs.scipy.org/doc/scipy-1.8.0/html-scipyorg/reference/generated/scipy.stats.moment.html#scipy.stats.moment 16:38 <+bridge> [ddnet] @Chairn\: no im too dumb to use python xd 16:38 <+bridge> [ddnet] and yeah, but i think its like zooming into a specific section, so maybe still ok 16:40 <+bridge> [ddnet] github moment 16:40 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940633216505745458/unknown.png 16:41 <+bridge> [ddnet] ✪ 16:41 <+bridge> [ddnet] is starred even a legit word xD 16:42 <+bridge> [ddnet] someone starred in a movie 16:42 <+bridge> [ddnet] that's definitely a word 16:43 <+bridge> [ddnet] not sure if you can use it here ^^ 16:43 <+bridge> [ddnet] github calls people who gave a star to ur project "stargazers" 16:45 <+bridge> [ddnet] https://github.com/ddnet/ddnet/stargazers 16:46 <+bridge> [ddnet] 16:46 <+bridge> [ddnet] look this pr 16:46 <+bridge> [ddnet] the amount of line changes 16:46 <+bridge> [ddnet] they did it 16:46 <+bridge> [ddnet] @Chairn\: you still chillin on windows? 16:46 <+bridge> [ddnet] \:D 16:47 <+bridge> [ddnet] how much was it for ddnet 16:49 <+bridge> [ddnet] vulkan\: 16:49 <+bridge> [ddnet] 8,392 additions and 809 deletions. 16:49 <+bridge> [ddnet] 16:49 <+bridge> [ddnet] but dunno if it also counts the spv files, they are marked as binary tho 16:49 <+bridge> [ddnet] ok the backend alone is 6300 lines 16:50 <+bridge> [ddnet] more than 4 times that of OpenGL 3 (tho it shares some code with OGL 1 file) 16:50 <+bridge> [ddnet] 16:50 <+bridge> [ddnet] Maybe around 3 times as much \:D 17:17 <+bridge> [ddnet] I wanted to see who starred it, but clicking on the number stars it yourself... 17:18 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940642747235311646/unknown.png 17:18 <+bridge> [ddnet] u have to click here 17:18 <+bridge> [ddnet] in stars 17:22 <+bridge> [ddnet] not at all ^^ 17:22 <+bridge> [ddnet] for my personal computer yes 17:27 <+bridge> [ddnet] but im on a shitty xubuntu laptop that i stole from my work 17:27 <+bridge> [ddnet] damn github bot interleaving between my post 😦 17:29 <+bridge> [ddnet] Ok, your main PC is the one with the problems in DDNet right? 17:31 <+bridge> [ddnet] yes, my personal one 17:31 <+bridge> [ddnet] 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 17:32 <+bridge> [ddnet] yeah i had that too 17:32 <+bridge> [ddnet] just delete cmake cache and rebuild 17:32 <+bridge> [ddnet] ```shell 17:32 <+bridge> [ddnet] Could not find a package configuration file provided by "SQLite3" with any 17:32 <+bridge> [ddnet] of the following names: 17:32 <+bridge> [ddnet] 17:32 <+bridge> [ddnet] SQLite3Config.cmake 17:32 <+bridge> [ddnet] sqlite3-config.cmake 17:32 <+bridge> [ddnet] ... 17:32 <+bridge> [ddnet] -- ******** DDNet ******** 17:32 <+bridge> [ddnet] -- Target OS: linux x86_64 17:32 <+bridge> [ddnet] -- Compiler: /usr/bin/g++ 17:32 <+bridge> [ddnet] -- Build type: Release 17:32 <+bridge> [ddnet] -- Dependencies: 17:32 <+bridge> [ddnet] ... 17:32 <+bridge> [ddnet] -- * SQLite3 found 17:32 <+bridge> [ddnet] ``` 17:33 <+bridge> [ddnet] no, still there 17:36 <+bridge> [ddnet] but it does compile fine 17:40 <+bridge> [ddnet] the bridge is dead again xd, really annoying 17:40 <+bridge> [ddnet] @Chairn wanna test the vulkan client if switching the GPU under windows works? 17:40 <+bridge> [ddnet] test 17:40 <+bridge> [ddnet] ah nice works again 17:40 <+bridge> [ddnet] i cant right now, im working 17:40 <+bridge> [ddnet] alright \:D 17:43 <+bridge> [ddnet] if you need a shitty laptop to test things, here is my setup on linux: 17:43 <+bridge> [ddnet] ```shell 17:43 <+bridge> [ddnet] [2022-02-08 17:42:12][gfx]: Created OpenGL 3.0 context. 17:43 <+bridge> [ddnet] [2022-02-08 17:42:13][opengl]: Vendor string: Intel Open Source Technology Center 17:43 <+bridge> [ddnet] [2022-02-08 17:42:13][opengl]: Version string: 3.0 Mesa 20.0.8 17:43 <+bridge> [ddnet] [2022-02-08 17:42:13][gfx]: GPU vendor: Intel Open Source Technology Center 17:43 <+bridge> [ddnet] [2022-02-08 17:42:13][gfx]: GPU renderer: Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2) 17:43 <+bridge> [ddnet] [2022-02-08 17:42:13][gfx]: GPU version: 3.0 Mesa 20.0.8 17:43 <+bridge> [ddnet] ``` 17:46 <+bridge> [ddnet] 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 17:47 <+bridge> [ddnet] How can I install those on centOS 8 :justatest: 17:47 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940649960733560842/unknown.png 17:48 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940650308789493890/unknown.png 17:49 <+bridge> [ddnet] yum is the package manager on centOS i think 17:49 <+bridge> [ddnet] Yes, I replaced apt with yum 17:49 <+bridge> [ddnet] But I think the packages have different names also idk 17:49 <+bridge> [ddnet] replace dev with devel 17:50 <+bridge> [ddnet] you can search using yum list 17:50 <+bridge> [ddnet] is there no auto completion? 17:51 <+bridge> [ddnet] yes, try install bash-completions 17:51 <+bridge> [ddnet] yes, try installing bash-completions 17:56 <+bridge> [ddnet] I can add build instructions for centos, give me a few minutes 17:57 <+bridge> [ddnet] That would be nice 18:04 <+bridge> [ddnet] `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` 18:05 <+bridge> [ddnet] But I'm afraid the g++ version could be too old by default, what do you get on `g++ --version`? 18:05 <+bridge> [ddnet] `g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)` 18:05 <+bridge> [ddnet] ok, that should work 18:07 <+bridge> [ddnet] still get some no-matches 18:07 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940655077251772427/unknown.png 18:11 <+bridge> [ddnet] weird, what is the exact centos version? 18:11 <+bridge> [ddnet] `CentOS Linux release 8.5.2111` 18:12 <+bridge> [ddnet] do you want to build client too or just server? 18:13 <+bridge> [ddnet] because for server you probably just need a `sudo yum install libsqlite-devel` 18:13 <+bridge> [ddnet] Btw I also had a metadata appstream error and executed these 2 commands on bottom of the page: 18:13 <+bridge> [ddnet] https://techglimpse.com/failed-metadata-repo-appstream-centos-8/#:~:text=Fix%20Failed%20to%20download%20metadata%20for%20repo,-CentOS%20Linux%208&text=It%20means%20that%20CentOS%208,they%20will%20be%20archived%20permanently. 18:13 <+bridge> [ddnet] 18:13 <+bridge> [ddnet] Idk if this might be a reason 18:13 <+bridge> [ddnet] `sudo yum install sqlite-devel` 18:13 <+bridge> [ddnet] yeah just server 18:13 <+bridge> [ddnet] then just install sqlite-devel and build with `cmake -DCLIENT=OFF .` 18:15 <+bridge> [ddnet] so instead of cmake .. I use cmake -DCLIENT=OFF . 18:17 <+bridge> [ddnet] `cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd` 18:24 <+bridge> [ddnet] cmake -DCLIENT=OFF .. actually 18:25 <+bridge> [ddnet] what does `which cmake` print? This error is a bit weird considering you just installed cmake from system repo 18:25 <+bridge> [ddnet] why do we even support such old distros? 18:25 <+bridge> [ddnet] i'd prefer we update and have wayland support 18:25 <+bridge> [ddnet] I installed it with yum `/usr/bin/cmake` 18:26 <+bridge> [ddnet] centos 8 is old? 18:26 <+bridge> [ddnet] gcc 8 sounds very old 18:26 <+bridge> [ddnet] Totally, that's why you needed this hack from the link 18:26 <+bridge> [ddnet] CentOS Linux 8 will reach End Of Life (EOL) on December 31st, 2021. We recommend migrating to CentOS Stream 8 before that time. 18:26 <+bridge> [ddnet] it's not supported anymore 😄 18:27 <+bridge> [ddnet] Released in 2014 18:27 <+bridge> [ddnet] i also think this is kinda the opposite sense of what linux is for 18:27 <+bridge> [ddnet] oh ok good to know 😅 18:27 <+bridge> [ddnet] it has a packet manager so we dont need to be downward compatible 18:27 <+bridge> [ddnet] wait, not 2014, I misread 18:27 <+bridge> [ddnet] it was the default distro on my vps lul 18:28 <+bridge> [ddnet] I probably should use debian again 18:28 <+bridge> [ddnet] 2019 actually, so not that old. but they just stopped supporting anything 18:28 <+bridge> [ddnet] debian best 18:28 <+bridge> [ddnet] there is no further version, I think people are switching to almalinux 18:28 <+bridge> [ddnet] but yes, debian will be easier probably 18:29 <+bridge> [ddnet] so it seems like you somehow got a cmake version that is not compatible with the rest of your system 18:29 <+bridge> [ddnet] you can try updating everything, but that might also break more 18:30 <+bridge> [ddnet] (centos 7 is the one from 2014, and it will be maintained until 2024) 18:32 <+bridge> [ddnet] but the last version is almost 2 years old 18:32 <+bridge> [ddnet] so its probs more like when someone cares there might be security updates xD 18:42 <+bridge> [ddnet] Ok I managed to compile it somhow xd 18:45 <+bridge> [ddnet] image.png 18:45 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940664560736698470/image.png 18:45 <+bridge> [ddnet] cringe deen starrin his own repo 18:45 <+bridge> [ddnet] ur late 18:45 <+bridge> [ddnet] oke sori i acted like i have a job today 18:46 <+bridge> [ddnet] oh ye new github UI is shiet. Ms starting to break things \:c 18:46 <+bridge> [ddnet] (@deen) 18:48 <+bridge> [ddnet] Any chance i can get the password for 176.9.114.238\:8300 ? 18:48 <+bridge> [ddnet] Where do I find the config file 18:49 <+bridge> [ddnet] wat os? 18:49 <+bridge> [ddnet] the server config file 18:49 <+bridge> [ddnet] compiled 18:50 <+bridge> [ddnet] wait wat cofig? 18:50 <+bridge> [ddnet] where I put server name port map and stuff 18:50 <+bridge> [ddnet] you mean autoexec\_server.cfg ? 18:50 <+bridge> [ddnet] yes 18:50 <+bridge> [ddnet] in autoexec\_server.cfg or autoexec.cfg 18:50 <+bridge> [ddnet] in one of the storage paths 18:50 <+bridge> [ddnet] they get printed in the server log if you start it 18:51 <+bridge> [ddnet] its like 3 locations by default 18:51 <+bridge> [ddnet] current directory and directory in which the server is and one user wide directory that depends on your os 18:52 <+bridge> [ddnet] Can I create a autoexec.cfg file in the build dir and the server detects it 18:52 <+bridge> [ddnet] try put a autoexec.cfg file next to the server that should do it 18:52 <+bridge> [ddnet] if the server is also in the build dir ye 18:53 <+bridge> [ddnet] yeah worked 18:53 <+bridge> [ddnet] ty all 18:54 <+bridge> [ddnet] pog 18:55 <+bridge> [ddnet] chillerdragon: foo 18:57 <+bridge> [ddnet] ty babe 18:57 <+bridge> [ddnet] should i finish and leave or can i continue farm the slowest time? 18:58 <+bridge> [ddnet] can't you /save ? 19:00 <+bridge> [ddnet] btw thanks for the password thing instead of a forced restart \:) 19:01 <+bridge> [ddnet] yea tru 19:01 <+bridge> [ddnet] but i was just told i got world record already anyways 19:01 <+bridge> [ddnet] maybe its time to finish 19:03 <+bridge> [ddnet] maybe if you wait long enough your time will come all the way around and you'll get r1 19:03 <+bridge> [ddnet] :troll: 19:03 <+bridge> [ddnet] actually thought about a overflow on one of those maps with time tiles 19:04 <+bridge> [ddnet] but if i did my maffs correctly its quite unrealistic 19:06 <+bridge> [ddnet] just do a pull request to make the variable that holds the time smaller :greenthing: 19:06 <+bridge> [ddnet] say you're saving ram or smth :justatest: 19:06 <+bridge> [ddnet] \:D 19:07 <+bridge> [ddnet] short Time; 19:07 <+bridge> [ddnet] LMAO 19:07 <+bridge> [ddnet] make it a C bitfield 19:07 <+bridge> [ddnet] you either have a time or you don't 19:09 <+bridge> [ddnet] https://www.reddit.com/r/pcgaming/comments/snk6yq/epic_wont_update_fortnite_to_run_on_the_steam/ 19:10 <+bridge> [ddnet] 🥴 19:19 <+bridge> [ddnet] i like that comment: https://www.reddit.com/r/pcgaming/comments/snk6yq/comment/hw34zke/?utm_source=share&utm_medium=web2x&context=3 19:20 <+bridge> [ddnet] i can tonight if you want 19:21 <+bridge> [ddnet] @jupstar ✪ 19:21 <+bridge> [ddnet] sure 19:21 <+bridge> [ddnet] around 9pm, is it fine for you? 19:24 <+bridge> [ddnet] yeah 19:24 <+bridge> [ddnet] chilerdragon: you can continue, i don't mind 19:28 <+bridge> [ddnet] just create a map that abuse this mechanic 😄 19:28 <+bridge> [ddnet] oh nice thanks deen 19:57 <+bridge> [ddnet] Jupstar 19:57 <+bridge> [ddnet] https://github.com/Jupeyy/teeworlds-fng2-mod is this mod only for 0.7? 20:03 <+bridge> [ddnet] 0.6 branch 20:03 <+bridge> [ddnet] When I start the server I only find it on 0.7 20:04 <+bridge> [ddnet] you need to checkout the 0.6 branch 20:04 <+bridge> [ddnet] in the github repo 20:04 <+bridge> [ddnet] ohh ok ty 20:05 <+bridge> [ddnet] Will ddnet stay forever on 0.6? 20:06 <+bridge> [ddnet] 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 20:20 <+bridge> [ddnet] 0.7 is pretty compatible to 0.6 20:20 <+bridge> [ddnet] the server even supports 0.7 connections 20:52 <+bridge> [ddnet] Ah okay didn’t know that 20:55 <+bridge> [ddnet] well, @Not Keks @Jupstar ✪ im here 🙂 20:56 <+bridge> [ddnet] wanna compile yourself or want precompiled @Chairn 20:56 <+bridge> [ddnet] uh, precompiled please, i don't visual studio on my computer 20:57 <+bridge> [ddnet] only an outdated 32bit mingw 😄 20:57 <+bridge> [ddnet] uh, precompiled please, i don't have visual studio on my computer 20:57 <+bridge> [ddnet] pm 20:58 <+bridge> [ddnet] ahaha, seems to work fine 20:58 <+bridge> [ddnet] it automatically chose the gpu without even me telling it to 20:59 <+bridge> [ddnet] what does the graphic setting page show? 20:59 <+bridge> [ddnet] a list where you can select? 20:59 <+bridge> [ddnet] wait, it fucks up my mouse sens 20:59 <+bridge> [ddnet] have to change that first 😄 20:59 <+bridge> [ddnet] possible that i have a outdated SDL version in my ddnet-libs locally \:D 21:01 <+bridge> [ddnet] image.png 21:01 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940698802380230696/image.png 21:01 <+bridge> [ddnet] hum, it crashed when i alt tabbed 21:01 <+bridge> [ddnet] illegal instruction 21:01 <+bridge> [ddnet] ah yeah i tried to make GLES work on windows xD 21:01 <+bridge> [ddnet] is there a way to have console output, in the terminal i use it to start ddnet? 21:01 <+bridge> [ddnet] otherwise, i loose all the log 21:01 <+bridge> [ddnet] cl\_console something 21:02 <+bridge> [ddnet] or logfile "output.txt" 21:02 <+bridge> [ddnet] cl_show_console 1 opens a cmd.exe that close 21:02 <+bridge> [ddnet] are there debug info in? 21:02 <+bridge> [ddnet] you can create a shortcut and put at the end "dbg\_gfx 4" 21:02 <+bridge> [ddnet] never mind, my gdb cant run it 21:02 <+bridge> [ddnet] then you'll get all kind of validation layers(if supported9 21:03 <+bridge> [ddnet] yeah i gave you a release version \:D 21:03 <+bridge> [ddnet] hum, there are 2 fullscreen options 21:03 <+bridge> [ddnet] not 3? xd 21:03 <+bridge> [ddnet] one offer only one resolution (screen one), second one offer more choice 21:04 <+bridge> [ddnet] after there is windowed fullscreen, windowed borderless and windowed 21:04 <+bridge> [ddnet] so that makes 3 fullscreen option 21:04 <+bridge> [ddnet] but 2 fullscreen options have exact same wording 21:04 <+bridge> [ddnet] windowed fullscreen = fullscreen that acts like a window 21:04 <+bridge> [ddnet] desktop fullscreen = use desktop video mode 21:04 <+bridge> [ddnet] fullscreen = choose whatever you want 21:04 <+bridge> [ddnet] ah, it shows only fullscreen for desktop fullscreen 21:04 <+bridge> [ddnet] ah translation bug \:D 21:04 <+bridge> [ddnet] but i cant alt tab out 21:05 <+bridge> [ddnet] it crashes with "illegal instruction" 21:05 <+bridge> [ddnet] on what GPU? 21:05 <+bridge> [ddnet] your NVidia? 21:05 <+bridge> [ddnet] (it shows in f1 21:06 <+bridge> [ddnet] [2022-02-08 21:05:32][sdl]: SDL version 2.0.16 (compiled = 2.0.20) 21:06 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: Created Vulkan zu.zu context. 21:06 <+bridge> [ddnet] [2022-02-08 21:05:33][vulkan]: warning: requested presentation mode was not available. falling back to mailbox / fifo relaxed. 21:06 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: GPU vendor: NVIDIA 21:06 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: GPU renderer: GeForce GT 740M 21:07 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: GPU version: Vulkan 1.1.95 21:07 <+bridge> [ddnet] it always has v-sync on, even if the option is disabled 21:07 <+bridge> [ddnet] ok do logfile "test.txt" 21:07 <+bridge> [ddnet] 21:07 <+bridge> [ddnet] illegal instruction pretty sure is a debug assert 21:07 <+bridge> [ddnet] i can probably change that with nvidia control panel 21:07 <+bridge> [ddnet] yup 21:07 <+bridge> [ddnet] [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. 21:07 <+bridge> [ddnet] logfile "test.txt" and restart 21:08 <+bridge> [ddnet] "[2022-02-08 21:05:33][vulkan]: warning: requested presentation mode was not available. falling back to mailbox / fifo relaxed." that's unexpected 21:08 <+bridge> [ddnet] but explain why you only have vsync like FPS 21:08 <+bridge> [ddnet] im trying to disable it with nvidia panel right now 21:10 <+bridge> [ddnet] yup, works fine ❤️ 21:10 <+bridge> [ddnet] except the crash when alt tabbing 21:11 <+bridge> [ddnet] yeah i'll try to reproduce it under windows 21:11 <+bridge> [ddnet] does the graphic setting tab let you choose intel? 21:11 <+bridge> [ddnet] ```shell 21:11 <+bridge> [ddnet] [2022-02-08 21:10:28][vulkan]: device ran out of memory 21:11 <+bridge> [ddnet] [2022-02-08 21:10:28][vulkan]: vulkan error: Creating the swap chain failed. 21:11 <+bridge> [ddnet] [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. 21:11 <+bridge> [ddnet] ``` 21:11 <+bridge> [ddnet] in game menu? 21:11 <+bridge> [ddnet] "device ran out of memory" 21:11 <+bridge> [ddnet] 😮 21:11 <+bridge> [ddnet] that's weird 21:11 <+bridge> [ddnet] in the game menu yeah 21:11 <+bridge> [ddnet] i dont see any graphic card choice 21:12 <+bridge> [ddnet] where should it be? 21:12 <+bridge> [ddnet] no its probs bcs ur intel doesnt support vulkan 21:12 <+bridge> [ddnet] yeah, my laptop is from 2014 21:12 <+bridge> [ddnet] i hoped it does, then we could test if that works under windows 😄 21:12 <+bridge> [ddnet] i7-4700mq 21:12 <+bridge> [ddnet] i sadly have no multi gpu settup 21:12 <+bridge> [ddnet] i sadly have no multi gpu setup 21:13 <+bridge> [ddnet] do you want me to try upgrading cpu and gpu drivers? 21:14 <+bridge> [ddnet] well is worth a try sure 21:14 <+bridge> [ddnet] but ran out of memory sounds like exactly what it is xD 21:14 <+bridge> [ddnet] wouldnt even have thought such an old GPU supports vulkan tbh xD 21:14 <+bridge> [ddnet] but yeah nvidia has pretty long time support 21:14 <+bridge> [ddnet] i have 8g of ram, so probably a problem somewhere else 21:14 <+bridge> [ddnet] ah graphic ram? 21:15 <+bridge> [ddnet] the ran out of ram is when i alt tab out 21:15 <+bridge> [ddnet] probably, i dunno how well the driver swaps out VRAM to RAM 21:15 <+bridge> [ddnet] well i checked under linux but there isnt any memory leak when swap chaining, but i'll test more later 21:15 <+bridge> [ddnet] is the FPS still limited to the nVidia optimus? 21:16 <+bridge> [ddnet] my gpu has 2g of vram 21:16 <+bridge> [ddnet] should be enough actually 21:16 <+bridge> [ddnet] nah, i turned it off with nvidia panel 21:16 <+bridge> [ddnet] but ingame option had no effect 21:16 <+bridge> [ddnet] ah i see 21:16 <+bridge> [ddnet] how is it with vulkan then? 21:16 <+bridge> [ddnet] still bad? 21:16 <+bridge> [ddnet] not for me 🙂 21:16 <+bridge> [ddnet] nice 😄 21:16 <+bridge> [ddnet] atleast one opengl bug fixed xD 21:16 <+bridge> [ddnet] ah, i need to try a map that used to crash 21:17 <+bridge> [ddnet] bit2 or artic frost 21:17 <+bridge> [ddnet] btw do you have alot of skins or high res images? they use a lot of VRAM 21:17 <+bridge> [ddnet] a single 1024x1024 is 8MB of VRAM with mipmaps 21:18 <+bridge> [ddnet] ah ctrl shift D shows exact vram usage btw 21:18 <+bridge> [ddnet] since in vulkan you allocate everything urself except the pipeline and some pools 21:19 <+bridge> [ddnet] i tried with an empty profile 21:19 <+bridge> [ddnet] but bit2 and artic frost don't crash 😄 21:19 <+bridge> [ddnet] nice 😉 21:19 <+bridge> [ddnet] but now there's a huge difference in fps with entities and without 21:19 <+bridge> [ddnet] 320 without, 980 with 21:20 <+bridge> [ddnet] was it less before? 21:20 <+bridge> [ddnet] lemme try with my base profile 21:20 <+bridge> [ddnet] RADV is also slower than radeonsi in GPU bound for me 21:20 <+bridge> [ddnet] but i checked my GPU usage and both were 100%, so i assume the driver is just a bit worse for me 21:21 <+bridge> [ddnet] in CPU bound scenarios i get almost tripple FPS with vulkan tho 21:21 <+bridge> [ddnet] was more without and less with 21:21 <+bridge> [ddnet] like 400 without and 600 with 21:21 <+bridge> [ddnet] ok 😄 21:22 <+bridge> [ddnet] maybe bcs GL1.x doesnt have linear mipmapping or smth 21:22 <+bridge> [ddnet] quite possible actually 21:22 <+bridge> [ddnet] i think 1.x doesnt even generate mipmaps 21:22 <+bridge> [ddnet] ```shell 21:22 <+bridge> [ddnet] [2022-02-08 21:22:06][vulkan]: vulkan error: A shader file could not load correctly 21:22 <+bridge> [ddnet] [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 21:22 <+bridge> [ddnet] ``` 21:22 <+bridge> [ddnet] with my base profile 😦 21:22 <+bridge> [ddnet] i deleted the original data 21:22 <+bridge> [ddnet] oh yeah 21:22 <+bridge> [ddnet] you need the new data dir 21:22 <+bridge> [ddnet] i guess, i will just copy skins folder 21:23 <+bridge> [ddnet] it contains the vulkan shaders 21:23 <+bridge> [ddnet] shader dir is it 21:27 <+bridge> [ddnet] no graphic card choice here 21:27 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940705408425816154/unknown.png 21:27 <+bridge> [ddnet] and memory usage is 21:27 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/940705460925898802/unknown.png 21:28 <+bridge> [ddnet] yeah ok 1.5gb vram 21:28 <+bridge> [ddnet] the other buffers are probs on your CPU RAM 21:28 <+bridge> [ddnet] you have alot of textures thats sure 21:28 <+bridge> [ddnet] i have around 300 mb vram less 21:29 <+bridge> [ddnet] that's with all the skins 21:29 <+bridge> [ddnet] btw, it loads way faster than base client 21:29 <+bridge> [ddnet] the map? 21:29 <+bridge> [ddnet] like 2-3 seconds instead of 10 21:29 <+bridge> [ddnet] ah the client start 21:29 <+bridge> [ddnet] no the starting phase 21:29 <+bridge> [ddnet] yeah OGL 1.x sadly has to rescale some textures 21:30 <+bridge> [ddnet] map loading is still around 1 or 2 seconds i'd say 21:30 <+bridge> [ddnet] bcs it doesnt support non-power of two textures 21:30 <+bridge> [ddnet] but that's fine imo 21:30 <+bridge> [ddnet] maploading might even be slower, bcs it buffers everything 21:30 <+bridge> [ddnet] there are new intel graphics, so i guess it won't make a difference 21:30 <+bridge> [ddnet] while gl 1.x just streams everything per frame 21:30 <+bridge> [ddnet] there are new intel graphics, but i guess it won't make a difference 21:30 <+bridge> [ddnet] yeah i doubt 21:30 <+bridge> [ddnet] i think they only support vulkan since skylake or smth 21:31 <+bridge> [ddnet] ok ivy bridge supports 1.0 21:31 <+bridge> [ddnet] mine is haswell 21:31 <+bridge> [ddnet] but i am checking for 1.1 currently 21:31 <+bridge> [ddnet] even older 😄 21:31 <+bridge> [ddnet] yeah it could work 21:31 <+bridge> [ddnet] i might just make the windows build to allow vulkan 1.0 21:32 <+bridge> [ddnet] i only need 1.1 for better extension support 21:32 <+bridge> [ddnet] (i think) 21:32 <+bridge> [ddnet] i prefer not updating intel graphics, it fucks up evertything sometimes 21:32 <+bridge> [ddnet] true 😄 21:32 <+bridge> [ddnet] who knows how good the vulkan drivers even are XD 21:33 <+bridge> [ddnet] and all this was because i didn't want to run it on intel graphics so why bother 😄 21:33 <+bridge> [ddnet] true 😛 21:33 <+bridge> [ddnet] do you want me to comment on https://github.com/ddnet/ddnet/pull/4600? 21:34 <+bridge> [ddnet] do you want me to comment on https://github.com/ddnet/ddnet/pull/4600 ? 21:34 <+bridge> [ddnet] you can do that :D, what is your nVidia driver version btwß 21:34 <+bridge> [ddnet] you can do that :D, what is your nVidia driver version btw? 21:35 <+bridge> [ddnet] i dont see any VRAM increase when the swapchain recreates, really weird it runs out of memory exactly then 21:35 <+bridge> [ddnet] but should defs recheck under windows 21:35 <+bridge> [ddnet] 425.31 21:35 <+bridge> [ddnet] 471 is current or smth i guess 21:35 <+bridge> [ddnet] this site says my driver is up to date 21:35 <+bridge> [ddnet] https://www.touslesdrivers.com/index.php?v_page=31&v_id=zuGEN3pusNgUteLa 21:36 <+bridge> [ddnet] yeah 21:36 <+bridge> [ddnet] 2019.4.11 21:36 <+bridge> [ddnet] oups, there's some personal info there 21:36 <+bridge> [ddnet] guess they dropped support 21:36 <+bridge> [ddnet] too bad 21:36 <+bridge> [ddnet] ah interesting you are on win7 21:37 <+bridge> [ddnet] i read somewhere win7 only allows 1024 allocations, so good to see it working 😄 21:37 <+bridge> [ddnet] 1024 memory allocations per program? 21:37 <+bridge> [ddnet] VRAM allocations 21:37 <+bridge> [ddnet] its some weird windows limitation 21:38 <+bridge> [ddnet] ok but gpuinfo says 4096(the default on windows) 21:38 <+bridge> [ddnet] maybe its just some weaker GPUs 21:39 <+bridge> [ddnet] or they fixed it already, who know how old the things were i read XD 21:39 <+bridge> [ddnet] well, just checked nvidia website and yes, 425.31 is the last version for my gpu 21:39 <+bridge> [ddnet] yeah :/ 21:40 <+bridge> [ddnet] 3 years old driver 21:40 <+bridge> [ddnet] "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." 21:40 <+bridge> [ddnet] https://developer.nvidia.com/blog/vulkan-dos-donts/ 21:40 <+bridge> [ddnet] ah there i got it from 😄 21:42 <+bridge> [ddnet] it doesn't say it's a hard limit 21:42 <+bridge> [ddnet] yeah 21:42 <+bridge> [ddnet] just a recommendation 21:42 <+bridge> [ddnet] probs remembered it wrongly, but i doubt we have so many allocations 21:43 <+bridge> [ddnet] i think the chunk size is around 20MB 21:43 <+bridge> [ddnet] so with 1.5GB vram we use around 75 allocations 21:43 <+bridge> [ddnet] rest is just sub allocations 21:46 <+bridge> [ddnet] ```shell 21:46 <+bridge> [ddnet] [2022-02-08 21:05:32][sdl]: SDL version 2.0.16 (compiled = 2.0.20) 21:46 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: Created Vulkan zu.zu context. 21:46 <+bridge> [ddnet] [2022-02-08 21:05:33][vulkan]: warning: requested presentation mode was not available. falling back to mailbox / fifo relaxed. 21:46 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: GPU vendor: NVIDIA 21:46 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: GPU renderer: GeForce GT 740M 21:46 <+bridge> [ddnet] [2022-02-08 21:05:33][gfx]: GPU version: Vulkan 1.1.95 21:46 <+bridge> [ddnet] ``` 21:46 <+bridge> [ddnet] ```shell 21:46 <+bridge> [ddnet] [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. 21:46 <+bridge> [ddnet] ``` 21:48 <+bridge> [ddnet] well, thank you for your amazing work ❤️ 21:48 <+bridge> [ddnet] if you want me to test anything else 😛 22:19 <+bridge> [ddnet] @Chairn you could test if it crashes in windowed fullscreen, but windowed fullscreen might be a bit slower, bcs windows compositor is on then 22:20 <+bridge> [ddnet] windowed fullscreen does not allow resizing, so maybe the swapchain doesnt need to be recreated 22:21 <+bridge> [ddnet] `gfx_fullscreen 3` in config, if you cannot even change it ingame 😄 22:56 <+bridge> [ddnet] trol deen xd 23:19 <+bridge> [ddnet] yup, only fullscreen crash 23:19 <+bridge> [ddnet] windowed fullscreen doesnt, neither does any other