https://bugzilla.redhat.com/show_bug.cgi?id=2437502



--- Comment #306 from Nicola Taibi <[email protected]> ---
Subject: Review Request: spacegl – update to 2026.10.22.12 (supersedes
2026.10.03.04)

Dear Reviewers,

I would like to submit an updated package of SpaceGL, a persistent multi-user
3D space exploration and tactical combat simulator written in C, for your
review. It consists of an authoritative server, a command client, and
OpenGL/GLFW and Vulkan viewers. The previous submission was
spacegl-2026.10.03.04-1.fc44.i686.rpm. The new version is 2026.10.22.12-1, and
I would be grateful if you could review it in place of the earlier one.

Package files

Fedora 44 i386:
  Spec URL: 
https://download.copr.fedorainfracloud.org/results/ntaibi/space-gl/fedora-44-i386/11191090-spacegl/spacegl.spec
  SRPM URL: 
https://download.copr.fedorainfracloud.org/results/ntaibi/space-gl/fedora-44-i386/11191090-spacegl/spacegl-2026.10.22.12-1.fc44.src.rpm

Fedora 44 x86_64:
  Spec URL: 
https://download.copr.fedorainfracloud.org/results/ntaibi/space-gl/fedora-44-x86_64/11191090-spacegl/spacegl.spec
  SRPM URL: 
https://download.copr.fedorainfracloud.org/results/ntaibi/space-gl/fedora-44-x86_64/11191090-spacegl/spacegl-2026.10.22.12-1.fc44.src.rpm

Upstream: https://github.com/nicolataibi/spacegl (GPL-3.0-or-later)

Summary of changes since 2026.10.03.04

1. Packaging and dependencies

The glew/glew-devel build dependency has been dropped. The OpenGL viewer
(spacegl_3dview) now uses a loader based on glfwGetProcAddress, which fixes the
glewInit() failure on Wayland/EGL. The viewer now works on both Wayland and
X11.
The spec passes -DSPACEGL_TICK_BENCH_GATE=OFF in %conf. The wall-clock tick
benchmark therefore still prints its numbers in the build log but can no longer
fail %check on a shared builder.
The timing-sensitive tests (server_tick_bench, gdd_bench, stability, golden)
are now marked RUN_SERIAL. This resolves the %check failures previously
observed on COPR Fedora 45.
A LICENSE fix has been applied in the spec, and the sanitizer runtime
BuildRequires have been added.
The Vulkan SDK resolution is now a documented chain (VULKAN_SDK, then a pinned
SDK, then the system Vulkan loader). The system leg matches what is available
on Fedora.
The technical manual (README.pdf) is now generated in readme_assets/ and
shipped with the spacegl-doc subpackage.

2. Server correctness fixes

Wormhole jumps were never executed because of a duplicated, empty
NAV_STATE_WORMHOLE branch in update_game_logic(). They are now processed
correctly.
Random system damage always hit the same system because of a constant rand_r()
seed. The seed now varies and is thread-safe in OpenMP regions.
Wormhole jump damage is now reported as structural stress rather than “Hull
impact!”. Gameplay values are unchanged.
A hang in the command parser, found by the libFuzzer CI job, has been fixed.
Very large angle values (for example 1e12 or inf) caused near-infinite loops in
normalize_upright(). The code now uses fmod() and maps nan/inf to 0, and a
regression seed has been added to the fuzz corpus.
A data race in a GPU shader (gdd_expand.comp), and OpenMP work-stealing
assertions under clang/libomp, have been fixed.

3. Security and robustness

Master key management now supports SPACEGL_KEY_FILE. The file must be mode
0600, and group-readable files are rejected. If no key is set, a key is
generated in ~/.spacegl/key (0600 file, 0700 directory). The legacy SPACEGL_KEY
environment variable is still supported.
The network layer has TCP tuning (TCP_NODELAY, keepalive), per-connection
token-bucket rate limiting, monotonic frame ordering checks, and automatic
client reconnection with exponential backoff.
Bounds-checking regression tests (radio cipher table, network object/beam
counts, target indices) run under ASan/UBSan. Target resolution now goes
through typed accessors (player_by_id, npc_by_id, and so on).
The client no longer crashes with SIGSEGV on Ctrl+C/SIGTERM. The listener
thread is now joined before the shared memory is unmapped.

4. Rendering (Vulkan GPU-driven path, enabled with SPACEGL_GPD=1)

Nebulae and black holes have a new look: iridescent spherical nebulae, black
holes with a pure black event horizon, a red iridescent accretion disk and a
lensing halo. The 32 exotic compact objects (types 100–131) share this look.
The wormhole jump sequence has been rebuilt as an Einstein–Rosen bridge, with a
black/white hole pair at each end and a staged opening and closing.
Several defects have been fixed: nebulae drawn as ellipsoids, lone ships drawn
as white spheres (uninitialized descriptor writes), a push-constant layout
mismatch, and Vulkan validation-layer errors (presentation semaphores, buffer
usage flags).
The periodic performance log is now silent unless SPACEGL_GDD_PERF=1.
The CPU-driven Vulkan and OpenGL paths are unchanged.

5. Flight-stick (pilot) support

A new “vec” command allows vector thrust without altering the ship’s attitude.
The stick is now a closed-loop rate controller on the ship’s live course. The
yaw direction and throttle behaviour have been corrected, and the hat-switch
retro-thruster now works.
The phaser trigger now sends a valid command, and command uplink is
rate-limited and change-detected.

6. Quality assurance and documentation

The test suite has grown to 17 tests. These cover CPU/GPU data-layout
contracts, a region-based golden render comparison, a server tick benchmark, a
60-second stability test, fuzz corpus regression, and rate-limit/bounds tests.
CI covers gcc and clang in Release and Debug (ASan/UBSan), with cppcheck and
rpmlint.
Added or updated documentation: README, INSTALL, BUILD, FAQ, DEVELOPMENT,
SECURITY, CONTRIBUTING, CODE_OF_CONDUCT and ACCESSIBILITY.

Both builds correspond to COPR build 11191090. I would appreciate your
feedback, and I will address any issues promptly.

Thank you for your time and consideration.

Kind regards,
Nicola Taibi
https://github.com/nicolataibi/spacegl


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2437502

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202437502%23c306

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to