我正在尝试在RPi 3和默认窗口egl_rpi上构建一个应用程序。 目前,当我运行我的应用程序时,整个屏幕变黑或者如果我做了一个小的"你好"按钮我可以调整背景,但问题是它仍然是全屏。
我的目标是显示一些python应用程序,并在触摸输入时杀死这些应用程序并启动其他进程。
我可以看到几种方法: 它不是屏幕返回,而是透明。 2.简单地限制在屏幕中心的东西1920x1000。
除了这个Kivy问题之外的所有事情都应该是微不足道的。
我一直在关注其他报道的问题,但我还没有看到成功的故事。我已经看到egl_rpi无法识别fullscreen = 0,因此它无法执行全屏以外的任何操作。我发现很难相信没有解决方法。
启动时我得到:
logback.configurationFile
.kivy / config.ini中:
[INFO ] [Kivy ] v1.10.1.dev0, git-Unknown, 20180615
[INFO ] [Python ] v3.6.5 (default, Apr 25 2018, 00:21:41)
[GCC 7.3.1 20180406]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_pil, img_gif
(img_pygame, img_ffpyplayer ignored)
[INFO ] [Window ] Provider: egl_rpi
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used <gl>
[INFO ] [GL ] OpenGL version <b'OpenGL ES 2.0'>
[INFO ] [GL ] OpenGL vendor <b'Broadcom'>
[INFO ] [GL ] OpenGL renderer <b'VideoCore IV HW'>
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <b'OpenGL ES GLSL ES 1.00'>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <8>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not
docked
[INFO ] [Text ] Provider: pil(['text_pygame'] ignored)
[INFO ] [ProbeSysfs ] device match: /dev/input/event1
[INFO ] [MTD ] Read event from </dev/input/event1>
[INFO ] [ProbeSysfs ] device match: /dev/input/event0
[INFO ] [MTD ] Read event from </dev/input/event0>
[INFO ] [ProbeSysfs ] device match: /dev/input/event1
[INFO ] [HIDInput ] Read event from </dev/input/event1>
[INFO ] [ProbeSysfs ] device match: /dev/input/event0
[INFO ] [HIDInput ] Read event from </dev/input/event0>
[INFO ] [Base ] Start application main loop
[INFO ] [MTD ] </dev/input/event1> range position X is 0 - 16384
[INFO ] [MTD ] </dev/input/event0> range position X is 1 - 16384
[INFO ] [MTD ] </dev/input/event1> range position Y is 0 - 9600
[INFO ] [HIDMotionEvent] using <b'ILITEK Multi-Touch-V5000\x00
[INFO ] [MTD ] </dev/input/event0> range position Y is 1 - 9600
[INFO ] [HIDMotionEvent] using <b'ILITEK Multi-Touch-V5000\x00
[INFO ] [MTD ] </dev/input/event1> range touch major is 0 - 0
[INFO ] [HIDMotionEvent] <b'ILITEK Multi-Touch-V5000\x00
'> range ABS X position is 0 - 16384
[INFO ] [MTD ] </dev/input/event0> range touch major is 0 - 0
[INFO ] [GL ] NPOT texture support is available
[INFO ] [HIDMotionEvent] <b'ILITEK Multi-Touch-V5000\x00
'> range ABS X position is 1 - 16384
[INFO ] [MTD ] </dev/input/event1> range touch minor is 0 - 0
[INFO ] [HIDMotionEvent] <b'ILITEK Multi-Touch-V5000\x00
'> range ABS Y position is 0 - 9600
[INFO ] [MTD ] </dev/input/event0> range touch minor is 0 - 0
[INFO ] [HIDMotionEvent] <b'ILITEK Multi-Touch-V5000\x00
'> range ABS Y position is 1 - 9600
[INFO ] [MTD ] </dev/input/event1> range pressure is 0 - 255
[INFO ] [HIDMotionEvent] <b'ILITEK Multi-Touch-V5000\x00
'> range position X is 0 - 16384
[INFO ] [MTD ] </dev/input/event1> axes invertion: X is 0, Y is 0
[INFO ] [MTD ] </dev/input/event0> range pressure is 0 - 255
[INFO ] [HIDMotionEvent] <b'ILITEK Multi-Touch-V5000\x00
'> range position Y is 0 - 9600
[INFO ] [MTD ] </dev/input/event1> rotation set to 0
[INFO ] [MTD ] </dev/input/event0> axes invertion: X is 0, Y is 0
[INFO ] [MTD ] </dev/input/event0> rotation set to 0
有人能为我提供克服这个问题的正确方向吗?
谢谢!