From owner-freebsd-x11@freebsd.org Wed Dec 4 08:27:54 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 9E2431CD8A2 for ; Wed, 4 Dec 2019 08:27:54 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47SX6K6XS8z4YyJ; Wed, 4 Dec 2019 08:27:53 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.lissoft.com.ua ([109.237.91.29] helo=thinkpad.flex-it.com.ua) by mail.flex-it.com.ua with esmtpsa (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1icQ0l-000FkJ-8o; Wed, 04 Dec 2019 10:27:51 +0200 Subject: Re: HDMI display autodetect To: greg@unrelenting.technology, Johannes Lundberg , freebsd-x11@freebsd.org References: <17748315-f258-875f-68d5-e34a9fd15f1f@FreeBSD.org> <8929d25b-d435-b718-54fe-175a4492f7db@shurik.kiev.ua> <9c04394a05a06aa4efcfb753702305d9@unrelenting.technology> From: Alexandr Krivulya Message-ID: Date: Wed, 4 Dec 2019 10:27:46 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <9c04394a05a06aa4efcfb753702305d9@unrelenting.technology> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: uk-UA X-Rspamd-Queue-Id: 47SX6K6XS8z4YyJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua X-Spamd-Result: default: False [-2.27 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.01)[country: UA(0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; 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: Wed, 04 Dec 2019 08:27:54 -0000 03.12.19 20:59, greg@unrelenting.technology пишет: > December 3, 2019 8:12 PM, "Johannes Lundberg" wrote: > >> On 2019-12-03 01:58, Alexandr Krivulya wrote: >> >>> Hi! >>> When I attach external display over HDMI port on running system it is >>> not recognized (ThinkPad T470p with CURRENT, >>> drm-current-kmod,xf86-video-intel). xrandr do not reflect any chnages. >>> As workaround I need to reboot or suspend-resume my system. >> Hi >> >> Does it behave the same with the modesetting X driver? (uninstall >> xf86-video-intel or set Driver = "modesetting" in xorg.conf's device >> section and restart X or reboot) >> >> If so, does it behave the same with drm-devel-kmod instead of >> drm-current-kmod? >> >> You can also see if the kernel driver registers any status status, >> reports error, etc by increase logging >> >> sudo sysctl dev.drm.drm_debug=-1 >> >> (very verbose so you'd wanna switch this off when done) >> >> Check with dmesg for any output when connecting/disconnecting the HDMI >> cable. > Also try switching to another virtual terminal (Ctrl-Alt-F) and back. > > For some reason I need to do this now.. > (wlroots only refreshes monitors when seeing the udev/devd notification, > which makes me think that the notification is now delayed somehow) Yes, its also works. Thanks!