From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 17793 invoked from network); 8 May 2022 16:59:05 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 8 May 2022 16:59:05 -0000 Received: from wopr.sciops.net ([216.126.196.60]) by 9front; Sun May 8 12:55:26 -0400 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1652028921; 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; bh=tMQ4fKhcJCaE503IxnRbJpTGvReX5iyWOum4kxq1uzk=; b=FM6r8qtu+8RUFCaA8gdVwi3vUUsPfIW/SEgodn0XB5s4icERgNI/1j8DuJT9mQKEzn/1Hi WbFRSjCE7K82tsSd5ZD+g2fNTgVhE9sB0qQa8I7N8BinuAwMyIth1IA751+TElz9GnX5Vn a8FjrOSMK+gLnz7OO0avvJVSvFdgUdE= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id 9f86c067 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <9front@9front.org>; Sun, 8 May 2022 09:55:20 -0700 (PDT) Message-ID: <16184790319BFD4766A7758780EFAF3D@wopr.sciops.net> Date: Sun, 08 May 2022 18:55:17 +0200 From: qwx@sciops.net To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: factory dependency injection map/reduce-based locator Subject: [9front] vncv(1) 16bit colors regression Reply-To: 9front@9front.org Precedence: bulk Hello, Commit 90a08cf1fda8eaf4afe98f74a7572fb36b7ef369 from a while ago broke 16bit color drawing in vncv, connecting to a unix: red and blue channels are swapped. Unix uses Xvfb with a 1280x1024x16 screen + x11vnc; 9front screen is XRGB32. ; vncv -v t490sw server version: RFB 003.008 auth type 2 32 bpp, 32 depth, 0x68081828 chan, 1 truecolor, 0 bigendian Specifically: /sys/src/cmd/vnc/color.c:143,146 if(bpp == 32 && v->Pixfmt.bpp == 16){ cvtpixels = cvt16to32; goto Done; } Removing this fixes it. It was necessary for the AMT kvm stuff, but I don't know much about that. What do you think? Thanks, qwx