From owner-freebsd-x11@freebsd.org Fri Nov 29 06:59:53 2019 Return-Path: Delivered-To: freebsd-x11@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 1FB391C6089; Fri, 29 Nov 2019 06:59:53 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PQP41FVbz4Yf8; Fri, 29 Nov 2019 06:59:51 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from sdf.org (IDENT:bennett@miku.sdf.org [205.166.94.6]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id xAT6xkgx009601 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Fri, 29 Nov 2019 06:59:46 GMT Received: (from bennett@localhost) by sdf.org (8.15.2/8.12.8/Submit) id xAT6xkRx002554; Fri, 29 Nov 2019 00:59:46 -0600 (CST) From: Scott Bennett Message-Id: <201911290659.xAT6xkRx002554@sdf.org> Date: Fri, 29 Nov 2019 00:59:46 -0600 To: vm.finance2@gmail.com, tomek@cedro.info Subject: Re: FreeBSD-12.1 on laptop Cc: kappei84@gmail.com, freebsd@edvax.de, freebsd-x11@freebsd.org, freebsd-questions@freebsd.org References: <20191128103810.9599da0b.freebsd@edvax.de> <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> <20191128140254.fc3ee735.freebsd@edvax.de> In-Reply-To: User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47PQP41FVbz4Yf8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bennett@sdf.org has no SPF policy when checking 205.166.94.20) smtp.mailfrom=bennett@sdf.org X-Spamd-Result: default: False [0.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.946,0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; IP_SCORE(-0.32)[ip: (-1.02), ipnet: 205.166.94.0/24(-0.51), asn: 14361(-0.03), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[6]; NEURAL_HAM_LONG(-0.92)[-0.919,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; DMARC_NA(0.00)[sdf.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 06:59:53 -0000 Tomasz CEDRO wrote: > Do this as root: > > pkg install Xorg hal dbus Bzzzt! Please do not send innocent victims into the hal nightmare. That package is *not* needed and *should be avoided whenever possible*. > portsnap fetch update > cd /usr/ports/graphics/drm-fbsd12.0-kmod/ > make > make deinstall > make install > kldunload drm > kldunload i915kms Yeah? Good luck with that. One it has the graphics device, I doubt it will allow itself to be unloaded. A reboot will most likely be necessary. > kldload /boot/modules/drm.ko It shouldn't be necessary to load drm.ko manually. > kldload /boot/modules/i915kms.ko There can be problems with the above method of loading this, IIRC. Using kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf.local (or /etc/rc.conf if you don't separate your own added choices from the system's) is the preferred method. > startx > > You can also generate Xorg configuration with: > Xorg -configure > cp /root/xorg.config.new /etc/X11/xorg.conf > startx Note that manual configuration should be used only as a last resort. Most users should let xorg autoconfigure unless there is a problem in getting particular devices, fonts, drivers, etc. recognized or for special screen, keyboard, and/or pointing device setups. > > Note that you have to compile the DRM kernel driver on your machine, True, except for users who run -RELEASE GENERIC. > also you need to load /boot/modules/drm.ko and Not true AFAIK. I don't do that, and it works just fine. > /boot/modules/i915kms.ko from that location otherwise you will load > default drm/i915 drivers that does not work with modern GPU. Yes, this one most likely does need to be specified for Intel's integrated graphics. > > If all above works put below line into /etc/rc.conf: > kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko" > > You may also take a look at https://forums.freebsd.org/ to see if > people had similar problems and found a working solution. > > Have fun :-) Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at sdf.org *xor* bennett at freeshell.org * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************