[GH-ISSUE #2430] FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye. #1557

Closed
opened 2026-02-27 00:04:00 +03:00 by kerem · 2 comments
Owner

Originally created by @licamla on GitHub (Apr 5, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2430

Electerm Version(Electerm版本)

electerm-1.20.10-linux-x64.tar.gz

Platform detail (平台详情)

Linux c03c598f2a0a 5.15.26-gentoo-x86_64 #3 SMP Wed Mar 30 02:15:52 CST 2022 x86_64 AMD Ryzen 9 5900X 12-Core Processor AuthenticAMD GNU/Linux

What steps will reproduce the bug?(重新问题的详细步骤)

不带参数启动直接会直接退出

$./electerm 
16:10:43 debug › electerm start
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
useSystemTitleBar false
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
16:10:43 info › server runs on 127.0.0.1 30980
16:10:43 info › database version: 1.20.10
[196808:0405/161043.775619:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
追踪与中断点陷阱 (核心已转储)

禁用硬件加速后能正常使用

$./electerm --in-process-gpu
error: unknown option '--in-process-gpu'
16:19:17 debug › electerm start
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
useSystemTitleBar false
16:19:17 info › server runs on 127.0.0.1 30981
16:19:18 info › database version: 1.20.10
16:19:19 debug › ws: connected to terminal -> eyt0MKXJt_JFJnmCU0aa6

What should have happened?(期望的结果)

希望能将禁用硬件加速的参数加到帮助信息里

Additional information(其他任何相关信息)

像是由electorn引起的bug
[Bug]: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) #30902

Originally created by @licamla on GitHub (Apr 5, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2430 ### Electerm Version(Electerm版本) electerm-1.20.10-linux-x64.tar.gz ### Platform detail (平台详情) Linux c03c598f2a0a 5.15.26-gentoo-x86_64 #3 SMP Wed Mar 30 02:15:52 CST 2022 x86_64 AMD Ryzen 9 5900X 12-Core Processor AuthenticAMD GNU/Linux ### What steps will reproduce the bug?(重新问题的详细步骤) 不带参数启动直接会直接退出 ``` $./electerm 16:10:43 debug › electerm start libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) useSystemTitleBar false libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) 16:10:43 info › server runs on 127.0.0.1 30980 16:10:43 info › database version: 1.20.10 [196808:0405/161043.775619:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye. 追踪与中断点陷阱 (核心已转储) ``` 禁用硬件加速后能正常使用 ``` $./electerm --in-process-gpu error: unknown option '--in-process-gpu' 16:19:17 debug › electerm start libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) useSystemTitleBar false 16:19:17 info › server runs on 127.0.0.1 30981 16:19:18 info › database version: 1.20.10 16:19:19 debug › ws: connected to terminal -> eyt0MKXJt_JFJnmCU0aa6 ``` ### What should have happened?(期望的结果) 希望能将禁用硬件加速的参数加到帮助信息里 ### Additional information(其他任何相关信息) 像是由electorn引起的bug [ [Bug]: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) #30902 ](https://github.com/electron/electron/issues/30902)
kerem 2026-02-27 00:04:00 +03:00
Author
Owner

@licamla commented on GitHub (Apr 7, 2022):

升级1.21.9后,能正常用了。就是有一些错误信息,目前还没有发现有什么影响。

$./electerm 
14:12:54 debug › electerm start
[196299:0407/141254.658179:ERROR:vaapi_wrapper.cc(1096)] vaQuerySurfaceAttributes failed, VA error: invalid parameter
[196299:0407/141254.658214:ERROR:vaapi_wrapper.cc(1043)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD
[196299:0407/141254.658219:ERROR:vaapi_wrapper.cc(1096)] vaQuerySurfaceAttributes failed, VA error: invalid parameter
[196299:0407/141254.658222:ERROR:vaapi_wrapper.cc(1043)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD
14:12:55 info › server runs on 127.0.0.1 30975
14:12:55 info › database version: 1.20.10
14:12:55 info › dbVersion 1.20.10
14:12:55 info › upgrade db version to 1.21.9
14:12:56 debug › ws: connected to terminal -> 5Q_Dg_S
<!-- gh-comment-id:1091131993 --> @licamla commented on GitHub (Apr 7, 2022): 升级1.21.9后,能正常用了。就是有一些错误信息,目前还没有发现有什么影响。 ``` $./electerm 14:12:54 debug › electerm start [196299:0407/141254.658179:ERROR:vaapi_wrapper.cc(1096)] vaQuerySurfaceAttributes failed, VA error: invalid parameter [196299:0407/141254.658214:ERROR:vaapi_wrapper.cc(1043)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD [196299:0407/141254.658219:ERROR:vaapi_wrapper.cc(1096)] vaQuerySurfaceAttributes failed, VA error: invalid parameter [196299:0407/141254.658222:ERROR:vaapi_wrapper.cc(1043)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD 14:12:55 info › server runs on 127.0.0.1 30975 14:12:55 info › database version: 1.20.10 14:12:55 info › dbVersion 1.20.10 14:12:55 info › upgrade db version to 1.21.9 14:12:56 debug › ws: connected to terminal -> 5Q_Dg_S ```
Author
Owner

@Flashwalker commented on GitHub (Dec 1, 2022):

It is Electron issue, when Electron-libs don't match your system

--in-process-gpu option helps as workaround.
Also --disable-gpu-sandbox or --no-sandbox helps too

<!-- gh-comment-id:1333910574 --> @Flashwalker commented on GitHub (Dec 1, 2022): It is Electron issue, when Electron-libs don't match your system `--in-process-gpu` option helps as workaround. Also `--disable-gpu-sandbox` or `--no-sandbox` helps too
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1557
No description provided.