Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2024-08-12 00:00 and 2024-08-13 00:00
Avatar
Avatar
Shelzy
for a long time i have been having a constant stuttering problem that made it impossible to play on the client. i tried almost every method to fix it but none worked. although i found a solution not so comfortable but a solution anyway. the solution is to move applications that are in the background on the second screen to the main screen for example running opera on youtube on the second monitor makes me have stuttering until i move it to the main monitor. this only happens to me in ddnet, in any other game or app this does not happen to me, could it be a bug or a problem with my pc? (edited)
ok this is so old but the last update fix this
17:50
i just wanted to say it in case there was someone with the same problem and had not updated yet
Avatar
jopsti why does my ddnet fail to load shaders only on vulkan backend and only when built by me
19:15
data folder it there and has the shaders in it (edited)
Avatar
Avatar
Ewan
jopsti why does my ddnet fail to load shaders only on vulkan backend and only when built by me
Jupstar ✪ 2024-08-12 19:16
show cmake output
Avatar
Avatar
Ewan
data folder it there and has the shaders in it (edited)
Jupstar ✪ 2024-08-12 19:17
the built shaders are only in the build data's dir
19:17
and they must end with spirv or smth like that
Avatar
Jupstar ✪ 2024-08-12 19:17
yeah
Avatar
Avatar
Jupstar ✪
show cmake output
1s
Avatar
Jupstar ✪ 2024-08-12 19:22
1
Avatar
Jupstar ✪ 2024-08-12 19:23
xd
Avatar
not been on pc yet 2day
19:25
im on latest master
19:25
19:27
this is game output up until browser stuff
19:28
ewan@machine ~/d/ddnet (master)> ls ./data/shader/vulkan/ prim3d.frag prim3d.vert primex.frag primex.vert prim.frag prim.vert quadbo.vertfrag quad.frag quad.vert spritemulti.frag spritemulti.vert text.frag text.vert tile_border.frag tile_border.vert tile.frag tile.vert no .spv (edited)
19:28
-- Building vulkan shaders /home/ewan/ddnet/ddnet/data/shader/vulkan/quad.vert -- Finished building vulkan shaders ? xD
19:29
builds 1 shader
Avatar
Avatar
Ewan
ewan@machine ~/d/ddnet (master)> ls ./data/shader/vulkan/ prim3d.frag prim3d.vert primex.frag primex.vert prim.frag prim.vert quadbo.vertfrag quad.frag quad.vert spritemulti.frag spritemulti.vert text.frag text.vert tile_border.frag tile_border.vert tile.frag tile.vert no .spv (edited)
Jupstar ✪ 2024-08-12 19:29
is that the build dir?
Avatar
Avatar
Ewan
builds 1 shader
Jupstar ✪ 2024-08-12 19:29
yeah dunno thats just a cmake output bug
19:29
apparently it can only display the log from one cmd
Avatar
prim3d.frag primex.frag.spv primex.vert prim.vert.spv quad_textured.frag.spv spritemulti_push.vert.spv tile_border.frag tile.frag.spv prim3d.frag.spv primex_rotationless.frag.spv primex.vert.spv quad.frag quad_textured.vert.spv spritemulti.vert tile_border.frag.spv tile_textured.frag.spv prim3d_textured.frag.spv primex_rotationless.vert.spv prim.frag quad.frag.spv quad.vert spritemulti.vert.spv tile_border_textured.frag.spv tile_textured.vert.spv prim3d_textured.vert.spv primex_tex.frag.spv prim.frag.spv quad_push.frag.spv quad.vert.spv text.frag tile_border_textured.vert.spv tile.vert prim3d.vert primex_tex_rotationless.frag.spv prim_textured.frag.spv quad_push_textured.frag.spv spritemulti.frag text.frag.spv tile_border.vert tile.vert.spv prim3d.vert.spv primex_tex_rotationless.vert.spv prim_textured.vert.spv quad_push_textured.vert.spv spritemulti.frag.spv text.vert tile_border.vert.spv primex.frag primex_tex.vert.spv prim.vert quad_push.vert.spv spritemulti_push.frag.spv text.vert.spv tile.frag
19:29
weird
Avatar
Avatar
Ewan
prim3d.frag primex.frag.spv primex.vert prim.vert.spv quad_textured.frag.spv spritemulti_push.vert.spv tile_border.frag tile.frag.spv prim3d.frag.spv primex_rotationless.frag.spv primex.vert.spv quad.frag quad_textured.vert.spv spritemulti.vert tile_border.frag.spv tile_textured.frag.spv prim3d_textured.frag.spv primex_rotationless.vert.spv prim.frag quad.frag.spv quad.vert spritemulti.vert.spv tile_border_textured.frag.spv tile_textured.vert.spv prim3d_textured.vert.spv primex_tex.frag.spv prim.frag.spv quad_push.frag.spv quad.vert.spv text.frag tile_border_textured.vert.spv tile.vert prim3d.vert primex_tex_rotationless.frag.spv prim_textured.frag.spv quad_push_textured.frag.spv spritemulti.frag text.frag.spv tile_border.vert tile.vert.spv prim3d.vert.spv primex_tex_rotationless.vert.spv prim_textured.vert.spv quad_push_textured.vert.spv spritemulti.frag.spv text.vert tile_border.vert.spv primex.frag primex_tex.vert.spv prim.vert quad_push.vert.spv spritemulti_push.frag.spv text.vert.spv tile.frag
Jupstar ✪ 2024-08-12 19:29
nice
19:29
start your exec from build dir
19:30
inside build dir i mean
Avatar
Jupstar ✪ 2024-08-12 19:30
cd build
19:30
./DDNet
Avatar
y does that work justatest
19:30
yea
19:30
im here and its working
19:30
that's crazy
Avatar
Jupstar ✪ 2024-08-12 19:30
sadly we dont have GLSL compiler built into client
19:30
else it could compile on fly
Avatar
i thought it should find data dir based on executable path
Avatar
Jupstar ✪ 2024-08-12 19:31
was that the case before?
19:31
there recently was someone with a similar situation
19:31
i honestly dunno, i never did that
Avatar
Avatar
Jupstar ✪
was that the case before?
idk what the behavior was, that's just what makes sense to me
19:32
game working shouldnt rely on cwd
Avatar
Jupstar ✪ 2024-08-12 19:32
well it relies on storage.cfg
19:32
and that contains a relative path
19:32
probs to working dir
19:33
that seems problematic
19:34
now how excited are u to help me figure out why video output doesn't update on exclusive fullscreen justatest
19:34
works on gl
Avatar
Jupstar ✪ 2024-08-12 19:35
i assume you are still on wayland?
Avatar
Jupstar ✪ 2024-08-12 19:37
you could try removing CONF_PLATFORM_ANDROID in backend_vulkan.cpp. I recently read wayland also allows to destroy the surface of an active app. I couldn't repro on KDE
19:37
maybe your window manager acts differently
19:37
other than that i have no idea. Maybe it's some SDL thing
Avatar
lets see
19:38
undefing it?
19:39
should be off anyway
19:39
wdym remove
Avatar
Jupstar ✪ 2024-08-12 19:39
remove the #ifdefs
19:39
like activating that code
19:40
no difference sad
Avatar
Jupstar ✪ 2024-08-12 19:41
peace in rest (edited)
19:41
i dunno
19:41
install windows
Avatar
Jupstar ✪ 2024-08-12 19:42
what is your sdl version?
Avatar
2.30.4 (compiled = 2.30.4)
Avatar
Jupstar ✪ 2024-08-12 19:42
have u tried simply running steam version?
19:42
it comes with different sdl version
Avatar
steam ver uses xwayland
Avatar
Jupstar ✪ 2024-08-12 19:42
i think
19:42
but u can force
19:42
SDL_VIDEODRIVER=wayland
Avatar
Jupstar ✪ 2024-08-12 19:43
ok nvm
19:43
steam also uses my local version
19:44
which is weird
19:44
considering there is a libSDL2 in the steam files
19:45
SDL version 2.30.5 (compiled = 2.0.6) ok
19:45
maybe it is the right version
19:45
and the deens compile script uses the wrong one
19:45
bcs i doubt we use 2.0.6 xd
Avatar
yea i dunno
19:45
cant seem to pass envvar to game via steam
19:45
SDL_VIDEODRIVER=wayland steam steam://rungameid/412220?
Avatar
Jupstar ✪ 2024-08-12 19:46
i'd just start whole steam process with env var xd
Avatar
024-08-12 19:46:41 I console: executing 'settings_ddnet.cfg' 2024-08-12 19:46:41 I client: adding 72.204.22.162:6629 to favorites 2024-08-12 19:46:41 I sdl: SDL version 2.30.5 (compiled = 2.0.6) 2024-08-12 19:46:41 I gfx: unable to init SDL video: wayland not available 2024-08-12 19:46:41 I gfx: setting resolution to 640x480 and trying again 2024-08-12 19:46:41 I sdl: SDL version 2.30.5 (compiled = 2.0.6) 2024-08-12 19:46:41 I gfx: unable to init SDL video: wayland not available 2024-08-12 19:46:41 I sdl: SDL version 2.30.5 (compiled = 2.0.6) 2024-08-12 19:46:41 I gfx: unable to init SDL video: wayland not available 2024-08-12 19:46:41 I gfx: out of ideas. failed to init graphics 2024-08-12 19:46:41 E client: couldn't init graphics
Avatar
Avatar
Ewan
024-08-12 19:46:41 I console: executing 'settings_ddnet.cfg' 2024-08-12 19:46:41 I client: adding 72.204.22.162:6629 to favorites 2024-08-12 19:46:41 I sdl: SDL version 2.30.5 (compiled = 2.0.6) 2024-08-12 19:46:41 I gfx: unable to init SDL video: wayland not available 2024-08-12 19:46:41 I gfx: setting resolution to 640x480 and trying again 2024-08-12 19:46:41 I sdl: SDL version 2.30.5 (compiled = 2.0.6) 2024-08-12 19:46:41 I gfx: unable to init SDL video: wayland not available 2024-08-12 19:46:41 I sdl: SDL version 2.30.5 (compiled = 2.0.6) 2024-08-12 19:46:41 I gfx: unable to init SDL video: wayland not available 2024-08-12 19:46:41 I gfx: out of ideas. failed to init graphics 2024-08-12 19:46:41 E client: couldn't init graphics
Jupstar ✪ 2024-08-12 19:47
oh wow
19:47
that is surprising
Avatar
Jupstar ✪ 2024-08-12 19:47
i am sure it worked before
19:48
mh
19:48
tja
Avatar
how to debug
19:48
i wanna be fullscreen vulkan gamer
Avatar
Jupstar ✪ 2024-08-12 19:48
./DDNet "dbg_gfx 4"
19:48
install vulkan validation layers
19:48
otherwise the cmd is kinda useless
19:51
hmmm
19:52
2024-08-12 13:51:40 I vulkan_debug: Validation Warning: [ BestPractices-PushConstants ] Object 0: handle = 0x7ffeb49360d0, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x1248c6a4 | vkCmdDrawIndexed(): Pipeline uses push constants with 80 bytes, but byte 36 was never set with vkCmdPushConstants. lots and lots and lots of this
19:52
unending
Avatar
Jupstar ✪ 2024-08-12 19:52
ah yeah
19:52
u can search for vulkan_debug in the cpp file and deactivate warnings
19:52
they are kinda annoying
19:52
btw you can also start ddnet with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json ./DDNet
19:52
then it uses lavapipe
Avatar
Avatar
Ewan
2024-08-12 13:51:40 I vulkan_debug: Validation Warning: [ BestPractices-PushConstants ] Object 0: handle = 0x7ffeb49360d0, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x1248c6a4 | vkCmdDrawIndexed(): Pipeline uses push constants with 80 bytes, but byte 36 was never set with vkCmdPushConstants. lots and lots and lots of this
Jupstar ✪ 2024-08-12 19:52
also i think they are false positives
19:53
r u on arch?
Avatar
Jupstar ✪ 2024-08-12 19:53
is it up to date like arch?
Avatar
Avatar
Jupstar ✪
btw you can also start ddnet with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json ./DDNet
where does this come from
Avatar
Avatar
Jupstar ✪
is it up to date like arch?
reasonably
Avatar
Avatar
Ewan
where does this come from
Jupstar ✪ 2024-08-12 19:53
from me, myself an i
Avatar
Avatar
Ewan
reasonably
Jupstar ✪ 2024-08-12 19:54
ok, i am just asking bcs i'd need to test with latest validation layers, b4 reporting smth that is already fixed xd (edited)
Avatar
nix has a store where it keeps all packaged files w/o depending on a normal sysroot layout
19:54
so i cant do /usr/whatever
Avatar
Jupstar ✪ 2024-08-12 19:54
oh ok
19:55
ewan@machine ~/d/d/build (master)> nix-locate "lvp_icd.x86_64.json" mesa.drivers 203 r /nix/store/wis0bx9jxzcklxpmh1lhsg325g70wxns-mesa-24.1.2-drivers/share/vulkan/icd.d/lvp_icd.x86_64.json epyc cmd
Avatar
Jupstar ✪ 2024-08-12 19:55
ah yeah, totally normal path xd
Avatar
Avatar
Jupstar ✪
btw you can also start ddnet with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json ./DDNet
how can i verify this is working? still says my gpu name
Avatar
Jupstar ✪ 2024-08-12 19:57
then it aint working
Avatar
Jupstar ✪ 2024-08-12 19:57
r u sure u still on vk
19:57
possible that the failing start changed it
Avatar
VK_ICD_FILENAMES=/nix/store/wis0bx9jxzcklxpmh1lhsg325g70wxns-mesa-24.1.2-drivers/share/vulkan/icd.d/lvp_icd.x86_64.json ./DDNet ... 2024-08-12 13:56:00 I gfx: GPU vendor: NVIDIA 2024-08-12 13:56:00 I gfx: GPU renderer: NVIDIA GeForce RTX 3060 2024-08-12 13:56:00 I gfx: GPU version: Vulkan 1.3.278 (driver: 555.58.2.0) ...
Avatar
Jupstar ✪ 2024-08-12 19:58
cat the json
19:58
meow
Avatar
{ "ICD": { "api_version": "1.1.278", "library_path": "/nix/store/wis0bx9jxzcklxpmh1lhsg325g70wxns-mesa-24.1.2-drivers/lib/libvulkan_lvp.so" }, "file_format_version": "1.0.0" }
Avatar
Jupstar ✪ 2024-08-12 19:58
mhhhh
19:59
wtf going on in your setup xd
19:59
well maybe it's nvidia black magic
19:59
maybe they ship a custom vk loader or smth
Avatar
what are u expecting
19:59
o
19:59
maybe im missing a vulkan pkg
Avatar
Jupstar ✪ 2024-08-12 19:59
2024-08-12 21:57:58 I gfx: Created Vulkan 1.1 context. 2024-08-12 21:57:59 I gfx: GPU vendor: Mesa 2024-08-12 21:57:59 I gfx: GPU renderer: llvmpipe (LLVM 17.0.6, 256 bits) 2024-08-12 21:57:59 I gfx: GPU version: Vulkan 1.3.278 (driver: 0.0.1)
19:59
i dont think so
20:00
vulkaninfo | grep -A1 driverName (edited)
Avatar
WARNING: [Loader Message] Code 0 : loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but /run/opengl-driver/share/vulkan/implicit_layer.d/nvidia_layers.json is reporting version 1 driverName = NVIDIA driverInfo = 555.58.02
Avatar
Jupstar ✪ 2024-08-12 20:01
wow
20:01
/run/opengl-driver/share/vulkan/implicit_layer.d/nvidia_layers.json
20:01
that hurts my feeling
20:01
afaik nixos ogl stuff is very odd
20:02
they make some ideological compromises to support it
20:03
since having vendored libs & different paths is non deterministic
20:03
https://mynixos.com/search?q=nixpkgs%2Fpackage+vulkan these are my options as far as extra pkgs go. yes ddnet vulkan is working but there may be a runtime/client aspect to it as well
Avatar
Jupstar ✪ 2024-08-12 20:03
but isnt nvidia + wayland very shitty anyway?
Avatar
very tolerable on my setup
20:03
hyprland
20:04
very good for a change
Avatar
Jupstar ✪ 2024-08-12 20:04
ls /run/opengl-driver/share/vulkan/icd.d/
20:04
if that exists
Avatar
also i was using nvidia optimus before where i'd pass my dgpu thru only when needed and it was amazing. only issue is it would cause bad perf on xwayland and no way to fix
20:05
dzn_icd.x86_64.json intel_hasvk_icd.x86_64.json intel_icd.x86_64.json lvp_icd.x86_64.json nouveau_icd.x86_64.json nvidia_icd.x86_64.json radeon_icd.x86_64.json virtio_icd.x86_64.json
Avatar
Jupstar ✪ 2024-08-12 20:05
there is lvp_icd.x86_64.json again xdd
20:05
maybe try that version
Avatar
ewan@machine ~/d/d/build (master)> readlink /run/opengl-driver/share/vulkan/icd.d/lvp_icd.x86_64.json /nix/store/wis0bx9jxzcklxpmh1lhsg325g70wxns-mesa-24.1.2-drivers/share/vulkan/icd.d/lvp_icd.x86_64.json
Avatar
Jupstar ✪ 2024-08-12 20:06
it aint gonna scammed
Avatar
i tried just for fun and same results
Avatar
Jupstar ✪ 2024-08-12 20:07
nix-shell -p vulkan-tools lavapipe --run "VK_ICD_FILENAMES=/run/opengl-driver/share/vulkan/icd.d/lvp_icd.x86_64.json vulkanInfo" | grep driverName
20:07
ok that is gpt
20:07
dont trust
Avatar
is this
20:07
yea
20:07
xddd
20:08
that's adding the pkgs vulkan-tools lavapipe
20:08
so ill add them and retry
Avatar
Jupstar ✪ 2024-08-12 20:08
5. System-Wide Configuration (Optional) If you want to set Lavapipe as the default Vulkan implementation system-wide, you can modify your configuration.nix: nix { hardware.opengl.setLdLibraryPath = true; hardware.opengl.driSupport = true; hardware.opengl.driSupport32Bit = true; hardware.opengl.package = pkgs.mesa_drivers; } This will ensure that Mesa (including Lavapipe) is preferred over proprietary drivers like NVIDIA.
20:08
but yeah dunno
20:08
if u want to fuck ur config
20:09
in non-exclusive fullscreen it works?
Avatar
Avatar
Jupstar ✪
but isnt nvidia + wayland very shitty anyway?
Fun fact: Intel + Nvidia 555+ on Wayland when running DDNet w/ Intel GPU & Vulkan backend = [bgiovanni@Botti-Laptop build]$ SDL_VIDEODRIVER=wayland ./DDNet 2024-08-12 22:06:30 I engine: running on unix-linux-amd64 2024-08-12 22:06:30 I engine: arch is little endian 2024-08-12 22:06:30 I engine: operating system version: Linux 6.10.4-arch2-1 (x86_64, #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000); "Arch Linux" <snip> 2024-08-12 22:06:30 I sdl: SDL version 2.30.6 (compiled = 2.30.5) 2024-08-12 22:06:30 I gfx: Created Vulkan 1.1 context. 2024-08-12 22:06:31 I gfx: GPU vendor: INTEL 2024-08-12 22:06:31 I gfx: GPU renderer: Intel(R) UHD Graphics 620 (WHL GT2) 2024-08-12 22:06:31 I gfx: GPU version: Vulkan 1.3.278 (driver: 24.1.5) wp_tearing_control_manager_v1#46: error 0: Tearing control object already exists! 2024-08-12 22:06:31 I vulkan: vulkan error: The device surface presentation modes could not be fetched. 2024-08-12 22:06:31 I sound: sound init successful using audio driver 'pulseaudio' 2024-08-12 22:06:31 I http: libcurl version 8.9.1 (compiled = 8.9.0) 2024-08-12 22:06:31 I textrender: Freetype version 2.13.2 (compiled = 2.13.2) 2024-08-12 22:06:31 I joystick: 0 joystick(s) found 2024-08-12 22:06:31 I assert: /home/bgiovanni/Projects/ddnet/src/engine/client/backend_sdl.cpp(167): Graphics Assertion: The device surface presentation modes could not be fetched. Failed during initialization. Try to change gfx_backend to OpenGL or Vulkan in settings_ddnet.cfg in the config directory and try again. warning: queue "mesa vk display queue" 0x72fc1c001230 destroyed while proxies still attached: wl_buffer#61 still attached wl_buffer#59 still attached wl_buffer#57 still attached wl_buffer#55 still attached wl_buffer#53 still attached wp_tearing_control_v1#52 still attached Illegal instruction (core dumped)
Avatar
kek jupsti when fix
Avatar
Avatar
DynamoFox
Fun fact: Intel + Nvidia 555+ on Wayland when running DDNet w/ Intel GPU & Vulkan backend = [bgiovanni@Botti-Laptop build]$ SDL_VIDEODRIVER=wayland ./DDNet 2024-08-12 22:06:30 I engine: running on unix-linux-amd64 2024-08-12 22:06:30 I engine: arch is little endian 2024-08-12 22:06:30 I engine: operating system version: Linux 6.10.4-arch2-1 (x86_64, #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000); "Arch Linux" <snip> 2024-08-12 22:06:30 I sdl: SDL version 2.30.6 (compiled = 2.30.5) 2024-08-12 22:06:30 I gfx: Created Vulkan 1.1 context. 2024-08-12 22:06:31 I gfx: GPU vendor: INTEL 2024-08-12 22:06:31 I gfx: GPU renderer: Intel(R) UHD Graphics 620 (WHL GT2) 2024-08-12 22:06:31 I gfx: GPU version: Vulkan 1.3.278 (driver: 24.1.5) wp_tearing_control_manager_v1#46: error 0: Tearing control object already exists! 2024-08-12 22:06:31 I vulkan: vulkan error: The device surface presentation modes could not be fetched. 2024-08-12 22:06:31 I sound: sound init successful using audio driver 'pulseaudio' 2024-08-12 22:06:31 I http: libcurl version 8.9.1 (compiled = 8.9.0) 2024-08-12 22:06:31 I textrender: Freetype version 2.13.2 (compiled = 2.13.2) 2024-08-12 22:06:31 I joystick: 0 joystick(s) found 2024-08-12 22:06:31 I assert: /home/bgiovanni/Projects/ddnet/src/engine/client/backend_sdl.cpp(167): Graphics Assertion: The device surface presentation modes could not be fetched. Failed during initialization. Try to change gfx_backend to OpenGL or Vulkan in settings_ddnet.cfg in the config directory and try again. warning: queue "mesa vk display queue" 0x72fc1c001230 destroyed while proxies still attached: wl_buffer#61 still attached wl_buffer#59 still attached wl_buffer#57 still attached wl_buffer#55 still attached wl_buffer#53 still attached wp_tearing_control_v1#52 still attached Illegal instruction (core dumped)
Jupstar ✪ 2024-08-12 20:09
mhh The device surface presentation modes could not be fetched.
20:10
wtf
Avatar
chat gpt did that awesome thing again
20:10
error: attribute 'lavapipe' missing at /nix/store/c3mvqwig0j8j06s5zgpim6p07hbfka4v-source/flake.nix:21:13: 20| pkgs.vulkan-tools 21| pkgs.lavapipe | ^
20:10
tl;dr no such package exists
Avatar
Jupstar ✪ 2024-08-12 20:10
try mesa_drivers
20:10
instead
20:10
i trust gpt 80
Avatar
im sure it would work but that's relatively involved & missing the end goal
Avatar
Jupstar ✪ 2024-08-12 20:11
yeah tbh dunno what to do
20:11
if it works on x11 and xwayland
Avatar
oh lolol im an idiot
Avatar
Jupstar ✪ 2024-08-12 20:12
gta 6 before accounts before wayland gets stable
Avatar
Avatar
Ewan
chat gpt did that awesome thing again
dont feed chatgpt nix, it'll devour it and spit out anything but code kekw
Avatar
Avatar
Jupstar ✪
gta 6 before accounts before wayland gets stable
feelsbadman
Avatar
my system wide graphics config
Avatar
btw Ewan are you actually running NixOS ? or another distro with just nix
Avatar
VK_DRIVER_FILES = /run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json;
xddd
Avatar
Avatar
meloƞ
btw Ewan are you actually running NixOS ? or another distro with just nix
yea
Avatar
ok nvm, question answered
20:13
XDD
Avatar
so i can temporarily undo that... snouldnt setting it on the cmd line b4 invocation still override tho
20:14
normal env var
Avatar
Avatar
Jupstar ✪
mhh The device surface presentation modes could not be fetched.
The Nvidia driver is stealing the wp_tearing_control_v1 (https://wayland.app/protocols/tearing-control-v1#wp_tearing_control_manager_v1:request:get_tearing_control) singleton object of a surface during Vk device enumeration when it's called by the Vk loader. Then if the Intel driver is selected by DDNet when it legitimately tries to tell the compositor to allow tearing it requests the same wp_tearing_control_v1 object that the Nvidia driver stole previously and the wayland compositors error out.
A better way to read Wayland documentation
Avatar
Avatar
DynamoFox
The Nvidia driver is stealing the wp_tearing_control_v1 (https://wayland.app/protocols/tearing-control-v1#wp_tearing_control_manager_v1:request:get_tearing_control) singleton object of a surface during Vk device enumeration when it's called by the Vk loader. Then if the Intel driver is selected by DDNet when it legitimately tries to tell the compositor to allow tearing it requests the same wp_tearing_control_v1 object that the Nvidia driver stole previously and the wayland compositors error out.
The introduced this new lovely feature with the Nvidia 555 series iiirc
Avatar
Jupstar ✪ 2024-08-12 20:15
why do you even have such insight into what is happening xD
Avatar
i think tearing outright was added in 555
20:16
er no
Avatar
Jupstar ✪ 2024-08-12 20:16
r u like a wayland dev or smth
Avatar
thats explicit sync
Avatar
vkgears errors out as well if I run it with MESA_VK_WSI_PRESENT_MODE=immediate
Avatar
i want to love wayland but the amount of issues it creates completely squanders any potential benefits xd
Avatar
The Nvidia driver really can't avoid stealing singleton objects :c
Avatar
Avatar
Ewan
i want to love wayland but the amount of issues it creates completely squanders any potential benefits xd
Jupstar ✪ 2024-08-12 20:17
i try that since 4 years
Avatar
they say it gets better eventually
Avatar
Avatar
Ewan
thats explicit sync
Yes, it's related to that
Avatar
you somehow always fall back to x11 for now :c - i hope it gets stable at some point
Avatar
Avatar
meloƞ
you somehow always fall back to x11 for now :c - i hope it gets stable at some point
tbh x11 is default rn
Avatar
i wanna use cosmos as my DE, which won't (doesnt plan on) supporting x11 (edited)
Avatar
Avatar
DynamoFox
tbh x11 is default rn
for DDNet
Avatar
what i rly want is for xwayland to work on optimus. then i can use near flawless amdgpu driver for nearly everything...
Avatar
Jupstar ✪ 2024-08-12 20:18
ok guys it's happening
20:18
i switch to wayland now
justatest 1
🚒 1
Avatar
NOOOOOOOOOO
Avatar
Just pick a random wayland compositor for testing purposes
20:19
No need to "switch"
Avatar
but it has some issue where the game reports good/normal perf but the window itself looks/feels shitty and choppy. maybe igpu bottlenecking or smth
20:19
but only xwayland...
Avatar
Avatar
Jupstar ✪
i switch to wayland now
gl
Avatar
Jupstar ✪ 2024-08-12 20:19
ok
20:19
im on wayland now
20:19
chromium works
20:19
epyc
Avatar
tbh on amd it should be fine
Avatar
i had those issues on nvidia, after changing to amd everything was fine
Avatar
aside from fundamental stupids
Avatar
Avatar
meloƞ
i had those issues on nvidia, after changing to amd everything was fine
yea but im not about to buy a new gpu
Avatar
well "everything" screentearing was a thing for some godforsaken reason
Avatar
Avatar
Ewan
yea but im not about to buy a new gpu
yeah thats fair XD
Avatar
Jupstar ✪ 2024-08-12 20:20
man cpp version builds so fast
20:20
xd
Avatar
Avatar
meloƞ
well "everything" screentearing was a thing for some godforsaken reason
i mean, it's off by default
20:21
but u prob want it for ddnet
Avatar
Avatar
Jupstar ✪
man cpp version builds so fast
poggers2 wayland increasing buildtime???
Avatar
Jupstar ✪ 2024-08-12 20:21
how do i know if wayland was chosen?
20:21
as videodriver
Avatar
hard to say
Avatar
Avatar
meloƞ
poggers2 wayland increasing buildtime???
Jupstar ✪ 2024-08-12 20:21
no but rust xddd
Avatar
Ah lol, my compositor shows that when window switching xd
Avatar
Jupstar ✪ 2024-08-12 20:22
but what i can ssay is SDL_VIDEODRIVER=wayland ./DDNet works for me
20:22
no issues
Avatar
i decorate xwayland windows differently in my hyprland config
Avatar
Avatar
Jupstar ✪
but what i can ssay is SDL_VIDEODRIVER=wayland ./DDNet works for me
Go OpenGL
20:22
wait, which distro is this one?
Avatar
debian iirc
Avatar
Jupstar ✪ 2024-08-12 20:22
9k FPS again
20:22
much better than X11
Avatar
Let's see if they drugged GLEW :p
Avatar
Jupstar ✪ 2024-08-12 20:22
i am on debian
20:22
i think that was broken there
20:23
very beautiful popup
20:23
GLES works fine
Avatar
Yes, it did for me as well.
Avatar
i brb reboot, to see if lavapipe wins
Avatar
lavapipe?
Avatar
Additionally if you do (unset DISPLAY && ./DDNet) w/o SDL_VIDEODRIVER it should complain about x11 being unavailable.
Avatar
Jupstar ✪ 2024-08-12 20:25
but i am a bit annoyed that fullscreen on wayland doesnt minimize
20:26
amdvlk works fine too
20:26
2024-08-12 14:25:47 I gfx: GPU vendor: Mesa 2024-08-12 14:25:47 I gfx: GPU renderer: llvmpipe (LLVM 17.0.6, 256 bits) 2024-08-12 14:25:47 I gfx: GPU version: Vulkan 1.3.278 (driver: 0.0.1)
Avatar
Avatar
Ewan
2024-08-12 14:25:47 I gfx: GPU vendor: Mesa 2024-08-12 14:25:47 I gfx: GPU renderer: llvmpipe (LLVM 17.0.6, 256 bits) 2024-08-12 14:25:47 I gfx: GPU version: Vulkan 1.3.278 (driver: 0.0.1)
Jupstar ✪ 2024-08-12 20:26
epyc
Avatar
freezes still!
20:26
vk thing
20:26
not driver ig
20:26
try hyprland jopsti... it's rly good
20:26
and then u may see my issue
Avatar
2024-08-12 22:26:31 I gfx: GPU vendor: AMD 2024-08-12 22:26:31 I gfx: GPU renderer: AMD Radeon RX 7900 XTX (RADV NAVI31) 2024-08-12 22:26:31 I gfx: GPU version: Vulkan 1.3.278 (driver: 24.1.4) driver 0.0.1 ???XD (edited)
Avatar
Jupstar ✪ 2024-08-12 20:27
% SDL_VIDEODRIVER=wayland VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json ./DDNet works for me
20:27
2024-08-12 22:26:53 I gfx: Created Vulkan 1.1 context. 2024-08-12 22:26:53 I gfx: GPU vendor: Mesa 2024-08-12 22:26:53 I gfx: GPU renderer: llvmpipe (LLVM 17.0.6, 256 bits) 2024-08-12 22:26:53 I gfx: GPU version: Vulkan 1.3.278 (driver: 0.0.1)
20:27
we are on same page
Avatar
Jupstar ✪ 2024-08-12 20:28
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
20:28
man this should be default 1
Avatar
lol i actually get playable fps even w software renderer
20:28
200
Avatar
lmao
Avatar
Jupstar ✪ 2024-08-12 20:28
i personally submitted the issue for that on sdl and they accepted it, but on wayland it doesnt work xD
Avatar
Avatar
Ewan
lol i actually get playable fps even w software renderer
Jupstar ✪ 2024-08-12 20:29
ofc, CPUs arent thaaat bad xd
Avatar
ah gg i cleared my nix store, time to download 2GB of packages into my direnv again just to delete it in 2 days
Avatar
Avatar
Jupstar ✪
ofc, CPUs arent thaaat bad xd
im on 4k
Avatar
Avatar
meloƞ
ah gg i cleared my nix store, time to download 2GB of packages into my direnv again just to delete it in 2 days
gg indeed
Avatar
Avatar
Ewan
im on 4k
Jupstar ✪ 2024-08-12 20:29
oh wow
20:29
ur cpu is better than mine then :c
Avatar
4K with 200fps is wild
Avatar
r9 7900X
Avatar
damn
Avatar
Jupstar ✪ 2024-08-12 20:30
even in entities i only get 240
Avatar
didnt know you're cool like that
Avatar
Jupstar ✪ 2024-08-12 20:30
and i have 16 cores
20:30
im 12/24
Avatar
Jupstar ✪ 2024-08-12 20:30
mhh 240 is so close to my monitor refresh rate
20:30
i smell a scam
Avatar
lets see what my 7950X can do
Avatar
global vsync is on by default
20:31
idk how to turn it off on plasma
20:31
but enable tearing and u get no vsync
20:31
can still turn on per-game
20:31
caveman explanation
Avatar
Jupstar ✪ 2024-08-12 20:31
here learn german
20:31
best settings
20:32
nice
Avatar
yeah it's capped on 240
Avatar
Avatar
meloƞ
yeah it's capped on 240
Jupstar ✪ 2024-08-12 20:32
aha, scam
Avatar
but i could play like this no issue
Avatar
Jupstar ✪ 2024-08-12 20:32
yeah
Avatar
i think i can tear even in windowed justatest
Avatar
Jupstar ✪ 2024-08-12 20:32
but i want to know max fps xd
20:32
on 16 cores
Avatar
i rather not stress my poor cpu
Avatar
Jupstar ✪ 2024-08-12 20:32
time to swtich back to x11
Avatar
16 core 7950X benchmark using DDNet
Avatar
if ur on sw that's probably it. oh shit i should mention ddnet is actually rendering 1440
20:33
cuz scale factor stuff
20:33
forgot
20:34
which, idk how to get around. i poked around a bit and when i set video mode to native res manually it does work, but SDL only returns pre-divided display modes
Avatar
I enabled tearing in my compositor and w/o Vsync I get 1k fps but I see no tearing whatsoever 😕
Avatar
Avatar
DynamoFox
I enabled tearing in my compositor and w/o Vsync I get 1k fps but I see no tearing whatsoever 😕
yea, only noticeable on lower fps afaik
Avatar
Avatar
Ewan
which, idk how to get around. i poked around a bit and when i set video mode to native res manually it does work, but SDL only returns pre-divided display modes
so ig u can do some stupid re-multiplication by scale factor until SDL wins
20:35
but that's... well, stupid
Avatar
Avatar
meloƞ
16 core 7950X benchmark using DDNet
Jupstar ✪ 2024-08-12 20:35
how did ewan get more than 240 fps then
20:35
i think ewan is the scammer
20:35
on lower res i get 400 fps
20:35
so it's not clamped
Avatar
are u on gpu?
20:35
xdd
Avatar
Avatar
Ewan
are u on gpu?
Jupstar ✪ 2024-08-12 20:35
lavapipe
Avatar
it was steady 240 for me on pipe
Avatar
i should clarify i got 200 on lvp at 1440p
Avatar
Avatar
meloƞ
it was steady 240 for me on pipe
Jupstar ✪ 2024-08-12 20:36
yeah but try lower res
20:36
i bet u suddenly have 400 fps
Avatar
will do
Avatar
Avatar
Ewan
i should clarify i got 200 on lvp at 1440p
Jupstar ✪ 2024-08-12 20:36
and 400 on 4k? XD
Avatar
Jupstar ✪ 2024-08-12 20:36
"I am needed, I GO ALL IN"
Avatar
laughs in 1K fps on 1440p
Avatar
Jupstar ✪ 2024-08-12 20:37
with lavapipe?
20:37
wow
20:37
in entities?
Avatar
nah, 300 in entities, depends on map tho
20:37
but yeah on lavapipe
Avatar
Jupstar ✪ 2024-08-12 20:38
720p give me ~550 fps
20:38
that is like better than most intel iGPUs xdddd
Avatar
AXAXA
20:38
2K fps on 720p
20:38
suckeeer
Avatar
Avatar
meloƞ
2K fps on 720p
Jupstar ✪ 2024-08-12 20:38
no fcking way
Avatar
well 1.8
Avatar
Jupstar ✪ 2024-08-12 20:38
ur CPU is not 4 times as fast
Avatar
it jumps between 1.6K and 1.8K
Avatar
Jupstar ✪ 2024-08-12 20:38
i feel scammed
20:38
by all of u
Avatar
i see 5k fps for a brief moment when i enter fullscreen (on gpu)... maybe it is actually working in fullscreen for a sec
Avatar
Avatar
meloƞ
Click to see attachment 🖼️
Jupstar ✪ 2024-08-12 20:39
watafak
20:40
1000 fps
🤣 1
20:40
i am soo cool
Avatar
that's on gpu
Avatar
Avatar
meloƞ
that's on gpu
Jupstar ✪ 2024-08-12 20:40
only 9k?
Avatar
(it's capped to 10K)
Avatar
Jupstar ✪ 2024-08-12 20:40
that must be a bugg
20:40
ah
Avatar
i hate that pipe whimmering of my gpu
20:40
so i usually set it to 1K
Avatar
Jupstar ✪ 2024-08-12 20:41
i swear to everything i got 12k fps 2 years ago on wayland
20:41
now it struggles to even 9k
20:41
all these CPU security fixes must have really hurt the perf
Avatar
i loose 4K fps in fullscreen
20:41
smh
Avatar
which wm
Avatar
KWin (hate me)
20:42
weird
Avatar
Avatar
meloƞ
i loose 4K fps in fullscreen
Jupstar ✪ 2024-08-12 20:44
try to press ALT + SHIFT + F12
Avatar
what's that
Avatar
nothing happening
20:47
friendly remainder to past you
20:48
but chiller hit 20k on 4k on 4090 i think xd
20:48
but entities
20:48
we must defer to ryo for max perf
20:49
he has the gentoo
Avatar
Jupstar ✪ 2024-08-12 20:49
but too bad hardware xd
Avatar
he has the same hardware as i do
20:49
iirc
Avatar
Avatar
meloƞ
he has the same hardware as i do
Jupstar ✪ 2024-08-12 20:49
he has like rtx 4080
20:49
and only 6 cores or smth
20:49
xd
20:49
maybe he upgraded
20:49
dunno
Avatar
i'm 99% sure we have the same cpu
20:50
he mentioned it somewhere
Avatar
I think 5950x3d or smth?
20:51
o
20:51
7900X3D
20:52
i have the 7950X, other than that it's the same
Avatar
mine on steroids
Avatar
Avatar
meloƞ
i have the 7950X, other than that it's the same
Jupstar ✪ 2024-08-12 20:52
nice
20:52
and he is on 1080p
Avatar
144hz masterrace
Avatar
Jupstar ✪ 2024-08-12 20:52
but rtx 3080
20:52
bro that is like stone age
20:52
XDD
Avatar
seems like a waste
Avatar
i assume he upgraded his CPU leaving his old GPU in
Avatar
! svyato4ka.ru 2024-08-12 20:53
What should I do if I was sitting on the map farming time at worst, but the game froze and later crashed and is not on the server now?
Avatar
i feel like the 3060 can run like any game at 1080p 144
Avatar
Avatar
! svyato4ka.ru
What should I do if I was sitting on the map farming time at worst, but the game froze and later crashed and is not on the server now?
cry
Avatar
Avatar
! svyato4ka.ru
What should I do if I was sitting on the map farming time at worst, but the game froze and later crashed and is not on the server now?
Jupstar ✪ 2024-08-12 20:53
i guess nothing anybody can do tbh
Avatar
Avatar
Ewan
cry
! svyato4ka.ru 2024-08-12 20:53
I have already
Avatar
Avatar
! svyato4ka.ru
What should I do if I was sitting on the map farming time at worst, but the game froze and later crashed and is not on the server now?
if the server changed map and your tee lost it's timeout protection, its joeover :(
Avatar
I tried the same thing but some mf kicked me
Avatar
Avatar
Ewan
i feel like the 3060 can run like any game at 1080p 144
Jupstar ✪ 2024-08-12 20:54
yeah but only at like 99% GPU usage xd i try to not use my GPU above 80%
Avatar
I even said in my name I was going for top -1 don't kick
Avatar
Avatar
meloƞ
if the server changed map and your tee lost it's timeout protection, its joeover :(
! svyato4ka.ru 2024-08-12 20:54
sadly
Avatar
Avatar
Jupstar ✪
yeah but only at like 99% GPU usage xd i try to not use my GPU above 80%
fair
Avatar
Jupstar ✪ 2024-08-12 20:54
it just jumps from like 200 watts to 300 xd
20:54
300+ xdd
Avatar
Avatar
! svyato4ka.ru
What should I do if I was sitting on the map farming time at worst, but the game froze and later crashed and is not on the server now?
! svyato4ka.ru 2024-08-12 20:57
-4,5h
Avatar
Jupstar ✪ 2024-08-12 20:58
but it sounded like u were afk most of the time
Avatar
who delete
Avatar
Avatar
Jupstar ✪
but it sounded like u were afk most of the time
! svyato4ka.ru 2024-08-12 20:59
yes it is, but it’s still sad to waste time like this
20:59
no result
Avatar
Jupstar ✪ 2024-08-12 21:00
why did it even crash in first place
21:00
did u play other games or smth
21:00
did it show any error
Avatar
Avatar
Jupstar ✪
did u play other games or smth
! svyato4ka.ru 2024-08-12 21:03
Well, yes
Avatar
Avatar
Jupstar ✪
did it show any error
! svyato4ka.ru 2024-08-12 21:03
I just wrote that the app is not responding when I tried to open it
Avatar
Avatar
meloƞ
if the server changed map and your tee lost it's timeout protection, its joeover :(
! svyato4ka.ru 2024-08-12 21:14
on another client the person changed the map :p (edited)
Avatar
Avatar
meloƞ
144hz masterrace
when im back to germany i want to get even more hz, I actually consider buying a Fast-TN panel with 200+ hz, but then its 1080p again. My two 1440p IPS panels kinda suck, one is definitely ghosting a bit, annoying, but ididnt nerd out on GtG values before. Alternatively i could get an OLEd panel, i kinda want to, because high hz, good GtG and good resolution, but im scared of this burn in thing. Imagine mermydon_glowcoala bruned in in the middle of my screen permanently cuz 6h teeworlds every day. GG
Avatar
Avatar
Gumba
when im back to germany i want to get even more hz, I actually consider buying a Fast-TN panel with 200+ hz, but then its 1080p again. My two 1440p IPS panels kinda suck, one is definitely ghosting a bit, annoying, but ididnt nerd out on GtG values before. Alternatively i could get an OLEd panel, i kinda want to, because high hz, good GtG and good resolution, but im scared of this burn in thing. Imagine mermydon_glowcoala bruned in in the middle of my screen permanently cuz 6h teeworlds every day. GG
how can one dislike mermydon_glowcoala beeing burned into your desktop to stare at you when the desktop is shut down and you're lying in bed and the light from the window mildly reflects it and you feel watched
❤️ 1
Avatar
The 540hz Zowie Fast-TN panel (1080p) seems like an absolute banger for ddnet, but way to expensive and shti resolution for all other tasks
Avatar
big L take but.. i dont care about 4K at all
Avatar
Avatar
Gumba
when im back to germany i want to get even more hz, I actually consider buying a Fast-TN panel with 200+ hz, but then its 1080p again. My two 1440p IPS panels kinda suck, one is definitely ghosting a bit, annoying, but ididnt nerd out on GtG values before. Alternatively i could get an OLEd panel, i kinda want to, because high hz, good GtG and good resolution, but im scared of this burn in thing. Imagine mermydon_glowcoala bruned in in the middle of my screen permanently cuz 6h teeworlds every day. GG
Jupstar ✪ 2024-08-12 21:48
if u buy oled, report how well it works xd
Exported 457 message(s)
Timezone: UTC+0