From owner-freebsd-questions@freebsd.org Thu Jan 21 00:35:50 2021 Return-Path: Delivered-To: freebsd-questions@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 2D7504DE9DF for ; Thu, 21 Jan 2021 00:35:50 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.antonovs.family", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DLk2Y2TGQz4Wmq for ; Thu, 21 Jan 2021 00:35:49 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: by mail.antonovs.family (OpenSMTPD) with ESMTPSA id 49627c75 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 21 Jan 2021 00:35:41 +0000 (UTC) Subject: Re: drm-kmod kills FreeBSD To: freebsd-questions@freebsd.org References: From: Ihor Antonov Message-ID: Date: Wed, 20 Jan 2021 16:35:40 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DLk2Y2TGQz4Wmq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[100.25.240.195:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[100.25.240.195:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 00:35:50 -0000 On 1/20/21 4:26 PM, Chris Hill wrote: > Hello, list. > > This is a head-scratcher for me; any help or clues will be most welcome. > > I had been running xorg on 12.2-R [1], but recently had a disk failure > and had to reinstall. Although I (thought I had!) kept meticulous notes, > the onboard Intel UHD 630 graphics are just not happening. [2] Note, I'm > not even to the point of attempting to start X; I'm just trying to get > the system to boot and recognize the onboard graphics. > > I've installed both drm-kmod-g20190710 and > drm-fbsd12.0-kmod-4.16.g20201016 (not at the same time) [3], and put > kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf, as instructed. > > When I boot the system like that, it appears to hang partway through the > console boot messages. The screen goes blank, and the network interface > becomes unresponsive. The remedy is a hard shutdown from the power > button, boot from a memstick and remove the offending line from rc.conf. > I get the same result from `kldload /boot/modules/i915kms.ko`. > > I *think* it's hanging in the neighborhood of loading drm; a dmesg I > saved from a pre-failure successful boot has lines like > drmn0: on vgapci0 >  and > [drm] Connector DP-1: get mode from tunables: >  ...where we currently see none of that. > > Thanks very much. > > > [1] The hardware is a Dell Precision 3630 tower workstation. The OS is a > fresh install, with freebsd-update applied just after. > $ uname -mvU > FreeBSD 12.2-RELEASE-p1 GENERIC  amd64 1202000 > > [2] The graphics system appears thus in the output of `pciconf -lv`: > vgapci0@pci0:0:2:0:     class=0x030000 card=0x08711028 chip=0x3e928086 > rev=0x00 hdr=0x00 >     vendor     = 'Intel Corporation' >     device     = 'UHD Graphics 630 (Desktop)' >     class      = display >     subclass   = VGA > > [3] As of this writing, I have > $ pkg info > drm-fbsd12.0-kmod-4.16.g20201016 DRM modules for the linuxkpi-based KMS > components > gpu-firmware-kmod-g20201213    Firmware modules for the linuxkpi-based > KMS components > pkg-1.16.1                     Package manager > I'd recommend posting this in freebsd-x11@freebsd.org[2] mailing list You can find other ways to contact X11 team on their wiki page [1] [1] https://wiki.freebsd.org/Graphics [2] https://lists.freebsd.org/mailman/listinfo/freebsd-x11 Ihor