- Override display off for liveview - General Discussion and Assistance - CHDK Forum

- Override display off for liveview

  • 13 Replies
  • 5939 Views
- Override display off for liveview
« on: 21 / May / 2021, 14:17:08 »
Advertisements
Hi!

I'm trying to use my G7X Mark II for streaming. I'm successfully sending the HDMI signal to my computer... but the camera shuts it down every 3 minutes. I loaded CHDK looking for and option to override it, but I found none. Is there a way to override it?

My next plan was to write a script to press a button every X seconds, but I think the camera will need to stay in <alt> mode, which will include an <alt> icon on the screen. Is there a way to hide the <alt> icon?

Alternatively, is there a way I can prevent the display from going off by running a script outside <alt> mode?

Cheers,

*

Offline reyalp

  • ******
  • 14118
Re: - Override display off for liveview
« Reply #1 on: 21 / May / 2021, 15:09:39 »
CHDK Settings->Disable LCD Off = Always should prevent the display from turning off. However, there have been some reports of this failing with HDMI out on some cams for reasons that aren't currently fully understood: https://chdk.setepontos.com/index.php?topic=13993.0

Quote
My next plan was to write a script to press a button every X seconds, but I think the camera will need to stay in <alt> mode, which will include an <alt> icon on the screen. Is there a way to hide the <alt> icon?
It is possible to exit alt mode with a script running, see here https://chdk.setepontos.com/index.php?topic=14341.0 for technical details.

The tl;dr is normal CHDK scripted key presses probably won't work if you exit alt, but you could use post_levent_to_ui. You'd need to find one that reset the power saving timer without doing anything that disrupts your streaming.
Don't forget what the H stands for.

Re: - Override display off for liveview
« Reply #2 on: 21 / May / 2021, 17:13:24 »
Quote
CHDK Settings->Disable LCD Off = Always should prevent the display from turning off. However, there have been some reports of this failing with HDMI out on some cams

Awesome!

FWIW, it does work for me (G7X Mark II, firmware 1.1.0.0b, CHDK g7x2-110b-1.5.1-5908-full_PREALPHA with Bootable SD Card). I set it up to `Always` just once, and still works after a restart without going to <Alt> mode.

Re: - Override display off for liveview
« Reply #3 on: 25 / June / 2021, 11:44:22 »
Hello,

I wanted to try with bootable SD Card, but STICK tells me there is no official build for this camera.... a Canon PowerShot G7 X Mark II with Firmware 110b

Well, anyway i downloaded the CHDK by myself and put it on the SD card, loading CHDK with firmware update method.
And i saw the splash screen.... but after it, there is nothing i can change on the camera.
There is no new menu, etc.
And i can't even access to any alt mode.

So if some of you guys have any idea, i would need help


Re: - Override display off for liveview
« Reply #4 on: 01 / February / 2022, 14:47:02 »
Hello,

I wanted to try with bootable SD Card, but STICK tells me there is no official build for this camera.... a Canon PowerShot G7 X Mark II with Firmware 110b

Well, anyway i downloaded the CHDK by myself and put it on the SD card, loading CHDK with firmware update method.
And i saw the splash screen.... but after it, there is nothing i can change on the camera.
There is no new menu, etc.
And i can't even access to any alt mode.

So if some of you guys have any idea, i would need help

I know this is old, but I just went through this.

My G7XM2 was an unsupported version firmware 1.02b.  But Canon does have a firmware update to 1.1.0 which is compatible with the CHDK Alpha 110b build as of this writing.  Follow the Canon recommendations to update your camera's firmware, to 1.1.0.  Then download the CHDK Alpha 110b then using STICK you can install the current 110b Alpha.  To do so you have to rename the CHDK zip file to "test110b" and place it in the same folder as STICK for STICK to recognize the development build.

I followed those steps and so far I have a working CHDK build on my G7XM2.

Re: - Override display off for liveview
« Reply #5 on: 18 / May / 2022, 01:49:37 »
Also don't forget to run sticks in elevated mode if you have trouble to make bootable SD, and also the button for ALT mode is the wi-fi button, but you can change it later. In ALT mode need to enter in MENU to see all the functions.
I have also questions. I have same camera - G7X Mark II, firmware 1.1.0.0, g7x2-110b-1.5.1-6085-full_PREALPHA with Bootable SD Card.

1. There is lot of flickering of the OSD in CHDK, is there any resolve of that?
My old camera (sx220) had also some, but much more stable.

2. Is there a way to use electronic instead of mechanical shutter? G7X mk2 has integrated time lapse in video mode, but only in 1080p and no manual setting as ISO and etc. Is there a way to use this mode but with more customization via the CHDK utilities?

3. Cant turn off the display during timelapse even using a script with that option. Tried several scripts. Also review of images from canon OS is off.  Any suggestion?
« Last Edit: 18 / May / 2022, 06:13:35 by itzoa »

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
« Last Edit: 18 / May / 2022, 11:49:36 by Caefix »
All lifetime is a loan from eternity.

Re: - Override display off for liveview
« Reply #7 on: 18 / May / 2022, 14:16:57 »
1.)  :) ... https://chdk.setepontos.com/index.php?topic=14394.msg146679#msg146679
Wow that works amazing! Thank you! Never thought that the OSD could be so smooth!
3a) Maybe script needs a modification like...  ???
https://chdk.setepontos.com/index.php?topic=13426.msg147607#msg147607
Thank you again - the motion detection in the sample works just fine - my LCD turns off, but I am not good in programming, make several tries to implement the code in the simple intervalometer, but not working (display wont go off) or error in the syntax. Will apreciate to have some help, really simplest intervalometer will work for me.


*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: - Override display off for liveview
« Reply #8 on: 18 / May / 2022, 14:27:20 »
... really simplest intervalometer will work for me.  :haha
Code: [Select]
--[[
@title Intervalometer
@chdk_version 1.3
@param a = interval (sec)
@default a 15
@param   x LCD always on
 @default x 0
 @range   x 0 1
--]]
function restore()
    set_lcd_display(1)
end

repeat
    set_lcd_display(x)
    start = get_tick_count()
shoot()
    sleep(a*1000 - (get_tick_count() - start))
until ( false )

All lifetime is a loan from eternity.

Re: - Override display off for liveview
« Reply #9 on: 19 / May / 2022, 03:07:39 »
Hello and thank you for your effords. Unfortunatelly that doesnt work and I really cant understand why, when it works with the motion detect example you gave me. Maybe something with the sleep option. G7X2 doesnt have DISP button, so I think thats the reason most scripts doesnt work. Maybe only with the sleep option works, but when intervalometer counts - then the camera's display couldnt get in sleep mode. That are just mine thoughts.
« Last Edit: 19 / May / 2022, 03:12:27 by itzoa »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal