From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26B4FC433E7 for ; Fri, 9 Oct 2020 13:24:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7948222276 for ; Fri, 9 Oct 2020 13:24:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="HtpHNOoj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388447AbgJINYr (ORCPT ); Fri, 9 Oct 2020 09:24:47 -0400 Received: from forward105p.mail.yandex.net ([77.88.28.108]:46921 "EHLO forward105p.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388407AbgJINYr (ORCPT ); Fri, 9 Oct 2020 09:24:47 -0400 X-Greylist: delayed 314 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Oct 2020 09:24:45 EDT Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward105p.mail.yandex.net (Yandex) with ESMTP id D2E2E4D414BF; Fri, 9 Oct 2020 16:19:23 +0300 (MSK) Received: from sas1-27140bb19246.qloud-c.yandex.net (sas1-27140bb19246.qloud-c.yandex.net [2a02:6b8:c08:1803:0:640:2714:bb1]) by mxback14j.mail.yandex.net (mxback/Yandex) with ESMTP id b8XHafhg4m-JNkS8apT; Fri, 09 Oct 2020 16:19:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1602249563; bh=zB0GvwffsX4+2scJZ6ePH9toGt+lVivOsqSXrlJ/y/E=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=HtpHNOojIxiqahjm7UWAUreoiWet91/Cmmkwls6+Pu30YGVovrkYLHeR/LzkN2y/K nrJMRFsibbYbZFLOD692zyC0aB/fDge1zDlIp6DDNE65+bnb5XDg6gGkwn+76Quz4f tZPkVF/NtCJm+2wQArP2XlrIChHQ6LXrI6inGxhs= Authentication-Results: mxback14j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by sas1-27140bb19246.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 2R0q1w1tUv-JNm8hc9H; Fri, 09 Oct 2020 16:19:23 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: drmfb console switching problems/questions To: Thomas Zimmermann , linux-fbdev@vger.kernel.org, Linux kernel References: <17980f58-c2d2-ac58-88ce-e21b5a56da39@yandex.ru> <70ce31ca-5922-584c-8631-3853c488f3c7@yandex.ru> From: stsp Message-ID: Date: Fri, 9 Oct 2020 16:19:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 09.10.2020 15:58, Thomas Zimmermann пишет: > Hi > > Am 09.10.20 um 14:16 schrieb stsp: >> 09.10.2020 14:59, Thomas Zimmermann пишет: >>> Fbdev exposes the video ram (or a shadow buffer of it) to all >>> applications. Only one can draw at the same time. It's a limitation of >>> the design. To fix this, your application has to stop drawing when you >>> switch consoles. >> OK, thanks for info. >> Quite a sad news, if you ask me. >> Is there any ongoing work at solving that? > I don't think so. Both, SDL1 and fbdev, are pretty much dead these days. > The solution to fbdev is DRM, which does not have these problems. > > You could your application under X11 to use SDL's X backend. X would do > all the VC handling then. That of course works. I was trying w/o X. Do you think it is possible for me to test other techniques of drawing under kms console? Or fbcon and X are all that we have?