From nobody Thu Mar 16 06:26:30 2023 X-Original-To: freebsd-hackers@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 4Pccjx5KyXz3yQqt for ; Thu, 16 Mar 2023 06:27:01 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pccjx3bj2z3mld; Thu, 16 Mar 2023 06:27:01 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ua1-f41.google.com with SMTP id s23so495593uae.5; Wed, 15 Mar 2023 23:27:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678948018; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p9jFR9/G/QBWt3llUPDH+5h8LAyXMwje+H9nmOeKUug=; b=XvoLZXFcUo4xtO+jM3QuSCW1l1f4S973L061HP3NKjAc5qycGShmCoYHdqPlBP8HS7 cwIxq++EcSNO4Pmd7jpYYJQY7QKLPon/38jkHd1exn11i1bC6Z9PF3CclKLhuebzcyCk 8OZpU4c3fDssdugpdlJ3a0COwVfyVnjhAWe7kJy1MRg3xCqGej7144qVmJ/ZzBZA7IJJ WrpiDLrcNqEMBk95tnt4E7S8+79vLEwq1asF3OtwPB0eLETQekm6CyxvanM3RrKeN2PS z6hkKgXAFuQpJGhl854uG/suVzTN69wSBzLGxQoBPLMXLQZ2QKWb5mrmgcfy6amFx9wH ytXg== X-Gm-Message-State: AO0yUKXBxgYWe0eDGRdGUTZRadiKAlb83i7cauxCucV5EASkkb7YzYwD zUavg+CI6jog35SYD8HgHLKVNkmx6DbskB9s X-Google-Smtp-Source: AK7set9MI+xzoi3VUP99+JW5Dl6ZZj9o3ahFbZ8EgV8bRq42AAuA2ZS0bLKBUZCEZRPyj/RmyV7QUw== X-Received: by 2002:a1f:9b87:0:b0:401:32f5:a867 with SMTP id d129-20020a1f9b87000000b0040132f5a867mr13807090vke.2.1678948017123; Wed, 15 Mar 2023 23:26:57 -0700 (PDT) Received: from mail-ua1-f43.google.com (mail-ua1-f43.google.com. [209.85.222.43]) by smtp.gmail.com with ESMTPSA id 19-20020a1f1613000000b0043290c8d6d3sm141582vkw.40.2023.03.15.23.26.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Mar 2023 23:26:56 -0700 (PDT) Received: by mail-ua1-f43.google.com with SMTP id 89so522850uao.0; Wed, 15 Mar 2023 23:26:56 -0700 (PDT) X-Received: by 2002:a9f:311a:0:b0:73f:f15b:d9e3 with SMTP id m26-20020a9f311a000000b0073ff15bd9e3mr11716643uab.0.1678948016644; Wed, 15 Mar 2023 23:26:56 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Thu, 16 Mar 2023 09:26:30 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: splash(4) support in vt To: Ed Maste Cc: freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Pccjx3bj2z3mld X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Mar 15, 2023 at 10:57=E2=80=AFPM Ed Maste wrot= e: > > > There are many individual tasks to be taken on; we need at least to > get the image displayed earlier in the boot process, support more than > just a 2-colour image, and support a user-provided (rather than > compiled-in) image. We probably also need some animation support (e.g. > a spinner). These tasks are all related but are mostly independent, so > could be taken on in any order. What is your priority on these? I think we'd need to start from getting more colors work. Our final goal is a GIF-animated splash. > > The Wiki page linked from the mailing list posting is > https://wiki.freebsd.org/MateuszPiotrowski/ImproveVtSplashScreenSupport, > and it has a basic introduction. Looking at the source, the current > logo is stored in sys/dev/vt/logo/logo_freebsd.c as a C array holding > a 257x219 bitmap. If you look at vt_fb_bitblt_bitmap (and similar > functions in other drivers) you can see that it loops over each pixel > where the image will be drawn, and sets it to either the foreground or > background color. Which is the reason it only supports 2-color images, I presume? Thanks for the links, I'll take a look!