I'm unable to start minecraft 1.17 from the official launcher. It crashes with these errors on the terminal that its launched from:
[0609/134305.047311:ERROR:gl_surface_egl.cc(767)] EGL Driver message (Critical) eglMakeCurrent: Failed to make the GLX context current
[0609/134305.050853:ERROR:gl_surface_egl.cc(767)] EGL Driver message (Critical) eglMakeCurrent: Failed to make the GLX context current
[0609/134305.051064:ERROR:skia_output_surface_impl_on_gpu.cc(1204)] Failed to make current.
[0609/134305.052603:WARNING:xproto_util.cc(51)] X error received: serial 475, error_code 170 (GLXBadWindow), request_code 151, minor_code 5 (X_GLXMakeCurrent)
[0609/134305.053102:WARNING:xproto_util.cc(51)] X error received: serial 476, error_code 162 (GLXBadContextTag), request_code 151, minor_code 5 (X_GLXMakeCurrent)
[0609/134305.053171:ERROR:skia_output_surface_impl_on_gpu.cc(1204)] Failed to make current.
[0609/134305.072064:WARNING:gpu_process_host.cc(1262)] The GPU process has crashed 1 time(s)
Created browser window for reuse: 0x7c00007
[0609/134305.835010:WARNING:xproto_util.cc(51)] X error received: serial 591, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0609/134305.840189:WARNING:ipc_message_attachment_set.cc(49)] MessageAttachmentSet destroyed with unconsumed attachments: 0/1
[0609/134305.840202:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[0609/134305.921892:WARNING:gpu_process_host.cc(990)] Reinitialized the GPU process after a crash. The reported initialization time was 847 ms
kern.log :
Jun 9 13:43:05 hostname kernel: [2858074.244137] minecraft-launc[1281896]: segfault at 0 ip 00007f062358a6f6 sp 00007ffddde32050 error 4 in libGLESv2.so[7f062351b000+460000]
Jun 9 13:43:05 hostname kernel: [2858074.244145] Code: cc cc cc cc 55 48 89 e5 41 57 41 56 41 54 53 48 83 ec 30 49 89 f6 48 89 fb 0f 28 05 54 f8 ec ff 0f 11 07 48 8b be b0 2e 00 00 <48> 8b 07 ff 90 b8 01 00 00 48 89 df 89 c6 e8 67 ad 02 00 81 3b 00
UI:
[media]I'm running on debian linux (testing), and using java16 installed manually
solved.
Had to clear out old java options - in the launcher, under installations, edit the existing one, select more options, then reset the java options.
I suspect they were old ones imported over a long time now no longer valid for java16, but it was very obfuscated by what seemed like glx errors