Building Chromium on Ubuntu Linux 19.04/VirtualBox 6.0

410 views
Skip to first unread message

Mike Dalpee

unread,
Oct 13, 2019, 4:31:42 PM10/13/19
to Chromium-dev
Hello,

Following the instructions at https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md, I was able to successfully build the chrome binary.  However, when I fire it up, it runs VERY slowly - even typing in the search bar is excruciatingly slow. I noticed it outputs a lot of messages that seem to indicate it is having some problems, but after searching for information on the net, I have come up empty for solutions:  Here is the output when I bring it up, type www.google.com in the search bar, and exit

[31123:31123:1012/101239.914305:INFO:content_main_runner_impl.cc(974)] Chrome is running in full browser mode.
[31123:31123:1012/101242.055851:ERROR:chrome_sync_client.cc(424)] Not implemented reached in virtual syncer::TrustedVaultClient *browser_sync::ChromeSyncClient::GetTrustedVaultClient()
[31123:31123:1012/101244.792790:ERROR:viz_process_transport_factory.cc(302)] Switching to software compositing.
[31173:7:1012/101245.614948:ERROR:command_buffer_proxy_impl.cc(124)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[31173:7:1012/101245.623168:ERROR:context_provider_command_buffer.cc(144)] GpuChannelHost failed to create command buffer.
[31196:1:1012/101303.067265:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[31123:31123:1012/101303.396440:WARNING:CONSOLE(0)] "A cookie associated with a cross-site resource at http://google.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.", source: chrome-search://local-ntp/local-ntp.html (0)
[31123:31123:1012/101303.397305:WARNING:CONSOLE(0)] "A cookie associated with a cross-site resource at https://google.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.", source: chrome-search://local-ntp/local-ntp.html (0)
[31123:31123:1012/101303.397962:WARNING:CONSOLE(0)] "A cookie associated with a resource at http://google.com/ was set with `SameSite=None` but without `Secure`. A future release of Chrome will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.", source: chrome-search://local-ntp/local-ntp.html (0)
[31123:31123:1012/101307.115566:WARNING:CONSOLE(0)] "A cookie associated with a cross-site resource at https://ogs.google.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.", source: chrome-search://local-ntp/local-ntp.html (0)
[31238:1:1012/101348.962088:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[31123:31123:1012/101349.498754:INFO:CONSOLE(0)] "A cookie associated with a resource at http://google.com/ was set with `SameSite=None` but without `Secure`. A future release of Chrome will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.", source: https://www.google.com/ (0)
[31123:31316:1012/101357.338033:WARNING:internal_linux.cc(64)] Failed to read /proc/31151/stat
[31123:31134:1012/101357.341121:WARNING:discardable_shared_memory_manager.cc(431)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked.
[31123:31123:1012/101357.365693:WARNING:pref_notifier_impl.cc(40)] Pref observer for media_router.cast_allow_all_ips found at shutdown.
[31123:31123:1012/101357.365930:WARNING:pref_notifier_impl.cc(40)] Pref observer for browser.relaunch_notification_period found at shutdown.


I am able to run my installed google browser without any of these problems. Any insight into why I am getting all these errors and why the browser is running so slowly would be appreciated.  Let me know what additional information I need to provide.

Thanks!


Daniel Bratell

unread,
Oct 14, 2019, 12:49:21 PM10/14/19
to mi...@loopvoc.com, Chromium-dev

Oh, the irony of google.com itself not compatible with the new cookie policies. Anyway, one suspect is the mentioning of software compositing. Chromium wants to use the GPU and if it can't do so, it will use fallback code. Not that it should be *that* slow, but check your virtual machine and the gfx drivers and see if there is something that can be hooked up better.

/Daniel

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/3e5843ed-59cc-4a49-b826-3850671e0bdf%40chromium.org.

Christian Biesinger

unread,
Oct 14, 2019, 12:52:30 PM10/14/19
to mi...@loopvoc.com, Chromium-dev
What's your args.gn? Try is_debug=false if you're not doing that yet.

Plus what Daniel said.

Christian
Reply all
Reply to author
Forward
0 new messages