microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.38k stars 28.61k forks source link

VSC crashes at launch installed ver: code_1.92.2-1723660989_amd64.deb #226391

Open anonymux1 opened 3 weeks ago

anonymux1 commented 3 weeks ago
Does this issue occur when all extensions are disabled?: Yes/No Yes

Steps to Reproduce:

  1. VSC crashes on launch.
  2. AMDGPU drivers installed for rocm support.
  3. Tried code --disable-gpu, code --in-process-gpu, code --disable-extensions, tried removing mesa-va-drivers,
  4. code --verbose output: "failed to load driver: radeonsi failed to load driver: radeonsi [123281:0823/120127.814239:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [123281:0823/120127.814359:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [123281:0823/120127.814418:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [123281:0823/120127.815492:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [123281:0823/120127.815544:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [123281:0823/120127.815572:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [123281:0823/120127.815599:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [123281:0823/120127.815633:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [123281:0823/120127.847426:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [123281:0823/120127.847533:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [123281:0823/120127.847561:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [123281:0823/120127.848320:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [123281:0823/120127.848400:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [123281:0823/120127.848427:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [123281:0823/120127.848452:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [123281:0823/120127.848477:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [123281:0823/120127.849560:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) [123195:0823/120128.091362:ERROR:gpu_process_host.cc(1001)] GPU process exited unexpectedly: exit_code=139 [123195:0823/120128.091375:WARNING:gpu_process_host.cc(1435)] The GPU process has crashed 1 time(s) ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) [123195:0823/120128.331360:ERROR:gpu_process_host.cc(1001)] GPU process exited unexpectedly: exit_code=139 [123195:0823/120128.331374:WARNING:gpu_process_host.cc(1435)] The GPU process has crashed 2 time(s) ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) [123195:0823/120128.563966:ERROR:gpu_process_host.cc(1001)] GPU process exited unexpectedly: exit_code=139 [123195:0823/120128.563980:WARNING:gpu_process_host.cc(1435)] The GPU process has crashed 3 time(s) ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) [123195:0823/120128.759232:ERROR:gpu_process_host.cc(1001)] GPU process exited unexpectedly: exit_code=139 [123195:0823/120128.759246:WARNING:gpu_process_host.cc(1435)] The GPU process has crashed 4 time(s) ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) [123195:0823/120128.951905:ERROR:gpu_process_host.cc(1001)] GPU process exited unexpectedly: exit_code=139 [123195:0823/120128.951919:WARNING:gpu_process_host.cc(1435)] The GPU process has crashed 5 time(s) ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) [123195:0823/120129.149234:ERROR:gpu_process_host.cc(1001)] GPU process exited unexpectedly: exit_code=139 [123195:0823/120129.149248:WARNING:gpu_process_host.cc(1435)] The GPU process has crashed 6 time(s) [123195:0823/120129.149258:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye. [0823/120129.155746:ERROR:elf_dynamic_array_reader.h(64)] tag not found "
johncalesp commented 2 weeks ago

I am on the same boat, manage to workaround it using code --disable-accelerated-video-decode

anonymux1 commented 2 weeks ago

I am on the same boat, manage to workaround it using code --disable-accelerated-video-decode

this worked for me. thanks!!