From owner-freebsd-questions@freebsd.org Tue May 12 11:04:06 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 3ADBE2EA66D for ; Tue, 12 May 2020 11:04:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Lw0h5Qjlz44PD for ; Tue, 12 May 2020 11:04:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.0.87]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1MXoxG-1jbtZ01IHU-00YBQa; Tue, 12 May 2020 13:04:02 +0200 Date: Tue, 12 May 2020 13:04:02 +0200 From: Polytropon To: Ekalavya Cc: freebsd-questions@freebsd.org Subject: Re: Cannot load intel driver(i915kms) without screen blanking out Message-Id: <20200512130402.7a001605.freebsd@edvax.de> In-Reply-To: References: <20200512115117.06ca8148.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:1FhCoIBiYros7GzTRDW04pO9UFL5EyWUAsQD/eqWx4UQrDI/GZb 6xIu298MH3kV8A/F4ZxGoZLN4BViQp2eUGnGYU4T2a5C4uQv9l5AGQ5d1X6WnDY0ZZvzjPX o0xGWYw0l4P46alh6+aK45aug8TGs4hSzXuQYn/DUbWPdhV7SpDdSALudOFPfJi5miIN3HO iQAph8+weWhl6Z3k4tGlA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lZKQYoxf+Q8=:/jRnZM/X9zPUFMXTiViuE7 EDNT+b6+NxW9xZxpOPF6guj9AMDfDeYlythOwsmap/mtmS/6cq5FXG05g0YkwbvUdt10JcFzc 895iB8q+18Dxqr93NBikkYwpkUtch+P3Pr3DEYKcF7Bg8H3ZYiJFU5dys4VZwtZPJUB+7vWMw tLgxDSs5er9SqLPDUe48ZbaRTJrla36EAJ4DOyA8Ogaan/SbO8G2nbxYXsjwgQjsBovPzY3tI jqKT8RlaDMX27sJ/dPsqcFaavxdZxwdn3Cq6VU3YtNsjxKZi0yLbqHexv4QMczpgdlP5CYOPj Nbm97Ij++Yq/ymfa9DzDmrh9zmlDv1SCV/dzk57TsjEQyLCWj/KR6C9Mb3ZOC8Dyguq54necd uGTeXH86yFjIqfOeeF5e1SpK7PsYdq/qhQroqZfY7awH/aCUxtEqig8kggsbU0dUDTpyGhbva 8HUFhjQ0jmSW8E83C+H3qgVqLgadOw7q04HQTdqY+UYWMBCvoBYkC+5iN/wegzpytqNymYty7 VNWEfJrE8aIuU6azOHQ6L7VaxCM0GX/svTEYCHTzqM9OQ4a+tLNGz9xDO2b7kpH27TC1k0H4K PV6NVvgX9IJl651Y8/UyVE2ntiBwRu2aIFHSAmIi4WZBFD6Ih22AOp4Y2lLdFEjnA+z4NFPob syFDQLZKIBgm1xcazobhHK4BGd+NZIzcmeJrQ945eLhxr3s/9RhU0TumXRa1VNz5lIETZ5EOk KWsdmlGpAnnkgLnIkNe1duwV88EYWOl/fD6UmzGAHhtNFwIgfm5MCG2KySWzcaT5tlAO2tbh9 wHHgDrAFMh9HJ6uojMrgFyt64X4Yy3Y38kL+d/ilQl+Ir6RrLqAgkCFEW3IilAPd5GgR2zb X-Rspamd-Queue-Id: 49Lw0h5Qjlz44PD X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.10) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.39 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; IP_SCORE(0.06)[ip: (-0.49), ipnet: 212.227.0.0/16(-1.20), asn: 8560(2.01), country: DE(-0.02)]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[87.0.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.962,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.97)[0.967,0]; RCVD_IN_DNSWL_NONE(0.00)[10.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[10.17.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 11:04:06 -0000 On Tue, 12 May 2020 10:41:38 +0530 (IST), Ekalavya wrote: > > > On Tue, 12 May 2020, Polytropon wrote: > > definition, font selection, colors etc.), but any system > > that runs X will also have to use vt. In addition to vt, > > the correct DRM module usually has to be loaded, plus of > > course the appropriate driver for X needs to be installed > > (for example, xf86-video-intel). > > > > Only for systems that do _not_ run X, choosing sc is still > > possible with > > > > kern.vty="sc" > > > > in /boot/loader.conf, changing the default setting from vt. > > I don't think you are quite right about this. A system that runs X > doesn't have to run vt. If you read my initial post, you will notice > that I was using syscons _and_ running xorg. Thanks for the hint - I just looked at the handbook, and it must have been updated. So it probably is possible to use sc again, and still be able to use X on the same system? That would be really great! The manual states at 5.4.1. no. 4: On some older versions of FreeBSD, the system console must be set to vt(4) before switching back to the text console will work properly. See Section 5.4.3, "Kernel Mode Setting (KMS)". However, there is a KMS problem pointed out in 5.4.2: Older versions of FreeBSD use sc(4), which is not aware of the KMS system. The end result is that after closing X, the system console is blank, even though it is still working. The newer vt(4) console avoids this problem. I think this is what you've been experiencing with the "invisible console session". :-) Sources: https://www.freebsd.org/doc/handbook/x-config.html https://wiki.freebsd.org/Newcons > Also the xf8-video-intel driver is optional, per the many docs/forum > posts I read online. But in my case I installed it because the > Xorg.0.log said that Xorg couldn't load the appropriate intel driver. > But the point to be noted is that X worked fine even without the > xf8-video-intel driver. Maybe the thing with the appropriate driver is more important when you need 3D acceleration, especially with ATI / AMD and nVidia cards, whereas regular Intel cards or APUs seem to be fine for the usual desktop, and therefore X uses the interface to the kernel modules instead of its own driver. There's a lot of change going on in FreeBSD and X related to graphics, so what works today might break tomorrow. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...