From owner-freebsd-x11@freebsd.org Sun Jun 9 03:58:59 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F253215BBF1B for ; Sun, 9 Jun 2019 03:58:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A49186C41 for ; Sun, 9 Jun 2019 03:58:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4C4C815BBF1A; Sun, 9 Jun 2019 03:58:58 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A2F615BBF18 for ; Sun, 9 Jun 2019 03:58:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C086086C3F for ; Sun, 9 Jun 2019 03:58:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E0B1C19331 for ; Sun, 9 Jun 2019 03:58:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x593wups041145 for ; Sun, 9 Jun 2019 03:58:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x593wuSD041144 for x11@FreeBSD.org; Sun, 9 Jun 2019 03:58:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 238422] graphics/mesa-dri upgrade from mesa-dri-18.2.8 to newer causes crash in startup of some programs (i965_dri.so related) Date: Sun, 09 Jun 2019 03:58:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: irdeasem@inboxbear.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 09 Jun 2019 03:58:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238422 --- Comment #2 from irdeasem@inboxbear.com --- Hi Thanks and sorry! Installing and loading drm-kmod solved the issue. I thought I have tried it earlier, but obviously not correctly at least. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Sun Jun 9 04:02:08 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7C5B15BC06A for ; Sun, 9 Jun 2019 04:02:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3D90E86EDF for ; Sun, 9 Jun 2019 04:02:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EBA9315BC069; Sun, 9 Jun 2019 04:02:07 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8B4215BC067 for ; Sun, 9 Jun 2019 04:02:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7045D86EDC for ; Sun, 9 Jun 2019 04:02:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id ACAD71937E for ; Sun, 9 Jun 2019 04:02:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x594261t049991 for ; Sun, 9 Jun 2019 04:02:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x594267O049990 for x11@FreeBSD.org; Sun, 9 Jun 2019 04:02:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 238422] graphics/mesa-dri upgrade from mesa-dri-18.2.8 to newer causes crash in startup of some programs (i965_dri.so related) Date: Sun, 09 Jun 2019 04:02:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: irdeasem@inboxbear.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 09 Jun 2019 04:02:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238422 irdeasem@inboxbear.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Sun Jun 9 21:01:12 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50A1315AB66B for ; Sun, 9 Jun 2019 21:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C589286705 for ; Sun, 9 Jun 2019 21:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 84E0815AB65D; Sun, 9 Jun 2019 21:01:11 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6146215AB65C for ; Sun, 9 Jun 2019 21:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F01EB866F9 for ; Sun, 9 Jun 2019 21:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 00A3B2573 for ; Sun, 9 Jun 2019 21:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x59L19YL009333 for ; Sun, 9 Jun 2019 21:01:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x59L19a9009332 for x11@FreeBSD.org; Sun, 9 Jun 2019 21:01:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201906092101.x59L19a9009332@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: x11@FreeBSD.org Subject: Problem reports for x11@FreeBSD.org that need special attention Date: Sun, 9 Jun 2019 21:01:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 09 Jun 2019 21:01:12 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 236933 | graphics/libdrm: drmGetNodeTypeFromFd always fail Open | 220444 | x11-servers/xorg-server crashes on attempt to pla Open | 233652 | lang/beignet: Set DEPRECATED Open | 233740 | x11/pixman: LLD relocation errors on armv7 New | 236003 | x11-drivers/xf86-video-intel: update to 2019-03-0 Open | 223014 | graphics/mesa-dri: enable NEON and AltiVec New | 231694 | graphics/mesa-dri: uninstall error with portupgra 7 problems total for which you should take action. From owner-freebsd-x11@freebsd.org Tue Jun 11 02:03:34 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D719C15CE247 for ; Tue, 11 Jun 2019 02:03:33 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 749516EF02 for ; Tue, 11 Jun 2019 02:03:33 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2EA4215CE246; Tue, 11 Jun 2019 02:03:33 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A84515CE245 for ; Tue, 11 Jun 2019 02:03:33 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAFD06EF01; Tue, 11 Jun 2019 02:03:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 9AE7CAFE; Tue, 11 Jun 2019 02:03:32 +0000 (UTC) From: Jan Beich To: Dale Brazelton Cc: x11@freebsd.org Subject: Re: Sway, Wayland, and Xwayland References: Date: Tue, 11 Jun 2019 04:03:28 +0200 In-Reply-To: (Dale Brazelton's message of "Mon, 10 Jun 2019 19:09:44 +0000") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: AAFD06EF01 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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, 11 Jun 2019 02:03:34 -0000 (CC'ing appropriate public list. I don't help privately.) Dale Brazelton writes: > Hello! I saw you were the Sway maintainer so I thought I'd direct this > question to you. I'm a fairly new FreeBSD user. I run 12 stable on an > AMD X470 board with an AMD Vega 64 graphics card. I use drm-kmod with > amdgpu driver for graphics support. All the packages I use are built > from ports using poudriere. I've managed to get Sway working but am > unable to get any X11 apps to work thru xwayland. For instance if I > start sway and then start firefox from my terminal app (alacritty) > nothing happens. Firefox appears to start, and indeed if I use ps - a > it shows up in the app list but it is not visible. I've done the usual > "googling" but all I've found are vague references to xwayland not > working properly. Do you know if this is an issue with sway or a > deeper problem with amdgpu? I noticed amdgpu is based off an older > Linux kernel and the ports version of xwayland is behind upstream so I > wondered if that could be the problem. I would like to help resolve > this issue for myself and all FreeBSD users but I'm not sure where to > start. I can read and write basic C code but I'm not a professional > programmer. I would also be glad to do some testing if > necessary. Thanks in advance for any assistance you could give. Maybe an issue with www/firefox. Try www/firefox-esr instead or another X11 application. Firefox supports Wayland natively which can be enabled by defining GDK_BACKEND=wayland or MOZ_ENABLE_WAYLAND=1 (since 66.0, preferred) via environ(7) variable. Did you change any port options in x11-wm/sway or one of its dependencies? Did you define LIBGL_DRI3_ENABLE=1 in environ(7) to avoid llvmpipe fallback? Does $DISPLAY in alacritty session and Xwayland 1st argument in ps(1) match? Can you show "sway -d" output? IIRC, Sway starts Xwayland on first use. Can you try "firefox --new-instance --profile $(mktemp -dt ffprofile)"? From owner-freebsd-x11@freebsd.org Tue Jun 11 02:24:22 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6D1915CE86A for ; Tue, 11 Jun 2019 02:24:22 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 18C1D6F68E for ; Tue, 11 Jun 2019 02:24:22 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id C928C15CE869; Tue, 11 Jun 2019 02:24:21 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A37FB15CE868 for ; Tue, 11 Jun 2019 02:24:21 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 339D36F68D; Tue, 11 Jun 2019 02:24:21 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [192.168.0.83] (ip72-208-182-43.ph.ph.cox.net [72.208.182.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id CFDF41D331; Tue, 11 Jun 2019 02:24:20 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: Sway, Wayland, and Xwayland To: Dale Brazelton Cc: x11@freebsd.org References: From: Johannes Lundberg Openpgp: preference=signencrypt Autocrypt: addr=johalun0@gmail.com; keydata= mQINBFxFmoIBEADoFO5jY+Fmsg44KiZjufEmpEf4kt7nCOfxNG9SruWpoXUaq0B296F+fIZC hNZqv1v7lGTsfoWRusxJmLd5CQgHHxEyruZbbPpNsQ/JKoDY3GGmrmWfN/SX3y0t0kdB9HsW mJcvZhK7we52f4gxddIVBS9nQoVoONX+hzXf8zwOAa0ik0EPgEwpIKS4j9lLq4bU+mqVKdRR bPeDujEA/qbsCKhaFJkPzXZtzEe6srq4RK1doEztwnKz02b+8gs642TRkWDQeTRZputrAaoN Un4R76A1QpXWyrFG1dQu48IGHi3KbkrvNyq6R1aUBIA0+CG1npIbxmc2mtSjoyvdipmDRbBD +mhECIxmYfBT6818zuj91XjrfOyfVdV2BryBvqFkJLkS3N3QElBIiVdDgdrqiNFWiOlDMxNI tdP16oQBNo8IB27/0YHpnQEw1MafZv5gG5DO0zLtLy88ASAfL7BYf90JP19rT4JIwnxsXxyv kEJnzhsXf0QVObEiAu1MqeFyWfZ8PpunmvEmJ0VChOL+v/kIx1E9cxhhzMZhqiMXfyM4zx2+ BF1FwAwJYPuJLu2B3L0uVBu+M1YvSOmKAbXPDP8PsqPjgSBTYI51MUjuuxN6jSsHDuK6G5k4 pUWR8axa+wafhd6Vz8zVwdTJZ9LdxgLLVg0kprBgccPHhPAZVQARAQABtCZKb2hhbm5lcyBM dW5kYmVyZyA8am9oYWx1bjBAZ21haWwuY29tPokCVAQTAQgAPhYhBIl1Pb3+hI60ivmRSULn yG4BGvSeBQJcRZqCAhsjBQkJZgGABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEELnyG4B GvSe9O0P/RzeQAu1R37RlONZTXNn+qIAHvHbZEhzrCibzaZnwYdC31wGrYmXNDyiQIqOngFf QJuufQtH/+95OESJsjR+42L/pNfFdaEWxiI003qE7uCMzLK5UWUXd/5d5vYY0CaPyNCj1tyM ZIq7x4CaR3QLTh/Fw4zMUI/ZPH2S5SxVFGv0ZZFAdNYILD3qCkAS/9HmXsqufBWbfutA8TTf wyJfywmvf7ENjlZ4QOjb242ZY9NndqbmqTgWVAws+PN5e9AT8HkadscCTCSkYnxJyYG2El27 DpAAkekYplb/C0j82KSz2fy9RgwD+tTqt88DJOeFbIbrYt44u7KLHpzaZeqyUtn0reHCkE0W lnKH2kXXbuswFB4sONxI/J5+qSmOsAm5ItO3voyjm/swpmFR1yBlxo4th26gbO5NfBOK9YsY zHKgiRDv6ZdnHo+htphRxcCDHsFPzkQe5jouI25dvMZYl1LaTS/09lwYVwVIB2SFmMtFZ7rB N4NBSzPlpsg+g4dJNqiw6Rfa2Q/wUv+MzTJgLtHjDccXlpm33Nc09UytHFtNn26PO/zrM39r TwzdLu1mg0x2WWEWTIqe4CaczQU9SIg49BSyJNoPSZx3V7nMhTKbOeQKR5aV3dXI66aENw86 pa1tipuUKCPmope/GTJatUgPiD3JkyiD+7c1zQX2UAGmuQINBFxFmoIBEACb55RAkM59huAx 4Ddd8WBjsw25qf7rzxeRKAQ7or/8LvJBYQDPXZy0RhkRiu+P+MjxwGb6HVh+LDyAYDn9d8Mt ZqCP/dOGNcl7pkb6IhfRc3i5neckXCYfbm0cigiX9JkqZSt3KT96zbjCxsFZKyIyEFsMl46q 7wKWK5Irj3zxV/Z51JNTJyMLcIRWhY8G6qlMNFgZkz2Hv63w6BRekKVImOmOdThLAscy5ybq 2CIUeAwPG7lMYG9rgcPdn3tMPeWlLmUmi5pSwOQ3AKg3xFrW3WfegjRHdqpeuXoeTjYPPCW4 gyl59uv6E12a6eivItCxj67vlBXgOr4um+zoPyXG/WfidIFtWaEgyBrlGR1Klk7SIcqjEHUA FdiM+PweY4opHXXKn60NOZCqBJ59K43drOQgRouz8E2T3yEoYg40xAfY3lhJV/Vx5+kSTjmy sT2xotlPn/GzfaAEvNuJDK+Mec3LvfbbDoOWFolNyEvoMQqF5Q3A8eGqYsoVGBPxyzNvF2iY LkymxiXpgrSN0Q/LOK7pFlWwbVC8Z6g5I0J9ecgD55dGLoX2luLir787XX/JxGffzbRnP9NE ifenJGrQmx4CyEaz/CHQqSbROm5Uo/YFUX9J7OfUO4mtu90j773j32I3psey/Fz3EC/A2PHv Ghb0KsWYpS3Pj5TV1gGyswARAQABiQI8BBgBCAAmFiEEiXU9vf6EjrSK+ZFJQufIbgEa9J4F AlxFmoICGwwFCQlmAYAACgkQQufIbgEa9J7qOQ//YG/4e69YTSjtiYLXzBI8tRU2Sx+NFByx zx+C/r0EBThLtgRwCqEUZRB7iIDSO8aZ0Qa3vwWRohlD1tn/LBdDFfMmuQkNVdLIrjBoGBB9 B5xHdZJ9xnTZEwpTtk6IWolT4j+8rpGemGKKiFo3X6l02On4Qb4iM7h6rcDb76mfwooNYzB3 8PPcLvyOWb/9iCXAb5N7doo5zmOl15DVwvIF04eXU0q1FFj/iS1zNmtZ5Got82O1TQFV+de4 Rb3YA80IZhhhCiHHJqkMKeKQogRqU+UNDBARUBxfUtKsJtQzTQ2JUGwkb6X6bx53FTLP6O9q hDoODVweE1LdB1k1H5Nn+gawPdRMBqj43Y2amK7KEgoTBrwU04CLpKiaAC0S+EcJFfJcwtpK k3F+uTtP/hnhFnWbn8SgRkHKXKWqSCt63NstXhMzAJut1gEzV+CcPNKqa/sFgQaYEvzCS5Kl F/PXj0++f3TIFqT+2ZNNp8Bz8dT7gh8RPPg5oYQiCHH8K1RAmq7gKqmwyg0qgOazHnped+od X4f3qx320JAP6NP9wglDm6eht48NJzb0sffN8z34wrP66oz8oPKtS5CFV0m/384hEg0lmi3W wo2Hno7rA1etTPJX0dI6/GLlQDtNTHvKQ077HQdWVOMQVWC9j7YH7Zr9NjtOvxcNVRX3fxpJ 6CE= X-Tagtoolbar-Keys: D20190610192417770 Message-ID: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> Date: Mon, 10 Jun 2019 19:24:17 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Rspamd-Queue-Id: 339D36F68D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 11 Jun 2019 02:24:22 -0000 On 6/10/19 7:03 PM, Jan Beich wrote: > (CC'ing appropriate public list. I don't help privately.) > > Dale Brazelton writes: > >> Hello! I saw you were the Sway maintainer so I thought I'd direct this= >> question to you. I'm a fairly new FreeBSD user. I run 12 stable on an >> AMD X470 board with an AMD Vega 64 graphics card. I use drm-kmod with >> amdgpu driver for graphics support. All the packages I use are built >> from ports using poudriere. I've managed to get Sway working but am >> unable to get any X11 apps to work thru xwayland. For instance if I >> start sway and then start firefox from my terminal app (alacritty) >> nothing happens. Firefox appears to start, and indeed if I use ps - a >> it shows up in the app list but it is not visible. I've done the usual= >> "googling" but all I've found are vague references to xwayland not >> working properly. Do you know if this is an issue with sway or a >> deeper problem with amdgpu? I noticed amdgpu is based off an older >> Linux kernel and the ports version of xwayland is behind upstream so I= >> wondered if that could be the problem. I would like to help resolve >> this issue for myself and all FreeBSD users but I'm not sure where to >> start. I can read and write basic C code but I'm not a professional >> programmer. I would also be glad to do some testing if >> necessary. Thanks in advance for any assistance you could give. > Maybe an issue with www/firefox. Try www/firefox-esr instead or another= > X11 application. Firefox supports Wayland natively which can be enabled= > by defining GDK_BACKEND=3Dwayland or MOZ_ENABLE_WAYLAND=3D1 (since 66.0= , preferred) > via environ(7) variable. > > Did you change any port options in x11-wm/sway or one of its dependenci= es? > Did you define LIBGL_DRI3_ENABLE=3D1 in environ(7) to avoid llvmpipe fa= llback? > Does $DISPLAY in alacritty session and Xwayland 1st argument in ps(1) m= atch? > Can you show "sway -d" output? IIRC, Sway starts Xwayland on first use.= > Can you try "firefox --new-instance --profile $(mktemp -dt ffprofile)"?= > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" Hi I've recently been playing around with this a bit. xfce applications like xfce4-terminal seem to use wayland backend by default and work out of the box in Sway. firefox needs environment variable GDK_BACKEND=3D1 to be set (or MOZ_ENABLE_WAYLAND=3D1 if that's now the recommend way). With this it run= s fine in Sway. Other simple X apps like xclock, or even glxgears that need Xwayland run but are not displayed. The window seem to be=C2=A0 simply hidden. IIRC th= ere was a fix to this but I can't remember what that was. I tried enable/disable DRI3 but to no success... I'm not sure though how well your graphics card is supported by 12-stable. You might have better luck with drm v5.0 drivers. I'm currently working on putting together some live usb images for testing that has drivers and Xfce/Sway desktop environments installed. Download from https://people.freebsd.org/~johalun/ and burn to a 16GB memstick if you want to test out an early version. Drm v5.0 drivers are only for 13-current at the moment but will be available later for 12-stable and 12= =2E1. Cheers From owner-freebsd-x11@freebsd.org Tue Jun 11 09:27:50 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9DE415B424A for ; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1CD84200 for ; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3AABA15B4244; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 285F315B4243 for ; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B87AC841FA for ; Tue, 11 Jun 2019 09:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EA3D11619E for ; Tue, 11 Jun 2019 09:27:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5B9RlbK052619 for ; Tue, 11 Jun 2019 09:27:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5B9RlR3052614 for x11@FreeBSD.org; Tue, 11 Jun 2019 09:27:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 238491] x11-drivers/xf86-input-mouse: avoid the need of moused if using a touchpad Date: Tue, 11 Jun 2019 09:27:47 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 11 Jun 2019 09:27:50 -0000 Bugzilla Automation has asked freebsd-x11 mailing li= st for maintainer-feedback: Bug 238491: x11-drivers/xf86-input-mouse: avoid the need of moused if using= a touchpad https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238491 --- Description --- Recently review D20507 was commited: it enables touchpad by default. As it can be read in the review, using the touchpad at the moment requires moused to be started before Xorg, at least for some users such as myself. wulf proposed a patch to fix the problem, so that now moused is not required anymore: I propose to commit this patch. (wulf also proposes other ideas, b= ut this one seems to be the easiest to implement, it avoids running the process moused and showing the mouse pointer in consoles.) The attached patch is exactly what wulf suggested. In the review it was said that it is unlikely that it could bring any side effect to anyone, however,= if someone has some concern about it, I can modify it so that the patch is app= lied only if a given option is enabled or disabled. I tested successfully on 12-STABLE r348603 (I applied manually the patch th= at enables touchpad by default; I believe this is only commited in CURRENT at least for now). From owner-freebsd-x11@freebsd.org Tue Jun 11 09:27:50 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29FB615B424B for ; Tue, 11 Jun 2019 09:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C2B0284202 for ; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7E56E15B4247; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59A8A15B4245 for ; Tue, 11 Jun 2019 09:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8D84841FB for ; Tue, 11 Jun 2019 09:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 22B9E1619F for ; Tue, 11 Jun 2019 09:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5B9RmWL052719 for ; Tue, 11 Jun 2019 09:27:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5B9RmH8052710 for x11@FreeBSD.org; Tue, 11 Jun 2019 09:27:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 238491] x11-drivers/xf86-input-mouse: avoid the need of moused if using a touchpad Date: Tue, 11 Jun 2019 09:27:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: phascolarctos@protonmail.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 11 Jun 2019 09:27:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238491 Bug ID: 238491 Summary: x11-drivers/xf86-input-mouse: avoid the need of moused if using a touchpad Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: phascolarctos@protonmail.ch CC: wulf@freebsd.org, zeising@FreeBSD.org Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Recently review D20507 was commited: it enables touchpad by default. As it can be read in the review, using the touchpad at the moment requires moused to be started before Xorg, at least for some users such as myself. wulf proposed a patch to fix the problem, so that now moused is not required anymore: I propose to commit this patch. (wulf also proposes other ideas, b= ut this one seems to be the easiest to implement, it avoids running the process moused and showing the mouse pointer in consoles.) The attached patch is exactly what wulf suggested. In the review it was said that it is unlikely that it could bring any side effect to anyone, however,= if someone has some concern about it, I can modify it so that the patch is app= lied only if a given option is enabled or disabled. I tested successfully on 12-STABLE r348603 (I applied manually the patch th= at enables touchpad by default; I believe this is only commited in CURRENT at least for now). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Tue Jun 11 09:28:47 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AFE115B42E4 for ; Tue, 11 Jun 2019 09:28:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B436884297 for ; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 74BDC15B42DE; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6396715B42DD for ; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 028C98428F for ; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 40661161A4 for ; Tue, 11 Jun 2019 09:28:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5B9Sj94061610 for ; Tue, 11 Jun 2019 09:28:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5B9SjdI061609 for x11@FreeBSD.org; Tue, 11 Jun 2019 09:28:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 238491] x11-drivers/xf86-input-mouse: avoid the need of moused if using a touchpad Date: Tue, 11 Jun 2019 09:28:45 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: phascolarctos@protonmail.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 11 Jun 2019 09:28:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238491 Lorenzo Salvadore changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |x11@FreeBSD.org Attachment #204980| |maintainer-approval?(x11@Fr Flags| |eeBSD.org) --- Comment #1 from Lorenzo Salvadore --- Created attachment 204980 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204980&action= =3Dedit xf86-input-mouse: no moused required --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Tue Jun 11 09:28:47 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01BFB15B42E1 for ; Tue, 11 Jun 2019 09:28:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8E05384295 for ; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5134015B42DC; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D49C15B42DB for ; Tue, 11 Jun 2019 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C72198428E for ; Tue, 11 Jun 2019 09:28:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 109B3161A3 for ; Tue, 11 Jun 2019 09:28:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5B9Si69061606 for ; Tue, 11 Jun 2019 09:28:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5B9Siub061605 for x11@FreeBSD.org; Tue, 11 Jun 2019 09:28:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-approval requested: [Bug 238491] x11-drivers/xf86-input-mouse: avoid the need of moused if using a touchpad : [Attachment 204980] xf86-input-mouse: no moused required Date: Tue, 11 Jun 2019 09:28:44 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 11 Jun 2019 09:28:47 -0000 Lorenzo Salvadore has asked freebsd-x11 maili= ng list for maintainer-approval: Bug 238491: x11-drivers/xf86-input-mouse: avoid the need of moused if using= a touchpad https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238491 Attachment 204980: xf86-input-mouse: no moused required https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204980&action=3Dedit --- Comment #1 from Lorenzo Salvadore --- Created attachment 204980 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204980&action= =3Dedit xf86-input-mouse: no moused required From owner-freebsd-x11@freebsd.org Tue Jun 11 11:23:32 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBB4015B79A2 for ; Tue, 11 Jun 2019 11:23:32 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A21687CC2 for ; Tue, 11 Jun 2019 11:23:31 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5AD3D15B79A1; Tue, 11 Jun 2019 11:23:31 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BCE215B79A0 for ; Tue, 11 Jun 2019 11:23:31 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-oln040092007011.outbound.protection.outlook.com [40.92.7.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F92387C92; Tue, 11 Jun 2019 11:23:28 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SqNEaxpwDMNBGMMnt3me45Jx4JdI+bVtda13nuVMMWw=; b=O3pH914UXJnUUNHp9D0UDDBRezTBFGz+vAoD+dl6l3QmbdqpZrZcsfDO6F/JfsMJYFbtwF7ttPEtPeXBE4Y/169Dy8ZPEODd/SWNEX/hO335/LiilucibrykPeflmPxqSPlLAVawvjTnEFZd7mAnSb3bc/IH/DQA4Pjp7iesA29M/bWMNj4BR4fvciTiAx/s6/lEFimbVs+6TOyyNgDFysiyxL2wRKnaBGP/ZFcdWIL4r6gE5lBtSj55I7Cq5MLullGRiGrDq8MP3CsjASvRawSgIB7TICiqsXWipfT3gNNrLG+2uIWqEe0ioKXBZnYl9lzQLBiXNB7XHoIyj/xwDw== Received: from DM3NAM03FT033.eop-NAM03.prod.protection.outlook.com (10.152.82.54) by DM3NAM03HT235.eop-NAM03.prod.protection.outlook.com (10.152.83.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1965.12; Tue, 11 Jun 2019 11:23:24 +0000 Received: from MWHPR19MB1533.namprd19.prod.outlook.com (10.152.82.56) by DM3NAM03FT033.mail.protection.outlook.com (10.152.82.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1965.12 via Frontend Transport; Tue, 11 Jun 2019 11:23:24 +0000 Received: from MWHPR19MB1533.namprd19.prod.outlook.com ([fe80::80a5:8356:a25e:7a9b]) by MWHPR19MB1533.namprd19.prod.outlook.com ([fe80::80a5:8356:a25e:7a9b%7]) with mapi id 15.20.1965.017; Tue, 11 Jun 2019 11:23:24 +0000 From: Dale Brazelton To: Johannes Lundberg CC: "x11@freebsd.org" Subject: Re: Sway, Wayland, and Xwayland Thread-Topic: Sway, Wayland, and Xwayland Thread-Index: AQHVH7gKC1wXUqRGzkKcUPYcSTj9xKaVtFMrgAAFxoCAAJV/rA== Date: Tue, 11 Jun 2019 11:23:23 +0000 Message-ID: References: , <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> In-Reply-To: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:AB8CDDEE498CF7B911D6DBDA6AC497E26D101DA5E2007C043C42A484C7D0FF60; UpperCasedChecksum:802D3A142D78D71EA0197402D779FB3D26AD4346117C9763EC734A5F8B7894D5; SizeAsReceived:6792; Count:43 x-tmn: [fuEJ3Hr1CRzkN79ZG5YB0FggDvMe00np] x-ms-publictraffictype: Email x-incomingheadercount: 43 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:DM3NAM03HT235; x-ms-traffictypediagnostic: DM3NAM03HT235: x-ms-exchange-purlcount: 3 x-microsoft-antispam-message-info: BouYYoRhJdk6anOaKI4ZVBW6mpcOp9Wvf3NHv5jMzhTncFcROsdABcoE1lME/1QIduskfuwki3s9t1LkKGkuwE0bPd1Nj3yvBXu0o66lWGjszkpJM/KN1l3aOIXP7ZdM0peP/w2qQcw3W6hk41AB+5e69Y/BBvnJ2jtW3js8tdyuBXQ8Ne3MZmbSSiHKmn8k MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 9bb74bad-3a53-4770-38e2-08d6ee5f3785 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2019 11:23:23.9334 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT235 X-Rspamd-Queue-Id: 0F92387C92 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 11 Jun 2019 11:23:33 -0000 Hello Thanks to you both for the feedback. I will act on the suggestions and repo= rt back tonight. Also I joined the X11 mailing list as suggested. Is that t= he proper place to discuss drm-kmod, amdgpu, and Wayland related issues? Get Outlook for Android ________________________________ From: Johannes Lundberg Sent: Monday, June 10, 2019 9:24:17 PM To: Dale Brazelton Cc: x11@freebsd.org Subject: Re: Sway, Wayland, and Xwayland On 6/10/19 7:03 PM, Jan Beich wrote: > (CC'ing appropriate public list. I don't help privately.) > > Dale Brazelton writes: > >> Hello! I saw you were the Sway maintainer so I thought I'd direct this >> question to you. I'm a fairly new FreeBSD user. I run 12 stable on an >> AMD X470 board with an AMD Vega 64 graphics card. I use drm-kmod with >> amdgpu driver for graphics support. All the packages I use are built >> from ports using poudriere. I've managed to get Sway working but am >> unable to get any X11 apps to work thru xwayland. For instance if I >> start sway and then start firefox from my terminal app (alacritty) >> nothing happens. Firefox appears to start, and indeed if I use ps - a >> it shows up in the app list but it is not visible. I've done the usual >> "googling" but all I've found are vague references to xwayland not >> working properly. Do you know if this is an issue with sway or a >> deeper problem with amdgpu? I noticed amdgpu is based off an older >> Linux kernel and the ports version of xwayland is behind upstream so I >> wondered if that could be the problem. I would like to help resolve >> this issue for myself and all FreeBSD users but I'm not sure where to >> start. I can read and write basic C code but I'm not a professional >> programmer. I would also be glad to do some testing if >> necessary. Thanks in advance for any assistance you could give. > Maybe an issue with www/firefox. Try www/firefox-esr instead or another > X11 application. Firefox supports Wayland natively which can be enabled > by defining GDK_BACKEND=3Dwayland or MOZ_ENABLE_WAYLAND=3D1 (since 66.0, = preferred) > via environ(7) variable. > > Did you change any port options in x11-wm/sway or one of its dependencies= ? > Did you define LIBGL_DRI3_ENABLE=3D1 in environ(7) to avoid llvmpipe fall= back? > Does $DISPLAY in alacritty session and Xwayland 1st argument in ps(1) mat= ch? > Can you show "sway -d" output? IIRC, Sway starts Xwayland on first use. > Can you try "firefox --new-instance --profile $(mktemp -dt ffprofile)"? > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://nam02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists= .freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-x11&data=3D02%7C01%7C%7C6ae= 6dc09fff74a28408b08d6ee13eaf4%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C= 636958166643369338&sdata=3DgJNmhd6ZswsxqyQJK8soKLBi%2FHnhsQ926RdAKQjtjj= E%3D&reserved=3D0 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" Hi I've recently been playing around with this a bit. xfce applications like xfce4-terminal seem to use wayland backend by default and work out of the box in Sway. firefox needs environment variable GDK_BACKEND=3D1 to be set (or MOZ_ENABLE_WAYLAND=3D1 if that's now the recommend way). With this it runs fine in Sway. Other simple X apps like xclock, or even glxgears that need Xwayland run but are not displayed. The window seem to be simply hidden. IIRC there was a fix to this but I can't remember what that was. I tried enable/disable DRI3 but to no success... I'm not sure though how well your graphics card is supported by 12-stable. You might have better luck with drm v5.0 drivers. I'm currently working on putting together some live usb images for testing that has drivers and Xfce/Sway desktop environments installed. Download from https://nam02.safelinks.protection.outlook.com/?url=3Dhttps:%2F%2Fpeop= le.freebsd.org%2F~johalun%2F&data=3D02%7C01%7C%7C6ae6dc09fff74a28408b08= d6ee13eaf4%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636958166643369338&= amp;sdata=3DWAXc9uu0MblMXXvvPWMfwtgTcUVFmbmIKM5ZF0bm4NQ%3D&reserved=3D0= and burn to a 16GB memstick if you want to test out an early version. Drm v5.0 drivers are only for 13-current at the moment but will be available later for 12-stable and 12.1= . Cheers From owner-freebsd-x11@freebsd.org Tue Jun 11 21:23:55 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DB4915C768B for ; Tue, 11 Jun 2019 21:23:55 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C63FF80FE2 for ; Tue, 11 Jun 2019 21:23:54 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by mailman.ysv.freebsd.org (Postfix) id 7D39415C768A; Tue, 11 Jun 2019 21:23:54 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69D6215C7688 for ; Tue, 11 Jun 2019 21:23:54 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D558580FE0 for ; Tue, 11 Jun 2019 21:23:53 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Tue, 11 Jun 2019 21:23:51 +0000 Received: from [192.168.1.127] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 75344B26-49EF-420D-BD27-4DD5A9928A08.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 11 Jun 2019 21:23:50 +0000 Date: Wed, 12 Jun 2019 00:23:48 +0300 From: Greg V Subject: Re: Sway, Wayland, and Xwayland To: Johannes Lundberg Cc: Dale Brazelton , x11@freebsd.org Message-Id: <1560288228.78549.0@unrelenting.technology> In-Reply-To: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> X-Mailer: geary/3.34-dev MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=4WRuZw5oZRTRGcMhRISxewA79ia9f9Tx4p406oc4k0A=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=Q1/TN2TkL0d2isxO0wL273ggvGmJucP9kYEzlZPwNgxYKBBUoAQXEBMQ2mjHye7cXZk7dGNVmH6+a0lZjCL+MfER0hiv13rtClgoCjKKJuDm0nnegeSx6EXairdjRyr/Ys/K3jE3mKzPqRJkYVxZB/jfS3Vk7CiNfsSve0+r2EM= X-Rspamd-Queue-Id: D558580FE0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.979,0] 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, 11 Jun 2019 21:23:55 -0000 On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg wrote: > On 6/10/19 7:03 PM, Jan Beich wrote: >> (CC'ing appropriate public list. I don't help privately.) >> >> Dale Brazelton writes: >> >>> I've managed to get Sway working but am >>> unable to get any X11 apps to work thru xwayland. For instance if I >>> start sway and then start firefox from my terminal app (alacritty) >>> nothing happens. >> >> Did you change any port options in x11-wm/sway or one of its >> dependencies? >> Did you define LIBGL_DRI3_ENABLE=1 in environ(7) to avoid llvmpipe >> fallback? >> Does $DISPLAY in alacritty session and Xwayland 1st argument in >> ps(1) match? >> Can you show "sway -d" output? IIRC, Sway starts Xwayland on first >> use. >> Can you try "firefox --new-instance --profile $(mktemp -dt >> ffprofile)"? > Other simple X apps like xclock, or even glxgears that need Xwayland > run > but are not displayed. The window seem to be simply hidden. IIRC > there > was a fix to this but I can't remember what that was. I tried > enable/disable DRI3 but to no success... Xwayland windows not displaying is the good old ioctl permission thing: >>> https://github.com/FreeBSDDesktop/kms-drm/issues/33#issuecomment-422793245 <<< ^^^ maybe it's time to merge my workaround since no one's found the root cause ^^^ From owner-freebsd-x11@freebsd.org Tue Jun 11 21:28:22 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17E9B15C773D for ; Tue, 11 Jun 2019 21:28:22 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 60CDC81085 for ; Tue, 11 Jun 2019 21:28:21 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1A5B215C773C; Tue, 11 Jun 2019 21:28:21 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA67D15C773B for ; Tue, 11 Jun 2019 21:28:20 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 801E881083; Tue, 11 Jun 2019 21:28:20 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi1-x243.google.com with SMTP id q186so10124732oia.0; Tue, 11 Jun 2019 14:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RBAYSR/iyz4xvurwfr/33ek3wuHRz2yR7Ra07ADA2tI=; b=tjKfERS/SVE9dFKaTri77xjO9jT1RxFP1Woa59+5Ylkf4IaFF1n/GeiT8ny9HYGxMW XA3dcJxlP7YERWJUhGPuly62X1REx3lq+xwm0fdKBBbguWT8GXfKUiqfT7dMKWk5dptJ QeqZ2ICo3GkDYUj5jpWlTCtWgcpdphuQ0uK2n14YKdE0j4nAkAz32iU0CypZ9oOQUaua OS918BHFnUGesQTglBOi0n01f6UV4lghIx3KkSmJCiKznUeTVOJTXKEJmSUSDxheLEWt Lq7m9pN6KjbN6u/JM6hlGzbGf43NxcWlh6Fpak0xlsTu9gsOC/beQLeMpfmFgAx8GgK+ GPfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RBAYSR/iyz4xvurwfr/33ek3wuHRz2yR7Ra07ADA2tI=; b=O+s0sWfHISffUTnCW4JMLKak/ntlTPcUs0cr6Z2zqsJtoVQwdv+BELmnKOK53fbGHj 90YRClsINM7cNubsveFmAL8AvCh7Qk/bkqccuxULs1F477IevzL00N4Pde8zPl2/rq7x 20/ZmfEwI+bCKZ9kEqUCzm+e9SeQMY+iuw0uHZQR35BRrYTbihrmlr9QXG+92ZHPN5nl wvrNF91W8WbKHRUU/JxBTJZn0ujnyFcMMEURqcwhM6TIXO+2YANfNVqz7UXg3Mt/T6XG mayYt3s9aK3M9ELCJWKnHJlMQFRydtJC1gIGffN5jKczXnkQ9MjZRVg10YU2MeV888eV xAXA== X-Gm-Message-State: APjAAAUY2OD83MK46WhITP2/ST7QIh7BcqfG58ngjbnedncFifuY80vf F8ETbewq0D5BB6f1srBqw02rxqk5v0syys69bco= X-Google-Smtp-Source: APXvYqwJbQr9dpwHW1gn4z8eIc0iBn8m0UOWjAHgOF3+pc4usaRhrPTFAQ5lCK2D+RduUEotwpJPTjzMU+z7I2JJ0z8= X-Received: by 2002:aca:5050:: with SMTP id e77mr11035980oib.52.1560288499515; Tue, 11 Jun 2019 14:28:19 -0700 (PDT) MIME-Version: 1.0 References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology> In-Reply-To: <1560288228.78549.0@unrelenting.technology> From: Johannes Lundberg Date: Tue, 11 Jun 2019 14:28:08 -0700 Message-ID: Subject: Re: Sway, Wayland, and Xwayland To: Greg V Cc: Dale Brazelton , Johannes Lundberg , x11@freebsd.org X-Rspamd-Queue-Id: 801E881083 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.92)[-0.918,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 11 Jun 2019 21:28:22 -0000 On Tue, Jun 11, 2019 at 14:23 Greg V wrote: > > > On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg > wrote: > > On 6/10/19 7:03 PM, Jan Beich wrote: > >> (CC'ing appropriate public list. I don't help privately.) > >> > >> Dale Brazelton writes: > >> > >>> I've managed to get Sway working but am > >>> unable to get any X11 apps to work thru xwayland. For instance if I > >>> start sway and then start firefox from my terminal app (alacritty) > >>> nothing happens. > >> > >> Did you change any port options in x11-wm/sway or one of its > >> dependencies? > >> Did you define LIBGL_DRI3_ENABLE=3D1 in environ(7) to avoid llvmpipe > >> fallback? > >> Does $DISPLAY in alacritty session and Xwayland 1st argument in > >> ps(1) match? > >> Can you show "sway -d" output? IIRC, Sway starts Xwayland on first > >> use. > >> Can you try "firefox --new-instance --profile $(mktemp -dt > >> ffprofile)"? > > Other simple X apps like xclock, or even glxgears that need Xwayland > > run > > but are not displayed. The window seem to be simply hidden. IIRC > > there > > was a fix to this but I can't remember what that was. I tried > > enable/disable DRI3 but to no success... > > Xwayland windows not displaying is the good old ioctl permission thing: > > >>> > https://github.com/FreeBSDDesktop/kms-drm/issues/33#issuecomment-42279324= 5 > <<< > > ^^^ maybe it's time to merge my workaround since no one's found the > root cause ^^^ Thanks for the reminder!! =F0=9F=98=81 I think no one has looked for the root cause yet. I=E2=80=99ll put it next = on my todo list for the big 5.0 cleanup/fix up. > > > From owner-freebsd-x11@freebsd.org Wed Jun 12 08:14:38 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27AC915AD39B for ; Wed, 12 Jun 2019 08:14:38 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BA2EB6BF56 for ; Wed, 12 Jun 2019 08:14:37 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7014C15AD395; Wed, 12 Jun 2019 08:14:37 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DE6D15AD391 for ; Wed, 12 Jun 2019 08:14:37 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 227AC6BF4E for ; Wed, 12 Jun 2019 08:14:37 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org (portscout.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3638824B7 for ; Wed, 12 Jun 2019 08:14:36 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org ([127.0.1.123]) by portscout.ysv.freebsd.org (8.15.2/8.15.2) with ESMTP id x5C8EafO019016 for ; Wed, 12 Jun 2019 08:14:36 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id x5C8EaGH019015; Wed, 12 Jun 2019 08:14:36 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201906120814.x5C8EaGH019015@portscout.ysv.freebsd.org> X-Authentication-Warning: portscout.ysv.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Wed, 12 Jun 2019 08:14:36 +0000 From: portscout@FreeBSD.org To: x11@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 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: Wed, 12 Jun 2019 08:14:38 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/x11@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ graphics/mesa-dri | 18.3.2 | 19.1.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-x11@freebsd.org Thu Jun 13 06:33:00 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61E5515CD94F for ; Thu, 13 Jun 2019 06:33:00 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D5DF76E93F for ; Thu, 13 Jun 2019 06:32:59 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9470215CD94E; Thu, 13 Jun 2019 06:32:59 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8181A15CD94D for ; Thu, 13 Jun 2019 06:32:59 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 108746E93E; Thu, 13 Jun 2019 06:32:59 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [192.168.0.83] (ip72-208-182-43.ph.ph.cox.net [72.208.182.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id 741A41492A; Thu, 13 Jun 2019 06:32:58 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: Sway, Wayland, and Xwayland To: Greg V Cc: Dale Brazelton , x11@freebsd.org References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology> From: Johannes Lundberg X-Tagtoolbar-Keys: D20190612233255795 Message-ID: Date: Wed, 12 Jun 2019 23:32:55 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <1560288228.78549.0@unrelenting.technology> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 108746E93E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Thu, 13 Jun 2019 06:33:00 -0000 On 6/11/19 2:23 PM, Greg V wrote: > > > On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg > wrote: >> On 6/10/19 7:03 PM, Jan Beich wrote: >>>  (CC'ing appropriate public list. I don't help privately.) >>> >>>  Dale Brazelton writes: >>> >>>> I've managed to get Sway working but am >>>>  unable to get any X11 apps to work thru xwayland. For instance if I >>>>  start sway and then start firefox from my terminal app (alacritty) >>>>  nothing happens. >>> >>>  Did you change any port options in x11-wm/sway or one of its >>> dependencies? >>>  Did you define LIBGL_DRI3_ENABLE=1 in environ(7) to avoid llvmpipe >>> fallback? >>>  Does $DISPLAY in alacritty session and Xwayland 1st argument in >>> ps(1) match? >>>  Can you show "sway -d" output? IIRC, Sway starts Xwayland on first >>> use. >>>  Can you try "firefox --new-instance --profile $(mktemp -dt >>> ffprofile)"? >> Other simple X apps like xclock, or even glxgears that need Xwayland run >> but are not displayed. The window seem to be  simply hidden. IIRC there >> was a fix to this but I can't remember what that was. I tried >> enable/disable DRI3 but to no success... > > Xwayland windows not displaying is the good old ioctl permission thing: > > >>> > https://github.com/FreeBSDDesktop/kms-drm/issues/33#issuecomment-422793245 > <<< > > ^^^ maybe it's time to merge my workaround since no one's found the > root cause ^^^ Looks like this is fixed in Xorg 1.20.  I built my xorg-server and xwayland packages from our dev branch here https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 and tested myself. Hopefully we can get 1.20 out soon... > > From owner-freebsd-x11@freebsd.org Thu Jun 13 19:36:31 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C48EC15BB097 for ; Thu, 13 Jun 2019 19:36:30 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E2FFD6BC0E for ; Thu, 13 Jun 2019 19:36:29 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9CE1915BB093; Thu, 13 Jun 2019 19:36:29 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78F4115BB092 for ; Thu, 13 Jun 2019 19:36:29 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-oln040092002063.outbound.protection.outlook.com [40.92.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E90DC6BC08; Thu, 13 Jun 2019 19:36:28 +0000 (UTC) (envelope-from dalebrazelton@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XFwrB+a2lm4zyWFRq45YMJ3D/LRO6wXOOkLitWIa/CM=; b=Ju84MGIb/hE5mJ+K/n6p3JIYNrIreATST30zDRz7kM57DwQlK2AxFI1NyisUaJ5zxZyf4DeckE4Rwugj0l4SgZIqzBPlElNIzUY2MA6fFc0Mfz8ISqoI4yIP8KfW3kXbsFrPqwCqX5gUT0x9rLCPAuFngzh7gKLN+FIriy+cgJp2guxQenm50uPlBUFHIOQ6k2OMBIjrnzs4sNj2E8rY4HHpX2yK1ecdBfB3vGwqa2tTnbAsIwi3k1Uw75YY2RIbyUqmOOtqC66AZnnD6vlLdqUPcdKZ5rTJ1hQLIiYPmV9xVpPkbDiRtsVfK4fHcmOTsoeR5AA6zfyxafvYL3qwbA== Received: from BY2NAM01FT050.eop-nam01.prod.protection.outlook.com (10.152.68.60) by BY2NAM01HT170.eop-nam01.prod.protection.outlook.com (10.152.68.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1987.11; Thu, 13 Jun 2019 19:36:26 +0000 Received: from MWHPR19MB1533.namprd19.prod.outlook.com (10.152.68.55) by BY2NAM01FT050.mail.protection.outlook.com (10.152.69.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11 via Frontend Transport; Thu, 13 Jun 2019 19:36:26 +0000 Received: from MWHPR19MB1533.namprd19.prod.outlook.com ([fe80::80a5:8356:a25e:7a9b]) by MWHPR19MB1533.namprd19.prod.outlook.com ([fe80::80a5:8356:a25e:7a9b%7]) with mapi id 15.20.1987.010; Thu, 13 Jun 2019 19:36:26 +0000 From: Dale Brazelton To: Johannes Lundberg , Greg V CC: "x11@freebsd.org" Subject: Re: Sway, Wayland, and Xwayland Thread-Topic: Sway, Wayland, and Xwayland Thread-Index: AQHVH7gKC1wXUqRGzkKcUPYcSTj9xKaVtFMrgAAFxoCAAT5gAIACK8GAgADXaOg= Date: Thu, 13 Jun 2019 19:36:26 +0000 Message-ID: References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:B0CD916AAFEE27D228DD50DA53E489EA056FAE3D13EA0D5493837F20A386A486; UpperCasedChecksum:372E921D0E6F4B6549677A1AF3DE1722DAF31CA45D5DDCF0947BD857804D16C3; SizeAsReceived:6930; Count:43 x-tmn: [BR1G3ZTf3K7vYCAVnwDHLE4E1LdgVQzX] x-ms-publictraffictype: Email x-incomingheadercount: 43 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:BY2NAM01HT170; x-ms-traffictypediagnostic: BY2NAM01HT170: x-ms-exchange-purlcount: 3 x-microsoft-antispam-message-info: QzeupZtAqwDGc/2qkbvZP1zWsKEXj/bz+GtHXCB1AWaFtk7MAN8V1hacqGtx0Ym7s+AOI27uxGUoc5tVfBeSLth9S3xfwVeUxgN8c53R94yTWiDUA5p7vpq4kAbUX0Gh8oVVxY7ffLeSDHREhxMUTqnUzhkN4hLWaJNzQUoqu7jZmIIMtGkEx7yckAidMhxh MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 65300c1d-7c0f-4928-5409-08d6f0366cc3 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2019 19:36:26.2694 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT170 X-Rspamd-Queue-Id: E90DC6BC08 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 13 Jun 2019 19:36:31 -0000 Even after implementing all the suggestions from Jan I was unable to get fi= refox to work in sway, neither natively in wayland or with xwayland. After = spending a good part of yesterday testing it, I'm convinced my problems are= due to the implementation of amdgpu in FreeBSD 12 stable. For example, I c= ould only run sway once per boot. If I ever exited sway and tried to restar= t it my computer would hang and I'd have to power it off. (I realize I'm pr= obably the only person in the world trying to run a FreeBSD desktop on an a= md Vega 64 graphics card!) I'll postpone further testing until we have a mo= re up to date amdgpu, mesa, xorg-server, and xwayland in 12 stable. Thanks = to everyone for your help and suggestions! Get Outlook for Android ________________________________ From: Johannes Lundberg Sent: Thursday, June 13, 2019 1:32:55 AM To: Greg V Cc: Dale Brazelton; x11@freebsd.org Subject: Re: Sway, Wayland, and Xwayland On 6/11/19 2:23 PM, Greg V wrote: > > > On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg > wrote: >> On 6/10/19 7:03 PM, Jan Beich wrote: >>> (CC'ing appropriate public list. I don't help privately.) >>> >>> Dale Brazelton writes: >>> >>>> I've managed to get Sway working but am >>>> unable to get any X11 apps to work thru xwayland. For instance if I >>>> start sway and then start firefox from my terminal app (alacritty) >>>> nothing happens. >>> >>> Did you change any port options in x11-wm/sway or one of its >>> dependencies? >>> Did you define LIBGL_DRI3_ENABLE=3D1 in environ(7) to avoid llvmpipe >>> fallback? >>> Does $DISPLAY in alacritty session and Xwayland 1st argument in >>> ps(1) match? >>> Can you show "sway -d" output? IIRC, Sway starts Xwayland on first >>> use. >>> Can you try "firefox --new-instance --profile $(mktemp -dt >>> ffprofile)"? >> Other simple X apps like xclock, or even glxgears that need Xwayland run >> but are not displayed. The window seem to be simply hidden. IIRC there >> was a fix to this but I can't remember what that was. I tried >> enable/disable DRI3 but to no success... > > Xwayland windows not displaying is the good old ioctl permission thing: > > >>> > https://eur04.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithu= b.com%2FFreeBSDDesktop%2Fkms-drm%2Fissues%2F33%23issuecomment-422793245&= ;data=3D02%7C01%7C%7C8d0d2c69c1c54b08b87908d6efc8fc0b%7C84df9e7fe9f640afb43= 5aaaaaaaaaaaa%7C1%7C0%7C636960043831829889&sdata=3DNCuhVs7zzeHl00HpMz9G= nkFVitew2jsM1DmqfteM5sU%3D&reserved=3D0 > <<< > > ^^^ maybe it's time to merge my workaround since no one's found the > root cause ^^^ Looks like this is fixed in Xorg 1.20. I built my xorg-server and xwayland packages from our dev branch here https://eur04.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.= com%2FFreeBSDDesktop%2Ffreebsd-ports%2Ftree%2Ffeature%2Fxserver-1.20&da= ta=3D02%7C01%7C%7C8d0d2c69c1c54b08b87908d6efc8fc0b%7C84df9e7fe9f640afb435aa= aaaaaaaaaa%7C1%7C0%7C636960043831829889&sdata=3DB3tydJ2J7N3qUWAO47A9fxZ= FwOOZB%2BLPz%2B4x%2Bp%2FKuOQ%3D&reserved=3D0 and tested myself. Hopefully we can get 1.20 out soon... > > From owner-freebsd-x11@freebsd.org Thu Jun 13 21:28:10 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6321415BD7DD for ; Thu, 13 Jun 2019 21:28:10 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E95E56F310 for ; Thu, 13 Jun 2019 21:28:09 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A6D7515BD7DC; Thu, 13 Jun 2019 21:28:09 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F17615BD7DB for ; Thu, 13 Jun 2019 21:28:09 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DA856F30E; Thu, 13 Jun 2019 21:28:09 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [10.46.14.95] (wsip-72-212-151-146.ph.ph.cox.net [72.212.151.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id 91EFC1B17F; Thu, 13 Jun 2019 21:28:08 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: Sway, Wayland, and Xwayland To: Dale Brazelton , Greg V Cc: "x11@freebsd.org" References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology> From: Johannes Lundberg X-Tagtoolbar-Keys: D20190613142807040 Message-ID: <30fdbe32-3f31-33d2-667d-dbd23cef65bf@FreeBSD.org> Date: Thu, 13 Jun 2019 14:28:07 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 1DA856F30E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.94)[-0.943,0] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 13 Jun 2019 21:28:10 -0000 On 6/13/19 12:36 PM, Dale Brazelton wrote: > Even after implementing all the suggestions from Jan I was unable to > get firefox to work in sway, neither natively in wayland or with > xwayland. After spending a good part of yesterday testing it, I'm > convinced my problems are due to the implementation of amdgpu in > FreeBSD 12 stable. For example, I could only run sway once per boot. > If I ever exited sway and tried to restart it my computer would hang > and I'd have to power it off. (I realize I'm probably the only person > in the world trying to run a FreeBSD desktop on an amd Vega 64 > graphics card!) I'll postpone further testing until we have a more up > to date amdgpu, mesa, xorg-server, and xwayland in 12 stable. Thanks > to everyone for your help and suggestions! If you'd like, try out our new live usb images for graphics testing from here https://people.freebsd.org/~johalun/images/ They all come with all versions of drm drivers, Xfce and Sway installed. The 13.0-CURRENT one with drm-v5.0 drivers should have better support for Vega graphics. Unfortunately it still comes with old Xorg so Xwayland won't work properly. You'll need a 16GB memstick to fit the image. These are still WIP so I'd really appreciate if you could test boot one on your system and tell me how it works. Thanks! > > Get Outlook for Android > > ------------------------------------------------------------------------ > *From:* Johannes Lundberg > *Sent:* Thursday, June 13, 2019 1:32:55 AM > *To:* Greg V > *Cc:* Dale Brazelton; x11@freebsd.org > *Subject:* Re: Sway, Wayland, and Xwayland >   > > On 6/11/19 2:23 PM, Greg V wrote: > > > > > > On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg > > wrote: > >> On 6/10/19 7:03 PM, Jan Beich wrote: > >>>  (CC'ing appropriate public list. I don't help privately.) > >>> > >>>  Dale Brazelton writes: > >>> > >>>> I've managed to get Sway working but am > >>>>  unable to get any X11 apps to work thru xwayland. For instance if I > >>>>  start sway and then start firefox from my terminal app (alacritty) > >>>>  nothing happens. > >>> > >>>  Did you change any port options in x11-wm/sway or one of its > >>> dependencies? > >>>  Did you define LIBGL_DRI3_ENABLE=1 in environ(7) to avoid llvmpipe > >>> fallback? > >>>  Does $DISPLAY in alacritty session and Xwayland 1st argument in > >>> ps(1) match? > >>>  Can you show "sway -d" output? IIRC, Sway starts Xwayland on first > >>> use. > >>>  Can you try "firefox --new-instance --profile $(mktemp -dt > >>> ffprofile)"? > >> Other simple X apps like xclock, or even glxgears that need > Xwayland run > >> but are not displayed. The window seem to be  simply hidden. IIRC there > >> was a fix to this but I can't remember what that was. I tried > >> enable/disable DRI3 but to no success... > > > > Xwayland windows not displaying is the good old ioctl permission thing: > > > > >>> > > > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreeBSDDesktop%2Fkms-drm%2Fissues%2F33%23issuecomment-422793245&data=02%7C01%7C%7C8d0d2c69c1c54b08b87908d6efc8fc0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636960043831829889&sdata=NCuhVs7zzeHl00HpMz9GnkFVitew2jsM1DmqfteM5sU%3D&reserved=0 > > <<< > > > > ^^^ maybe it's time to merge my workaround since no one's found the > > root cause ^^^ > > Looks like this is fixed in Xorg 1.20.  I built my xorg-server and > xwayland packages from our dev branch here > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreeBSDDesktop%2Ffreebsd-ports%2Ftree%2Ffeature%2Fxserver-1.20&data=02%7C01%7C%7C8d0d2c69c1c54b08b87908d6efc8fc0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636960043831829889&sdata=B3tydJ2J7N3qUWAO47A9fxZFwOOZB%2BLPz%2B4x%2Bp%2FKuOQ%3D&reserved=0 > and tested myself. > > Hopefully we can get 1.20 out soon... > > > > > From owner-freebsd-x11@freebsd.org Fri Jun 14 17:16:38 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FC7C15AD22F for ; Fri, 14 Jun 2019 17:16:38 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EE0D3722D3 for ; Fri, 14 Jun 2019 17:16:37 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by mailman.ysv.freebsd.org (Postfix) id AB6F015AD22C; Fri, 14 Jun 2019 17:16:37 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9733715AD228 for ; Fri, 14 Jun 2019 17:16:37 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F17D0722CF for ; Fri, 14 Jun 2019 17:16:36 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Fri, 14 Jun 2019 17:16:29 +0000 Received: from [192.168.2.155] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 888B3429-9745-4316-A38B-32639E9C14BF.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Fri, 14 Jun 2019 17:16:28 +0000 Date: Fri, 14 Jun 2019 20:16:25 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology>, MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Sway, Wayland, and Xwayland To: Dale Brazelton , Johannes Lundberg CC: "x11@freebsd.org" From: Greg V Message-ID: <88F6F199-8AF6-41AB-981A-EAE846D0BA77@unrelenting.technology> DKIM-Signature: v=1; a=rsa-sha256; bh=xi52bJKaheTw1BjHT8FDvDuOmzQ0Zj/1X9OLQ/EiwoY=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=DR/bCnvfkAswma6Bk6LjVfefuMXoZSkFxg1pv+Zajxuy6wJTlQB8C/ZaZc5c/iW2qCcaKPrJpdoUYbyMJVjN7WsbiAwB0CFQ4n7qAa+CnSEgZF7vx+HLLqxWEB/ih8H+qYnATjsFQAS3Y2oDdxw/RaC4Lb4jYOgoQ77nDmjPw2E= X-Rspamd-Queue-Id: F17D0722CF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.971,0] 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: Fri, 14 Jun 2019 17:16:38 -0000 On June 13, 2019 10:36:26 PM GMT+03:00, Dale Brazelton wrote: >Even after implementing all the suggestions from Jan I was unable to >get firefox to work in sway, neither natively in wayland or with >xwayland=2E After spending a good part of yesterday testing it, I'm >convinced my problems are due to the implementation of amdgpu in >FreeBSD 12 stable=2E For example, I could only run sway once per boot=2E = If >I ever exited sway and tried to restart it my computer would hang and >I'd have to power it off=2E Yeah, recovery from a compositor exit has always been=2E=2E fun=2E With my= consolekit2 setup, quitting and restarting a compositor sometimes works=2E > (I realize I'm probably the only person in >the world trying to run a FreeBSD desktop on an amd Vega 64 graphics >card!) Oh no, I'm using a Vega daily, been doing that since last winter (and used= an RX 480 before that)=2E And several people with Vega have reported bugs = on our GitHub issue tracker (FreeBSDDesktop/kms-drm)=2E > I'll postpone further testing until we have a more up to date >amdgpu, mesa, xorg-server, and xwayland in 12 stable=2E Why wait when you can use -CURRENT and kms-drm from git? :D