Unvanquished Development activity

Events from:

Unvanquished
Unvanquished
Saturday, 27 July 2024
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3074 · July 27, 2024 15:08

Someone said bisecting leads to 117e11b.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1180 · July 27, 2024 13:49

We'd need millions of surfaces to exceed this, so it's fine.

@github-advanced-security github-advanced-security[bot] bot commented on DaemonEngine/Daemon#1180 · July 27, 2024 13:36

Multiplication result converted to larger type Multiplication result may overflow 'unsigned int' before it is converted to 'unsigned long'. Show mo…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1137 · July 27, 2024 13:16

I've added a comment about MaterialPack here.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 27, 2024 12:38

Thx, biggest part of the changes done now finally.

@VReaperV VReaperV pushed to DaemonEngine/Daemon · July 27, 2024 12:38
1 commit to master
  • @VReaperV f960177
    Renderer: Implement material system
@VReaperV VReaperV merged DaemonEngine/Daemon#1105 · July 27, 2024 12:38
Implement material system #1105

Base changes for implementing a material system. The goal of this system is to improve performance by reducing the amount of state changes and data…

+5,574 -382
157 comments
@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 27, 2024 11:57

I would appreciate this comment in code.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1137 · July 27, 2024 11:24

Rebased on material branch now since I'm just waiting for someone to approve the changes in #1105 so I can merge them.

Unvanquished
Unvanquished
Friday, 26 July 2024
@sweet235 sweet235 commented on Unvanquished/Unvanquished#3061 · July 26, 2024 19:46

To me it would make more sense to trace a constant distance below the player's feet. That would miss any upward slopes. Better trace from the pla…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 26, 2024 18:17

If it's ready to merge I can make a PR enabling bindless and detecting drivers for selective disablement after this is merged. Sure, that'd work …

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 26, 2024 18:15

gpuinfo.org is the one to check for hardware capabilities/extension availability yes. I have some Intel HD (from UHD generation) but I doubt it su…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 26, 2024 16:39

According to the Intel Xe on Windows 10 supports bindless texture: https://opengl.gpuinfo.org/displayreport.php?id=13101 I don't own any Intel Xe. I…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 26, 2024 16:35

If it's ready to merge I can make a PR enabling bindless and detecting drivers for selective disablement after this is merged. Is there something r…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 26, 2024 16:30

In Khronos wiki: https://www.khronos.org/opengl/wiki/Bindless_Texture I read this: It is implemented across much of the OpenGL 4.x hardware spectr…

@slipher slipher commented on Unvanquished/Unvanquished#3074 · July 26, 2024 13:33

Why are there ghost eggs at all? Could be because the buildable has a different bbox size. LGTM

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 26, 2024 11:08

Nvidia works fine with it on Windows, I can maybe test it on an Intel iGPU later as well. That intel iGPU apparently doesn't support bindless tex…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 26, 2024 11:04

Here is an example of exhaustive search reporting the buggy driver version and disabling the extension when it's detected: I've now added this pa…

@cu-kai cu-kai commented on Unvanquished/Unvanquished#3074 · July 26, 2024 09:13

Please add padding after the opening / before the closing parenthesis to match the style.

@sweet235 sweet235 opened Unvanquished/Unvanquished#3074 · July 26, 2024 08:00
Kill ghost buildings to ensure decrementing the spawn counters #3074

You can encounter ghost eggs frequently in the wild. They are very annoying. The egg does not exist, but the spawn counter will never go down to ze…

+1 -0
Daemon Engine
Daemon Engine
Wednesday, 24 July 2024
@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 24, 2024 21:18

We already do such kind of disablement for other buggy drivers / hardware, you can look for foundIntel and foundNvidia340. I'll look at those, th…

@slipher slipher released v0.2.1 of Unvanquished/updater · July 24, 2024 19:43

New features

  • Windows: configure registry to select high-performance GPU on dual-GPU systems
  • unv:// URL protocol handler now routes through the updater instead of launching Daemon directly. This me…
Read more
@slipher slipher created a tag in Unvanquished/updater · July 24, 2024 19:13

Updated Jul 24

@Slippy2k Slippy2k forked Slippy2k/crunch from DaemonEngine/crunch · July 24, 2024 18:55

Advanced DXTc texture compression and transcoding library and tool, upgraded with Unity improvements, added features, extended system and hardware …

C++ 16 Updated Jul 21

@slipher slipher deleted branch slipher-patch-1 in Unvanquished/updater · July 24, 2024 18:31

Updated Jul 24

@slipher slipher pushed to Unvanquished/updater · July 24, 2024 18:31
1 commit to master
  • @slipher bd169b5
    deployment.md: updater container names to match README
@slipher slipher pushed to Unvanquished/updater · July 24, 2024 18:29
2 commits to master
  • @slipher b8cb723
    Linux: handle issues with QStandardPaths::writableLocation
  • @slipher 7ff44bf
    Linux: fix filename for xdg-mime protocol command
@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 24, 2024 18:17

AMD OGLP on Linux produces a black screen with bindless textures. The problem is that both AMD OGLP on Linux and AMD Adrenalin on Windows has GL_VE…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 24, 2024 17:56

We already do such kind of disablement for other buggy drivers / hardware, you can look for foundIntel and foundNvidia340. Running the game with bi…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 24, 2024 17:28

If that's working properly on your end with buggy/non-buggy versions I'll add it to the pr later, unless you wanna add that yourself.

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 24, 2024 17:25

I edited the patch to make it more performant.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 24, 2024 17:25

I was thinking of just a warning print, but I guess it's better to disable it as well on those versions since we know it doesn't work properly there.

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 24, 2024 16:40

Here is an example of exhaustive search reporting the buggy driver version and disabling the extension when it's detected: diff --git a/src/engine/…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 24, 2024 15:42

Good, once that is fixed I'll enable the extension but default. Yeah, a blacklist for driver versions and print a warning about a driver update req…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 24, 2024 15:41

I suppose this is somewhat the case now since I did have to put some things into separate shader code files.

@illwieckz illwieckz closed an issue in DaemonEngine/CBSE-Toolchain · July 24, 2024 12:53
SyntaxWarning: invalid escape sequence '\s' #42

[267/509] Generating CBSE entities for Unvanquished/src/sgame/entities.yaml Unvanquished/tools/cbse/CBSE.py:511: SyntaxWarning: invalid escape sequ…

3 comments
@illwieckz illwieckz opened an issue in Unvanquished/Unvanquished · July 24, 2024 12:53
CBSE: SyntaxWarning: invalid escape sequence '\s' #3073

Initially reported there: DaemonEngine/CBSE-Toolchain#42 [267/509] Generating CBSE entities for Unvanquished/src/sgame/entities.yaml Unvanquished…

@illwieckz illwieckz commented on DaemonEngine/CBSE-Toolchain#42 · July 24, 2024 12:50

Ah lol, well, the issue is real. :D

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 24, 2024 12:50

The remaining Mesa radeonsi error has a pending fix: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30338 I seen the proposed piglit t…

@slipher slipher commented on DaemonEngine/CBSE-Toolchain#42 · July 24, 2024 12:21

We don't use this repository any more.

@illwieckz illwieckz opened an issue in DaemonEngine/CBSE-Toolchain · July 24, 2024 11:41
SyntaxWarning: invalid escape sequence '\s' #42

[267/509] Generating CBSE entities for Unvanquished/src/sgame/entities.yaml Unvanquished/tools/cbse/CBSE.py:511: SyntaxWarning: invalid escape sequ…

Unvanquished
Unvanquished
Tuesday, 23 July 2024
@slipher slipher pushed to Unvanquished/updater · July 23, 2024 18:54
2 commits to 0.2.1-rc
@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 23, 2024 11:41

r_useMaterialSystem also renamed to r_materialSystem, in line with other r_* cvars. Great!

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 23, 2024 11:36

r_useMaterialSystem also renamed to r_materialSystem, in line with other r_* cvars.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 23, 2024 11:24
@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 23, 2024 11:11

Suggested minor change (make the r_arb_bindless_texture cvar latched): diff --git a/src/engine/sys/sdl_glimp.cpp b/src/engine/sys/sdl_glimp.cpp in…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 23, 2024 11:10

Removed all the && false and commented out stuff related to vertex/bone animation.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 23, 2024 11:09

Replaced with a different comment that has an actual explanation.

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 23, 2024 10:03

Suggested minor change (make the r_arb_bindless_texture cvar latched): diff --git a/src/engine/sys/sdl_glimp.cpp b/src/engine/sys/sdl_glimp.cpp ind…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1105 · July 23, 2024 10:01

The bug identified on Mesa now has been bisteced: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11535 And a fix has been proposed by Timothy …

@illwieckz illwieckz commented on Unvanquished/updater#78 · July 23, 2024 08:09

So I rebased, and race conditions should now be avoided. Here is an example of current.json: https://cdn.unvanquished.net/current.json This new fil…

Unvanquished
Unvanquished
Monday, 22 July 2024
@slipher slipher merged Unvanquished/updater#133 · July 22, 2024 20:32
Minor cleanup with QmlDownloader and qmlRegisterType #133

Pass stuff in QmlDownloader constructor instead of setting members directly. The qmlRegisterType thing needed to be tweaked so that it doesn't requ…

+15 -10
@slipher slipher pushed to Unvanquished/updater · July 22, 2024 20:32
1 commit to master
  • @slipher cb1d60c
    Cleanup: pass stuff in QmlDownloader constructor
@slipher slipher pushed to Unvanquished/updater · July 22, 2024 20:32
1 commit to master
  • @slipher 74a3db2
    Toggle or stop download thread-safely
@slipher slipher merged Unvanquished/updater#132 · July 22, 2024 20:32
Toggle or stop download thread-safely #132

The download loop which downloads using libaria2 runs in a secondary thread. The downloader's toggle and stop functions were called from the main t…

+19 -4
@slipher slipher created a branch in Unvanquished/updater · July 22, 2024 13:20
@slipher slipher created a branch in Unvanquished/updater · July 22, 2024 12:57

Updated Jul 24

@slipher slipher merged DaemonEngine/Daemon#1218 · July 22, 2024 10:13
Server: fix buggy configstring transmission #1218

The bug is described in #1215.

+42 -39
4 comments
@slipher slipher pushed to DaemonEngine/Daemon · July 22, 2024 10:13
2 commits to master
  • @slipher e9ac890
    Fix buggy config string transmitting ('bcsN')
  • @slipher e58c771
    Warn when a server->client command is too long
@sweet235 sweet235 pushed to Unvanquished/Unvanquished · July 22, 2024 08:34
1 commit to master
@sweet235 sweet235 merged Unvanquished/Unvanquished#2948 · July 22, 2024 08:34
add navgen option walkableRadiusFactor #2948

There is a margin between the edge of a navmesh, and the actual geometry causing this edge. Look at the level4 navmesh on map antares for example: N…

+16 -3
7 comments
@sweet235 sweet235 merged Unvanquished/Unvanquished#3062 · July 22, 2024 08:33
minimap: different color and outline for player arrow #3062

Since we added cg_minimapRotate, the player arrow on the minimap is not always pointing up anymore. Increase its visibility by making it orange wit…

+12 -1
2 comments
@sweet235 sweet235 pushed to Unvanquished/Unvanquished · July 22, 2024 08:33
1 commit to master
  • @sweet235 18b0850
    minimap: different color and outline for player arrow (#3062)
@sweet235 sweet235 commented on Unvanquished/Unvanquished#2948 · July 22, 2024 08:19

Rebased to fix conflict with master. Reduced the allowed range of values to the interval from 0.6 to 2.0. This prevents problems on all known maps.

Unvanquished
Unvanquished
Sunday, 21 July 2024
@slipher slipher opened Unvanquished/updater#133 · July 21, 2024 15:07
Minor cleanup with QmlDownloader and qmlRegisterType #133

Pass stuff in QmlDownloader constructor instead of setting members directly. The qmlRegisterType thing needed to be tweaked so that it doesn't requ…

+15 -10
@slipher slipher opened Unvanquished/updater#132 · July 21, 2024 14:58
Toggle or stop download thread-safely #132

The download loop which downloads using libaria2 runs in a secondary thread. The downloader's toggle and stop functions were called from the main t…

+19 -4
@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 21, 2024 14:08

Well I'm imagining that it could be different because you have two surfaces writing their depth at once, rather that one at a time. Writes to the…

@slipher slipher commented on DaemonEngine/Daemon#1105 · July 21, 2024 13:41

Well I'm imagining that it could be different because you have two surfaces writing their depth at once, rather that one at a time. I don't actuall…

@illwieckz illwieckz deleted branch illwieckz/multithread in DaemonEngine/crunch · July 21, 2024 13:34

Updated Jul 21

@illwieckz illwieckz pushed to DaemonEngine/crunch · July 21, 2024 13:34
2 commits to master
  • @illwieckz 0e2e553
    crnlib: no need to set default g_number_of_processors to default
  • @illwieckz 461ff37
    crnlib: g_number_of_processors is defined on every platform
@illwieckz illwieckz merged DaemonEngine/crunch#72 · July 21, 2024 13:34
crnlib: g_number_of_processors is defined on every platform #72

g_number_of_processors is defined on every platform no need to set default g_number_of_processors to default

+0 -6
1 comment
@illwieckz illwieckz deleted branch illwieckz/tga-x-flip in DaemonEngine/crunch · July 21, 2024 13:33

Updated Jul 21

@illwieckz illwieckz pushed to DaemonEngine/crunch · July 21, 2024 13:32
2 commits to master
@illwieckz illwieckz merged DaemonEngine/crunch#68 · July 21, 2024 13:32
Support horizontally flipped TGA images #68

Support horizontally flipped TGA images. The TGA format is a bottom-left format by default: the first byte of the first column is expected to be di…

+498 -98
17 comments
@illwieckz illwieckz pushed to Unvanquished/Unvanquished · July 21, 2024 13:27
1 commit to master
  • 7a14d6b
    Update options_player.rml
@illwieckz illwieckz merged Unvanquished/Unvanquished#3072 · July 21, 2024 13:27
add ui setup to cg_showObituaries #3072

cg_showObituaries have now a checkbox for enable/disable it.

+2 -0
1 comment
Daemon Engine
Daemon Engine
Saturday, 20 July 2024
@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 17:51

But the depth pass is also a material right? So how does it work during that part? Yes. Whichever fragment is closer will overwrite depth, it's n…

@slipher slipher commented on DaemonEngine/Daemon#1105 · July 20, 2024 16:27

In general, they can't since depth buffer guarantees that only one of the fragments will end up being processed. But the depth pass is also a mat…

@slipher slipher commented on DaemonEngine/Daemon#1105 · July 20, 2024 16:26

Oops I mean -1, 0. The 0 is fogNum

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 14:01

It's also used to bind the correct shader program.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 13:56

Vertex/bone animation not supported currently and since this only draws BSP surfaces currently it's also not needed right now. I'll probably remove…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 13:52

It's just an abstraction to match a range of materials with the 3 different calls to RB_RenderDrawSurfaces() with 3 different shaderSort_t ranges in

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 13:37

Normally sky is drawn only when sky brushes are processed in RB_RenderDrawSurfaces(), which are only added in R_AddWorldSurfaces(). Since the latte…

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 13:31

Isn't 0 used for world lightmap? Skybox doesn't use any lightmaps at all, so -1, which I believe means no lightmap, is what makes sense there to me.

@VReaperV VReaperV commented on DaemonEngine/Daemon#1105 · July 20, 2024 13:28

So the level of parallelism here is that one "material" is rendered at a time, but all surfaces using the material can be drawn simultaneously. Is…

@slipher slipher commented on DaemonEngine/Daemon#1105 · July 20, 2024 12:26

IIUC all these bools are just scratch variables used during the world command buffer generation, and not part of the real material definition? This…

@slipher slipher commented on DaemonEngine/Daemon#1105 · July 20, 2024 12:11

Please remove commented code blocks