From owner-freebsd-x11@freebsd.org Tue Dec 3 18:59:34 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 2E8741B9C4A for ; Tue, 3 Dec 2019 18:59:34 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47SB9c51vMz3KJG for ; Tue, 3 Dec 2019 18:59:32 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Tue, 03 Dec 2019 18:59:29 +0000 Received: from wms0-eu-central.migadu.com (wms0-eu-central.migadu.com [139.162.159.86]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id D496B488-7D98-4724-B1CD-25C3D18638D2.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 03 Dec 2019 18:59:29 +0000 MIME-Version: 1.0 Date: Tue, 03 Dec 2019 18:59:29 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.12.1 From: greg@unrelenting.technology Message-ID: <9c04394a05a06aa4efcfb753702305d9@unrelenting.technology> Subject: Re: HDMI display autodetect To: "Johannes Lundberg" , "Alexandr Krivulya" , freebsd-x11@freebsd.org In-Reply-To: <17748315-f258-875f-68d5-e34a9fd15f1f@FreeBSD.org> References: <17748315-f258-875f-68d5-e34a9fd15f1f@FreeBSD.org> <8929d25b-d435-b718-54fe-175a4492f7db@shurik.kiev.ua> DKIM-Signature: v=1; a=rsa-sha256; bh=g5Euuf0ZFuazg9dw0nB5j4+s63kTUIw7l/6FUx5h5tI=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=EhHI+cfWBbKARzYwgLdO72Dhp8NpxhMTJrr0Z+6Hw8sy6MgdVktkBAJlAwS+ZGltlUFzyLiZvGsJFQO9nPB56mBns9mg46H6dBAyawnB3mOlWLUotE+QoB4Nh2cox1rseGbCM+B0hIJJM/z+dR37wN2QyFelM6UftKUnEYkNbKs= X-Rspamd-Queue-Id: 47SB9c51vMz3KJG X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=EhHI+cfW; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-5.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.31)[ip: (-9.85), ipnet: 91.121.0.0/16(-3.53), asn: 16276(1.84), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 03 Dec 2019 18:59:34 -0000 December 3, 2019 8:12 PM, "Johannes Lundberg" wrote= :=0A=0A> On 2019-12-03 01:58, Alexandr Krivulya wrote:=0A> =0A>> Hi!=0A>>= When I attach external display over HDMI port on running system it is=0A= >> not recognized (ThinkPad T470p with CURRENT,=0A>> drm-current-kmod,xf8= 6-video-intel). xrandr do not reflect any chnages.=0A>> As workaround I n= eed to reboot or suspend-resume my system.=0A> =0A> Hi=0A> =0A> Does it = behave the same with the modesetting X driver? (uninstall=0A> xf86-video-= intel or set Driver =3D "modesetting" in xorg.conf's device=0A> section a= nd restart X or reboot)=0A> =0A> If so, does it behave the same with drm-= devel-kmod instead of=0A> drm-current-kmod?=0A> =0A> You can also see if = the kernel driver registers any status status,=0A> reports error, etc by = increase logging=0A> =0A> sudo sysctl dev.drm.drm_debug=3D-1=0A> =0A> (ve= ry verbose so you'd wanna switch this off when done)=0A> =0A> Check with = dmesg for any output when connecting/disconnecting the HDMI=0A> cable.=0A= =0AAlso try switching to another virtual terminal (Ctrl-Alt-F) an= d back.=0A=0AFor some reason I need to do this now..=0A(wlroots only refr= eshes monitors when seeing the udev/devd notification,=0Awhich makes me t= hink that the notification is now delayed somehow)