From owner-freebsd-questions@freebsd.org Tue Feb 11 19:28:03 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 4C91C240B3F for ; Tue, 11 Feb 2020 19:28:03 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HCVB1nhYz4XLw for ; Tue, 11 Feb 2020 19:28:01 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.141] (76-214-71-45.lightspeed.irvnca.sbcglobal.net [76.214.71.45]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 4f801d51 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 11 Feb 2020 19:28:00 +0000 (UTC) Subject: Re: Intel graphics not loading To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= , Noah Palmer Cc: freebsd-questions@freebsd.org References: From: Pete Wright Message-ID: <614b0703-d025-744f-66f0-b0d55ceb03d0@nomadlogic.org> Date: Tue, 11 Feb 2020 11:28:01 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48HCVB1nhYz4XLw X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.72)[ip: (-9.28), ipnet: 174.136.96.0/20(-3.94), asn: 25795(-0.33), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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:28:03 -0000 On 2020-02-11 11:22, Trond Endrestøl 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="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" 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="/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