Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Unspecific missing surfaces #894

Open
dsvensson opened this issue Feb 22, 2024 · 9 comments
Open

BUG: Unspecific missing surfaces #894

dsvensson opened this issue Feb 22, 2024 · 9 comments

Comments

@dsvensson
Copy link
Collaborator

dsvensson commented Feb 22, 2024

ezQuake version:
3.6.4

OS/device including version:
Windows and macOS at least, likely not OS-specific.

Describe the bug
Sometimes some surfaces (few, most of the map is drawn) are not drawn. The error is stable when moving around if I understand correctly. Not enough reports to draw any conclusions on if it's a specific texture that's missing on all places across the map or if it's missing geometry somehow.

Happens both in modern and classic renderer.

To Reproduce
No pattern identified yet. Fairly rare.

Expected behavior
Correct drawing.

Screenshots
See screenshots in comments.

Additional context
Started in 3.6.4, no bisect made, not yet seen by any dev, vid_restart fixes the issue. Possibly a free'd texture that has been a bug, but was first exposed with newer 3rd party deps that came with 3.6.4, a bisect will help here.

Would be great if the people experiencing this can compare their hardware and configs and see if they have something in common. Has been known to happened with modern Nvidia hardware and updated drivers.

@dsvensson
Copy link
Collaborator Author

from xero,
image

@dsvensson
Copy link
Collaborator Author

from nikke,
image

@dsvensson
Copy link
Collaborator Author

from er,
image

@dsvensson
Copy link
Collaborator Author

dsvensson commented Feb 22, 2024

from gnz, on macOS so old renderer,
image

Update: This particular issue has got a workaround now. It's isolated to macOS arm64 based on the current level of understanding.

@hoffarn
Copy link

hoffarn commented Feb 22, 2024

Sometimes if i load a cfg during a game i get this bug when the map is reloaded. I havnt been able to reproduce it but it occurs a couple of times a week.

I use Win 11 with latest nvidia drivers. In nvidia control panel i have changed some settings specific to ezQuake, Power management mode: Prefer maximum performance, Texure filtering anisotropic: ON. Texture quality: High performance. Texture filtering - Trilinear optimasation - ON.

Some settings in my config:

//Texture Settings
gl_externalTextures_world "0"
gl_max_size "16"
gl_texturemode "gl_nearest_mipmap_linear"

//xero

@dsvensson
Copy link
Collaborator Author

dsvensson commented Feb 23, 2024

Something lacking here from everyone experiencing this issue is frequency of it happening. Has it happened once since release, does it happen a few times a week, does it happen daily, does it happen first after client has been running for a few hours or can happen first map after a fresh start?

I can prepare a couple of different builds to easily find the issue, but that requires attention to detail and not launching the wrong client and marking a working build as broken. Perhaps I should figure out a way to hardcode a message in the UI when running such a build so it's guaranteed to end up in screenshots.

@dsvensson
Copy link
Collaborator Author

None of the above screenshots use the new gl_outline, are perhaps all above screenshots from the old renderer?

@marffinn
Copy link

I recreated the glitch where the ceiling and floor textures are waving on entire map, dm4, dm2, aero eveywhere. And after reconnect it persists.
Steps I did on ezq running for about 20 minutes <-- so not that long to trigger that strange warning "that the machine is up super long and what not" <--- someone on forum said it might be a culprit, but in this case it's not.

first i typed in:
cl_maxfps 1001 <-- previously I had 1155,
vid_conwidth 600 -> vid_restart
vid_conwidth 480 -> vid_restart
vid_conwidth 320 -> NO vid restart -> instead /map aerowalk
after map loaded -> vid_restart
vid_conwidth 800 -> vid_restart <--- after this one, the textures go crazy
my ezq is 3.6.4 win64:gl
here's my cfg if it helps
https://github.com/marffinn/QuakeWorld-Server-Browser/blob/main/config.cfg
have fun not finding the bug :D

@dsvensson
Copy link
Collaborator Author

dsvensson commented Sep 29, 2024

Always include GPU model, driver version. As the original description says, talk to the people mentioned in this thread to see if you have more similarities in your hardware/OS setup.

Probably also worthwhile running https://www.memtest86.com/ over the night to rule out broken non-GPU hardware. It's free, and you just write it to a usb stick (tutorial video on download page) and boot and start the test and it'll start copying data in and out of ram in various ways. Good at detecting faulty hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants