Re: Wayland on FreeBSD

Grzegorz Junka <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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?

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.