您尚未登录。

#1 2020-04-14 00:47:36

Revelation
会员
注册时间: 2020-01-31
帖子: 37

Chromium 无法加载驱动

运行 Chromium 抛出

MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open radeon (search paths /usr/lib/dri)
failed to load driver: radeon
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
failed to load swrast driver

我试了下 glxcontexts,glxdemo,glxgears,glxgears_pixmap 这类程序都运行正常
$ glxinfo -B

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD JUNIPER (DRM 2.50.0 / 5.6.3-arch1-1, LLVM 9.0.1) (0x68bf)
    Version: 20.0.4
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1023 MB, largest block: 1023 MB
    VBO free aux. memory - total: 1021 MB, largest block: 1021 MB
    Texture free memory - total: 1023 MB, largest block: 1023 MB
    Texture free aux. memory - total: 1021 MB, largest block: 1021 MB
    Renderbuffer free memory - total: 1023 MB, largest block: 1023 MB
    Renderbuffer free aux. memory - total: 1021 MB, largest block: 1021 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 2045 MB
    Currently available dedicated video memory: 1023 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD JUNIPER (DRM 2.50.0 / 5.6.3-arch1-1, LLVM 9.0.1)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.0.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

我在这里
https://bbs.archlinux.org/viewtopic.php … 5#p1801935
看到 Firefox 可以通过设置 security.sandbox.content.read_path_whitelist 来解决这个问题,不知 Chromium 该如何解决?
不过看起来应该是 mesa 的问题?

最近编辑记录 Revelation (2020-04-14 00:49:34)

离线

#2 2020-04-14 11:29:42

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,922
个人网站

Re: Chromium 无法加载驱动

原来 Chromium 也遇到这个问题了啊。

离线

页脚