forked from montoyo/mcef
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
On NixOS it's near-impossible to use dynamically linked libraries like jcef_helper, causing the following errors:
[15:51:29] [Render thread/INFO] [MCEF/]: Initializing CEF on linux_amd64...
initialize on Thread[Render thread,10,main] with library path ~/.minecraft/mods/mcef-libraries/linux_amd64
Could not start dynamically linked executable: ~/.minecraft/mods/mcef-libraries/linux_amd64/jcef_helper
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
Could not start dynamically linked executable: ~/.minecraft/mods/mcef-libraries/linux_amd64/jcef_helper
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
[0430/155130.320216:WARNING:chrome_browser_cloud_management_controller.cc(88)] Could not create policy manager as CBCM is not enabled.
[15:51:30] [Render thread/INFO] [MCEF/]: Chromium Embedded Framework initialized
[0430/155130.501596:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.501624:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 1 time(s)
[0430/155130.502908:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.502923:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 2 time(s)
[0430/155130.503206:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.503217:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 3 time(s)
[0430/155130.503864:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.503886:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 4 time(s)
[0430/155130.504331:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.504343:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 5 time(s)
[0430/155130.504555:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.504563:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 6 time(s)
[0430/155130.504763:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.504770:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 7 time(s)
[0430/155130.504934:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.504941:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 8 time(s)
[0430/155130.505157:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002
[0430/155130.505167:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 9 time(s)
[0430/155130.505177:FATAL:gpu_data_manager_impl_private.cc(431)] GPU process isn't usable. Goodbye.
Jetbrain's JCEF does have a Nix package (jetbrains.jcef) which also contains the jcef_helper binary at unpacked/jcef/lib/jcef_helper. Would it be possible to specify which jcef_helper binary to use from the outside via -D parameters?
Metadata
Metadata
Assignees
Labels
No labels