Wayland on FreeBSD
Grzegorz Junka
list1 at gjunka.com
Tue Apr 28 00:32:28 UTC 2020
I am able to start sway, which in turn seems to be starting Xwayland.
But I don't seem to be able to open any graphical applications?
This is what's running when grepping by sway/wayland:
g 2706 0.0 0.1 144304 68280 v0 I 23:55 0:01.07
Xwayland :0 -rootless -terminate -listen 31 -listen 33 -wm 63
g 2269 0.0 0.2 219904 121748 v0 S 23:52 0:01.07 sway
root 2271 0.0 0.0 35128 15000 v0 I 23:52 0:00.00 sway
g 2276 0.0 0.1 63516 49856 v0 I 23:52 0:00.09 swaybg
-o * -i
/usr/local/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png -m
g 2279 0.0 0.0 31660 19064 v0 S 23:52 0:00.39
swaybar -b bar-0
Environment
mkdir -p /tmp/xdg
setenv XDG_RUNTIME_DIR /tmp/xdg
setenv MOZ_ENABLE_WAYLAND 1
setenv LIBGL_DRI3_ENABLE 1
setenv DISPLAY :0
setenv WAYLAND_DISPLAY wayland-0
Added to /etc/sysctl..conf
# Recommended by xwayland
kern.evdev.rcpt_mask=6
% glxgears
14696 frames in 5.0 seconds = 2939.040 FPS
14919 frames in 5.0 seconds = 2983.659 FPS
15013 frames in 5.0 seconds = 3002.452 FPS
Firefox briefly opens a window stating that there was a problem then
dumps core.
Kwrite displays this then nothing happens:
% kwrite
sonnet.core: No language dictionaries for the language: "C"
sonnet.core: No language dictionaries for the language: "C"
sonnet.core: No language dictionaries for the language: "C"
sonnet.core: No language dictionaries for the language: "C"
qt.qpa.xcb: QXcbConnection: XCB error: 11 (BadAlloc), sequence: 476,
resource id: 908, major code: 53 (CreatePixmap), minor code: 0
urxvt doesn't print anything and doesn't open anything, just doesn't
return to the shell
The mouse seems to be working fine in Sway, I don't know about the keyboard.
Anyone is able to see what I am doing wrong?
More information about the freebsd-x11
mailing list