Bug #380

Default vt switch is incorrect.

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

Status:ClosedStart date:31 Aug 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:Image display
Target version:PiBox - 0.9.0
Severity:01 - Critical

Description

The default vt switch is incorrect. Not sure what it is or should be yet.

Associated revisions

Revision 12816f04
Added by Hammel about 3 years ago

RM #380: Added delays between xrefresh and each vt switch and between last vt switch and a new xrefresh. This seems to be necessary to deal with some HDMI displays that are slow to recover from omxplayer exiting.

History

#1 Updated by Hammel about 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 20

If the config file is there then videofe uses the value found there to switch to first, then back to vt2.

If the config file is not there then it switches to vt2 and then vt3. That's likely the problem.

I've copied a fixed version of videofe to both server and player. Now checking if this fix works.

#2 Updated by Hammel about 3 years ago

  • % Done changed from 20 to 30

Using the videofe.cfg file and setting the terminal vt to 4 works. If I hard code this instead without a videocfg.txt then it fails.

Researching....

#3 Updated by Hammel about 3 years ago

  • % Done changed from 30 to 60

It seems to be a timing issue. I added a 500ms delay between vt switches and then another after the last switch before a new xrefresh (meaning I do two xrefreshes now). The first video I played went to a blank screen for a few seconds, then came back. Subsequent video playback/quit sequences worked just fine with no delays.

Leaving these changes in as they seem to work okay on the server. Testing on the client now.

#4 Updated by Hammel about 3 years ago

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

Verified changes work on both server and client. All changes committed and pushed upstream.

Closing issue.

Also available in: Atom PDF