Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2020-10-15 00:00:00Z and 2020-10-16 00:00:00Z
Avatar
someone help me? My ddrace when nothing starts, it stays on a black screen and closes the game
Avatar
umm wtf
09:28
crashed almost 2 hours into game and wont let me timeout prot
Avatar
@Clavata intel gpu?
Avatar
he already did an update tho
09:39
i just wonder: as soon as the map is built its not magically loading more stuff, it just renders
Avatar
well ive had it crash in same way a couple times even in entities...
Avatar
but we had this reproducable bug
09:50
and did the driver update and it was gone, wasnt it?
Avatar
well it didnt happen again in the way we were reproducing it
09:54
and the ones ive had recently havent been reproducable by going to same place in map
09:54
just randomish
09:54
but they still do tend to happen in groups, like joining again after crash has high chance of crashing again rlly soon
Avatar
puhh that sounds really annoying
09:56
well if they are related to the OpenGL version, i guess we have no option than to revert everything
Avatar
also regarding the timeout prot not working, the crash doesnt close the game, just freezes it, so might have closed it before it counted as a crash
Avatar
you can always remove internet connection and close the game then just to be safe
09:59
then it wont trigger a disconnect
Avatar
still annoying to wait for timeout prot
Avatar
if you want try gfx_opengl_major 1 and restart
09:59
if it wont crash then anymore its related to the newer code
Avatar
what reverses that if i want to go back to newer code if it still keeps crashing
10:00
0?
Avatar
no 3
Avatar
default is gfx_opengl_major 3 gfx_opengl_minor 0 gfx_opengl_patch 0
Avatar
i might try that later, not gona be on much more 2day
Avatar
sure
10:05
maybe i shouldnt play nightlies
Avatar
its not about nightlys
10:05
the night is probably more stable than the current release
10:06
bcs we fixed alot of undefined behaviour lately
10:06
i dont want to crash in the middle of a 2 hour run
Avatar
well i can only tell that i never had a crash lately
10:07
without intel gpu xd
10:08
actually i hadnt really ever had a crash caused by opengl in the past years
10:09
and yeah the reports always come from intel users or users with 100 years old GPUs
10:09
i wish there would be someone with AMD or NVIDIA
10:09
then i'd atleast be safe its our code
Avatar
well if they are related to the OpenGL version, i guess we have no option than to revert everything
@Deleted User nooo
Avatar
well too many ppl play on laptops @Ryozuki sry 😄
Avatar
@Deleted User maybe just implement directx for windows peasants
Avatar
directx uses a different coordinate system and i'd need to code on windows
10:10
2x cancer
Avatar
bcs opengl is the coordinate system i leanred in shool and university
Avatar
windows stupidity limiting linux users again
Avatar
i have amd troll
Avatar
fck the system
Avatar
@cyberfighter the thing yesterday wasnt really a crash tho
10:11
it was just a bug in the nightly, but not critical
10:11
well heinrich and deen are on linux with intels
10:11
they dont have problems xd
10:11
so yeah always windows xd
10:12
windows sux
Avatar
what will u revert exactly
10:12
man i think these were great changes
10:12
sad
Avatar
i guess we'd just default to opengl 1.4 and look for some extensions so it can build mipmaps
Avatar
cant u use spir-v in directx?
10:13
glsl to spir-v and use it in directx
10:13
troll
10:14
@Deleted User wait
10:14
maybe these intel gpus
10:14
support vulkan
10:14
it wouldnt be rare
10:14
OpenGL, OpenCL, and Vulkan* drivers must be installed separately, and are only distributed with the game or application that requires it.
10:14
Information on supported APIs for Intel® Graphics Drivers, including DirectX, OpenGL, Vulkan* and OpenCL* versions.
Avatar
ofc thjjey support vulkan
10:15
they are from 2017 or newer
Avatar
maybe vulkan isnt bugged then
10:15
we can shrug off the ancient pcs
Avatar
they support every new shit, just brokenly xd
Avatar
@Deleted User maybe they support vulkan better, because for opengl they didnt have to care much cuz in windows everyone uses directx
Avatar
well amd supports vulkan better too
Avatar
well amd > intel
Avatar
opengl is dieing on desktops
10:16
i would love to use vulkan too
10:16
and see how u implement it
10:16
xd
Avatar
XD
10:16
i'd love to use vulkan, would be a great challenge
Avatar
you have way more setup code
10:17
but way more control
Avatar
but we wont drop support for acient pcs so doesnt matter anyway
10:18
@Deleted User is it that far fetched to think u would need something not ancient to play an updated game nowadays?
10:18
if i had a cpu from 99 i wouldnt expect to play games
10:18
xd
Avatar
if i am honest with u, im impressed these pcs still work
10:18
arent the fans dieing after like 8 years normally xD
Avatar
or the RAM
10:19
or the HDD
Avatar
maybe those cpus dont overheat
Avatar
the cpus will live 20 years
10:19
but laptops arent ez to replace
10:19
so these ppl would just buy new laptop
10:19
or generally arent aware how to replace stuff (edited)
Avatar
@Deleted User but dont thsoe cpus use old opengl
10:19
1.0
10:19
fallback?
Avatar
yes
Avatar
or these modern intel gpus
10:20
they dont fallback?
10:20
maybe they are buggy in 3.0
10:20
and not in 1.0
Avatar
so you want me to detect if opengl 4.3 or newer is supported and then just use vulkan?
10:20
else gl 1.x? XD
Avatar
just put every intel gpu to 1.0 xd
Avatar
yeah
10:21
the question is just, if its a bug by us or intel
Avatar
we could put donations towards buying you old laptops
10:21
so u can fix this
10:21
lmao
Avatar
even if the chance is high on intels side i don't want to be ignorant and just assume things
Avatar
well i tried a laptop with a intel cpu from 2010. the school of my father has alot of them
10:22
i tested everything on it, and everything worked fine xD
Avatar
stupid idea - what about using some library that translates OpenGL to D3D on Windows? 😄
11:06
avoiding broken OpenGL libs provided by the system
11:07
it seems Mesa supports even Windows and does exactly this
Avatar
doesnt it to the exact opposite?
11:07
dx to opengl
Avatar
no, that's Wine
11:07
https://en.wikipedia.org/wiki/Mesa_(computer_graphics) "Mesa is also not specific to Unix-like operating systems: on Windows for example, Mesa provides an OpenGL API over DirectX."
Mesa, also called Mesa3D and The Mesa 3D Graphics Library, is an open source software implementation of OpenGL, Vulkan, and other graphics API specifications. Mesa translates these specifications to vendor-specific graphics hardware drivers. Its most important users are two gr...
Avatar
so where can you download the binaries?
Avatar
no idea 😄
Avatar
i know of the software renderer https://fdossena.com/?p=mesa/index.frag
Software Rendering for OpenGL
11:10
but i dunno if that is the translation layer to dx already
Avatar
it won't be the fastest solution for sure
Avatar
well aslong it works we could just enable it for intel only
Avatar
or just ask Intel to fix their drivers 😄
11:18
by the way, i think there's some system-wide OpenGL implementation used by all GPU vendors on Windows, so why is it broken on Intel only?
11:19
or maybe each vendor provides their own OpenGL implementation optimized for their hardware
11:19
who knows
Avatar
windows only gives the standard opengl 1.1 impl, so it does not fail at that
11:21
rest are own dlls. that overwrite windows ones
11:21
https://github.com/pal1000/mesa-dist-win/releases tested this: gives around 320 fps xdd
Pre-built mesa software rasterizer drivers for Windows - pal1000/mesa-dist-win
11:22
i cant find the dx api that they talk about
11:22
i wonder if its actually existing or if wikipedia is just not upto date. i know mesa has DX9 support, but never heard of an OpenGL wrapper tbh
Avatar
yes, gallium nine is wonderful thing
11:24
Mesa devs don't care much about Windows anyway
Avatar
i dunno, since wine has a EVERYTHING to vulkan layer
11:24
that outperforms even the actual implementations
11:25
i only use them xd
Avatar
DXVK thing
Avatar
yeah and d9vk
Avatar
do you play some Windows games on Linux? 😄
Avatar
is just casually faster than using d9 directly xD
11:25
i only play on linux
Avatar
i rarely have bugs with steamplay or wine directly
11:26
actually the biggest problem is often the launcher of the games
11:26
not the games itself xd
11:26
but yeah steam is pretty fine actually
Avatar
stupid DRM everywhere 😄
Avatar
yeah xd
Avatar
i use gallium nine to play Crysis at almost the same FPS as on Windows
11:27
but it crashes sometimes 😦
Avatar
oh ok
Avatar
anyway
11:30
it seems there are no issues with vanilla TW client on Windows
11:30
or no?
Avatar
but nobody plays vanilla thats the problem xD
Avatar
i use vanilla 0.7 client 😄
Avatar
but u are on linux arent u? XD
Avatar
that closes the circle
Avatar
DDNet client is even in Debian repo
11:31
really nice
Avatar
also you cant compare ddnet to tw really
11:32
ddnet uses much more GL functions, it buffers stuff, uses 2d array textures
11:32
that are opengl 2.1+ and opengl 3.0 features
11:32
tw is basically opengl 1.x with mipmaps which is opengl 2.0
Avatar
oh, didn't know that
11:32
so DDNet has better graphics or something? 😄
Avatar
the renderer is better yes
11:33
more advanced
Avatar
higher FPS?
Avatar
with gl 3.3 you should easly get 1k more fps
11:33
in ddnet
11:34
except you are rendering alot of quads, which will cause a fast GPU bottleneck
11:34
but the debian package is probs outdated xD
11:34
better compile the current version or smth
11:36
easy even with vanilla 😄
11:36
apt show ddnet says 14.1-1
11:36
that's super old, right?
Avatar
its pretty old yes
Avatar
do you know if the package maintainer is someone from here?
Avatar
i think it was him: https://github.com/yangfl but not sure
yangfl has 49 repositories available. Follow their code on GitHub.
Exported 197 message(s)