运行directfb 的 demo出错
-
# df_window (*) Direct/Thread: Started 'SigHandler' (12001) [CRITICAL - OTHER/0] <8388608>... ~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2012-2015 DirectFB integrated media GmbH (c) 2001-2015 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2023-03-28 12:14) (*) Direct/Memcpy: Using libc memcpy() (*) Direct/Thread: Started 'Fusion Dispatch' (12002) [MESSAGING - OTHER/0] <8388608>... (!) DirectFB/core/vt: Couldn't open neither `/dev/tty0' nor `/dev/vc/0'! --> No such file or directory (!) DirectFB/Core: Could not initialize 'system_core' core! --> A general initialization error occured (!!!) *** UNIMPLEMENTED [fusion_dispatch] *** [fusion.c:3937]
-
https://blog.51cto.com/u_15899439/5909239
根据提示信息,directfb貌似依赖/dev/tty0或者/dev/vc/*设备节点,根据提示,打开/dev/vt/*使能配置
CONFIG_VT选项将会打开内核对Virtual Terminal的支持,CONFIG_VT 打开后,内核才会支持带显示和键盘的终端设备,由于这类终端设备上通常可以打开多个virtual termial,类似于gnome console,所以叫做virtual terminal,配置上讲:
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号