forumisto
Posts: 386
Joined: Fri Mar 16, 2012 8:41 am

turn on screen

Sat Sep 10, 2016 2:27 pm

Hello

I have a program in python that uses framebuffer. When the console is not used the screen of monitor is blank. Then, if the screen is blank and I run my program from ssh session, the screen continues blank.

How can I force to screen shows the console and framebuffer?

Thank you.

User avatar
mihalop
Posts: 28
Joined: Thu Sep 03, 2015 7:04 am
Contact: Website

Re: turn on screen

Sat Sep 10, 2016 3:57 pm

Why not disable console blanking completely? It is easy to do using the getty configuration I think.
Yodeck - Digital Signage on the Raspberry Pi
Free Raspberry Pi 3 Player for all screens on Annual Plan

forumisto
Posts: 386
Joined: Fri Mar 16, 2012 8:41 am

Re: turn on screen

Thu Sep 15, 2016 10:33 am

Hello

I checked that the problem occurs when a program does pygame.display.init() and ends without doing pygame.display.quit().

Then, I think the framebuffer is active and if other program try use it, the program enter in pause.

How I can return to text mode?

Thank you.

Return to “Python”