Display (bitmap overlay) - page 40 - General Discussion and Assistance - CHDK Forum

Display (bitmap overlay)

  • 402 Replies
  • 99308 Views
Re: Display (bitmap overlay)
« Reply #390 on: 01 / January / 2022, 21:33:54 »
Advertisements
Here is a new ximr version that does not try and refresh the display if the 'displaytype' variable is not valid.
No joy - crashes the same way, again regardless of when the HDMI cable is plugged in.   ROMLOG attached although it seems to be the same as previous logs.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3441
    • Photos
Re: Display (bitmap overlay)
« Reply #391 on: 02 / January / 2022, 01:00:32 »
No joy - crashes the same way, again regardless of when the HDMI cable is plugged in.   ROMLOG attached although it seems to be the same as previous logs.


Damn - yes it's the same crash. Guess it's more complicated than I thought.


Another test version - this time I've duplicated the 'transfer_src_overlay' code into CHDK and replaced the ASSERT with a return.


Make sure this works on the LCD before trying HDMI in case I messed up something else.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: Display (bitmap overlay)
« Reply #392 on: 02 / January / 2022, 09:50:42 »
Another test version - this time I've duplicated the 'transfer_src_overlay' code into CHDK and replaced the ASSERT with a return.
It works!!   Tested multiple boots and inserting the HDMI connector both before and after boot and playback display on my HDMI monitor works correctly every time.

Very nice.  :)

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3441
    • Photos
Re: Display (bitmap overlay)
« Reply #393 on: 02 / January / 2022, 17:00:02 »
It works!!   Tested multiple boots and inserting the HDMI connector both before and after boot and playback display on my HDMI monitor works correctly every time.


Finally - thanks for testing :)
One more test version when you have time - this one just simplifies the added code by jumping back to the firmware where possible.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


Re: Display (bitmap overlay)
« Reply #394 on: 02 / January / 2022, 17:16:55 »
[One more test version when you have time - this one just simplifies the added code by jumping back to the firmware where possible.
Works fine as well.  :xmas
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3441
    • Photos
Re: Display (bitmap overlay)
« Reply #395 on: 26 / April / 2022, 19:52:01 »
@waterwingz - when you have a chance can you please test this G16 version for the HDMI crash issue.


I've changed this based on what srsa_4c did with the SX270/280 version which remove the need for the custom transfer_src_overlay function.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: Display (bitmap overlay)
« Reply #396 on: 28 / April / 2022, 19:44:09 »
@waterwingz - when you have a chance can you please test this G16 version for the HDMI crash issue.
Can do but might not be until this weekend  :)
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Display (bitmap overlay)
« Reply #397 on: 01 / May / 2022, 19:29:43 »
@waterwingz - when you have a chance can you please test this G16 version for the HDMI crash issue.

Okay - here's what I observed.  (tl;dr - same start up issue as before?)


1) Start camera with Play button or short press of power button and active HDMI cable attached. Camera starts and CHDK seems to start but then shuts back down just as CHDK logo draws.  ROMLOG attached.
2) Start camera with long press of power button (i.e. force to start in shooting mode)  and active HDMI cable attached. Camera starts up properly in shooting mode. Press Play button to go to playback mode.  Video switches to HDMI output and external monitor takes over as the display. Playback mode works properly.
3) Start camera with Play button or short press of power button and HDMI cable unplugged.  Wait for camera to finish startup and then plug in HDMI cable.  Display works properly, switching from camera's LCD to external monitor and back as I cycle between play and shooting mode.

Edit: I confirmed that I had loaded your April 27 2022 09:39:44 rev 6089 build.
« Last Edit: 01 / May / 2022, 19:37:40 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline philmoz

  • *****
  • 3441
    • Photos
Re: Display (bitmap overlay)
« Reply #398 on: 02 / May / 2022, 01:41:41 »
Okay - here's what I observed.  (tl;dr - same start up issue as before?)

1) Start camera with Play button or short press of power button and active HDMI cable attached. Camera starts and CHDK seems to start but then shuts back down just as CHDK logo draws.  ROMLOG attached.


Thanks for testing - does the previous version work in this scenario (starting in PLAY mode with HDMI cable attached?

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: Display (bitmap overlay)
« Reply #399 on: 02 / May / 2022, 11:52:41 »
does the previous version work in this scenario (starting in PLAY mode with HDMI cable attached?
Yes.  Press PLAY with HDMI attached and camera starts up sending the LCD info to the HDMI port.  All functions work normally.

Build Info for reference : 
  • CHDK Ver : 1.6.0 
  • Revision : 6037
  • Date : Jan 3 2022
  • Time : 08:58:24
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics