From owner-freebsd-questions@freebsd.org Thu Nov 28 12:46:35 2019 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 19D761A8428; Thu, 28 Nov 2019 12:46:35 +0000 (UTC) (envelope-from kappei84@gmail.com) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 47Ny7Z002sz4Wy7; Thu, 28 Nov 2019 12:46:33 +0000 (UTC) (envelope-from kappei84@gmail.com) Received: by mail-wr1-x441.google.com with SMTP id b6so1315686wrq.0; Thu, 28 Nov 2019 04:46: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=5ysgjEg6x9nPyY1IYmPBvFD9pXT8rlxvI7eUcJ0v7to=; b=B0lngWdZTznORvTN6PY5AxuDmuzglJsLccuB8tghLTAvq/lG7BlWziYiRz1zyin1Sk OUs/IuZcRdyWfOy/+6Zydjd59JjZTo8z5FSKsr44fta3pQ717TtsTxkYNOY8JSDHi4Hf dcrcRJQM5Ej442FfA8DHqDoHCJhLjFGNumtDaclC+/IkPwukey6Ck2ujKNrya8q7Q/vp xY3zND4+Po124X8siA6w2Z067dEzm5Hf+hr3fMCU610lHUxXJ4kS52hKT3OSTzK1xZWN qplGUPyfLu+Jbpp7x/xl1mAGHRiVFYHcZTz0RoTTEUroS842kP/FLJ4SCApmgMM/eD3U XuKw== 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=5ysgjEg6x9nPyY1IYmPBvFD9pXT8rlxvI7eUcJ0v7to=; b=uW3vaEebTtlSIjkeBf6QqA9wIMbsHgGxxZhDZpnFI06JyrOjDUjFUJhtkFDUmuZRr6 4haJnzAq9/EtSbgDH/BlzeGiBjiPkLsel6ajdasQEqEEcLXQg7i68gRodacdTt1eLrZn 6EhUr1NPQPyyaZomfk8cKI/zLmp2Zj1/UWcPXYajsGVMBoI9Xh6KNC2HV5mdKmODUpCK PJNgfu/ZiEXSzn8tkRDquI5OLoLKNg9+PF3Uqk3sx3lXGdSP+uSWU1P/Wj3R5GEQsGBs FpWe0OyaLkeJ8gFKEGGYnm2bn5ehBFMFDazTjBOiKMt1Ao6ayZefl21g0TW4//rtiZJx ytTQ== X-Gm-Message-State: APjAAAW/CfjJDoi1qXBIGXR55oe5wpQf1m9EtWJ0MBy7NoqyRchQ0tBs xqvtUc0MMLo6FLb4icQb5RDKw0bdTNiw9hSAnA== X-Google-Smtp-Source: APXvYqyg1IpWa5H3wn7c9oRQap4hylL+Jw7hT9JmLxv68+aSI7PvMJgWMt+bED9uhgYVUrAVE/cZmd/ecfcbdjcIIms= X-Received: by 2002:adf:f709:: with SMTP id r9mr46612989wrp.8.1574945191521; Thu, 28 Nov 2019 04:46:31 -0800 (PST) MIME-Version: 1.0 References: <30022fe5-800e-0a9a-fff6-8edb0171e153@denninger.net> <5c2c0fe0-93fa-246e-a3ae-05e813e246df@panix.com> <20191128103810.9599da0b.freebsd@edvax.de> <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> In-Reply-To: From: Daniele Mazzotti Date: Thu, 28 Nov 2019 13:46:24 +0100 Message-ID: Subject: Re: FreeBSD-12.1 on laptop To: vm finance Cc: Per Hedeland , freebsd-x11@freebsd.org, Polytropon , FreeBSD Mailing List X-Rspamd-Queue-Id: 47Ny7Z002sz4Wy7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=B0lngWdZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kappei84@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) smtp.mailfrom=kappei84@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.55), ipnet: 2a00:1450::/32(-2.69), asn: 15169(-1.95), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.4.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]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Content-Type: text/plain; charset="UTF-8" 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: Thu, 28 Nov 2019 12:46:35 -0000 Can you grep for Kms in the boot modules? Also as suggested in the link sent by Per is your user part of the video group? If not please just add it. When you compiled the drm-kms port have you noticed any error? Il gio 28 nov 2019, 13:08 vm finance ha scritto: > I don't see /boot/modules/i915kms.ko under /boot/modules > However there are several other present: > i915_bxt_* > i915_cnl* > i915_kbl*... > > How do I get i915kms.ko? > > Thanks! > > On Thu, Nov 28, 2019 at 5:01 PM Per Hedeland wrote: > > > On 2019-11-28 11:03, vm finance wrote: > > > Hi, > > > > > > Its Intel's "UHD Graphics 620". I don't see it installed/loaded under > > > "kldstat". > > > > > > Do you think steps mentioned in > > > http://www.srobb.net/freebsdintel.html > > > > > > would suffice to get around the issue I have? > > > If not, could u please suggest next steps. > > > > > > Pls let me know. Thanks so much! > > > > Sigh, after all the discussion and problem / fix reports (mostly on > > the freebsd-x11@ list, which I'm adding to Cc) about the "new DRM" > > stuff, one would think that there should be some simple-to-follow > > *FreeBSD* web page that explained it all and could be pointed to if > > not immediately found. > > > > There is https://wiki.freebsd.org/Graphics, which IMHO is neither > > simple to find nor to follow, and which still has the broken-with-12.1 > > "pkg install drm-kmod" advice. I think it is sad, since there's a lot > > of great work that has gone into this - personally I have a laptop > > that wouldn't have had *any* graphics (on FreeBSD) without it, and I > > know I'm not alone in that. > > > > Anyway, enough ranting - if you look at the "Intel Integrated Graphics > > (aka HD Graphics)" section on the above page, and specifically the > > "Example Configuration For Post Broadwell System", and *skip* the bad > > pkg advice, you'll find that the next step is to add > > > > kld_list="/boot/modules/i915kms.ko" > > > > to rc.conf - and actually the "post-install package message" will have > > told you so, but yeah, who reads those things... > > > > The problem (not explained anywhere that I can find right now) is that > > after building and installing the drm-kmod port (or package), you have > > *two* drivers called i915kms installed. One is part of the base > > system, /boot/kernel/i915kms.ko - this is the one that doesn't work > > for you (or me), and gets loaded if you do "kldload i915kms". The > > other is from the port that you installed, and it's the above > > /boot/modules/i915kms.ko - you must ensure that this is the one that > > is loaded. > > > > The above line makes sure that this happens at reboot (loading via > > boot/loader.conf has been reported to *not* work in at least *some* > > cases, and there's no advantage over loading via /etc/rc.conf), but > > you can also do it manually for testing, by using the full path with > > "kldload": > > > > kldload /boot/modules/i915kms.ko > > > > Read and follow also the subsequent steps in the example, as well as > > the "Note:" at the end of the section. If your card is actually > > supported (and frankly I'm not sure how to figure that out in any > > other way than trying it), you should be fine at that point. > > > > --Per Hedeland > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >