From owner-freebsd-questions@freebsd.org Tue Feb 11 19:22:40 2020 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 A132F240921 for ; Tue, 11 Feb 2020 19:22:40 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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 "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HCMz0l71z4X3S for ; Tue, 11 Feb 2020 19:22:38 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id 01BJMPmE053692 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 11 Feb 2020 20:22:26 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1581448946; bh=87rFWLgf2N2GZxL/KBy1d2UCeHIduUpmJ7aKyjE8duY=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=XQI3C07XRsBTTdpwehiD5GUFew7rb0B3LdwhzxXhYfIFZVSpac6duyLqY2fRqIGb1 +2jm6nbX6XIIxzQy+oeqqxgfK9dR3JIpbz4a0cbXNfhiN7wK52pN5eu0HMpslSacgL mQ9Y8D1Dz2YEiwHlF2mMNRmyJ+wCpLqckIVcHN2J5cdeg4nauerITsDHUwLiEyZEu1 T8BefQbkJh1SakCVHjLyF0nm29kd8N0iU2LqqfvKnTjpEgS8EKmZiqrL+52k3r9OwX OOGorFzIu7ffpZg8Exxvaq6TpBGjnxlU9xJjotbxjM+b83fbHDNE5sxW1d+TdZEJbt 6X4qZjKHZFdaw== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id 01BJMP9A053689; Tue, 11 Feb 2020 20:22:25 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Tue, 11 Feb 2020 20:22:25 +0100 (CET) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: Noah Palmer cc: Pete Wright , freebsd-questions@freebsd.org Subject: Re: Intel graphics not loading In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (BSF 395 2020-01-19) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on enterprise.ximalas.info X-Rspamd-Queue-Id: 48HCMz0l71z4X3S X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=XQI3C07X; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-5.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-2.05)[ip: (-8.09), ipnet: 2001:700::/32(-1.39), asn: 224(-0.75), country: NO(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 19:22:40 -0000 On Tue, 11 Feb 2020 14:01-0500, Noah Palmer wrote: > On Tue, Feb 11, 2020 at 12:57 PM Pete Wright wrote: > > > > > > > On 2020-02-11 09:44, Noah Palmer wrote: > > > I cannot get the Intel graphics driver to load on my laptop. I have > > > "drm-kmod", and "xf86-video-intel" installed. I have 'kldlist="i915kms"' > > in > > > /etc/rc.conf. I am a member of the video group. I am on 12.1-STABLE. If I > > > try to boot normally the text is all garbled and unreadable. if I use > > "gop > > > set 4" in the bootloader, the screen properly loads at a lower > > resolution. > > > This computer uses UEFI, I am unable to turn it off. The system loads at > > > the proper resolution on 13.0-CURRENT. The i915kms is loaded into the > > > kernel. dmesg lists the graphics card as . This > > is > > > an NVIDIA Optimus laptop, but I don't think that makes a difference > > because > > > the intel card has control over the display. > > > > Hi, what is the Intel graphics adapter you are using on this system? Do > > you happen to have the dmesg output from your system when it > > successfully loads the kernel module under CURRENT? It also would be > > helpful if you could share your dmeseg buffer from 12.1-STABLE when it > > loads the drm-kmod module. > > > > Cheers, > > -pete > > > > -- > > Pete Wright > > pete@nomadlogic.org > > @nomadlogicLA > > > > > I should have been more clear with the 13-CURRENT thing, I haven't loaded > the intel driver yet just the framebuffer load correctly. The only thing > related to drm in dmesg is a message saying "drm loaded" late in the boot > process. According to linux the adaptor is "VGA compatible controller: > Intel Corporation UHD Graphics 630 (Mobile)." >From my experience, we must specify absolute pathnames and ensure the correct drm.ko is loaded prior to any GPU specific module: kldlist="/boot/modules/drm.ko /boot/modules/i915kms.ko" -- Trond.