Kivy Changes Screen Resolution Vista 32 laptop

90 views
Skip to first unread message

svci...@gmail.com

unread,
Jun 17, 2016, 4:48:59 PM6/17/16
to Kivy users support
Can anyone help me troubleshoot this problem running Kivy Hello World App on a Vista 32-bit laptop?

Hardware: Acer Xtensa 5420 with Radeon Xpress 1250 graphics.
Software: Vista 32 bit with properly updated ATI Catalyst Control Center. Anaconda Python 2.10.
Bug: 

1. Screen resolution set to 1280 x 800.
2. Launch Kivy Hello World MyApp from IPython. 
3. MyApp takes up full screen. No windows borders appear anywhere in display. 
4. Screen resolution drops way below 1280 x 800.
5. Hit "Esc" or kill Kivy App in Task Manager and screen returns to 1280 x 800.

This is the input/output in IPython console:

import kivy
kivy.require('1.9.1') # replace with your current kivy version !

from kivy.app import App
from kivy.uix.label import Label


class MyApp(App):

    def build(self):
        return Label(text='Hello world')


if __name__ == '__main__':
    MyApp().run()
    
[INFO              ] [Logger      ] Record log in C:\Users\ ...\.kivy\logs\kivy_16-06-17_3.txt
INFO:kivy:[Logger      ] Record log in C:\Users\...\.kivy\logs\kivy_16-06-17_3.txt
[INFO              ] [Kivy        ] v1.9.1
INFO:kivy:[Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.10 |Anaconda 2.3.0 (32-bit)| (default, May 28 2015, 17:02:00) [MSC v.1500 32 bit (Intel)]
INFO:kivy:[Python      ] v2.7.10 |Anaconda 2.3.0 (32-bit)| (default, May 28 2015, 17:02:00) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
INFO:kivy:[Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
INFO:kivy:[Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO              ] [Text        ] Provider: sdl2
INFO:kivy:[Text        ] Provider: sdl2
[INFO              ] [OSC         ] using <thread> for socket
INFO:kivy:[OSC         ] using <thread> for socket
[WARNING           ] [Input       ] WM_Touch/WM_Pen not supported by your version of Windows
WARNING:kivy:[Input       ] WM_Touch/WM_Pen not supported by your version of Windows
[INFO              ] [Window      ] Provider: sdl2
INFO:kivy:[Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
INFO:kivy:[GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <2.1.8545 Release>
INFO:kivy:[GL          ] OpenGL version <2.1.8545 Release>
[INFO              ] [GL          ] OpenGL vendor <ATI Technologies Inc.>
INFO:kivy:[GL          ] OpenGL vendor <ATI Technologies Inc.>
[INFO              ] [GL          ] OpenGL renderer <ATI Radeon X1200 Series >
INFO:kivy:[GL          ] OpenGL renderer <ATI Radeon X1200 Series >
[INFO              ] [GL          ] OpenGL parsed version: 2, 1
INFO:kivy:[GL          ] OpenGL parsed version: 2, 1
[INFO              ] [GL          ] Shading version <1.20>
INFO:kivy:[GL          ] Shading version <1.20>
[INFO              ] [GL          ] Texture max size <2048>
INFO:kivy:[GL          ] Texture max size <2048>
[INFO              ] [GL          ] Texture max units <16>
INFO:kivy:[GL          ] Texture max units <16>
[INFO              ] [Shader      ] fragment shader: <Fragment shader was successfully compiled to run on hardware.>
INFO:kivy:[Shader      ] fragment shader: <Fragment shader was successfully compiled to run on hardware.>
[INFO              ] [Shader      ] vertex shader: <Vertex shader was successfully compiled to run on hardware.>
INFO:kivy:[Shader      ] vertex shader: <Vertex shader was successfully compiled to run on hardware.>
[INFO              ] [Shader      ] program: <Fragment shader(s) linked, vertex shader(s) linked.>
INFO:kivy:[Shader      ] program: <Fragment shader(s) linked, vertex shader(s) linked.>
[INFO              ] [Window      ] auto add sdl2 input provider
INFO:kivy:[Window      ] auto add sdl2 input provider
[INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
INFO:kivy:[Window      ] virtual keyboard not allowed, single mode, not docked
[WARNING           ] [Base        ] Unknown <wm_touch> provider
WARNING:kivy:[Base        ] Unknown <wm_touch> provider
[WARNING           ] [Base        ] Unknown <wm_pen> provider
WARNING:kivy:[Base        ] Unknown <wm_pen> provider
[INFO              ] [Base        ] Start application main loop
INFO:kivy:[Base        ] Start application main loop
[INFO              ] [GL          ] NPOT texture support is available
INFO:kivy:[GL          ] NPOT texture support is available
[INFO              ] [Base        ] Leaving application in progress...
INFO:kivy:[Base        ] Leaving application in progress...

svci...@gmail.com

unread,
Jun 17, 2016, 5:01:58 PM6/17/16
to Kivy users support
Further debug info: C:\Mingw32-xy and C:\Python27 are in the system path alongside Anaconda Python apparently because I installed both Python XY and Anaconda 2.7x. I have not tried to install Kivy to the Python XY version yet.

Below is sys.path shown in IPython:

import sys
print sys.path

['', 'C:\\Program Files\\Anaconda\\python27.zip', 'C:\\Program Files\\Anaconda\\DLLs', 'C:\\Program Files\\Anaconda\\lib', 'C:\\Program Files\\Anaconda\\lib\\plat-win', 'C:\\Program Files\\Anaconda\\lib\\lib-tk', 'C:\\Program Files\\Anaconda', 'C:\\Program Files\\Anaconda\\lib\\site-packages', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\Sphinx-1.3.1-py2.7.egg', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\cryptography-0.9.1-py2.7-win32.egg', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\win32', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\win32\\lib', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\Pythonwin', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\setuptools-23.0.0-py2.7.egg', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\IPython\\extensions', 'C:\\Users\\ME\\.ipython', 'C:\\Program Files\\Anaconda\\lib\\site-packages\\kivy\\modules', 'C:\\Users\\ME\\.kivy\\mods']

Message has been deleted

paolo lo bello

unread,
Aug 24, 2016, 12:05:51 PM8/24/16
to Kivy users support
 Hello Team take this string in prompt/shell

Python myproject.py --h
There is a list for your app ;) 

This is all string!

python richiamare_interminale.py --h

Kivy Usage: richiamare_interminale.py [OPTION...]::


        -h, --help

            Prints this help message.

        -d, --debug

            Shows debug log.

        -a, --auto-fullscreen

            Force 'auto' fullscreen mode (no resolution change).

            Uses your display's resolution. This is most likely what you want.

        -c, --config section:key[:value]

            Set a custom [section] key=value in the configuration object.

        -f, --fullscreen

            Force running in fullscreen mode.

        -k, --fake-fullscreen

            Force 'fake' fullscreen mode (no window border/decoration).

            Uses the resolution specified by width and height in your config.

        -w, --windowed

            Force running in a window.

        -p, --provider id:provider[,options]

            Add an input provider (eg: ccvtable1:tuio,192.168.0.1:3333).

        -m mod, --module=mod

            Activate a module (use "list" to get a list of available modules).

        -r, --rotation

            Rotate the window's contents (0, 90, 180, 270).

        -s, --save

            Save current Kivy configuration.

        --size=640x480

            Size of window geometry.

        --dpi=96

            Manually overload the Window DPI (for testing only.)

    




happy Python to you ;)
Reply all
Reply to author
Forward
0 new messages