From owner-freebsd-current@freebsd.org Mon Oct 22 03:34:59 2018 Return-Path: Delivered-To: freebsd-current@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 9A07AFE7070 for ; Mon, 22 Oct 2018 03:34:59 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1860A85B58 for ; Mon, 22 Oct 2018 03:34:59 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id y144-v6so8709367wmd.4 for ; Sun, 21 Oct 2018 20:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=mq9K3lAhXg7yOeYzjTv0PjVuuLlY+jXNBtV5kmN1BpU=; b=jpC0ulSr2KUwkV+irBJ8i+fTHSR6IYZpdpJbT2c5f/nrjXF5gO7E8HlqnT4zkkEVP1 FvZhC31CC3X2TiKOHSm95gCeCDzMP5FI7DzVixh0THpXUgBJ+B6NI3nxkk06LzGUAKAv A3Q6QV253JIkpJc8F+78GBjz/9Y0Do9ry0SOsQyvVP4ZZC29MKRGmzVDJdVN58j6j8pj Q6SM1jWCqVQ6UHLnGupZ6yRIUWnQTIoLkqeND14eo9t26R0h6QbiAacKtHQPykRMKVWp unIjfZxsZ1AzlBOIKIpWwJLLwlTaKDNIHm8XLhBdRX/cD4vxy/J7joHoVjG2k+oWXiIp KfPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=mq9K3lAhXg7yOeYzjTv0PjVuuLlY+jXNBtV5kmN1BpU=; b=At3ZOe8ehgeA0m/gvGuHCEdV4N7sYTyc+G9jj3Vmq9AoBJ9HNzEdfF+9TrE9FfCZl7 f5hqCTOj6Dng7/2fiY4XMGTUAB/rnR1jLU7lwzfRbGDkjdWnrWWP6CvZ/wU2sTImD14I qTZfmKy1VsA3Y3QFDgUe2T992Xbti51xPiR1tgtUnpbwsx4ivTdUKX4S6cUk+eleWM14 SxP1QM/fQyrc5tlIeeivmNFO0t8PLMG1wYFwFavQ/eeHpEyDpjfnK/HCgy9SWkfIozLE 9TlqHbMFzctQvgGgLW3d9lEhT24GyYqJah34T3s1xoWzXdoZvoKYaotmYs3w7kGqJtsM Mc/Q== X-Gm-Message-State: ABuFfogB1qNZYfJIWXtuOEUAhmgHiMhOuksOB+BR6aHZ3ZDKV1L0dDDg o1ai6Q4mz98QH1a6TEv7r0WjdB09+II= X-Google-Smtp-Source: ACcGV61/qKyuDuWt0yLStFaVU7/VH1SPMsWVqIX/E4+lIq8Pp1syUHiavBll/NirrxTXry4zUOh7sQ== X-Received: by 2002:a1c:3403:: with SMTP id b3-v6mr13900797wma.108.1540179296924; Sun, 21 Oct 2018 20:34:56 -0700 (PDT) Received: from [192.168.1.231] (79-66-139-63.dynamic.dsl.as9105.com. [79.66.139.63]) by smtp.gmail.com with ESMTPSA id 199-v6sm7731057wme.39.2018.10.21.20.34.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 20:34:56 -0700 (PDT) Subject: Re: DRM: radeonkms no longer usable following a switch to stable, FreeBSD 12.0-BETA1 From: Graham Perrin To: FreeBSD Current References: <16278ced-e565-917f-5015-5083d2171bb0@gmail.com> Message-ID: <81d1e9cc-cdfe-81ec-1168-54b2fa397c59@gmail.com> Date: Mon, 22 Oct 2018 04:34:55 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <16278ced-e565-917f-5015-5083d2171bb0@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2018 03:34:59 -0000 tl;dr it seems that rc.conf can handle radeonkms and sddm _if_ I enable CSM at boot _and if_ I have: /usr/local/etc/X11/xorg.conf.d/driver-vesa.conf Not truly benefiting from radeonkms. AFAICT if I exclude the VESA workaround and manually load radeonkmos and start sddm, then as previously noted: … /usr/local/bin/xauth: (stdin):1:  bad "remove" command line /usr/local/bin/xauth: (stdin):2:  bad "add" command line /usr/local/bin/xauth: (stdin):1:  bad "remove" command line /usr/local/bin/xauth: (stdin):2:  bad "add" command line … What next? Any suggestions? TIA ---- root@momh167-gjp4-hpelitebook8570p-freebsd:~ # date ; uname -v Mon 22 Oct 2018 04:10:51 BST FreeBSD 12.0-BETA1 GENERIC root@momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere jail -i -j stable | grep r3 Jail vcs version:  r339435 root@momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere ports -u [00:00:00] Updating portstree "default" with portsnap...Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date.  done root@momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere bulk -j stable graphics/gpu-firmware-kmod graphics/drm-kmod graphics/drm-next-kmod x11/xorg[00:00:01] Creating the reference jail... done [00:00:02] Mounting system devices for stable-default [00:00:02] Mounting ports/packages/distfiles [00:00:02] Stashing existing package repository [00:00:02] Mounting ccache from: /var/cache/ccache [00:00:02] Mounting packages from: /usr/local/poudriere/data/packages/stable-default [00:00:02] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf /etc/resolv.conf -> /usr/local/poudriere/data/.m/stable-default/ref/etc/resolv.conf [00:00:03] Starting jail stable-default [00:00:06] Logs: /usr/local/poudriere/data/logs/bulk/stable-default/2018-10-22_04h12m09s [00:00:06] Loading MOVED for /usr/local/poudriere/data/.m/stable-default/ref/usr/ports [00:00:07] Ports supports: FLAVORS SELECTED_OPTIONS [00:00:07] Gathering ports metadata [00:00:18] Calculating ports order and dependencies [00:00:19] Sanity checking the repository [00:00:19] Checking packages for incremental rebuild needs [00:00:34] Deleting stale symlinks... done [00:00:34] Deleting empty directories... done [00:00:34] Cleaning the build queue [00:00:34] Sanity checking build queue [00:00:34] Processing PRIORITY_BOOST [00:00:34] Balancing pool [00:00:34] Recording filesystem state for prepkg... done [00:00:40] No package built, no need to update the repository [00:00:40] Committing packages to repository [00:00:40] Removing old packages [stable-default] [2018-10-22_04h12m09s] [committing:] Queued: 0  Built: 0  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 0   Time: 00:00:34 [00:00:40] Logs: /usr/local/poudriere/data/logs/bulk/stable-default/2018-10-22_04h12m09s [00:00:40] Cleaning up [00:00:40] Unmounting file systems root@momh167-gjp4-hpelitebook8570p-freebsd:~ # pkg which /usr/local/bin/xauth /usr/local/bin/xauth was installed by package xauth-1.0.10 root@momh167-gjp4-hpelitebook8570p-freebsd:~ # pkg query '%o %v %R' gpu-firmware-kmod drm-kmod drm-next-kmod xorg graphics/gpu-firmware-kmod g20180825 poudriere graphics/drm-kmod g20180930 poudriere graphics/drm-next-kmod 4.11.g20180822 poudriere x11/xorg 7.7_3 poudriere root@momh167-gjp4-hpelitebook8570p-freebsd:~ # cat /usr/local/etc/X11/xorg.conf.d/driver-vesa.conf Section "Device"   Identifier "Card0"   Driver "vesa" EndSection root@momh167-gjp4-hpelitebook8570p-freebsd:~ # grep 'adeon\|sddm' /etc/rc.conf # kldload radeonkms kld_list="/boot/modules/radeonkms.ko" sddm_enable="YES" root@momh167-gjp4-hpelitebook8570p-freebsd:~ #