Xwayland: i965_dri.so does not support the 0xffffffff PCI ID

Jan Beich jbeich at FreeBSD.org
Sat Jan 12 11:36:11 UTC 2019


I'm new to Wayland. As some applications either don't support Wayland or
have bugs I'm relying on Xwayland. Unfortunately, Xwayland fails to pass
device information to Mesa for hardware to be recognized. Any clues?

$ glxinfo | fgrep -A11 Extended
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)  (0x1912)
    Version: 18.3.1
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2

$ id -Gn
myself video

$ ls -lL /dev/dri
total 0
crw-rw----  1 root  video  0x2cd Jan 11 21:32 card0
crw-rw----  1 root  video  0x30d Jan 11 21:32 controlD64
crw-rw----  1 root  video  0x34d Jan 11 21:32 renderD128

$ pkg info -x drm xway server
drm-current-kmod-4.20.g20190110
libdrm-2.4.96,1
xwayland-1.20.3_11,1
xorg-server-1.20.3,1

$ sway --version
sway version 1.0-beta.2-150-gd256182f

$ env -u DISPLAY sway -d
[sway/server.c:35] Preparing Wayland server initialization
[backend/session/direct-freebsd.c:159] Using tty /dev/ttyv3
[backend/session/direct-freebsd.c:248] Successfully loaded direct session
[backend/backend.c:142] Found 1 GPUs
[backend/drm/backend.c:151] Initializing DRM backend for /dev/dri/card0 (i915)
[backend/drm/drm.c:63] Using atomic DRM interface
[backend/drm/drm.c:156] Found 3 DRM CRTCs
[backend/drm/drm.c:87] Found 9 DRM planes
[backend/drm/drm.c:129] (3 overlay, 3 primary, 3 cursor)
[render/egl.c:149] Using EGL 1.4
[...]
[sway/commands/bind.c:333] running command for binding: exec xterm
[sway/commands.c:253] Handling command 'exec xterm'
[sway/commands.c:144] find_handler(exec)
[sway/commands/exec_always.c:44] Executing xterm
[sway/commands/exec_always.c:85] Child process created with pid 1267
[sway/tree/root.c:222] Recording workspace for process 1267
[sway/ipc-server.c:394] Sending binding event
[xwayland/xwayland.c:103] WAYLAND_SOCKET=18 Xwayland :1 -rootless -terminate -listen 16 -listen 17 -wm 60
i965_dri.so does not support the 0xffffffff PCI ID.
Refusing to try glamor on llvmpipe
EGL setup failed, disabling glamor
Failed to initialize glamor, falling back to sw
[types/wlr_surface.c:595] New wlr_surface 0x802f01f80 (res 0x802e77780)
[xwayland/xwayland.c:352] sent SIGUSR1 to process 1248
[xwayland/xwayland.c:243] Xserver is ready
[...]

$ glxinfo | fgrep -A11 Extended
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 7.0, 256 bits) (0xffffffff)
    Version: 18.3.1
    Accelerated: no
    Video memory: 65536MB
    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.0


More information about the freebsd-x11 mailing list