From nobody Wed Mar 02 13:44:33 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 415DC19EB4CA for ; Wed, 2 Mar 2022 13:44:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7wMj0ck0z50kQ for ; Wed, 2 Mar 2022 13:44:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E668024696 for ; Wed, 2 Mar 2022 13:44:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 222DiWA7052859 for ; Wed, 2 Mar 2022 13:44:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 222DiWxF052858 for bugs@FreeBSD.org; Wed, 2 Mar 2022 13:44:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261751] vt mouse pointer background display bug Date: Wed, 02 Mar 2022 13:44:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: vt X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646228673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ggacW8ZNlJtMBsxywEvIOwvbxREjz5acVG9XsXhvAw0=; b=QaVPkTqJKSUdzGAbk8XQWVJjCbGrGjNtMBqd7FIy/Bl1c1iExIVz4sa4ifin+vmjdEqBbe /MZp5P3ywKJITGPYX8t+4WiKn3CwfhMz0IUQIZHeUJ9VnE93WwvZBYEjsbeQuIml8hWfPb wvx4xHmNq6aMLVteZbMvn+nSQ1+p3IPe1Kdk65V8O91GbUfjx9WRqxPTULc8PZL4zSggKQ BbGj6sJ6lIF//Zt3YiV98E0Ck2Hx9VntYxRj03chGnm78Slz0tpZRGnS9PktFIDeGSZJ6e voCg+RnS+Xv49NCq9vFRJzU5N5oxdm2zqci/qoIF+G0FfL9z3X9YLHKM0ocuDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646228673; a=rsa-sha256; cv=none; b=WHeK89Wt5Vcm/h7KKKpM7HQs7NR28veH/d4qfBHGqRE6UHrh04RJYpexzWDl7a/7gsVxmQ zG/y0/43l5zjSxOmIPQ3F51f2o2SyUsoOoB7a6+s3D/niexT9kLnQxriU0fsObk9FMFUJB bQllGlZ5u+lSRvW5Y6nQCZHOlcqAfaUc+btCJy7okjsFlhiWnbuM/5gZruL2keGxlkYlq4 SEawsf4fsFdn0g1nCkqSXaObTm/1gS3Wqy3zJICbEG8f+u2qZRjy0I4PAPpkgBJeI4AZZ7 MKPe769QvWiTzNIIenVd6sisqrouBP+lRKaXN6dqS7mw/V92F2fFIlDizaxQOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261751 --- Comment #5 from Ed Maste --- Looking further I think this may be fallout from 5e251aec86367747ac1d7086dcbb05f18ef0f167. This untested patch may fix it: diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c index 563867399e53..0cb5f356a70a 100644 --- a/sys/dev/vt/hw/vga/vt_vga.c +++ b/sys/dev/vt/hw/vga/vt_vga.c @@ -582,7 +582,7 @@ vga_bitblt_pixels_block_ncolors(struct vt_device *vd, c= onst uint8_t *masks, /* The pixel "j" uses color "color". */ for (plan =3D 0; plan < 4; ++plan) plans[i * 4 + plan] |=3D - ((color >> plan) & 0x1) << (7 -= j); + ((cons_to_vga_colors[color] >> plan) & 0x1) << (7 - j); } } } --=20 You are receiving this mail because: You are the assignee for the bug.=