From owner-freebsd-x11@freebsd.org Tue Apr 28 00:32:28 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09C5B2CC9C2 for ; Tue, 28 Apr 2020 00:32:28 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49B2fL6s55z3yPy for ; Tue, 28 Apr 2020 00:32:26 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03S0WIRv063865 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 28 Apr 2020 00:32:19 GMT (envelope-from list1@gjunka.com) Subject: Re: Wayland on FreeBSD To: freebsd-x11@freebsd.org References: From: Grzegorz Junka Message-ID: <9a914a03-d431-7d99-abb8-6f949e562f14@gjunka.com> Date: Tue, 28 Apr 2020 00:32:18 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 49B2fL6s55z3yPy X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-5.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com]; IP_SCORE(-3.57)[ip: (-9.35), ipnet: 88.98.192.0/18(-4.68), asn: 56478(-3.74), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2020 00:32:28 -0000 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?