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

Hang upon creating new singleplayer world #18

Closed
medavox opened this issue Jan 23, 2020 · 4 comments
Closed

Hang upon creating new singleplayer world #18

medavox opened this issue Jan 23, 2020 · 4 comments

Comments

@medavox
Copy link
Contributor

medavox commented Jan 23, 2020

Exception in thread "Main thread" java.lang.Exception: Unimplemented system on this backend: interface xyz.chunkstories.api.graphics.systems.dispatching.DefferedLightsRenderer
	at xyz.chunkstories.graphics.opengl.OpenglGraphicsBackend.getOrCreateDispatchingSystem(OpenglGraphicsBackend.kt:176)
	at xyz.chunkstories.graphics.opengl.graph.OpenglPass.<init>(OpenglPass.kt:63)
	at xyz.chunkstories.graphics.opengl.graph.OpenglRenderTask.<init>(OpenglRenderTask.kt:20)
	at xyz.chunkstories.graphics.opengl.graph.OpenglRenderGraph.<init>(OpenglRenderGraph.kt:25)
	at xyz.chunkstories.graphics.opengl.OpenglGraphicsBackend.drawFrame(OpenglGraphicsBackend.kt:145)
	at xyz.chunkstories.graphics.GraphicsEngineImplementation.renderGame(GraphicsEngineImplementation.kt:57)
	at xyz.chunkstories.client.ClientImplementation.mainLoop(ClientImplementation.kt:134)
	at xyz.chunkstories.client.ClientImplementation.<init>(ClientImplementation.kt:116)
	at xyz.chunkstories.client.ClientImplementation$Companion.main(ClientImplementation.kt:189)
	at xyz.chunkstories.client.ClientImplementation.main(ClientImplementation.kt)

Built on my machine from the following commits:

repo commit
chunkstories c0ff1ac
core 2c2a4bb14fdbc6336fc0d7fd9cba3a9709ee58bf
api 20c4620fed5fae3f5c72236a938ca13ccb07b76d

my JRE version:

java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

my JDK version: javac 1.8.0_102

My OS:

Linux Mint 18.3 Sylvia
(Based on Ubuntu 16.04 LTS Xenial Xerus)

Game was run using this command:

java -Djava.awt.headless=true -Xmx2G -jar client/build/libs/chunkstories.jar --backend=OPENGL --core=../chunkstories-core/res/

, because java complained that Unrecognized option: -XstartOnFirstThread

@Hugobros3
Copy link
Owner

Duplicate of #13 Will fix when I merge the vulkan renderer improvements I'm working on (branch "farterrain" and "dev" in api), in the meantime you can just work arround the issue like in dector@5053f48

@Hugobros3
Copy link
Owner

Does Vulkan not work for you ? It's definitely the better backend with the most work put into it, GL is mostly a fallback path

@Hugobros3
Copy link
Owner

"fixed" (workarround discussed in the other issue implemented) in 03e842b#diff-af38d8f2f439ab601d2da9bd029e8f36R62

@Hugobros3
Copy link
Owner

closing this issue because dup and #13 will be left open for tracking the underlying issue

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