Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854882 - www-client/google-chrome-103.0.5060.53 depends on dev-libs/wayland
Summary: www-client/google-chrome-103.0.5060.53 depends on dev-libs/wayland
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-28 15:34 UTC by Mark Davies
Modified: 2022-08-07 05:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Davies 2022-06-28 15:34:09 UTC
When I upgraded from chrome 102 to 103 I lost WebGL support - the log part of chrome://gpu contained the line

[27862:27862:0628/134758.044232:ERROR:egl_util.cc(55)] : Failed to load GLES library: /opt/google/chrome/libGLESv2.so: libwayland-client.so.0: cannot open shared object file: No such file or directory

After installing dev-libs/wayland WebGL support returned.

I check the libGLESv2.so from www-client/google-chrome-102.0.5005.115 with ldd and it did not require libwayland-client.so.0 so it looks like chrome 103 has gained an extra dependency.
Comment 1 Pablo Yanez Trujillo 2022-07-08 01:40:08 UTC
I can confirm that, when I start google-chrome-stable without any command line arguments, my chrome disabled webgl

chrome://gpu shows

Graphics Feature Status
Canvas: Software only. Hardware acceleration disabled
Canvas out-of-process rasterization: Disabled
Direct Rendering Display Compositor: Disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Disabled
OpenGL: Disabled
Rasterization: Software only. Hardware acceleration disabled
Raw Draw: Disabled
Skia Renderer: Enabled
Video Decode: Software only. Hardware acceleration disabled
Video Encode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Disabled
WebGL2: Disabled
WebGPU: Disabled 

...

[3834:3834:0707/230915.673775:ERROR:egl_util.cc(55)] : Failed to load GLES library: /opt/google/chrome/libGLESv2.so: libwayland-client.so.0: cannot open shared object file: No such file or directory
[3834:3834:0707/230915.675144:ERROR:viz_main_impl.cc(186)] : Exiting GPU process due to errors during initialization
GpuProcessHost: The GPU process exited normally. Everything is okay.
GpuProcessHost: The GPU process exited normally. Everything is okay.
[3849:3849:0707/230915.734461:ERROR:egl_util.cc(55)] : Failed to load GLES library: /opt/google/chrome/libGLESv2.so: libwayland-client.so.0: cannot open shared object file: No such file or directory
GpuProcessHost: The GPU process exited normally. Everything is okay.
[3856:3856:0707/230915.773529:ERROR:egl_util.cc(55)] : Failed to load GLES library: /opt/google/chrome/libGLESv2.so: libwayland-client.so.0: cannot open shared object file: No such file or directory
[3856:3856:0707/230915.789630:ERROR:viz_main_impl.cc(186)] : Exiting GPU process due to errors during initialization
GpuProcessHost: The GPU process exited normally. Everything is okay.
[3864:3864:0707/230915.802837:WARNING:vaapi_wrapper.cc(642)] : VAAPI video acceleration not available for disabled
[3864:3864:0707/230915.802968:ERROR:gpu_init.cc(486)] : Passthrough is not supported, GL is disabled, ANGLE is 

The only way to get back webgl support is by passing the --use-gl=desktop 


@mark davies: after installing dev-libs/wayland did you google chrome regain webgl support?

emerge www-client/google-chrome -pv

[ebuild   R    ] www-client/google-chrome-103.0.5060.53::gentoo

emerge --info

Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/desktop, gcc-11.3.0, glibc-2.34-r13, 5.10.76-gentoo-r1 x86_64)
=================================================================
System uname: Linux-5.10.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@_3.80GHz-with-glibc2.34
KiB Mem:    65699192 total,  48638360 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Sun, 03 Jul 2022 11:30:01 +0000
Head commit of repository gentoo: 3816db55d5f222e369380ebe97defc590df8ae1d
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.9.13::gentoo, 3.10.5::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             9.3.0-r2::gentoo, 11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.4::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
sys-libs/libselinux:       3.4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox keepwork merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB ja"
MAKEOPTS="-j17"
PKGDIR="/export/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cjk cli crypt cups dbus directfb dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp spell split-usr sqlite ssl startup-notification svg theora tiff truetype udev udisks unicode upower usb vim-pager vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en_GB ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby18 ruby19 ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau vesa fbdev intel i915 i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Tiago Marques 2022-07-08 17:48:06 UTC
Can confirm that I was just hit by this bug.

If the maintainer could add this dependency, it would be great.
Comment 3 Larry the Git Cow gentoo-dev 2022-07-15 02:47:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25674f30fde206e9c20051e635b8d4836b3c94d

commit d25674f30fde206e9c20051e635b8d4836b3c94d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-15 02:47:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 02:47:12 +0000

    www-client/google-chrome: add dev-libs/wayland dep
    
    Closes: https://bugs.gentoo.org/854882
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/google-chrome/google-chrome-103.0.5060.114.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-08-07 05:05:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5bd48fde46ec511e402858a736b9567a981f00

commit 8c5bd48fde46ec511e402858a736b9567a981f00
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-07 05:04:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-07 05:05:18 +0000

    www-client/google-chrome-unstable: restore wayland dep
    
    Accidentally dropped in d25674f30fde206e9c20051e635b8d4836b3c94d
    
    Bug: https://bugs.gentoo.org/858191
    Bug: https://bugs.gentoo.org/854882
    Signed-off-by: Sam James <sam@gentoo.org>

 ...5.0.5195.19.ebuild => google-chrome-unstable-105.0.5195.19-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076e61641e78707b249c24424fe705bf242562ab

commit 076e61641e78707b249c24424fe705bf242562ab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-07 05:04:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-07 05:05:17 +0000

    www-client/google-chrome-beta: restore wayland dep
    
    Accidentally dropped in d25674f30fde206e9c20051e635b8d4836b3c94d
    
    Bug: https://bugs.gentoo.org/858191
    Bug: https://bugs.gentoo.org/854882
    Signed-off-by: Sam James <sam@gentoo.org>

 ...a-105.0.5195.19.ebuild => google-chrome-beta-105.0.5195.19-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999213ba4b19e0a0b90b3ba788e1083bcb334782

commit 999213ba4b19e0a0b90b3ba788e1083bcb334782
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-07 05:03:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-07 05:05:17 +0000

    www-client/google-chrome: restore wayland dep
    
    Accidentally dropped in d25674f30fde206e9c20051e635b8d4836b3c94d
    
    Bug: https://bugs.gentoo.org/858191
    Bug: https://bugs.gentoo.org/854882
    Signed-off-by: Sam James <sam@gentoo.org>

 ...chrome-104.0.5112.79.ebuild => google-chrome-104.0.5112.79-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)