Hi, When running a python program with pygame my monitor is losing its video input from the udooneo every 5 - 10 seconds. When I do not use my monitor but use my udooneo headless through VNCViewer the program runs fine. Also other programs are running fine when connected with my monitor. Can someone confirm by running an example like http://pygame.org/project-Countdown-1237-.html or http://www.pygame.org/project-Tetromino+(Tetris+clone)-1852-.html It could be my cable but i want to be sure as other programs like firefox etc are running fine. It could also be that something with video out is not correct configured. I also cannot open the ALSA Mixer and when installing alsa player to play sounds the player will not start. Although sounds work with the python examples. Furthermore I am new to Linux/Ubuntu so forfive me for askuing newbe questions.
By the way, it is not that I want to play games but want the Ubuntu part give some control and communication to the arduino part with a very simple gui. It will not more complex than the countdown example. Python pygame has a nice and simple event handler that I could use. Also the screen handling is simple. But then it should run stable.....
Hij Andrea, i dont have another cable. The one I have is brand new. But I do not have issues with other programs so I am just wondering if pygame is asking too much from the Neo in the resolution of the monitor. So if someone could run one of the examples I gave and confirm that it is running smoothly then it is my setup. Python and pygame is installed so it is just opening the .py in Geany and run.
We got the same problem you got waltervl. Now we're trying to figure it out if the problem regards libraries on the graphic acceleration of Vivante or HDMI drivers or whatever
I did some testing with the countdown example: When Udooneo only connected to monitor and mouse: some but major hampering, loosing video When also connected to Network with ethernet: even more hampering and loosing video When Udooneo only connected to monitor and mouse but GetInput() deleted from the loop in the program: NO hampering, everything running smoothly!!(you have to reboot Udooneo with the reset button to stop the countdown ) When now ethernet connected again, some but minor hampering, no loosing video. So it looks like the input polling is too much for the CPU or another component somehow. not Vivante. Just to minimise resources: is it possible to stop the web dashboard in a friendly way? I really do not need it. Can it be removed from the startup script?
The easiest way - but I don't know if it's the standard method - consists in moving the conf file. Example: Code: mv /etc/init/udoo-web-conf.conf etc/init/udoo-web-conf.conf.bak