From owner-freebsd-current@freebsd.org Tue Jan 26 09:15:23 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F7DD4E65F3 for ; Tue, 26 Jan 2021 09:15:23 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-ztdg10022001.me.com (pv50p00im-ztdg10022001.me.com [17.58.6.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQ1Kk1gmbz3Fyc for ; Tue, 26 Jan 2021 09:15:22 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-ztdg10022001.me.com (Postfix) with ESMTPSA id 7A69CA0583; Tue, 26 Jan 2021 09:15:19 +0000 (UTC) From: Toomas Soome Message-Id: <5DFFA1C6-EBC3-4C22-B678-45BA48C9ECF1@me.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: DRM and Radeon Date: Tue, 26 Jan 2021 11:15:17 +0200 In-Reply-To: <4933479c-b5a6-fa2e-09be-f5a0190d6f1b@plan-b.pwste.edu.pl> Cc: Graham Perrin , freebsd-current@freebsd.org To: Marek Zarychta References: <24590.137.690675.515036@jerusalem.litteratus.org> <68acb1a8-fcf8-a065-70d5-061669e2f70b@daemonic.se> <24591.35500.33066.12845@jerusalem.litteratus.org> <20210126070211.GB43439@FreeBSD.org> <4933479c-b5a6-fa2e-09be-f5a0190d6f1b@plan-b.pwste.edu.pl> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-26_06:2021-01-25, 2021-01-26 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2101260050 X-Rspamd-Queue-Id: 4DQ1Kk1gmbz3Fyc X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; RWL_MAILSPIKE_GOOD(0.00)[17.58.6.58:from]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-0.98)[-0.980]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.6.58:from]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[17.58.6.58:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[17.58.6.58:from]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Tue, 26 Jan 2021 09:15:23 -0000 > On 26. Jan 2021, at 10:18, Marek Zarychta = wrote: >=20 > W dniu 26.01.2021 o 08:58, Graham Perrin pisze: >> On 26/01/2021 07:02, Alexey Dokuchaev wrote: >> > Re: loading drm crashes system >> > =E2=80=A6 There are known issues with Radeon cards, they were quite = well >> > supported a year ago, then something got broken. I've promised to >> > bisect this and find the cause, but there were several >> > syscall-related changes in -CURRENT though the course of the last >> > year, so bisecting just the kernel is not enough (machine won't get >> > to login prompt if the userland does not match), which cripples the >> > process. >> > >> > I still intend to take this quest, just not sure when. :( >> > >> > ./danfe >> Any cards in particular? >> = =E2=80=93 whilst I didn't mention = Radeon there, for me it _was_ the Radeon story that seemed to improve a = few months ago. >> AMD Thames = [Radeon HD 7550M/7570M/7650M] >=20 >=20 >=20 > For example old RS880 [Radeon HD 4200]. After deprecation of = graphics/drm-fbsd12.0-kmod I found that it is still supported fine on = 12-STABLE with legacy /boot/kernel/radeonkms.ko from the base. While = trying the driver from graphics/drm-fbsd12.0-kmod I was not able to use = this card with gdm, only startx or x11/slim worked. On 13-ALPHA this = card still works fine with deprecated graphics/drm-legacy-kmod. >=20 >=20 Does gdm start X in specific way? I mean, afaik, gdm is X11 client as = any other, so the question would be, how does gdm get Xorg started, what = is different compared to startx etc? Might it be about gdm user = permissions to access drm devices? my 2cents.. toomas=