From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id E607087BC7; Fri, 30 Sep 2022 12:49:57 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id A985C87B7D; Fri, 30 Sep 2022 12:49:54 +0000 (UTC) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by atuin.qyliss.net (Postfix) with ESMTPS id 0EB2387B75 for ; Fri, 30 Sep 2022 12:49:51 +0000 (UTC) Received: by mail-ej1-x635.google.com with SMTP id a26so8823766ejc.4 for ; Fri, 30 Sep 2022 05:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=dVL6MigMIoTjD/uqCMceFqLkFmvKhpPxWQllmuSBvyc=; b=S/x+sr4Jj6k3S1UOzuUEqMZC37Br3pHlSvliEU2DXIiSWiYRfDSkdRM9DkMI4MehRx QeEYOfirGYbQ6xmo85Edd1VcPdZqoiqCrc6mlqDa/q0vb2B2LxNJ/rw7skmvwSYVMw4c Ukk1J2Rjm1kxpG6SBS4v4cix1c2yRSPb54+fQj+ymCwlAXtHRd6FiEdPMB25gMZqBN2J EyHsi+TYKt/E5rZ6QA1NvwiVhq0uoyEIxIosTLOchaoeGxDB85tlsl6HmbBz5WTUxXln Yr8yghlpxgxzBgQqwaUzlGW1HgaaV57REOFxbi+zpCYsst4r708fjAkhFUS1PTPsdO5K 3K3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=dVL6MigMIoTjD/uqCMceFqLkFmvKhpPxWQllmuSBvyc=; b=Lut252b+icwoDYcgAaLMswkAFa+PpUojxSUeIC1MO1AZoZE7v1xfhQ9zMCnpC6ctTd PkPGPDqv9ZXQgVdpHREQGf4MasXwz6uzROy/AW8k8tRojygQP90j2mDnD4n4y07XYYst 75wu8bpeVesEa3XRinBz+uT7y6RuTda3Xcdy+SFyEj70juCFzFMM+TMGTxUba3QWNV2V uwv5jaJIifsHXKpHRlfnLK1xLHDvp8f9ada2I6Kc2FlhwnvNtTJwDPbSZ91Ju2PG6O7j A9fPsvOAwq6kSKYFc+OxEojLlnhxF0ojUBfHk67V2dmBXcMHToeOuM8dOyckRF9C9G5N B5wQ== X-Gm-Message-State: ACrzQf0veVhnRDrGVF/3KdZajEhfAFgURwUu4NLjyh7EnHvnMwkt4ukK Czfpvqjuj2yEFXU3B1tEs8rBjA== X-Google-Smtp-Source: AMsMyM4Y8y7m6YA5m8cq7sr7OmjLqXMokv022x8WBox+UN5NfSFaFdJBK85XcR6ysPil36UNpoLvig== X-Received: by 2002:a17:907:162a:b0:783:d11a:a553 with SMTP id hb42-20020a170907162a00b00783d11aa553mr6390181ejc.482.1664542190588; Fri, 30 Sep 2022 05:49:50 -0700 (PDT) Received: from x220.qyliss.net (p54b8e692.dip0.t-ipconnect.de. [84.184.230.146]) by smtp.gmail.com with ESMTPSA id d7-20020a170906304700b0073d9630cbafsm1118508ejd.126.2022.09.30.05.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 05:49:50 -0700 (PDT) Received: by x220.qyliss.net (Postfix, from userid 1000) id 8A859553; Fri, 30 Sep 2022 12:49:48 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [RFC PATCH 03/10] img/app: add Wayland over virtio-gpu support to kernel Date: Fri, 30 Sep 2022 12:49:33 +0000 Message-Id: <20220930124940.1013577-4-alyssa.ross@unikie.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220930124940.1013577-1-alyssa.ross@unikie.com> References: <20220930124940.1013577-1-alyssa.ross@unikie.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: L764GGWJ355CYX2D7D6GLYEAOACNLJBQ X-Message-ID-Hash: L764GGWJ355CYX2D7D6GLYEAOACNLJBQ X-MailFrom: alyssa.ross@unikie.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-0 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1 CC: Puck Meerburg , Ville Ilvonen X-Mailman-Version: 3.3.5 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The current LTS kernel does not support virtio-gpu context types, so we have to switch to the latest kernel. Signed-off-by: Alyssa Ross --- I haven't had time yet to figure out why it doesn't work if I let DRM_VIRTIO_GPU default to "m" and modprobe it inside the VM. img/app/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/img/app/default.nix b/img/app/default.nix index e7d5366..a6734d2 100644 --- a/img/app/default.nix +++ b/img/app/default.nix @@ -49,12 +49,13 @@ let -T ${writeReferencesToFile packagesSysroot} . ''; - kernel = buildPackages.linux.override { + kernel = buildPackages.linux_latest.override { structuredExtraConfig = with lib.kernel; { VIRTIO = yes; VIRTIO_PCI = yes; VIRTIO_BLK = yes; VIRTIO_CONSOLE = yes; + DRM_VIRTIO_GPU = yes; EXT4_FS = yes; DRM_BOCHS = yes; DRM = yes; -- 2.37.1