Project

General

Profile

Actions

Bug #836

closed

PiCam doesn't always start

Added by Hammel over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
17 Apr 2021
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

Sometimes the display flashes between the changed vt and the X vt and then the screen goes blank. When this happens the player is running but not displaying.

I think the reason for this may be the usleep(500) after the chvt() call when the player is being launched. The usleep() is in nanoseconds, so this is probably not long enough. A 250ms sleep (aka usleep(250000)) would not be noticed by the user and probably be enough to avoid this issue.

The same usleep(500) is in videofe.

Actions #1

Updated by Hammel over 3 years ago

  • % Done changed from 0 to 50

Fixed in picam. The fix makes it so we never miss the omxplayer startup and eliminates the X.org flashing.

Trying it in videofe now.

Actions #2

Updated by Hammel over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Done (though videofe has keyboard problems in 5.10.y - see RM #837).

Changes tested, committed and pushed.

Closing issue.

Actions

Also available in: Atom PDF