Exp_Cropped Driver [Fixed!]
#11
I didn't read all the messages, I am on the phone right now.

For OMX player, the standalone version or the Emulation Station plugin? The standalone need a specific arguments to play video fine.
This is due to a glitch that bug DispmanX when a screen resize happen.
BTW, here is the lines I used in Emulation Station 'es_systems.cfg' to add a "game system" to play videos/audios (can glitch if seek beyond limits) :
Code:
 <system>
   <name>media</name>
   <fullname>Media</fullname>
   <path>/home/pi/RetroPie/media</path>
   <extension>.avi .mp4 .mkv .mov .wmv .flv .mp3 .ogg .wav .wma .aac .flac .m3u .pls .AVI .MP4 .MKV .MOV .WMV .FLV .MP3 .OGG .WAV .WMA .AAC .FLAC .M3U .PLS</extension>
   <command>/opt/retropie/supplementary/runcommand/joy2key.py /dev/input/js0 kcub1 kcuf1 0x6B 0x6A 0x70 0x71 & omxplayer -b %ROM% -o alsa --live ; killall joy2key.py</command>
   <platform>media</platform>
   <theme>media</theme>
 </system>


As you said, when enable "sleep" on juj driver, when the screen black out, it require multiple new frames to wake up.
This is maybe due to the percentage of changing pixels variable (I will take a look when back home) but fine tuning this value will increase the CPU load.


I am not sure I commented all modified lines, I hope I will not miss a big amount...

In 'config.h':
ALL_TASKS_SHOULD_DMA //to uncomment
SAVE_BATTERY_BY_PREDICTING_FRAME_ARRIVAL_TIMES //to comment, framerate drop fix
DISPLAY_FLIP_ORIENTATION_IN_SOFTWARE //to comment, I don't remember why
SAVE_BATTERY_BY_SLEEPING_WHEN_IDLE //is already not commented by default

In 'freeplaytech_waveshare32b.h': (also important as unmodified juj driver have not access to Freeplay screen config)
DISPLAY_NATIVE_COVERED_TOP_SIDE is left border of the screen
DISPLAY_NATIVE_COVERED_LEFT_SIDE is top border of the screen
DISPLAY_NATIVE_COVERED_RIGHT_SIDE is bottom border of the screen
DISPLAY_NATIVE_COVERED_BOTTOM_SIDE is right border of the screen

Cmake command: (DDMA_TX_CHANNEL and DDMA_RX_CHANNEL are set to allow me to play Reicast emulator)
cmake -DARMV8A=ON -DFREEPLAYTECH_WAVESHARE32B=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON -DUSE_DMA_TRANSFERS=ON -DDMA_TX_CHANNEL=2 -DDMA_RX_CHANNEL=5 -DSTATISTICS=0 ..

I hope this will help Smile
Reply


Messages In This Thread
Exp_Cropped Driver [Fixed!] - by Slow Catalyst - 07-01-2019, 12:09 PM
RE: Exp_Cropped Driver - by cpasjuste - 07-02-2019, 05:46 AM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-02-2019, 06:33 AM
RE: Exp_Cropped Driver - by Mootikins - 07-02-2019, 09:41 AM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-02-2019, 12:49 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-02-2019, 01:20 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-02-2019, 02:05 PM
RE: Exp_Cropped Driver - by cpasjuste - 07-02-2019, 08:41 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-03-2019, 08:44 AM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-03-2019, 08:48 AM
RE: Exp_Cropped Driver - by Porcinus - 07-03-2019, 06:51 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 08:46 AM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 07:24 AM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 01:11 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 01:53 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 01:57 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 02:28 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 02:30 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 02:36 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:00 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:02 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:03 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:05 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:08 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:09 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:09 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:10 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:19 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:19 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:27 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:28 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:29 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:35 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:38 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 03:39 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 03:40 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:00 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:05 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 04:16 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 04:19 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:24 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:27 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 04:27 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:34 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:36 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 04:37 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:42 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 04:45 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:47 PM
RE: Exp_Cropped Driver - by Porcinus - 07-05-2019, 04:50 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:50 PM
RE: Exp_Cropped Driver - by Slow Catalyst - 07-05-2019, 04:51 PM
RE: Exp_Cropped Driver [Fixed!] - by Porcinus - 07-05-2019, 06:47 PM
RE: Exp_Cropped Driver [Fixed!] - by cpasjuste - 08-28-2019, 04:54 AM
RE: Exp_Cropped Driver [Fixed!] - by cpasjuste - 11-01-2019, 11:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)