MCRcortex / MCRcortex/voxy

Screen flashes off for half a second upon world load/Voxy startup

Open
#605 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:
  1. Launch 26.2 with latest Voxy (0.2.17-beta), Sodium (0.9.1+mc26.2), and Fabric API (0.154.2+26.2)
  2. Join a singleplayer world or multiplayer server
  3. Screen flash right as the world finishes loading and Voxy initialises
Logs

https://mclo.gs/2aJcw6i

Additional info

Encountered this on 26.1.2 as well using Voxy (0.2.16-beta) before testing on latest with a clean instance to confirm the bug. I've since then bisected the issue back to being introduced in 1.21.11 Voxy (0.2.9-alpha) with Voxy (0.2.8-alpha) not having this issue.

$ fastfetch
OS: CachyOS x86_64
Kernel: Linux 7.1.3-2-cachyos
Display (DELL G2724D): 2560x1440 in 27", 165 Hz [External]
WM: niri 26.04 (Wayland)
CPU: AMD Ryzen 5 3600 (12) @ 4.21 GHz
GPU: NVIDIA GeForce GTX 1070 [Discrete]
$ inxi -Gxx
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nvidia
    v: 580.173.02 arch: Pascal pcie: speed: 8 GT/s lanes: 4 ports: active: DP-2
    empty: DP-1, DP-3, DVI-D-1, HDMI-A-1 bus-ID: 06:00.0 chip-ID: 10de:1b81
  Display: wayland server: X.org v: 1.21.1.24 with: Xwayland v: 24.1.13
    compositor: niri driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 1
  Monitor-1: DP-2 model: Dell G2724D res: 2560x1440 hz: 165 dpi: 109
    diag: 684mm (26.9")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: nvidia mesa v: 580.173.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
  API: Vulkan v: 1.4.350 surfaces: N/A device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1b81
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi wl: wlr-randr x11: xprop,xrandr
$ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 8192 MB
    Currently available dedicated video memory: 3679 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1070/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 580.173.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 580.173.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 580.173.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the flash during world loading with Voxy 0.2.17-beta, then compare startup behavior against Voxy 0.2.8-alpha and 0.2.9-alpha, where the report bisects the regression. Review the linked logs and Voxy initialization path; done means the world finishes loading without the screen turning off briefly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.