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

Display (bitmap overlay)

  • 403 Replies
  • 144184 Views
Re: New screen refresh method on DIGIC 6
« Reply #80 on: 16 / July / 2017, 11:29:53 »
Advertisements
I'm currently test-driving this method, but have not found any glitches so far.
Sorry - have not been following this thread closely. I can test on the G16 but I'm not really sure what I should expect.  What does this do?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: New screen refresh method on DIGIC 6
« Reply #81 on: 16 / July / 2017, 11:32:47 »
Sorry - have not been following this thread closely. I can test on the G16 but I'm not really sure what I should expect.  What does this do?
In short: no more busyonscreen (see the patch for details).

Re: New screen refresh method on DIGIC 6
« Reply #82 on: 16 / July / 2017, 11:38:23 »
Sorry - have not been following this thread closely. I can test on the G16 but I'm not really sure what I should expect.  What does this do?
In short: no more busyonscreen (see the patch for details).
So I guess I need ask what "busyonscreen" looks like? Now that I look for it, I assume it's the open hand icon with a line through it and the word Busy that appears briefly when I go in & out of <ALT> mode?  Is it a problem or just annoying (disappears in fractions of a second on the G16)?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: New screen refresh method on DIGIC 6
« Reply #83 on: 16 / July / 2017, 11:42:24 »
So I guess I need ask what "busyonscreen" looks like? Now that I look for it, I assume it's the open hand icon with a line through it and the word Busy that appears briefly when I go in & out of <ALT> mode?  Is it a problem or just annoying (disappears in fractions of a second on the G16)?
It's both annoying and a problem too. If I recall correctly, you may have been one of the persons who reported crashes that seemed to be related to the busy dialog.

edit:
Yep. https://chdk.setepontos.com/index.php?topic=12788.msg132369#msg132369
« Last Edit: 16 / July / 2017, 11:44:09 by srsa_4c »

*

Offline Ant

  • *****
  • 509
Re: Display (bitmap overlay)
« Reply #84 on: 16 / July / 2017, 12:01:38 »
It works on M3 but still conflicting with canon's histogram and electronic level.
There need a synchronization with canon's GUI...
« Last Edit: 16 / July / 2017, 12:04:32 by Ant »

Re: New screen refresh method on DIGIC 6
« Reply #85 on: 16 / July / 2017, 12:10:08 »
It's both annoying and a problem too. If I recall correctly, you may have been one of the persons who reported crashes that seemed to be related to the busy dialog.
Good enough for me - I wasn't questioning the need, just trying to understand the scope.

edit: Yep. https://chdk.setepontos.com/index.php?topic=12788.msg132369#msg132369
edit :  take this with a "grain of salt" - early port with lots of other stuff broken
i.e. unconfirmed :)

In any case, your patch works seamlessly on my G16 1.01c   (routine at 0xfc15a093 - thanks for pointing the way in your original post. The 1.00h uses the same address as the 1.01a).  No more "busyonscreen" popping in & out.  Nice!
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14126
Re: New screen refresh method on DIGIC 6
« Reply #86 on: 16 / July / 2017, 13:52:23 »
edit: Yep. https://chdk.setepontos.com/index.php?topic=12788.msg132369#msg132369
edit :  take this with a "grain of salt" - early port with lots of other stuff broken
i.e. unconfirmed :)
Crashes in the displaybusyonscreen function are confirmed on other cameras. It also messes up key handling: https://chdk.setepontos.com/index.php?topic=12788.msg133780#msg133780
Don't forget what the H stands for.

*

Offline Ant

  • *****
  • 509
Re: New screen refresh method on DIGIC 6
« Reply #87 on: 16 / July / 2017, 14:40:56 »
reyalp
If you'll decide to apply new patches, here is the one for M3.

*

Offline srsa_4c

  • ******
  • 4451
Re: New screen refresh method on DIGIC 6
« Reply #88 on: 16 / July / 2017, 16:54:51 »
I think this might enable us to use the RGBA buffer directly, but I'm not sure yet.
Well, yes and no.
It looks like the firmware only updates parts of this overlay that actually change. That means, the old (single) guard pixel based detection (which parts of CHDK currently use) would not be usable on the RGBA buffer.
It works on M3 but still conflicting with canon's histogram and electronic level.
That is caused by the firmware continuously updating the overlay. It has no relation to our screen erase method.
Quote
There need a synchronization with canon's GUI...
That would not help much as we can't write our OSD fast enough.
Some completely new method might work. Such as
- creating a valid Canon full screen "dialog" that has its own content (say, a bitmap that we provide) and is always visible
- creating a similar layer, but using the Xtensa side API
Sadly, the difficulty to research/accomplish these is pretty high.

*

Offline Ant

  • *****
  • 509
Re: New screen refresh method on DIGIC 6
« Reply #89 on: 16 / July / 2017, 17:24:00 »
It looks like the firmware only updates parts of this overlay that actually change.

But your voltmeter script (that uses _LCDMsg_SetStr) causes flickering of all CHDK OSD elements and menu.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal