[osakanataro@oraclelinux8 ~]$ chromium-browser
Couldn't open libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[0512/185936.937542:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0512/185936.937602:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Aborted (core dumped)
[osakanataro@oraclelinux8 ~]$
[osakanataro@oraclelinux8 ~]$ chromium-browser
libGL error: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast
libGL error: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast
[3408:3507:0512/190502.320894:ERROR:object_proxy.cc(623)] 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
[3408:3507:0512/190502.321458:ERROR:object_proxy.cc(623)] 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
[3408:3507:0512/190502.327719:ERROR:object_proxy.cc(623)] 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
[3451:3451:0512/190502.515616:ERROR:angle_platform_impl.cc(44)] Display.cpp:944 (initialize): ANGLE Display::initialize error 12289: OpenGL ES 2.0 is not supportable.
[3451:3451:0512/190502.516673:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: OpenGL ES 2.0 is not supportable.
[3451:3451:0512/190502.520596:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[3451:3451:0512/190502.540454:ERROR:angle_platform_impl.cc(44)] Display.cpp:944 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3451:3451:0512/190502.540594:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3451:3451:0512/190502.540701:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[3451:3451:0512/190502.540791:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[3451:3451:0512/190502.584434:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
libGL error: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast
[3535:3535:0512/190502.778653:ERROR:angle_platform_impl.cc(44)] Display.cpp:944 (initialize): ANGLE Display::initialize error 12289: Could not find a decent GLX FBConfig to create the context.
[3535:3535:0512/190502.778787:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Could not find a decent GLX FBConfig to create the context.
[3535:3535:0512/190502.778836:ERROR:gl_surface_egl.cc(1430)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[3535:3535:0512/190502.778887:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[3535:3535:0512/190502.783316:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[3543:3543:0512/190502.922995:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled, ANGLE is
[root@oraclelinux8 ~]# dnf install mesa-dri-drivers
Last metadata expiration check: 0:18:54 ago on Thu 12 May 2022 06:52:03 PM JST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mesa-dri-drivers x86_64 21.1.5-1.el8 ol8_appstream 11 M
Installing dependencies:
llvm-libs x86_64 12.0.1-2.0.1.module+el8.5.0+20406+58ff08d7
ol8_appstream 23 M
mesa-filesystem x86_64 21.1.5-1.el8 ol8_appstream 34 k
Enabling module streams:
llvm-toolset ol8
Transaction Summary
================================================================================
Install 3 Packages
Total download size: 34 M
Installed size: 124 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): mesa-filesystem-21.1.5-1.el8.x86_64.rpm 96 kB/s | 34 kB 00:00
(2/3): mesa-dri-drivers-21.1.5-1.el8.x86_64.rpm 2.1 MB/s | 11 MB 00:05
(3/3): llvm-libs-12.0.1-2.0.1.module+el8.5.0+20 3.0 MB/s | 23 MB 00:07
--------------------------------------------------------------------------------
Total 4.5 MB/s | 34 MB 00:07
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : mesa-filesystem-21.1.5-1.el8.x86_64 1/3
Installing : llvm-libs-12.0.1-2.0.1.module+el8.5.0+20406+58ff08d7 2/3
Installing : mesa-dri-drivers-21.1.5-1.el8.x86_64 3/3
Running scriptlet: mesa-dri-drivers-21.1.5-1.el8.x86_64 3/3
Verifying : llvm-libs-12.0.1-2.0.1.module+el8.5.0+20406+58ff08d7 1/3
Verifying : mesa-dri-drivers-21.1.5-1.el8.x86_64 2/3
Verifying : mesa-filesystem-21.1.5-1.el8.x86_64 3/3
Installed:
llvm-libs-12.0.1-2.0.1.module+el8.5.0+20406+58ff08d7.x86_64
mesa-dri-drivers-21.1.5-1.el8.x86_64
mesa-filesystem-21.1.5-1.el8.x86_64
Complete!
[root@oraclelinux8 ~]#
chromium-browser起動時のメッセージはまだ出ているが、起動はする
[osakanataro@oraclelinux8 ~]$ chromium-browser
ATTENTION: default value of option allow_rgb10_configs overridden by environment.
[3952:4052:0512/191116.527237:ERROR:object_proxy.cc(623)] 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
[3952:4052:0512/191116.527472:ERROR:object_proxy.cc(623)] 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
[3952:4052:0512/191116.527641:ERROR:object_proxy.cc(623)] 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
[3984:3984:0512/191116.708191:ERROR:angle_platform_impl.cc(44)] Display.cpp:944 (initialize): ANGLE Display::initialize error 12289: OpenGL ES 2.0 is not supportable.
[3984:3984:0512/191116.708344:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: OpenGL ES 2.0 is not supportable.
[3984:3984:0512/191116.708382:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[3984:3984:0512/191116.720930:ERROR:angle_platform_impl.cc(44)] Display.cpp:944 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3984:3984:0512/191116.721068:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3984:3984:0512/191116.721141:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[3984:3984:0512/191116.721206:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[3984:3984:0512/191116.724996:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
ATTENTION: default value of option allow_rgb10_configs overridden by environment.
[4059:4059:0512/191116.879504:ERROR:angle_platform_impl.cc(44)] Display.cpp:944 (initialize): ANGLE Display::initialize error 12289: Could not find a decent GLX FBConfig to create the context.
[4059:4059:0512/191116.879654:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Could not find a decent GLX FBConfig to create the context.
[4059:4059:0512/191116.879700:ERROR:gl_surface_egl.cc(1430)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[4059:4059:0512/191116.879757:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[4059:4059:0512/191116.885075:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[4075:4075:0512/191116.939151:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled, ANGLE is
まとめ
必要そうなパッケージ群がまとまったので、今度はOracle Linux 8ではなく、AlmaLinux 8.5を同様にMinimal Installした状態から再セットアップして検証した。
[root@almalinux ~]# dnf install epel-release
Last metadata expiration check: 0:35:34 ago on Fri 13 May 2022 09:29:56 AM JST.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Installing:
epel-release noarch 8-10.el8 extras 22 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 22 k
Installed size: 32 k
Is this ok [y/N]:
[root@almalinux ~]# dnf install firefox
Last metadata expiration check: 0:05:05 ago on Fri 13 May 2022 10:06:01 AM JST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
firefox x86_64 91.9.0-1.el8_5.alma appstream 106 M
Installing dependencies:
almalinux-indexhtml noarch 8-7.el8 baseos 7.5 k
liberation-fonts-common noarch 1:2.00.3-7.el8 baseos 25 k
liberation-sans-fonts noarch 1:2.00.3-7.el8 baseos 610 k
mozilla-filesystem x86_64 1.9-19.el8 appstream 9.8 k
Transaction Summary
================================================================================
Install 5 Packages
Total download size: 107 M
Installed size: 263 M
Is this ok [y/N]: y