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

Loading Issues for chromebook #70

Open
xrago opened this issue Feb 22, 2018 · 16 comments
Open

Loading Issues for chromebook #70

xrago opened this issue Feb 22, 2018 · 16 comments

Comments

@xrago
Copy link

xrago commented Feb 22, 2018

No description provided.

@noahcoetsee
Copy link
Contributor

I noticed this issue long ago. There seem to be some issues with shadow rendering. When I attempted to fix it using the options, it would always crash.

@noahcoetsee
Copy link
Contributor

@kripken Are you still actively attempting to fix bugs with your engine?

@kripken
Copy link
Owner

kripken commented Feb 27, 2018

I don't have time to improve this project myself (aside from keeping it working with latest compiler and browser updates), but I can help people that want to, if there's interest.

@noahcoetsee
Copy link
Contributor

I'd love to help out with improving this project and I think I may be able to help fix some of these bugs, but I don't have a wide understanding of how the engine works exactly. Should I look into the actual C++ engine rather than looking through the code here to gain a better understanding (since it's just compiled JavaScript)... What do you think, @kripken ?

@kripken
Copy link
Owner

kripken commented Feb 28, 2018

Hmm, depends on the bugs. Some might be in the C++ code, but I think I also saw bugs with the JS/web integration.

In general I'm not sure how many people use this project. For me, I use it as a testcase to check emscripten updates on (as a serious real-world codebase, it's good to see it works after a major update to the compiler). If there's something other people use it for, it might be be nice to fix issues they hit, but I'm not sure in what area that would be.

@noahcoetsee
Copy link
Contributor

Right now the only issue I have is the fact that it doesn't work on the Chrome WebGL that's supplied on Chromebooks. I think it has to do with the fact that Rectangular textures or something don't work. It's a really weird bug, as this code should work with the Chromebook's WebGL. I think the loading issues are issues between WebGL and the compiled JS.

@noahcoetsee
Copy link
Contributor

noahcoetsee commented Mar 1, 2018

By the way, the original poster failed to even provide the in-game console, so here it is when run on a Chromebook:

init: sdl
init: net
init: game
init: video: mode
init: video: misc
init: gl
Renderer: WebKit WebGL (WebKit)
Driver: OpenGL ES 2.0 (WebGL 1.0 (OpenGL ES 2.0 Chromium))
WARNING: No occlusion query support! (large maps may be SLOW)
WARNING: No texture rectangle support. (no full screen shaders)
Rendering using the OpenGL GLSL shader path.
init: console
init: gl: effects
init: world
init: sound
init: cfg
init: mainloop

@noahcoetsee
Copy link
Contributor

@kripken I'd love to help on this project, but I don't have a very in-depth understanding of how this works, so could you inform me a little bit more on this project? (I don't have time to take a very in-depth look myself atm)

@kripken
Copy link
Owner

kripken commented May 14, 2018

I'm not sure what the specific bug is here? All I see is "loading issues in chromebook". To investigate that, I'd look at what errors are thrown and debug from there.

@kripken
Copy link
Owner

kripken commented May 14, 2018

Errors might be in the dev console - I'm not sure if/how to view that in a chromebook, but if it's like desktop chrome, control-shift-j.

@noahcoetsee
Copy link
Contributor

Yeah, I'm looking into that right now!

@noahcoetsee
Copy link
Contributor

So it turns out the GLSL Shader Path doesn't work well with the Chromebook, which causes model flickering. It's very annoying, actually..

@kripken
Copy link
Owner

kripken commented May 16, 2018

Just out of curiosity, is that one specific model of chromebook, or all of them?

@noahcoetsee
Copy link
Contributor

I believe specifically this happens on the Samsung Chromebook 2 (this is what I am using to test).

It's probably related to the use of WebGL ES 2.0 or something with the built-in graphics drivers of this specific Chromebook (or maybe more models, as I said before, I am unsure)

@noahcoetsee
Copy link
Contributor

Here's a screenshot of what's happening: https://imgur.com/a/ZsMp1Rl

@noahcoetsee
Copy link
Contributor

noahcoetsee commented May 17, 2018

My previous thoughts were wrong, as it is apparent that on a Windows 10 Desktop, the same Drivers and Shaders are used

On Desktop:

init: sdl
init: net
init: game
init: video: mode
init: video: misc
init: gl
Renderer: WebKit WebGL (WebKit)
Driver: OpenGL ES 2.0 (WebGL 1.0 (OpenGL ES 2.0 Chromium))
WARNING: No occlusion query support! (large maps may be SLOW)
WARNING: No texture rectangle support. (no full screen shaders)
Rendering using the OpenGL GLSL shader path.
init: console
init: gl: effects
init: world
init: sound
init: cfg
init: mainloop
game mode is efficiency
Efficiency: You spawn with all weapons and armour. There are no items. Frag everyone to score points.
read map packages/base/colos.ogz (0.1 seconds)
Colos by Gregor Koch

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