NetBSD Problem Report #54113
From martin@duskware.de Wed Apr 10 18:02:33 2019
Return-Path: <martin@duskware.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 452CF7A150
for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Apr 2019 18:02:33 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: xdm edit fields broken
X-Send-Pr-Version: 3.95
>Number: 54113
>Category: xsrc
>Synopsis: xdm edit fields broken
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 10 18:05:00 +0000 2019
>Last-Modified: Tue Apr 16 14:35:00 +0000 2019
>Originator: Martin Husemann
>Release: NetBSD 8.99.37
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.37 NetBSD 8.99.37 (NIGHT-OWL) #660: Mon Apr 8 11:24:28 CEST 2019 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:
When using xdm to log in, the username and password edit fields look strange,
they are displaying their text a few pixels shifted down and cause random
corruption on the bottom border of the widget.
>How-To-Repeat:
set xdm=YES in /etc/rc.conf
>Fix:
n/a
>Audit-Trail:
From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Wed, 10 Apr 2019 13:17:47 -0500 (CDT)
At least on the one amd64 host I've tried so far, the wrong glyph is
used for the text cursor in the username/password fields. It appears
to be using the "set edit point" cursor normally used for the mouse
pointer rather than the typical plain vertical line.
And as martin@ noted, it seems shifted down a bit so it glitches the
pixels along the bottom edge of the entry field.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@NetBSD.org, gnats-admin@NetBSD.org, martin@NetBSD.org
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Fri, 12 Apr 2019 20:17:46 +0200
At 18:20 Uhr +0000 10.04.2019, John D. Baker wrote:
> At least on the one amd64 host I've tried so far, the wrong glyph is
> used for the text cursor in the username/password fields. It appears
> to be using the "set edit point" cursor normally used for the mouse
> pointer rather than the typical plain vertical line.
With -8 amd64 and pkgsrc X11, I just get black fields in the xdm requester
for both username and password. Started... maybe 6 weeks ago?
Cheerio,
hauke
--
"It's never straight up and down" (DEVO)
From: christos@zoulas.com (Christos Zoulas)
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>, gnats-bugs@NetBSD.org
Cc: xsrc-manager@NetBSD.org, gnats-admin@NetBSD.org, martin@NetBSD.org
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Fri, 12 Apr 2019 16:02:25 -0400
On Apr 12, 8:17pm, hauke@Espresso.Rhein-Neckar.DE (Hauke Fath) wrote:
-- Subject: Re: xsrc/54113: xdm edit fields broken
| At 18:20 Uhr +0000 10.04.2019, John D. Baker wrote:
| > At least on the one amd64 host I've tried so far, the wrong glyph is
| > used for the text cursor in the username/password fields. It appears
| > to be using the "set edit point" cursor normally used for the mouse
| > pointer rather than the typical plain vertical line.
|
| With -8 amd64 and pkgsrc X11, I just get black fields in the xdm requester
| for both username and password. Started... maybe 6 weeks ago?
You need to update the resources for it.
christos
From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Sun, 14 Apr 2019 07:26:36 -0500 (CDT)
Looking a bit more carefully at the 'xdm' login widget in netbsd-8, the
cursor does appear to be the "set edit point" cursor, or look quite
similar to it. It's just properly centered in the edit field.
So the 'xdm' in -current has it shifted down so it steps on the pixels
in the lower edge of the box, as noted for font data in the initial
submission of this PR.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org, xsrc-manager@netbsd.org, gnats-admin@netbsd.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Mon, 15 Apr 2019 10:06:46 +0200
On 2019-04-12 22:05, Christos Zoulas wrote:
> | With -8 amd64 and pkgsrc X11, I just get black fields in the xdm requester
> | for both username and password. Started... maybe 6 weeks ago?
>
> You need to update the resources for it.
What specifically? My xdm's resources are heavily customized, but
nothing in the differences really stands out.
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Mon, 15 Apr 2019 11:50:02 +0200
Check for new inpColor: entries.
Martin
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Mon, 15 Apr 2019 13:05:38 +0100
On Mon, Apr 15, 2019 at 09:55:01AM +0000, Martin Husemann wrote:
> Check for new inpColor: entries.
I see the problem description on a system with:
$ grep -r inpColor /etc/X11
/etc/X11/xdm/Xresources:xlogin*inpColor: grey80
which appears to match
https://gitlab.freedesktop.org/xorg/app/xdm/blob/master/config/Xresources.in#L47
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Mon, 15 Apr 2019 14:17:52 +0200
On Mon, Apr 15, 2019 at 12:10:02PM +0000, Patrick Welche wrote:
> I see the problem description on a system with:
>
> $ grep -r inpColor /etc/X11
> /etc/X11/xdm/Xresources:xlogin*inpColor: grey80
There are two issues. The edit field themselves are broken, and the background
colour is black by default if the resources are not up to date.
With the fixed resources you should see the edit fields and the content
you edit (but still display is corrupted and texts are a few pixel down).
Martin
From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Mon, 15 Apr 2019 10:43:36 -0500 (CDT)
Possibly interesting data point: The systems where I see the shifted
cursor/font corruption all use a DRM/KMS video driver (radeon, intel).
I recently booted a system that uses the intel driver but is not supported
by DRM/KMS nor UMS (i82810e-based).
On this system, the 'xdm' login widget edit fields have the cursor and
fonts properly centered and does not experience corruption/glitching
when typing the username or backspacing.
For the trifecta I'll see about trying a known-working nouveau-equipped
machine as well as other machines which use non-DRM/KMS video (old
radeon, rage128, via, SiS, etc.).
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org, martin@NetBSD.org
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Mon, 15 Apr 2019 20:50:52 +0200
On Mon, 15 Apr 2019 09:55:01 +0000 (UTC), Martin Husemann wrote:
> Check for new inpColor: entries.
Thanks! Much better now. :)
Cheerio,
hauke
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, martin@NetBSD.org
Subject: re: xsrc/54113: xdm edit fields broken
Date: Tue, 16 Apr 2019 05:26:14 +1000
> Check for new inpColor: entries.
hmmm, i wonder if we can make rc.d/xdm fail to startup if
that is missing?
the postinstall could be smarter too.. anyone? :)
.mrg.
From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: xsrc/54113: xdm edit fields broken
Date: Tue, 16 Apr 2019 09:34:40 -0500 (CDT)
On Mon, 15 Apr 2019, John D. Baker wrote:
> For the trifecta I'll see about trying a known-working nouveau-equipped
The nouveau-equipped machine shows the same shifted cursor/font with
glitched borders and leftover character bits.
For completeness, on a machine using the intel DRM/KMS driver with a
real i82915 device, the downward shift seems less pronounced than on
the other systems, but it's still there and still glitches, although
less so.
> machine as well as other machines which use non-DRM/KMS video (old
> radeon, rage128, via, SiS, etc.).
A system with a VIA chipset and using "viadrmums* at drm?" also shows
the corruption/glitching. Additionally, upon aborting 'xdm' with <ctrl-R>
(takes 4 presses) and returning to the regular VGA text console, the
contrast is reduced. The background seems a little brighter and
the text noticably dimmer.
A system with an XGI Volari Z7, with "sisdrm* at drm?" in the kernel
("sis" xorg driver) likewise displays the corruption/glitching. Rebooting
with GENERIC (i.e., w/o the "sisdrm" driver) made no difference.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.