Skip to content

Instantly share code, notes, and snippets.

@makuk66
Created September 18, 2015 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makuk66/8cde17fcc1c1810531eb to your computer and use it in GitHub Desktop.
Save makuk66/8cde17fcc1c1810531eb to your computer and use it in GitHub Desktop.
pi@rpi2 ~ $ cat .kivy/logs/kivy_15-09-18_12.txt
[INFO ] Logger: Record log in /home/pi/.kivy/logs/kivy_15-09-18_12.txt
[INFO ] Kivy: v1.9.1-dev
[INFO ] Python: v2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3]
[INFO ] Factory: 177 symbols loaded
[DEBUG ] Cache: register <kv.lang> with limit=None, timeout=None
[DEBUG ] Cache: register <kv.image> with limit=None, timeout=60
[DEBUG ] Cache: register <kv.atlas> with limit=None, timeout=None
[INFO ] Image: Providers: img_tex, img_dds, img_gif, img_pygame (img_pil, img_ffpyplayer ignored)
[DEBUG ] Cache: register <kv.texture> with limit=1000, timeout=60
[DEBUG ] Cache: register <kv.shader> with limit=1000, timeout=3600
[INFO ] Window: Provider: egl_rpi
[DEBUG ] Window: Actual display size: 800x480
[INFO ] GL: OpenGL version <OpenGL ES 2.0>
[INFO ] GL: OpenGL vendor <Broadcom>
[INFO ] GL: OpenGL renderer <VideoCore IV HW>
[INFO ] GL: OpenGL parsed version: 2, 0
[INFO ] GL: Shading version <OpenGL ES GLSL ES 1.00>
[INFO ] GL: Texture max size <2048>
[INFO ] GL: Texture max units <8>
[INFO ] Shader: fragment shader: <Compiled>
[DEBUG ] Shader: Fragment compiled successfully
[INFO ] Shader: vertex shader: <Compiled>
[DEBUG ] Shader: Vertex compiled successfully
[DEBUG ] ImagePygame: Load </home/pi/kivy/kivy/data/glsl/default.png>
[INFO ] Window: virtual keyboard not allowed, single mode, not docked
[DEBUG ] App: Loading kv <./examples/demo/pictures/pictures.kv>
[DEBUG ] ImagePygame: Load </home/pi/kivy/kivy/data/../data/images/background.jpg>
[INFO ] GL: NPOT texture support is available
[INFO ] Text: Provider: pygame
[DEBUG ] Resource: add </usr/share/fonts/truetype> in path list
[DEBUG ] Resource: add </usr/local/share/fonts> in path list
[DEBUG ] Resource: add </home/pi/kivy/kivy/data/fonts> in path list
[DEBUG ] ImagePygame: Load </home/pi/kivy/kivy/data/../data/logo/kivy-icon-24.png>
[DEBUG ] ImagePygame: Load <./examples/demo/pictures/shadow32.png>
[DEBUG ] ImagePygame: Load <./examples/demo/pictures/images/faust_github.jpg>
[DEBUG ] ImagePygame: Load <./examples/demo/pictures/images/Wall.jpg>
[DEBUG ] ImagePygame: Load <./examples/demo/pictures/images/Ill1.jpg>
[DEBUG ] ImagePygame: Load <./examples/demo/pictures/images/Bubbles.jpg>
[INFO ] OSC: using <multiprocessing> for socket
[DEBUG ] Base: Create provider from mouse
[DEBUG ] Base: Create provider from probesysfs,provider=mtdev
[DEBUG ] ProbeSysfs: using probesysfs!
[DEBUG ] ProbeSysfs: found device: Logitech USB Receiver at /dev/input/event0
[INFO ] ProbeSysfs: device match: /dev/input/event0
[INFO ] MTD: Read event from </dev/input/event0>
[DEBUG ] ProbeSysfs: found device: Logitech USB Receiver at /dev/input/event1
[INFO ] ProbeSysfs: device match: /dev/input/event1
[INFO ] MTD: Read event from </dev/input/event1>
[DEBUG ] ProbeSysfs: found device: FT5406 memory based driver at /dev/input/event2
[INFO ] ProbeSysfs: device match: /dev/input/event2
[INFO ] MTD: Read event from </dev/input/event2>
[DEBUG ] Base: Create provider from probesysfs,provider=hidinput
[DEBUG ] ProbeSysfs: using probesysfs!
[DEBUG ] ProbeSysfs: found device: Logitech USB Receiver at /dev/input/event0
[INFO ] ProbeSysfs: device match: /dev/input/event0
[INFO ] HIDInput: Read event from </dev/input/event0>
[DEBUG ] ProbeSysfs: found device: Logitech USB Receiver at /dev/input/event1
[INFO ] ProbeSysfs: device match: /dev/input/event1
[INFO ] HIDInput: Read event from </dev/input/event1>
[DEBUG ] ProbeSysfs: found device: FT5406 memory based driver at /dev/input/event2
[INFO ] ProbeSysfs: device match: /dev/input/event2
[INFO ] HIDInput: Read event from </dev/input/event2>
[INFO ] Base: Start application main loop
[INFO ] MTD: </dev/input/event0> range position X is 0 - 0
[INFO ] MTD: </dev/input/event0> range position Y is 0 - 0
[INFO ] MTD: </dev/input/event1> range position X is 0 - 0
[INFO ] MTD: </dev/input/event0> range touch major is 0 - 0
[INFO ] MTD: </dev/input/event2> range position X is 0 - 800
[INFO ] MTD: </dev/input/event0> range touch minor is 0 - 0
[INFO ] MTD: </dev/input/event1> range position Y is 0 - 0
[INFO ] MTD: </dev/input/event2> range position Y is 0 - 480
[INFO ] MTD: </dev/input/event0> range pressure is 0 - 255
[INFO ] HIDMotionEvent: using <Logitech USB Receiver>
[INFO ] MTD: </dev/input/event2> range touch major is 0 - 0
[INFO ] HIDMotionEvent: using <FT5406 memory based driver>
[INFO ] MTD: </dev/input/event1> range touch major is 0 - 0
[INFO ] HIDMotionEvent: using <Logitech USB Receiver>
[INFO ] MTD: </dev/input/event0> axes invertion: X is 0, Y is 0
[INFO ] MTD: </dev/input/event2> range touch minor is 0 - 0
[INFO ] HIDMotionEvent: <FT5406 memory based driver> range ABS X position is 0 - 800
[INFO ] MTD: </dev/input/event1> range touch minor is 0 - 0
[INFO ] MTD: </dev/input/event0> rotation set to 0
[INFO ] MTD: </dev/input/event2> range pressure is 0 - 255
[INFO ] HIDMotionEvent: <FT5406 memory based driver> range ABS Y position is 0 - 480
[INFO ] MTD: </dev/input/event1> range pressure is 0 - 255
[INFO ] MTD: </dev/input/event2> axes invertion: X is 0, Y is 0
[INFO ] HIDMotionEvent: <FT5406 memory based driver> range position X is 0 - 800
[INFO ] MTD: </dev/input/event1> axes invertion: X is 0, Y is 0
[INFO ] MTD: </dev/input/event2> rotation set to 0
[INFO ] HIDMotionEvent: <FT5406 memory based driver> range position Y is 0 - 480
[INFO ] MTD: </dev/input/event1> rotation set to 0
[WARNING ] stderr: Exception in thread Thread-4:
[WARNING ] stderr: Traceback (most recent call last):
[WARNING ] stderr: File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
[WARNING ] stderr: self.run()
[WARNING ] stderr: File "/usr/lib/python2.7/threading.py", line 505, in run
[WARNING ] stderr: self.__target(*self.__args, **self.__kwargs)
[WARNING ] stderr: File "/home/pi/kivy/kivy/input/providers/hidinput.py", line 701, in _thread_run
[WARNING ] stderr: process_as_mouse_or_keyboard(*infos)
[WARNING ] stderr: File "/home/pi/kivy/kivy/input/providers/hidinput.py", line 551, in process_as_mouse_or_keyboard
[WARNING ] stderr: Keyboard.keycodes[l.lower()],
[WARNING ] stderr: KeyError: 'ctrl'
[WARNING ] stderr:
[INFO ] Base: Leaving application in progress...
[WARNING ] stderr: Traceback (most recent call last):
[WARNING ] stderr: File "./examples/demo/pictures/main.py", line 76, in <module>
[WARNING ] stderr: PicturesApp().run()
[WARNING ] stderr: File "/home/pi/kivy/kivy/app.py", line 825, in run
[WARNING ] stderr: runTouchApp()
[WARNING ] stderr: File "/home/pi/kivy/kivy/base.py", line 487, in runTouchApp
[WARNING ] stderr: EventLoop.window.mainloop()
[WARNING ] stderr: File "/home/pi/kivy/kivy/core/window/window_egl_rpi.py", line 89, in mainloop
[WARNING ] stderr: self._mainloop()
[WARNING ] stderr: File "/home/pi/kivy/kivy/core/window/window_egl_rpi.py", line 84, in _mainloop
[WARNING ] stderr: EventLoop.idle()
[WARNING ] stderr: File "/home/pi/kivy/kivy/base.py", line 327, in idle
[WARNING ] stderr: Clock.tick()
[WARNING ] stderr: File "/home/pi/kivy/kivy/clock.py", line 461, in tick
[WARNING ] stderr: usleep(1000000 * (sleeptime - sleep_undershoot))
[WARNING ] stderr: File "/home/pi/kivy/kivy/clock.py", line 267, in usleep
[WARNING ] stderr: _default_sleep(microseconds / 1000000.)
[WARNING ] stderr: KeyboardInterrupt
pi@rpi2 ~ $ cat /boot/config.txt
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# NOOBS Auto-generated Settings:
hdmi_force_hotplug=1
config_hdmi_boost=4
overscan_left=24
overscan_right=24
overscan_top=16
overscan_bottom=16
disable_overscan=0
dtparam=i2c1=on
dtparam=i2c_arm=on
# default display on HDMI
display_default_lcd=0
# made this up
gpu_mem_1024=192
pi@rpi2 ~ $ cat ~/.kivy/config.ini
[kivy]
keyboard_repeat_delay = 300
keyboard_repeat_rate = 30
log_dir = logs
log_enable = 1
log_level = info
log_name = kivy_%y-%m-%d_%_.txt
window_icon =
keyboard_mode =
keyboard_layout = qwerty
desktop = 1
exit_on_escape = 1
pause_on_minimize = 0
config_version = 14
[graphics]
display = 5
fullscreen = 0
height = 600
left = 0
maxfps = 60
multisamples = 2
position = auto
rotation = 0
show_cursor = 1
top = 0
width = 800
resizable = 1
borderless = 0
window_state = visible
minimum_width = 0
minimum_height = 0
[input]
mouse = mouse
mtdev_%(name)s = probesysfs,provider=mtdev
hid_%(name)s = probesysfs,provider=hidinput
[postproc]
double_tap_distance = 20
double_tap_time = 250
ignore = []
jitter_distance = 0
jitter_ignore_devices = mouse,mactouch,
retain_distance = 50
retain_time = 0
triple_tap_distance = 20
triple_tap_time = 375
[widgets]
scroll_timeout = 250
scroll_distance = 20
scroll_friction = 1.
scroll_stoptime = 300
scroll_moves = 5
[modules]
pi@rpi2 ~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment