I built a Chromium OS that is almost similar with Gentoo.
But the OS UI got below error on Intel GPU PC.
Code: Select all
1 libEGL warning: MESA-LOADER: failed to open crocus: /usr/lib64/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)
2
3 2022-09-03T18:41:04.873085Z ERROR chrome[2548:2548]: [gl_display.cc(508)] EGL Driver message (Error) eglInitialize: DRI2: failed to load driver
Only
Code: Select all
kms_swrast_dri.so
nouveau_dri.so
nouveau_drv_video.so
r300_dri.so
r600_dri.so
r600_drv_video.so
swrast_dri.so
What causes the error?
I appreciate it if you guys give me some advices.
FYI below is what I installed mesa in the OS.
Code: Select all
(cr) ~/trunk/src/third_party/chromiumos-overlay/media-libs/mesa $ equery-amd64-generic uses mesa
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for media-libs/mesa-21.3.8-r2:
U I
- - X : Add support for X11
+ - classic : Build drivers based on the classic architecture.
- - cros_host : <unknown>
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
http://www.gentoo.org/proj/en/qa/backtraces.xml
+ + dri : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
- - drm : <unknown>
+ - egl : Enable EGL support.
+ - gallium : Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.
- - gbm : Enable the Graphics Buffer Manager for EGL on KMS.
- - gles1 : Enable GLESv1 support.
+ - gles2 : Enable GLESv2 support.
- - kvm_guest : <unknown>
- - libglvnd : <unknown>
+ + llvm : Enable LLVM backend for Gallium3D.
+ + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better
usually)
- - pic : disable optimized assembly code that is not PIC friendly
- - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage
will occur
+ - shared-glapi : Enable sharing of common code for the OpenGL API.
- - video_cards_amdgpu : <unknown>
- - video_cards_freedreno : VIDEO_CARDS setting to build reverse-engineered driver for Qualcomm Adreno cards
+ + video_cards_intel : VIDEO_CARDS setting to build driver for Intel video cards
+ + video_cards_llvmpipe : <unknown>
- - video_cards_mach64 : VIDEO_CARDS setting to build driver for mach64 video cards
- - video_cards_mga : VIDEO_CARDS setting to build driver for mga video cards
+ + video_cards_nouveau : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
- - video_cards_r128 : VIDEO_CARDS setting to build driver for ATI r128 video cards
+ + video_cards_radeon : VIDEO_CARDS setting to build driver for ATI radeon video cards
- - video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
- - video_cards_savage : VIDEO_CARDS setting to build driver for savage video cards
- - video_cards_sis : VIDEO_CARDS setting to build driver for SiS video cards
- - video_cards_softpipe : <unknown>
- - video_cards_tdfx : VIDEO_CARDS setting to build driver for tdfx video cards
- - video_cards_via : VIDEO_CARDS setting to build driver for via video cards
- - video_cards_virgl : <unknown>
- - video_cards_vmware : VIDEO_CARDS setting to build driver for vmware video cards
+ + vulkan : Build Vulkan drivers
- - wayland : Enable support for dev-libs/wayland
- - xlib-glx : <unknown>
- - zstd : <unknown>


