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

Infinite loop video restart at startup #114

Open
cengique opened this issue Jul 26, 2020 · 1 comment
Open

Infinite loop video restart at startup #114

cengique opened this issue Jul 26, 2020 · 1 comment

Comments

@cengique
Copy link
Member

cengique commented Jul 26, 2020

When compiling master on Gentoo Linux and running it after downloading the pk3s, I get an infinite loop at startup. It's a blank screen that keeps shutting down. Sometimes the screen size keeps changing, but it still happens when the screen size is set to be fixed. According to the console log, it's happening some time after loading the GrangerHub UI files from the new VM.

(note the window size below does not affect the error, 1920x1080 results in the same)

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 1916 x 1062 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: enabled
compressed textures: disabled
----- finished R_Init -----
Loading vm file vm/ui.qvm...
File "vm/ui.qvm" found in "/usr/share/games/tremulous//gpp/vms-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3"
...which has vmMagic VM_MAGIC_VER2
Loading 887 jump table targets
VM file ui compiled to 990794 bytes of code
ui loaded in 5150880 bytes on the hunk
Loaded 47 of 47 emoticons (MAX_EMOTICONS is 64)
UI menu file 'ui/menus.txt' loaded in 189 msec
UI menu file 'ui/ingame.txt' loaded in 10 msec
UI menu file 'ui/tremulous.txt' loaded in 11 msec
UI help file 'ui/help.txt' loaded in 0 msec (16 infopanes)
File "ui/" found in "/usr/share/games/tremulous//gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3"
********************
ERROR: Q_strncpyz: NULL src
********************
forcefully unloading ui vm
RE_Shutdown( 0 )

Running ./tremulous with +set fs_basepath /usr/share/games/tremulous/ (the original location for 1.1 and GPP files) solves this problem, but loads old IU and menus.

On this system, the GrangerHub 1.3 client used to compile and work fine. Not sure what happened recently to break it. I can't get any debug information from the VM, so I'm not sure where the error is coming from.

I can confirm that downloading the pre-compiled binary v1.3.0-alpha.0.14 does NOT have this problem, and works fine. Only compiling the latest version causes the issue.

@Buom01
Copy link
Member

Buom01 commented Jan 4, 2021

Hey, I think that's related to #111
I think that it would be merged later else

@dGr8LookinSparky

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

2 participants