NetBSD Problem Report #54615
From martin@aprisoft.de Sat Oct 12 14:26:34 2019
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id AD1157A1A2
for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Oct 2019 14:26:34 +0000 (UTC)
Message-Id: <20191012142623.CC4EE5CC879@emmas.aprisoft.de>
Date: Sat, 12 Oct 2019 16:26:23 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: genfb issues after switching graphics mode in efiboot
X-Send-Pr-Version: 3.95
>Number: 54615
>Category: kern
>Synopsis: genfb issues after switching graphics mode in efiboot
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 12 14:30:01 +0000 2019
>Closed-Date: Sun Feb 09 12:26:30 +0000 2020
>Last-Modified: Mon Feb 10 19:00:02 +0000 2020
>Originator: Martin Husemann
>Release: NetBSD 9.99.15
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 9.99.15 NetBSD 9.99.15 (GENERIC) #24: Fri Oct 11 18:56:14 CEST 2019 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
I have a machine where the firmware (after I disabled the startup logo) comes
up in 800x600 mode and genfb picks this up (the RX480 in there is not
supported yet).
This works so far.
When I switch graphic resolution in efiboot using "gop 0" all is fine
while in efiboot, but as soon as the kernel start printing things, the
display is totally broken (random green on black pixels untill userland
takes over, completely blan screen once xdm fires up X).
genfb0 at pci8 dev 0 function 0: vendor 1002 product 67df (rev. 0xc7)
genfb0: framebuffer at 0xe0000000, size 3840x2160, depth 32, stride 15360
genfb0: shadow framebuffer enabled, size 32400 KB
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at genfb0 not configured
>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Sat, 08 Feb 2020 14:46:16 +0000
State-Changed-Why:
This commit should help: http://mail-index.netbsd.org/source-changes/2020/02/08/msg113820.html
From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54615 CVS commit: src/sys/arch/i386/stand/efiboot
Date: Sun, 9 Feb 2020 12:13:39 +0000
Module Name: src
Committed By: jmcneill
Date: Sun Feb 9 12:13:39 UTC 2020
Modified Files:
src/sys/arch/i386/stand/efiboot: efiboot.c
Log Message:
Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/i386/stand/efiboot/efiboot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Sun, 09 Feb 2020 12:26:30 +0000
State-Changed-Why:
fixed
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54615 CVS commit: [netbsd-8] src/sys/arch/i386/stand/efiboot
Date: Mon, 10 Feb 2020 16:49:48 +0000
Module Name: src
Committed By: martin
Date: Mon Feb 10 16:49:48 UTC 2020
Modified Files:
src/sys/arch/i386/stand/efiboot [netbsd-8]: efiboot.c
Log Message:
Pull up following revision(s) (requested by nonaka in ticket #1499):
sys/arch/i386/stand/efiboot/efiboot.c: revision 1.12
Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615
To generate a diff of this commit:
cvs rdiff -u -r1.4.10.5 -r1.4.10.6 src/sys/arch/i386/stand/efiboot/efiboot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54615 CVS commit: [netbsd-9] src/sys/arch/i386/stand/efiboot
Date: Mon, 10 Feb 2020 18:59:49 +0000
Module Name: src
Committed By: martin
Date: Mon Feb 10 18:59:49 UTC 2020
Modified Files:
src/sys/arch/i386/stand/efiboot [netbsd-9]: efiboot.c
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #686):
sys/arch/i386/stand/efiboot/efiboot.c: revision 1.12
Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615
To generate a diff of this commit:
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/sys/arch/i386/stand/efiboot/efiboot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.