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

Vivecraft crash after Mojang screen: Couldn't toggle fullscreen org.lwjgl.LWJGLException: Failed to set display mode (-2). #323

Open
r2hubert opened this issue Dec 18, 2018 · 5 comments

Comments

@r2hubert
Copy link

When starting vivecraft with Steam VR the client crash with this error:

[09:25:20] [main/ERROR]: Couldn't toggle fullscreen
org.lwjgl.LWJGLException: Failed to set display mode (-2).
at org.lwjgl.opengl.WindowsDisplay.nSwitchDisplayMode(Native Method) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at org.lwjgl.opengl.WindowsDisplay.switchDisplayMode(WindowsDisplay.java:358) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at org.lwjgl.opengl.Display.switchDisplayMode(Display.java:359) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at org.lwjgl.opengl.Display.setDisplayModeAndFullscreenInternal(Display.java:507) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at org.lwjgl.opengl.Display.setFullscreen(Display.java:475) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at net.minecraft.client.Minecraft.func_71352_k(Minecraft.java:2346) [bib.class:?]
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:920) [bib.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:636) [bib.class:?]
at net.minecraft.client.main.Main.main(Main.java:129) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at com.mtbs3d.minecrift.main.VivecraftMain.main(VivecraftMain.java:117) [VivecraftMain.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: java.lang.IllegalStateException: Display not created
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at org.lwjgl.opengl.Display.update(Display.java:641)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at org.lwjgl.opengl.Display.update(Display.java:628)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at net.minecraft.client.Minecraft.setupRenderConfiguration(Minecraft.java:4599)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1558)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:656)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at net.minecraft.client.main.Main.main(Main.java:129)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at java.lang.reflect.Method.invoke(Method.java:497)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at com.mtbs3d.minecrift.main.VivecraftMain.main(VivecraftMain.java:117)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at java.lang.reflect.Method.invoke(Method.java:497)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[09:25:20] [main/INFO]: [net.minecraft.client.Minecraft:func_71411_J:1570]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[09:25:22] [main/FATAL]: Unreported exception thrown!

@r2hubert r2hubert changed the title Vivecraft crash after Mojang screen Vivecraft crash after Mojang screen: Couldn't toggle fullscreen org.lwjgl.LWJGLException: Failed to set display mode (-2). Dec 18, 2018
@Espergium
Copy link

Pastebin the crash log.

@r2hubert
Copy link
Author

@r2hubert
Copy link
Author

Here is the full log.
latest.log

@r2hubert
Copy link
Author

r2hubert commented Jan 6, 2019

Found the issue. I have a mirror monitor as soon as I unplugged it the issue disappeared.

@Techjar
Copy link
Collaborator

Techjar commented Jan 6, 2019

Yeah that must be a bug in LWJGL when handling certain monitor layouts. Turning off fullscreen should also work.

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