Bug 243593 - www/chromium not working on headless servers
Summary: www/chromium not working on headless servers
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-25 20:38 UTC by gpw928
Modified: 2021-01-23 10:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gpw928 2020-01-25 20:38:49 UTC
I did a "pkg upgrade" on my FreeBSD systems a few days back, and /usr/local/bin/chrome has stopped working on all the headless servers (reached with "ssh -Y").

I get a browser window displayed, but it's completely blank -- just a white rectangle.

As far as I have been able to test, all the FreeBSD servers with local displays work fine. So ssh login to the FreeBSD server is the common factor (ssh configurations have not changes in ages).

I have observed the behaviour on FreeBSD servers running 11.3, 12.0, and 12.1. 

In the same context where chrome fails, iridium and firefox work.

This example is a FreeBSD 12.1 ssh client and FreeBSD 11.3 server:

[ritz.193] $ chrome --version
Chromium 79.0.3945.130
[ritz.194] $ uname -a
FreeBSD ritz.my.domain 11.3-RELEASE FreeBSD 11.3-RELEASE #0 r349754: Fri Jul  5 04:45:24 UTC 2019     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
[ritz.195] $ set | egrep  "DISPLAY|SSH"   
DISPLAY=localhost:10.0
SSH_CLIENT='192.168.1.26 53970 22'
SSH_CONNECTION='192.168.1.26 53970 192.168.1.36 22'
SSH_TTY=/dev/pts/0
[ritz.196] $ chrome
[42319:576968448:0125/112750.168173:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[42319:576968448:0125/112750.221455:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[42319:576968448:0125/112750.221556:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[42319:633651968:0125/112750.510578:ERROR:object_proxy.cc(632)] 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
[42319:633651968:0125/112750.510934:ERROR:object_proxy.cc(632)] 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
[42319:633651968:0125/112750.511257:ERROR:object_proxy.cc(632)] 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
[42323:534676224:0125/112751.271066:ERROR:command_buffer_proxy_impl.cc(124)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[42323:532766720:0125/112752.062228:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[42323:532766720:0125/112752.063012:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[42319:532770560:0125/112754.145554:ERROR:connection_factory_impl.cc(418)] Failed to connect to MCS endpoint with error -111
Comment 1 Tatsuki Makino 2021-01-23 04:39:28 UTC
(In reply to gpw928 from comment #0)
> [ritz.196] $ chrome

What happens if you start chromium with the following command?

chrome --disable-gpu
Comment 2 gpw928 2021-01-23 10:26:11 UTC
(In reply to Tatsuki Makino from comment #1)
I reported this bug almost exactly one year ago.

The test system has been upgraded significantly since then:

[ritz.223] $ uname -a
FreeBSD ritz.oakes.consulting 11.4-RELEASE-p3 FreeBSD 11.4-RELEASE-p3 #0: Tue Sep  1 08:22:33 UTC 2020     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[ritz.224] $ chrome --version
Chromium 87.0.4280.141 

I can no longer replicate the problem.

Thank you for interest.