If you specify a hdmi_group/hdmi_mode in config.txt then "tvservice -m" will only report that mode. All other modes are filtered out.Martin Angove wrote: A fourth oddity was that I was able to get a sensible result from tvservice -m the first few times I tried it, but it now reports only the mode currently configured, or none if the configured mode is unsupported.
You should always be able to dump edid (even with hdmi_group/hdmi_mode settings). Possibly when you booted monitor wasn't responding (e.g. you powered Pi before monitor).Martin Angove wrote: tvservice -d dumped 0 bytes to file until I power-cycled the monitor whereupon it dumped 256 bytes. tvservice -m still doesn't work.
Yes, of course, that was the next thing to try. It seems to be quite happy if I let it boot, ctrl-C my player and then play the files from the command line.dom wrote: So, does omxplayer launched from command line have the same slow framerate issue? Or is it only with your python wrapper code?
Code: Select all
# at initialisation PLAYER = "/usr/bin/omxplayer" PLAYERQUIT="q" endtime = # see below # --- lots of irrelevant code --- # in the main loop if medium[TYPE] == "video": scale_and_show(configured[BACKGROUND], screen) launchcommand = PLAYER+" "+medium[FILENAME] player = pexpect.spawn(launchcommand) sleep(1) while ((time() < endtime) or endtime == 0) and player.isalive(): sleep(1) if player.isalive(): player.send(PLAYERQUIT) # find the next file to play
Users browsing this forum: No registered users and 46 guests