From owner-freebsd-stable@freebsd.org Fri Dec 7 14:22:18 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C9CA130EFDE for ; Fri, 7 Dec 2018 14:22:18 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F3418CF47 for ; Fri, 7 Dec 2018 14:22:17 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-vk1-xa2b.google.com with SMTP id 197so967448vkf.4 for ; Fri, 07 Dec 2018 06:22:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddteam-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l0CWj7XnRGe32ODUYeroNnLLZHw2RjQk29MP8tL7Jqk=; b=ZlYDHnwEBU7k2ba164BKDmrXaxlKwXc19Y48ktMRrly3dY3iEwGw3yOuiXiD4lYNBk 7LEPlW9DLyWsmPVcs9a7J9wjROgvIvYXTrfunJauqu0j5ufI6qVqDRMLJZlWlG0gLOCZ +DYP93lVhHkbjtspjdlZR0ww6f/Q5hJdyq6sIkjyqE/C7gdKsoVjzeT+BNvnvvU0zWKw /kbjYvfg5oaabmewnpJQ7E2rWXXYbe8oqgS7vgt4ZlV6sTTJ9lgXZPwSjrBn4eEJiHnO R9D5/PbnCiG2MZhS20TnyH47OD8aqoIZeN1i0qqRT/5y7s6WGtKPxKD/8xftJ9YyL/ue xSqQ== 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=l0CWj7XnRGe32ODUYeroNnLLZHw2RjQk29MP8tL7Jqk=; b=Lvw7Aue2D3aIPrwkN/Za/xxcpo6PBqK6QYbmqdERcWLN6PbE8pZwFIdR2ZN/kx4JNN ESF4bDcmHTHWbfWyf+tNvcSCuXOU3k5DK/SH9nbU3rVfBcfGm+aX5H9FpeGS5UYHsElG Y1tcP/9p3T8ucSFogp+yW0nNY230admp8SW4lqW7wuPSEkA12OOrM/MkOV9ssWvYe7l+ YPDix9CbIKcI93w25GwnDM5kqUz35ISGs/fY9h7XqQi7YlhWWblB2p+bTcOSmTYRBMwe G6oJ3sj4Ni7+CohctmEYcSviMxac9P46jYR14k2smDX+ULxfYaApdkBa2QFzo5neQvr3 NrKA== X-Gm-Message-State: AA+aEWZ9OQd17tiYxcURBxK1CWb0hd+ZXta0qZ3uUrnUyDUTa9qyBC2z qC6WRop9q/qaRFqgp3WOwdlkWiZ3WOTQOH1AqAMGHWlGR7BaXw== X-Google-Smtp-Source: AFSGD/UbZMJpJvIoa09gvI94vJuydBy082SH5bL4+Vn6xRiqhuoFo4VdDab1njCBM+t23qsLjTTlrodq9Y8KC06Kyes= X-Received: by 2002:a1f:5e47:: with SMTP id s68mr914909vkb.64.1544192536150; Fri, 07 Dec 2018 06:22:16 -0800 (PST) MIME-Version: 1.0 References: <5C092989.6000007@grosbein.net> <5C092D4B.8050302@grosbein.net> In-Reply-To: <5C092D4B.8050302@grosbein.net> From: Aleksandr Rybalko Date: Fri, 7 Dec 2018 16:22:03 +0200 Message-ID: Subject: Re: vt(4)-related hang of 11.2 To: Eugene Grosbein Cc: FreeBSD-STABLE Mailing List , ed@freebsd.org, Ed Maste X-Rspamd-Queue-Id: 1F3418CF47 X-Spamd-Result: default: False [-3.63 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; R_DKIM_ALLOW(-0.20)[ddteam-net.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[ddteam.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ddteam-net.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx4.googlemail.com,aspmx3.googlemail.com,aspmx5.googlemail.com,alt2.aspmx.l.google.com,aspmx2.googlemail.com]; RCVD_IN_DNSWL_NONE(0.00)[b.2.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.76)[-0.757,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.58)[ipnet: 2607:f8b0::/32(-1.51), asn: 15169(-1.30), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2018 14:22:18 -0000 Hi Eugene! In the sys/dev/vt/hw/efifb/efifb.c, starting from line 115, set of initialized fields of "info" struct. Like "info->fb_height =3D efifb->fb_height;". "efifb" holds data passed by loader from UEFI firmware metadata. There is fb_height, fb_width, fb_mask_(red|green|blue|reserved), fb_stride and fb_addr fields. In most cases fb_stride is wrong. So you can temporarly hardcode some of that values to real info for your display to check what is wrong. =D1=87=D1=82, 6 =D0=B3=D1=80=D1=83=D0=B4. 2018 =D0=BE 16:08 Eugene Grosbein= =D0=BF=D0=B8=D1=88=D0=B5: > On 06.12.2018 20:57, Aleksandr Rybalko wrote: > > Hi, Eugene! > > > > In most cases it's just wrong info passed from UEFI firmware about FB. > > try to hardcode FrameBuffer params into vt_efb driver, to know exatly. > > I'm not familiar with vt_efb code. Can you please elaborate what should I > do to debug this, exactly? > > > --=20 WBW ------- Rybalko Aleksandr