labs icon indicating copy to clipboard operation
labs copied to clipboard

!C switches recording profile at startup (Hero 11 black)

Open theraser opened this issue 1 year ago • 1 comments

Hi! I'm using Gopro Labs for some weeks and it is working really nice, thanks.

The only thing I noticed is that if I use i.e. "!C128" as a labs boot script, it removes old files just as expected if there is not enough free space available. After removing the files there is short black screen and after that the chosen profile is always the first video profile available from the profile list. Usually I want the last recording profile at startup, which is shown correctly until the labs scripts starts. The forced switch happens only if there is not enough free space available. If the cleanup is completed and I power off the Gopro and turn it on again the last profile is chosen as expected.

Video test: I used "Bike 1" profile before shutdown. During the start it switches from that to "Bike" profile, which is the first video profile in list.

https://github.com/user-attachments/assets/eb1f8f0a-b43e-43c9-9592-d5b31bbac158

Configuration:

$ cat MISC/boot !C128

Log:

[2025-04-04 15:52:32-delayed ] wake reason:SDCARD_INSERTED [2025-04-04 15:52:35 43% ] silent:shutdown [2025-04-04 15:52:55-delayed ] wake reason:POWER_BUTTON [2025-04-04 15:52:56 43% ] DBG:Alloc Image buffers [2025-04-04 15:52:56 43% ] DBG:Alloc buffers success [2025-04-04 15:52:56 43% ] Labs:Display Messages [2025-04-04 15:52:58 43% ] display 2000ms:Features activated: BOOT [2025-04-04 15:53:00 43% ] Features activated: BOOT: [2025-04-04 15:53:00 43% ] display 1000ms:GoPro Labs Beta Firmware, Participation Terms Apply [2025-04-04 15:53:01 43% ] Labs:Main Start [2025-04-04 15:53:01 43% ] Labs:H22.01.02.32.70 [2025-04-04 15:53:01 43% ] Labs LCD ID:195 [2025-04-04 15:53:01 43% ] Naked when 0:1 [2025-04-04 15:53:01 43% ] Labs:Initialize [2025-04-04 15:53:01 43% ] Bat Temp.:26 [2025-04-04 15:53:01 43% ] display 1000ms:Boot command: !Lboot [2025-04-04 15:53:02 43% ] Boot command:!Lboot [2025-04-04 15:53:02 43% ] Use CMD:!Lboot [2025-04-04 15:53:02 43% ] ACTION:!Lboot [2025-04-04 15:53:03 43% ] Load Script:C:\MISC\boot [2025-04-04 15:53:03 43% ] ACTION:!C128 [2025-04-04 15:53:03 43% ] total size (GB):235 [2025-04-04 15:53:03 43% ] remaining space (GB):84 [2025-04-04 15:53:03 43% ] clear up to (GB):117 [2025-04-04 15:53:04 43% ] Remove File:GX019728.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019729.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019730.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019731.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019732.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019733.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019734.MP4 [2025-04-04 15:53:04 43% ] Remove File:GX019735.MP4 [2025-04-04 15:53:05 43% ] Remove File:GX019736.MP4 [2025-04-04 15:53:05 43% ] new remainning space (GB):118

theraser avatar Apr 04 '25 13:04 theraser

Thanks, really good bug report. I have reproduced the issue and it should be addressable in a future release.

dnewman-gpsw avatar Apr 04 '25 16:04 dnewman-gpsw