From owner-freebsd-questions@freebsd.org Tue Feb 11 19:31:34 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 6DBA7240DC3 for ; Tue, 11 Feb 2020 19:31:34 +0000 (UTC) (envelope-from noahpalmerversion1@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 48HCZF6gzCz4XfW for ; Tue, 11 Feb 2020 19:31:33 +0000 (UTC) (envelope-from noahpalmerversion1@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id b15so7878859lfc.4 for ; Tue, 11 Feb 2020 11:31:33 -0800 (PST) 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=NRDo9lxFHO+0FTtj3Vr5/HKrIDGrxng76ccNNJNVAMk=; b=aQdJR6KepYlYH42/wdxAYrl58B3dnXhu4P5R41uCTFs8hVPs61D4K5/DrZIui1Tm6N +dO18pOywMDV7LoCSbhAKF1CArERBIWFHotsFvZGNJsmlCoROenl8c1KGpX8N1O3gG8e DRzVKJIDMECjmqh7979t3NWob0mVsFYG2BRbC79+/MYV2dr4A1ygm+77E0G9X8Rf6YUl uNLCdteIPvt1Es2I/znMbagb+UDEhdzF1J4neOVrN5aQ+37ShhxGDvZpdGDqd416iOaX NreUuX7jctcgqE+5J4GHyan7vm0FwFvQcApag0iNj6GOO27kB71eLgVUZjbJpXxGLBUC 9g/A== 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=NRDo9lxFHO+0FTtj3Vr5/HKrIDGrxng76ccNNJNVAMk=; b=OhKujZElfkNqZPegf9KWkVIYEsy0Mzebp6exgTe8xd5WFaHRdTzNJ1q173cAGsBgtd 8HD2P3bfnOUxwL3yaX74fKxiWRfc+Xh618hAYpp4cEI0gMM0D6ijCj4oBJJqw+V8po5X G6iM4KTktq3cVsvV1KqsKo+G47tu3BuNWGdsmY0f7+QEueEGnyv9vdfH8sa4ScN9ulqv tb8HvIgKsmgAqzHvrPsa/EVYj3sM9kOtH5KNqfIy9I2mWu7COmThuqiCIG4f1Y2FAVZh K8V3mNC5J5ZNQmGbaVtoeSAtGHhlcy8PuwJxcbp0/70AffmMTCnpBuRCdmYbffcS4bfD Lc8A== X-Gm-Message-State: APjAAAVNjBH2Ro8Vearsc/gOtxKkfXN1+im9gUltArP2iTzH6NbgbIH9 E9meM226HaUGSd4YmKoznt7BIwvY2N/NzvEIUio= X-Google-Smtp-Source: APXvYqxg5wNnbH1nLDh5mI4z9s5BwB/QwDqOzXSPWu+jFInI4AcMWoNICGDJTfvTJ3KiC9TF1+Vt8jB7UAJOWPQozbo= X-Received: by 2002:ac2:5444:: with SMTP id d4mr4236478lfn.49.1581449491992; Tue, 11 Feb 2020 11:31:31 -0800 (PST) MIME-Version: 1.0 References: <614b0703-d025-744f-66f0-b0d55ceb03d0@nomadlogic.org> In-Reply-To: <614b0703-d025-744f-66f0-b0d55ceb03d0@nomadlogic.org> From: Noah Palmer Date: Tue, 11 Feb 2020 14:31:20 -0500 Message-ID: Subject: Re: Intel graphics not loading To: Pete Wright Cc: =?UTF-8?Q?Trond_Endrest=C3=B8l?= , freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 48HCZF6gzCz4XfW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aQdJR6Ke; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of noahpalmerversion1@gmail.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=noahpalmerversion1@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[e.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-8.92), ipnet: 2a00:1450::/32(-2.46), asn: 15169(-1.71), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:31:34 -0000 On Tue, Feb 11, 2020 at 2:28 PM Pete Wright wrote: > > > On 2020-02-11 11:22, Trond Endrest=C3=B8l wrote: > > 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=3D"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 us= e > >>> "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 load= s > at > >>>> the proper resolution on 13.0-CURRENT. The i915kms is loaded into th= e > >>>> 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 i= t > >>> 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 thi= ng > >> 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=3D"/boot/modules/drm.ko /boot/modules/i915kms.ko" > I would second this as well, I have an intel kabylake system with the HD > Graphics 630 GPU and use this kldlist line in rc.conf: > > kld_list=3D"/boot/modules/i915kms.ko" > > this system also boots via UEFI. if this doesn't work might be helpful > to post the full dmesg so people on the list can take a look. > > -pete > > > -- > Pete Wright > pete@nomadlogic.org > @nomadlogicLA > > That worked, thank you. --=20 Noah Palmer