Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-02-04 00:00:00Z and 2024-02-05 00:00:00Z
Avatar
chillerdragon BOT 2024-02-04 00:00:20Z
That has to be the weirdest flex ever
Replying to @Ryozuki he met stallman
00:05
Donation by teelevision?!!!! Isn’t that the guy who run zCatch in the 90s? I did not know he is still around
Replying to @Unknown GitHub: > def- […]
Avatar
Avatar
Learath2
There is no simple way to read a file into an std::vector<char> without the stl forcing you to zero initialize the entire vector
just zero the filesize character?
00:09
or don't use std::vector for this, you don't need expandable container for reading a file
Avatar
Avatar
chillerdragon
Donation by teelevision?!!!! Isn’t that the guy who run zCatch in the 90s? I did not know he is still around
that is not him
Avatar
is it possible to allow ddnet client connect deepl api for translating chat?
00:39
WebExtensions for translating text on web pages. Contribute to sienori/simple-translate development by creating an account on GitHub.
Avatar
Avatar
Smetanolub
is it possible to allow ddnet client connect deepl api for translating chat?
Yeah but you have to do it lol
Avatar
Avatar
Learath2
I'm starting to remember why I was sticking to C
std::fs::read(filename) in rust
Avatar
Avatar
Learath2
The correct argument to be made there was that IO dwarfs the zero initialization anyway, that's what the rust people do, you should learn from them
rust doesn't do it with the above-mentioned method
Avatar
Avatar
Learath2
I wonder if rust can do it with a Vec of maybeuninit
in rust you can write to the not-yet initialized parts of the vector and afterwards set its length
Avatar
Avatar
Learath2
Clones and appends all elements in a slice to the Vec. Iterates over the slice other, clones each element, and then appends it to this Vec.
nvm, uncool
this is guaranteed to be a memcpy for types that support it, I think
01:11
read it as you'd read the C standard. something will happen, but the result will be the same as if each element was cloned
Avatar
Avatar
Learath2
Anyway, if I really cared I'd just map it into memory and call it a day, I just found it interesting that it's not all that simple to get the "optimal" behaviour
btw, even that is very easy to do: https://docs.rs/memmap2/latest/memmap2/ let file = File::open("LICENSE-APACHE")?; let mmap = unsafe { Mmap::map(&file)? };
A cross-platform Rust API for memory mapped buffers.
01:12
works on all platforms already
01:13
(mmap is inherently unsafe, if the underlying file changes)
Avatar
Avatar
Learath2
I love how the new generation treats code
I feel you. I also like to write efficient code, which is why I started doing it in C. later I found that I could achieve the same in Rust, and to me, it felt a lot easier to get correct
Avatar
chillerdragon BOT 2024-02-04 01:40:15Z
Imposter?
Replying to @jxsl13 that is not him
Avatar
just someone else
Avatar
ws-client BOT 2024-02-04 01:59:35Z
<ChillerDragon> Its the same spelling isnt it? https://github.com/Teelevision
Teelevision has 15 repositories available. Follow their code on GitHub.
Avatar
how to have a number parameter with clap
01:59
this seems obvious
Avatar
ws-client BOT 2024-02-04 02:00:11Z
<ChillerDragon> Reusing such a well known name seems a bit problematic to me
02:02
had to use default_value_t in the arg() proc macro instead of default_value
02:02
o_O
02:03
sucks that it doesn't come with de/serializers for std::time Duration
02:03
i think if u conform to a particular syntax it's easy
Avatar
well there's my first contribution in rust πŸ₯±
Avatar
ws-client BOT 2024-02-04 03:26:14Z
<ChillerDragon> uhm @Avolicious the 2nd hit on duck.com for qshar is some april fool from 2023 about kog shutting down. That seems a bit odd
03:31
<ChillerDragon> also when add a irc bridge to kog so i can stop using ddnet#developer for kog stuff
03:46
idk why you'd wanna talk about kog tho
Avatar
hello i'd like to complain that I joined multimap on usa3, and in 15 seconds batsoup vote kicked me
04:27
I remember that name being an asshole from eailer so thats probaly not the first time
04:27
fuck him
Avatar
dude you should not use the dev channel to complain about a blocker
05:14
please create a ticket
05:15
mods dont read this chat. too high iq greenthing
Avatar
when creating a ticket from irc?
Avatar
ws-client BOT 2024-02-04 05:53:45Z
<ChillerDragon> when turn off kick votes?
Avatar
when they hire more mods
Avatar
Avatar
GitHub
Click to see attachment πŸ–ΌοΈ
Jupstar βœͺ 2024-02-04 08:50:03Z
omg @Robyt3 awesome :3
08:52
@deen @Learath2 when i start ddnet from steam i get: ~/.steam/debian-installation/steamapps/common/DDraceNetwork/ddnet/DDNet: symbol lookup error: ~/.steam/debian-installation/steamapps/common/DDraceNetwork/ddnet/DDNet: undefined symbol: curl_multi_poll if i start the steam game files without steam (./DDNet) it works maybe steam has it's own curl library?
08:53
^ nightly
08:53
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
Avatar
~/.steam/debian-installation/steamapps/common/DDraceNetwork/ddnet/DDNet: symbol lookup error: ~/.steam/debian-installation/steamapps/common/DDraceNetwork/ddnet/DDNet: undefined symbol: curl_multi_poll if i start the steam game files without steam (./DDNet) it works maybe steam ships its own curl library?
Avatar
Avatar
Jupstar βœͺ
@deen @Learath2 when i start ddnet from steam i get: ~/.steam/debian-installation/steamapps/common/DDraceNetwork/ddnet/DDNet: symbol lookup error: ~/.steam/debian-installation/steamapps/common/DDraceNetwork/ddnet/DDNet: undefined symbol: curl_multi_poll if i start the steam game files without steam (./DDNet) it works maybe steam has it's own curl library?
Aaaaaaaaaaaa
09:07
@Jupstar βœͺ can you find the curl they ship and tell me whether it has curl_multi_wait?
Avatar
Avatar
Learath2
@Jupstar βœͺ can you find the curl they ship and tell me whether it has curl_multi_wait?
Jupstar βœͺ 2024-02-04 09:10:38Z
sure, which one should i test with? 😬
09:11
how can i look up which one is loaded without starting the game?
Avatar
Normally I'd say ldd, but that won't work here
09:14
@Jupstar βœͺ how about setting LD_LIBRARY_PATH like steam does to this directory and doing the ldd?
09:14
That should work
Avatar
Jupstar βœͺ 2024-02-04 09:15:31Z
but don't i need the path for that xd
09:16
i can just try the one from .steam/bin32/steam-runtime/usr/lib/x86_64-linux-gnu/
09:16
that sounds like a useful one
Avatar
Avatar
Jupstar βœͺ
i can just try the one from .steam/bin32/steam-runtime/usr/lib/x86_64-linux-gnu/
That should be it
Avatar
Avatar
Learath2
That should be it
Jupstar βœͺ 2024-02-04 09:17:29Z
can't post it for some reason, read pm
Avatar
Avatar
Jupstar βœͺ
can't post it for some reason, read pm
»Spam«
Avatar
Jupstar βœͺ 2024-02-04 09:27:19Z
"Das kann nicht gepostet werden, da Inhalte enthalten sind, die von diesem Server blockiert werden. Diese Nachricht wird eventuell auch von den Servereigentümern gelesen."
Avatar
Jupstar βœͺ 2024-02-04 09:32:32Z
nice they also get vk api now
Avatar
jup in disguise doing 0ad stuff (edited)
Avatar
Avatar
Jupstar βœͺ
"Das kann nicht gepostet werden, da Inhalte enthalten sind, die von diesem Server blockiert werden. Diese Nachricht wird eventuell auch von den Servereigentümern gelesen."
AutoMod kicked in ^^
Avatar
Mʎɹ γ‚· 2024-02-04 10:12:16Z
When license.txt update to new year? gigachad
Avatar
Avatar
Mʎɹ γ‚·
When license.txt update to new year? gigachad
Jupstar βœͺ 2024-02-04 10:12:33Z
make pr get famous for being the change
Avatar
Jupsti asked me to do this

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 (especially base/) or added coverage to integration test
  • [ ] 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...
Avatar
Mʎɹ γ‚· 2024-02-04 10:19:19Z
@Jupstar βœͺ done
10:20
gigachad
Avatar
@Learath2 i discovered ive been using my dualsense a bit buggy
10:23
because i didnt enable osme kernel options
10:23
now it works nice
10:24
it also supports bt sync via usb
Avatar
This os the downside of building your own kernel. You have to be careful πŸ˜„
Avatar
Avatar
Ryozuki
it also supports bt sync via usb
What is a bt sync?
Avatar
bluetooth auto sync
10:26
bluez says wanna accept this device? y/nn
10:26
Connect the DualShock 3 to the system using a USB cable and press the PlayStation button. Allow the service authorization request: [agent]Authorize service service_uuid (yes/no): yes
Avatar
Ah, I get it
10:26
I thought sony did that in a proprietary way
Avatar
i couldnt know a reason why do that propietary
10:27
if ur controller is used for more than ps5 u get more sells
10:27
i bought my ps5 dualsense for pc and i dont have a ps5
10:27
xd
10:27
70€ btw
Avatar
Avatar
Mʎɹ γ‚·
@Jupstar βœͺ done
Jupstar βœͺ 2024-02-04 10:28:47Z
oh it was ur first contribution, epic change 😏
owo 2
Avatar
Hey can you add the % rank thing as a filter to ddnet.tw so I can see on what maps I can improve best?
Avatar
Avatar
Ryozuki
i bought my ps5 dualsense for pc and i dont have a ps5
I've always used xbox controllers on my pc. I've always found it more comfy
Avatar
you are one of them
Avatar
Avatar
Ryozuki
you are one of them
Seriously. The asymmetric placement of the analog sticks look janky, but it just feels correct in the hand πŸ˜„
Avatar
it never felt good for me xd
Avatar
I haven't even had an xbox like ever until last year
Avatar
does the xbox controller also have the pressure thing?
10:33
on l2 and r2
10:33
its smth dualsense has new
Avatar
Avatar
Ryozuki
it never felt good for me xd
I mean if you tried it without prejudice and didn't like it, then nothing I can say
Avatar
its epic for some games
10:33
resistance*
10:33
idk the name
Avatar
No it doesn't. Are there even pc games that use that?
10:34
and more
10:35
it supports it when the game natively supports dualsense controllers
10:35
steam tells u
10:35
im playing persona 3 and it supports dualsense
10:35
altho its a simple game so no features used xd
10:37
@Learath2 wanna know smth curious
10:37
Avatar
Huh, interesting
Avatar
Explains how to update the firmware for the wireless controller for PlayStation®5 using a Windows PC.
10:39
oh u can update the firmware
10:39
sad i dont have winshit
10:39
Most of you who read the headlines are probably aware of the fact that as of yesterday, you no longer need to own a PS5 in order to update the firmware on your DualSense gamepad. It’s now possible to upgrade the FW on your Windows PC. But I’ve noticed that, even though some have claimed to get the FW updater to work on Linux via Wine, I didn’t h...
10:39
lol
Avatar
Avatar
Ryozuki
sad i dont have winshit
New project time. Reverse engineer and port the updater
10:41
Or a different project. Touch grass and find a friend with a ps5
Avatar
228f09f Update license.txt - Myr-13 bcd5aa3 Merge pull request #7918 from Myr-13/master - Jupeyy
Avatar
Mʎɹ γ‚· 2024-02-04 11:02:16Z
poggers2
Avatar
Developer moment
Avatar
ok maybe not checked checkboxes in my pull request wasn't the problem 😦
Avatar
ChillerDragon BOT 2024-02-04 11:03:58Z
It was personal
Avatar
yep
Avatar
@Learath2 why is bottles not on gentoo overlay?
Avatar
It should be available on some overlay
11:26
i tried usinh flatpak for bottles for quick n dirty but
11:26
sandboxed shit, doesnt detect my controller
Avatar
So just use an overlay and get it from there? Or steal the ebuild from an overlay and put it in your local repo
11:27
will try later
11:27
i went to the outside world for a bit
11:27
where many windows users lie
11:28
@Learath2 ever used a iphone
11:28
my sister got a new phone and is giving me their iphone 11
Avatar
Avatar
Ryozuki
@Learath2 ever used a iphone
I did, back in highschool
Avatar
well thats long ago ig
Avatar
They make decent phones, if only it wasn't a walled garden
Avatar
i forgot ur age
11:31
yeah
Avatar
I remember it being fairly usable after you jailbreak
Avatar
time to break the jail
Avatar
Though recently I think there aren't any untethered jailbreaks around 😦
Avatar
whats untethered
Avatar
An untethered jailbreak is a jailbreak wherein a user can reboot their device at will, and have their device start up with the jailbreak automatically applied without the assistance of a computer or a utility on the device.
Avatar
You can reboot the device out in the wild. With a tethered jailbreak you need a computer when you restart to rejailbreak
Avatar
Anything else seems unusable unless you only use the jailbreak for playing around
Avatar
I guess we did get a semi-tethered jailbreak too. An app on your phone that you had to launch to rejailbreak
11:35
Though that came with the annoying having to either have a apple developer certificate or having to resign the app every other month
Avatar
ws-client BOT 2024-02-04 11:55:28Z
<ChillerDragon> @Ryozuki you are the one who added the doc comments for the CUIRect code right?
11:55
<ChillerDragon> its epic i just managed to vsplit thanks to it poggers2
Avatar
ws-client BOT 2024-02-04 11:55:55Z
<ChillerDragon> was smoother than me trying to vsplit something in html for the first time
Avatar
Avatar
ws-client
<ChillerDragon> @Ryozuki you are the one who added the doc comments for the CUIRect code right?
Some kind of tutorial into how to use this mess.
Avatar
ws-client BOT 2024-02-04 11:57:22Z
<ChillerDragon> ah ye that true i know it exists that would have been my fallback
Avatar
ws-client BOT 2024-02-04 11:57:38Z
<ChillerDragon> but the comments in the code are so good already
Avatar
true, its great
Avatar
ws-client BOT 2024-02-04 11:58:16Z
<ChillerDragon> I guess its time for server side rendering
11:58
<ChillerDragon> I will ditch html/css for server side generated tw screenshots
11:58
<ChillerDragon> front end in C++ poggers
12:00
<ChillerDragon> @meloƞ i had to look up smh xd
12:00
<ChillerDragon> meaning, "shaking my head", smh is typically used when something is obvious, plain old stupid, or disappointment.
12:00
meaning, "shaking my head", smh is typically used when something is obvious, plain old stupid, or disappointment.
12:00
<ChillerDragon> still dont get it xd
Avatar
i rather translate it to "somehow" meaning, "how did you somehow miss this"
12:01
but yeah shaking my head fits aswell
Avatar
ws-client BOT 2024-02-04 12:01:19Z
<ChillerDragon> i have been reading it as "somehow" so far
12:01
and thats usually the context i use it in
12:02
i use it for disapointment
12:02
like here
Avatar
ws-client BOT 2024-02-04 12:02:46Z
<ChillerDragon> guuuys time to republish the lgpl blog under freebsd license https://edgarluque.com/blog/ui-code-ddnet/
Some kind of tutorial into how to use this mess.
12:02
<ChillerDragon> its license expired!
Avatar
justatest oh no
12:03
<ChillerDragon> EZ
12:06
EZ
Avatar
I found after i run "sudo pacman -Syuu", my vscode become more green (Color Theme: Dark +).
12:17
Are you got the same problem?
Avatar
Both console and chat commands are sent to clients dynamically with respective messages, so the static lists of commands were only used for servers not making use of these messages. Instead of assuming potentially incorrect console and chat commands on those servers, the lists will now be empty for those servers. Move the command registration from the ddracecommands.h and ddracechat.h header files to the CGameContext::RegisterDDRaceCommands and CGameContext::RegisterChatCommands fu...
πŸ‘ 1
Avatar
is the ddnet bind system touring complete?
13:26
i just made bind files and ddnet segfaulted xDDD
Avatar
It most certainly is not turing complete
Avatar
for i in range(1000): with open(f'e{i}.bind', 'w') as file: file.write(f'echo {i}; exec e{i+1}.bind')
13:27
executing e0.bind crashes the game
Avatar
might be a stack overflow
13:27
although 1000 seems a little low
13:27
maybe we have a large buffer in that function
13:28
110 is a little random tbh
Avatar
probably a stack overflow
13:28
I suppose we could limit recursion to like 10 or so
Avatar
very annoying limiter
13:29
i would suggest just not implementing it recursively if possible
Avatar
practically, I don't think you need more than 10
13:30
on a theoretical level I agree with you. but it doesn't seem to be worth it to me
Avatar
If you could branch on the value somehow it could be turing complete but I can't think of a way to do that πŸ˜„
Avatar
i have noticed anothe bug
13:34
also i think it would be cool to exec every line of the bind after 1 tick. so the game doesnt hang or lang on executing large binds
13:34
and it would allow for cool matchups
Avatar
Avatar
Teero
i have noticed anothe bug
Looks like some flavor of memory corruption. Try with asan should be a free bugfix
Avatar
Could potentially be mitigated by limiting the recursion limit to like 10 or so. Reported by @Teero888 on Discord.
Avatar
Avatar
Teero
also i think it would be cool to exec every line of the bind after 1 tick. so the game doesnt hang or lang on executing large binds
would allow delayed binds which would enable input delaying which we don't want to allow
Avatar
Avatar
Teero
also i think it would be cool to exec every line of the bind after 1 tick. so the game doesnt hang or lang on executing large binds
this would also fix the recursion bug since it would queue the binds
Avatar
Avatar
heinrich5991
would allow delayed binds which would enable input delaying which we don't want to allow
what kind of input delaying?
Avatar
fire after 50 ticks
Avatar
we don't want that
Avatar
you cant do +fire or anything in bind files?
Avatar
Avatar
Teero
you cant do +fire or anything in bind files?
You can, but it'll happen instantly when you press a button
Avatar
lemme try
Avatar
anyway. bind delaying is something we'll likely never support
Avatar
Avatar
heinrich5991
would allow delayed binds which would enable input delaying which we don't want to allow
why is that bad?
Avatar
if every exec happened after a tick, you could spam 50 execs to get 50 ticks of delay
Avatar
because it's an input we don't want to support. we don't want to automate players away
Avatar
Avatar
heinrich5991
because it's an input we don't want to support. we don't want to automate players away
you still cant do +right, +left or +hook or look in any kind of direction? how would just firing be useful? maybe for double rockets? but you still need to just jump perfectly and aim
Avatar
I can't even imagine much of a legitimate use for it, so I'd guess whatever you want to do with it is what we don't want in the game πŸ˜„
Avatar
Avatar
Learath2
I can't even imagine much of a legitimate use for it, so I'd guess whatever you want to do with it is what we don't want in the game πŸ˜„
making weaponswitches better
Avatar
e.g. double rockets yes, with no recursion limit and the ability to get 1 tick delays, you can automate that away completely
Avatar
Avatar
Learath2
e.g. double rockets yes, with no recursion limit and the ability to get 1 tick delays, you can automate that away completely
how???? you cant even aim or jump automatically
13:40
if the jump isnt perfectly tuned to the tick it fires it wont work (edited)
Avatar
anyway. we don't want to open that can of worms
13:40
delayed binds aren't coming
Avatar
Avatar
Teero
Click to see attachment πŸ–ΌοΈ
rust
Avatar
Avatar
Teero
how???? you cant even aim or jump automatically
You should be able to jump in a bind file
Avatar
Avatar
Learath2
You should be able to jump in a bind file
you cant.
13:45
Avatar
That's nice to see
Avatar
Create a link directory in the maps directory, it linked its parent directory DDNet will try to list it until finishing, but it will never finish
Avatar
Avatar
Teero
Click to see attachment πŸ–ΌοΈ
But I bet you can do it by binding exec file to the mousewheel, having file bind +jump to the mousewheel, then just spam
Avatar
doesnt work
13:51
as long as its in a file it doesnt get treated differently when bound to mouse or keyboard (edited)
Avatar
Actually binding +jump to mousewheeldown just straight up doesn't work
13:53
It probably needs an actual stroke with button down + button up
Avatar
my suggestion is that binds that are chained like echo "a"; echo "b" are executed instantly while binds like echo "a" echo "b" are delayed by 1 tick each
Avatar
Won't happen anyway, I was just theorycrafting
Avatar
i had high hopes for a fellow aw member πŸ˜”
13:57
btw aimline is still bugged by 1 pixel
Avatar
Avatar
Teero
btw aimline is still bugged by 1 pixel
Jupstar βœͺ 2024-02-04 13:59:23Z
latest master code?
Avatar
i reverted the commit that caused the last bug (edited)
14:00
lemme test (edited)
14:02
yes
14:03
its just off by 1 tw unit
Avatar
Jupstar βœͺ 2024-02-04 14:04:55Z
@furo ^
Avatar
Eh, I have no clue what could be the issue this time. I can't reproduce the issue either.
Avatar
Avatar
Ryozuki
rust
in rust, this would panic (abort?) as well
Avatar
yeah no segfault
Avatar
Avatar
furo
Eh, I have no clue what could be the issue this time. I can't reproduce the issue either.
really?
14:31
if you go on x=15.00 on tutorial and hook straight up?
Avatar
Avatar
Teero
if you go on x=15.00 on tutorial and hook straight up?
Ah, now it happens. It happens on older versions as well.
Avatar
yea i thought so.
14:34
doesnt seem related to the last bug (edited)
Avatar
Avatar
Ryozuki
yeah no segfault
I think it's actually done via segfaults ^^
14:36
I think they started abort()ing from the segfault handler because people asked why rust code can segfault ^^
Avatar
Avatar
heinrich5991
I think it's actually done via segfaults ^^
via reliable segfaults
Avatar
Avatar
Teero
doesnt seem related to the last bug (edited)
Jupstar βœͺ 2024-02-04 14:52:42Z
the only important is that the hookline color is correct
14:52
so if the ground would be lower it should be red
14:53
if u know what i mean
14:53
visually it might be wrong
14:53
drawing lines is also a "weird" task for the GPU
14:53
subpixels & stuff
Avatar
kk. color is correct
Avatar
Avatar
chillerdragon
Donation by teelevision?!!!! Isn’t that the guy who run zCatch in the 90s? I did not know he is still around
Not the same person, i wasnt even born in the 90s
Avatar
Is it hard to make DDNet available for winget?
Avatar
ΡƒΠΊΡ€Π°iΠ½iΡ†ΡŠ 2024-02-04 16:53:30Z
Avatar
average chillerbot enjoyer
Avatar
Hello all, i have so much input lag with new 18.0.3 version, related to 18.0 release. I was rendering with OpenGL 2.0.0, now I'm forced to use OpenGL 3.0.0 (worst) or 3.3.0 (slight better). Vulkan not available on my laptop card. How can I fallback to OpenGL 2.0.0? Thank you
Avatar
Avatar
Wohoo
Hello all, i have so much input lag with new 18.0.3 version, related to 18.0 release. I was rendering with OpenGL 2.0.0, now I'm forced to use OpenGL 3.0.0 (worst) or 3.3.0 (slight better). Vulkan not available on my laptop card. How can I fallback to OpenGL 2.0.0? Thank you
Jupstar βœͺ 2024-02-04 17:20:28Z
windows?
Avatar
Avatar
Jupstar βœͺ
windows?
Yes
Avatar
Avatar
Wohoo
Yes
Jupstar βœͺ 2024-02-04 17:55:40Z
what gpu do u have? you said laptop, is there a chance it has two gpus? like intel + nvidia?
Avatar
Avatar
Jupstar βœͺ
what gpu do u have? you said laptop, is there a chance it has two gpus? like intel + nvidia?
Correct, Intel + nvidia discrete
18:09
With 18.0 it rendered with (custom) opengl 2.0.0
Avatar
Avatar
Wohoo
With 18.0 it rendered with (custom) opengl 2.0.0
Jupstar βœͺ 2024-02-04 18:14:26Z
and did u try opengl 1? does that lag too?
Avatar
Input lag increased using external display, because nvidia output routed through iGPU. I blame them enough for this design choice. Changing OpenGL version made it barely unplayable
Avatar
Jupstar βœͺ 2024-02-04 18:15:06Z
@Wohoo can you start the client press f1 and show the purple text to me?
18:15
it says smth about gfx
Avatar
GPU Vendor NVIDIA GPU renderer GeForce 820M/PCIe/SSE2 GPU version: 3.3.0 Nvidia 389.12
Avatar
Jupstar βœͺ 2024-02-04 18:17:14Z
thats the problem then
18:17
it uses your nvidia card instead of intel
18:17
can you look into your windows settings if you can force intel
18:17
18:18
it looks smth like this
Avatar
Avatar
Wohoo
Input lag increased using external display, because nvidia output routed through iGPU. I blame them enough for this design choice. Changing OpenGL version made it barely unplayable
Jupstar βœͺ 2024-02-04 18:20:13Z
or does it only allow nvidia to be used here?
Avatar
Intel gpu go black screen after 1h playing. It started crashing some years ago, not first version of teeworlds or ddnet. Since command input still handled, i have to open another ddnet and blindly tape /swap etc... 🀣
Avatar
Jupstar βœͺ 2024-02-04 18:21:40Z
anyway: 1. i don't see the difference between opengl 2 & 3, but you can do gfx_gl_major 2; gfx_gl_minor 0 + restart to have opengl 2.0 2. opengl 1.x should then probably also work? XD (edited)
Avatar
I will test again forcing opengl version
πŸ‘ 1
Avatar
Jupstar βœͺ 2024-02-04 18:26:19Z
i am surprised your nvidia card doesnt support vulkan tho. it should
Avatar
Ok nice. It created again Custom opengl 2.0.0 I configured nvidia panel control with hardcoded path and missed new download release
18:27
Testing vulkan on igpu
Avatar
Jupstar βœͺ 2024-02-04 18:27:11Z
the igpu might not support vulkan
18:27
nvidia cards are usually better at such support
Avatar
Ok, not work. Neither discrete
Avatar
Jupstar βœͺ 2024-02-04 18:27:40Z
mh weird
18:27
i think chairn has an even older nvidia card
Avatar
Avatar
Wohoo
Ok nice. It created again Custom opengl 2.0.0 I configured nvidia panel control with hardcoded path and missed new download release
Jupstar βœͺ 2024-02-04 18:28:07Z
and 2.0.0 does not lag?
Avatar
No that's OK
Avatar
Jupstar βœͺ 2024-02-04 18:28:58Z
mh ok
18:29
but f1 says still nvidia?
18:29
with opengl 2
Avatar
Red screen for vulkan
18:29
No, now it says intel gpu
Avatar
Avatar
Wohoo
Red screen for vulkan
Jupstar βœͺ 2024-02-04 18:29:30Z
better red screen than blue screen 😏
Avatar
Avatar
Wohoo
No, now it says intel gpu
Jupstar βœͺ 2024-02-04 18:29:35Z
ok
18:30
but then it confirms that nvidia card creates the input lag. but anyway, you can stay with opengl 2.0 i guess ^^
Avatar
Ok thank you, so moving to igpu solved. I hope i will not see black screen again. Thank you
18:33
Another thing is about freezer indicator. Some updates ago it was forced snowflake instead of stars. Nobody noticed flickering with many tees frozen in group? Snowflakes are all synced
18:35
Probably I have too much photosensitivity, πŸ˜…
Avatar
Reported by SoulOfDragon on Discord: !image Happened while playing on backtobasics2 map with normal zoom.
Avatar
c++ auto Transform = [AvailableExtensions](const char *ExName){ auto It = std::ranges::find_if(AvailableExtensions, [ExName](const char *e){ return !std::strcmp(ExName, e); }, [](const VkExtensionProperties &Props){ return Props.extensionName; }); return std::make_tuple(ExName, It != AvailableExtensions.end()); }; bool ExtensionMissing = false; std::span ct{GLFWRequiredExtensions, GLFWRequiredExtensionCount}; for(const auto &e : ct | std::views::transform(Transform) | std::views::filter([](const auto &es){ return !std::get<1>(es); })) { ExtensionMissing = true; std::cout << "Missing required extension: " << std::get<0>(e) << std::endl; } if(ExtensionMissing) throw std::runtime_error{"Missing required VK extension"}; Today in my C++20 adventure I explored ranges, not half bad to use ngl. They also seem to suffer from bad optimization under gcc though :/
19:43
and before someone says anything, yes I know it's completely pointless πŸ˜„
20:23
ill just say
Avatar
don't
Avatar
modern c++ looks beatiful no kap
Avatar
btw, I still haven't rendered anything yet xDe
Avatar
well that's a lie, I did render a quick triangle, but nothing else
Avatar
why dont u learn vk with c
20:26
isnt the original api c
20:26
vulkan is already complicated
Avatar
gamedev is like orthogonal to C
20:27
besides, I might aswell get my C++ knowledge up to date while I'm at it, I've been stuck at C++11 for too long
Avatar
Avatar
Jupstar βœͺ
i think chairn has an even older nvidia card
2024-02-04 21:52:31 I gfx: GPU vendor: NVIDIA 2024-02-04 21:52:31 I gfx: GPU renderer: GeForce GT 740M 2024-02-04 21:52:31 I gfx: GPU version: Vulkan 1.1.95 (driver: 425.31.0.0) looks like my driver is more up to date than his
Avatar
how to be dev
Avatar
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
should I have c1 english level to contribute?
kek 2
Avatar
you should know c++ to contribute xD
Avatar
Some english is kinda necessary, but the code is ofc more important πŸ˜„
Avatar
@heinrich5991 is it intentional that the servers attribute has to be part of the icon in communities.json? I think one level more outside would make more sense.
Avatar
Avatar
deen
@heinrich5991 is it intentional that the servers attribute has to be part of the icon in communities.json? I think one level more outside would make more sense.
Looks like a bug, should use Community instead of Icon with the finishes and servers keys
Avatar
I thought so too, but now it's how it works πŸ˜„
21:42
I just added the Unique community and noticed then
Avatar
Avatar
deen
I just added the Unique community and noticed then
If you add fokkonaut & blockwords can you mention me? Then we can remove them from the KoG announced serverlist πŸ˜„
Avatar
Avatar
deen
@heinrich5991 is it intentional that the servers attribute has to be part of the icon in communities.json? I think one level more outside would make more sense.
ouch 😦
21:44
sorry
Avatar
Original message was deleted or could not be loaded.
reeks of ai. just try to program
21:47
@MilkeeyCat if it is indeed generated, please don't. it spams the channel
Avatar
im sowwy
Avatar
48fad83 Remove hard-coded commands from client-side - Robyt3 c09f1e1 Merge pull request #7919 from Robyt3/Client-No-Hard-Coded-Commands - heinrich5991
Avatar
Avatar
MilkeeyCat
im sowwy
what did you do? xD
Avatar
See commit messages. Closes #3941.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] 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:/...
Avatar
The console while now keep your scrolling position during text selection. Previously your selection would jump all over the place if people were typing. Before https://github.com/ddnet/ddnet/assets/141338449/3af742de-8cd1-48da-9a2d-56319045d3ca After https://github.com/ddnet/ddnet/assets/141338449/919ba33a-04dd-47b8-93ca-b02ea5238f40

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possib...
Exported 367 message(s)