Opening a webdriver instance fails with "Failed to launch GPU process"

1,086 views
Skip to first unread message

sylwek...@gmail.com

unread,
Mar 14, 2018, 3:21:33 AM3/14/18
to ChromeDriver Users
I just installed new version of Chrome (65.0.3325.162).
Installed new version of Chrome Webdriver (2.36.540470).

Executed the chrome webdriver, it executed ok.

Once I am trying to connect to it (in c#, via Nu package Selenium.Webdriver version 3.11.0) via statement:
new RemoteWebDriver(new Uri("http://127.0.0.1:9515"), DesiredCapabilities.Chrome());

The chromedriver opens up new Chrome with a blank tab, nothing more happens.
In the chromedriver I see following appeared:
[14216:13896:0314/081109.081:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.

DevTools listening on ws://127.0.0.1:12183/devtools/browser/0c7ccc25-2fe4-4e43-82ef-80eb3166c894
[14216:13896:0314/081109.277:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.
[14216:7832:0314/081109.337:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.

After some time like this, I get following exception in the program:
"The HTTP request to the remote WebDriver server for URL http://127.0.0.1:9515/session timed out after 60 seconds."

Anyone has any ideas how to overcome this?

sylwek...@gmail.com

unread,
Mar 14, 2018, 3:30:31 AM3/14/18
to ChromeDriver Users

By the way, I do not have any graphics card on the computer except the one built in the motherboard (starndard Intel graphics)

sylwek...@gmail.com

unread,
Mar 14, 2018, 3:39:34 AM3/14/18
to ChromeDriver Users
I have just discovered that running with option "--disable-gpu" gets rid of error "Failed to launch GPU process", but
"Lost UI shared context" remains and application still cannot connect.
Problem is still identical.

sylwek...@gmail.com

unread,
Mar 14, 2018, 5:07:44 AM3/14/18
to ChromeDriver Users
Sorry, my graphics card is actually an integrated AMD 7660D, not an Intel Graphics (but basically similar).

sylwek...@gmail.com

unread,
Mar 14, 2018, 5:08:15 AM3/14/18
to ChromeDriver Users
And the whole thing works normally on my laptop with Intel HD Graphics
Reply all
Reply to author
Forward
Message has been deleted
0 new messages