Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exp_Cropped Driver [Fixed!]
#13
(07-03-2019, 06:51 PM)Porcinus Wrote: 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

Edit: Ok, so I think I have figured a little bit more out with this process, lol. So basically, what I have now is a fbcp-ili9341 folder in my /home/pi folder containing the before-mentioned config.h and freeplaytech_waveshare32b.h files in it, and used your cmake instructions. It seems like I have it built.

I see that I need to add "sudo /home/pi/fbcp-ili9341/build/fbcp-ili9341 &" to rc.local to get it to initialize, and I think that's where I'm at a halt.

Basically, when I edit config.h and the other freeplaywaveshare file, it doesn't seem to make any changes. Not sure if it's actually running or not.
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)