[linux] failed to use GPU process

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

[linux] failed to use GPU process

Postby DunDunW » Tue Nov 14, 2023 1:54 am

I make and run cefsimple (from tests folder) on linux(Anolis OS 8.6).The version of CEF is cef_binary_118.6.9+g7e73645+chromium-118.0.5993.119_linux64.

I run into problems with the following error and warning.The result shows ok, but has low fps. It seems no way to use GPU accelerate to load web. But I need to use GPU accelerate to improve the render speed.

Does anybody have any suggestions for this issue? Thanks alot.

Code: Select all
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[1114/134407.836687:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[1114/134407.965007:WARNING:angle_platform_impl.cc(49)] vk_utils.cpp:366 (GetAvailableValidationLayers): Vulkan validation layers are missing.
WARN: vk_utils.cpp:366 (GetAvailableValidationLayers): Vulkan validation layers are missing.
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[1114/134407.979768:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
[1114/134407.981162:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[1114/134407.987964:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1114/134407.988078:ERROR:context_provider_command_buffer.cc(152)] GpuChannelHost failed to create command buffer.
DunDunW
Newbie
 
Posts: 5
Joined: Fri Nov 03, 2023 12:41 am

Re: [linux] failed to use GPU process

Postby magreenblatt » Tue Nov 14, 2023 9:27 am

How does Google Chrome or Chromium behave on this system?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: [linux] failed to use GPU process

Postby DunDunW » Tue Nov 14, 2023 11:19 pm

magreenblatt wrote:How does Google Chrome or Chromium behave on this system?


Very happy to get your reply,I tried to run google-chrome in my machine, I try to open the same url as cefsimple,it also shows the ERROR "Exiting GPU process due to errors during initialization".
Do you have a good solution? Thanks again

Code: Select all
(base) ares@gpu2951:/home/ares/workspace/html2Video_linux/build>google-chrome
[4042063:4042150:1115/120511.470852:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[4042063:4042150:1115/120511.471084:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[4042063:4042150:1115/120511.471279:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[4042104:4042104:1115/120511.571258:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[4042128:7:1115/120511.733893:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[4042226:4042226:1115/120528.630037:ERROR:gl_utils.cc(402)] [.WebGL-0x2300002cb100]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[4042226:4042226:1115/120528.724206:ERROR:gl_utils.cc(402)] [.WebGL-0x2300002cb100]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[4042226:4042226:1115/120528.742622:ERROR:gl_utils.cc(402)] [.WebGL-0x2300002cb100]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[4042226:4042226:1115/120528.760547:ERROR:gl_utils.cc(402)] [.WebGL-0x2300002cb100]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
DunDunW
Newbie
 
Posts: 5
Joined: Fri Nov 03, 2023 12:41 am

Re: [linux] failed to use GPU process

Postby magreenblatt » Wed Nov 15, 2023 11:17 am

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

You can try googling this error message. If that doesn’t help, try asking your question on a support channel for your Linux distro.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: [linux] failed to use GPU process

Postby DunDunW » Wed Nov 15, 2023 8:54 pm

Thank you very much for your suggestion
DunDunW
Newbie
 
Posts: 5
Joined: Fri Nov 03, 2023 12:41 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 201 guests