Re: Lumix G-Series (especially G9)

Alexander Holzinger <[email protected]> Thu, 27 Apr 2023 20:46:55 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CA+40DLA7U07f37LY0p0cr68BK-hyJ9kQ=td05TaxRU7ihAaL1Q@mail.gmail.com>
--===============3547797380937815631==
Content-Type: multipart/alternative; boundary="000000000000d8c7d305fa55c801"

--000000000000d8c7d305fa55c801
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi, here is a new logfile:
https://drive.google.com/file/d/18WlJ5XQvTh_t4llpuyViXiRgmrHcLadd

If I can help in any other way =E2=80=93 I'll do my very best.

Best wishes;
Alex


Am Do., 27. Apr. 2023 um 16:43 Uhr schrieb Marcus Meissner <[email protected]=
e
>:

> Hi,
>
> can you perhaps provide another logfile?
>
> I think I will add an option to remove the wait after capture part.
>
> Ciao, Marcus
> On Thu, Apr 27, 2023 at 04:08:38PM +0200, Alexander Holzinger wrote:
> > Thank you Marcus.
> >
> > With your changes and after you pointed me in the right direction for
> > updating gphoto2 the process with my G9 now is about 4 seconds faster.
> >
> > Ressource for updating: https://github.com/gonzalo/gphoto2-updater
> > I removed the previous version with
> >
> > > $ sudo apt-get remove gphoto2 libgphoto2-6 libgphoto2-dev
> libgphoto2-l10n
> > > libgphoto2-port12
> > >
> > and then updated gphoto2 to the dev branch with
> >
> > > $ wget
> > >
> https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/gphoto2-=
updater.sh
> > > && wget
> > > https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/.env
> &&
> > > chmod +x gphoto2-updater.sh && sudo ./gphoto2-updater.sh
> > >
> >
> > Now *--capture-image-and-dowload* takes a little over 8 seconds instead
> of
> > almost 13 seconds. It is still not great compared to less than 2 second=
s
> > with a canon D7, but a huge improvement =E2=80=93 thanks again.
> >
> > Is this duration limited by the camera or could it still be improved
> > somehow?
> > I would of course help as much as I could, but without some guidance I
> > won't get far.
> >
> >
> > Best wishes,
> > Alex
> >
> >
> >
> >
> >
> >
> > Am Mo., 24. Apr. 2023 um 11:08 Uhr schrieb Marcus Meissner <
> > [email protected]>:
> >
> > > Hi,
> > >
> > > So it spends 2x3 seconds waiting for capturecomplete.
> > >
> > > I now synthesize a capture complete event in git, patch attached.
> > >
> > > You can also try
> > >
> > >         gphoto2 --trigger-capture
> --wait-event-and-download-files=3DFILEADDED
> > >
> > > Ciao, Marcus
> > > On Sun, Apr 23, 2023 at 08:45:38PM +0200, Alexander Holzinger wrote:
> > > > Hi again, has anybody an idea why it's taking gphoto2 about 13
> seconds to
> > > > do the capture-image-and-download process with a lumix g9?
> > > > Has anybody ever experienced such long durations for capturing and
> > > > downloading an image with another camera?
> > > >
> > > > With the same setup but a canon eos d7 it only takes about 2 second=
s.
> > > >
> > > > Best wishes
> > > > Alex
> > > >
> > > >
> > > > Am Di., 18. Apr. 2023 um 21:18 Uhr schrieb Alexander Holzinger <
> > > > [email protected]>:
> > > >
> > > > > The original email below didn't make it to the list because of th=
e
> > > > > attachment =E2=80=93 it was too big.
> > > > > I uploaded the log file to google drive.
> > > > >
> > > > >
> > >
> https://drive.google.com/file/d/1keNkvvp57z5b5-0uPRESUL5ArPnWqbmG/view?us=
p=3Dshare_link
> > > > >
> > > > > ---------- Forwarded message ---------
> > > > > Date: Di., 18. Apr. 2023 um 21:11 Uhr
> > > > > Subject: Re: [Gphoto-user] Lumix G-Series (especially G9)
> > > > > To: Marcus Meissner <[email protected]>
> > > > > Cc: <[email protected]>
> > > > >
> > > > >
> > > > > Hi Marcus and all,
> > > > > I now have a G9 and tested it with gphoto2.
> > > > > Autodetect recognizes the G9 as a GH5.
> > > > >
> > > > > --capture-image-and-download works but the process takes about 13
> > > seconds.
> > > > > With the 7D it only takes about 3 or 4 seconds.
> > > > > Do you have any idea if the process could be sped up?
> > > > >
> > > > > Actually the captured image gets written on the pi after about 6
> > > seconds.
> > > > > But then the process takes another 6 to 7 seconds to delete the
> file
> > > on the
> > > > > camera or do something else. When I add --keep to the command it
> is the
> > > > > same. About 6 seconds to get the image on the raspberry and
> another 6
> > > to 7
> > > > > seconds doing something else.
> > > > >
> > > > > I attach the logfile for coming from *env LANG=3DC gphoto2 --debu=
g
> > > > > --debug-logfile=3Dmy-logfile.txt --capture-image-and-download*
> > > > >
> > > > > It would be really cool if the time could be minimized somehow.
> > > > >
> > > > > Best wishes to all
> > > > > Alex
> > > > >
> > > > >
> > > > > Am Do., 22. Dez. 2022 um 17:46 Uhr schrieb Alexander Holzinger <
> > > > > [email protected]>:
> > > > >
> > > > >> Thank you Marcus,
> > > > >>
> > > > >> if I get a G9 I will write about my findings.
> > > > >> I tested a GH6 via USB. It gets detected and can take a photo bu=
t
> the
> > > > >> process freezes and is not downloading the picture.
> > > > >>
> > > > >> ciao, Alex
> > > > >>
> > > > >> Am Mi., 21. Dez. 2022 um 15:17 Uhr schrieb Marcus Meissner <
> > > > >> [email protected]>:
> > > > >>
> > > > >>> On Wed, Dec 21, 2022 at 12:00:39PM +0100, Alexander Holzinger
> wrote:
> > > > >>> > Hi everybody,
> > > > >>> >
> > > > >>> >
> > > > >>> > I am quite new to gphoto =E2=80=93 first impression: it's qui=
te
> awesome!
> > > > >>> >
> > > > >>> > Testing it out with a Canon 7D everything worked perfectly.
> > > > >>> > But I am planning on buying a Lumix G9.
> > > > >>> > Unfortunately the Lumix G-Series is labeled as 'experimental'
> and I
> > > > >>> > couldn't find much information on it.
> > > > >>> >
> > > > >>> > Has anyone some experience with gphoto2 and the Lumix G9?
> > > > >>> > Does 'gphoto capture-image-and-download' work?
> > > > >>>
> > > > >>> The Lumix I used for development did not do capture over USB, b=
ut
> > > only
> > > > >>> over WLAN.
> > > > >>>
> > > > >>> I sadly do not remember if capture over USB works, I did add th=
e
> code
> > > > >>> though.
> > > > >>> I think preview at least worked.
> > > > >>>
> > > > >>> I dont have the camera available here though.
> > > > >>>
> > > > >>> ciao, Marcus
> > > > >>>
> > > > >>
> > >
> > >
> > > > _______________________________________________
> > > > Gphoto-user mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/gphoto-user
> > >
> > >
>
>
> > _______________________________________________
> > Gphoto-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/gphoto-user
>
>
> --
> Marcus Meissner (he/him), Distinguished Engineer / Senior Project Manager
> Security
> SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg=
,
> Germany
> GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman, HRB
> 36809, AG Nuernberg
>

--000000000000d8c7d305fa55c801
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi, here is a new logfile:</div><div><a href=3D"https=
://drive.google.com/file/d/18WlJ5XQvTh_t4llpuyViXiRgmrHcLadd">https://drive=
.google.com/file/d/18WlJ5XQvTh_t4llpuyViXiRgmrHcLadd</a></div><div><br></di=
v><div>If I can help in any other way =E2=80=93 I&#39;ll do my very best.</=
div><div><br></div><div>Best wishes;</div><div>Alex</div><div><br></div></d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Am =
Do., 27. Apr. 2023 um 16:43=C2=A0Uhr schrieb Marcus Meissner &lt;<a href=3D=
"mailto:[email protected]">[email protected]</a>&gt;:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
can you perhaps provide another logfile?<br>
<br>
I think I will add an option to remove the wait after capture part.<br>
<br>
Ciao, Marcus<br>
On Thu, Apr 27, 2023 at 04:08:38PM +0200, Alexander Holzinger wrote:<br>
&gt; Thank you Marcus.<br>
&gt; <br>
&gt; With your changes and after you pointed me in the right direction for<=
br>
&gt; updating gphoto2 the process with my G9 now is about 4 seconds faster.=
<br>
&gt; <br>
&gt; Ressource for updating: <a href=3D"https://github.com/gonzalo/gphoto2-=
updater" rel=3D"noreferrer" target=3D"_blank">https://github.com/gonzalo/gp=
hoto2-updater</a><br>
&gt; I removed the previous version with<br>
&gt; <br>
&gt; &gt; $ sudo apt-get remove gphoto2 libgphoto2-6 libgphoto2-dev libgpho=
to2-l10n<br>
&gt; &gt; libgphoto2-port12<br>
&gt; &gt;<br>
&gt; and then updated gphoto2 to the dev branch with<br>
&gt; <br>
&gt; &gt; $ wget<br>
&gt; &gt; <a href=3D"https://raw.githubusercontent.com/gonzalo/gphoto2-upda=
ter/master/gphoto2-updater.sh" rel=3D"noreferrer" target=3D"_blank">https:/=
/raw.githubusercontent.com/gonzalo/gphoto2-updater/master/gphoto2-updater.s=
h</a><br>
&gt; &gt; &amp;&amp; wget<br>
&gt; &gt; <a href=3D"https://raw.githubusercontent.com/gonzalo/gphoto2-upda=
ter/master/.env" rel=3D"noreferrer" target=3D"_blank">https://raw.githubuse=
rcontent.com/gonzalo/gphoto2-updater/master/.env</a> &amp;&amp;<br>
&gt; &gt; chmod +x gphoto2-updater.sh &amp;&amp; sudo ./gphoto2-updater.sh<=
br>
&gt; &gt;<br>
&gt; <br>
&gt; Now *--capture-image-and-dowload* takes a little over 8 seconds instea=
d of<br>
&gt; almost 13 seconds. It is still not great compared to less than 2 secon=
ds<br>
&gt; with a canon D7, but a huge improvement =E2=80=93 thanks again.<br>
&gt; <br>
&gt; Is this duration limited by the camera or could it still be improved<b=
r>
&gt; somehow?<br>
&gt; I would of course help as much as I could, but without some guidance I=
<br>
&gt; won&#39;t get far.<br>
&gt; <br>
&gt; <br>
&gt; Best wishes,<br>
&gt; Alex<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Am Mo., 24. Apr. 2023 um 11:08 Uhr schrieb Marcus Meissner &lt;<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">marcus@jet.=
franken.de</a>&gt;:<br>
&gt; <br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; So it spends 2x3 seconds waiting for capturecomplete.<br>
&gt; &gt;<br>
&gt; &gt; I now synthesize a capture complete event in git, patch attached.=
<br>
&gt; &gt;<br>
&gt; &gt; You can also try<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gphoto2 --trigger-capture --wait=
-event-and-download-files=3DFILEADDED<br>
&gt; &gt;<br>
&gt; &gt; Ciao, Marcus<br>
&gt; &gt; On Sun, Apr 23, 2023 at 08:45:38PM +0200, Alexander Holzinger wro=
te:<br>
&gt; &gt; &gt; Hi again, has anybody an idea why it&#39;s taking gphoto2 ab=
out 13 seconds to<br>
&gt; &gt; &gt; do the capture-image-and-download process with a lumix g9?<b=
r>
&gt; &gt; &gt; Has anybody ever experienced such long durations for capturi=
ng and<br>
&gt; &gt; &gt; downloading an image with another camera?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; With the same setup but a canon eos d7 it only takes about 2=
 seconds.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Best wishes<br>
&gt; &gt; &gt; Alex<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Am Di., 18. Apr. 2023 um 21:18 Uhr schrieb Alexander Holzing=
er &lt;<br>
&gt; &gt; &gt; <a href=3D"mailto:[email protected]" target=3D"_blank">lxn=
[email protected]</a>&gt;:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; The original email below didn&#39;t make it to the list=
 because of the<br>
&gt; &gt; &gt; &gt; attachment =E2=80=93 it was too big.<br>
&gt; &gt; &gt; &gt; I uploaded the log file to google drive.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; <a href=3D"https://drive.google.com/file/d/1keNkvvp57z5b5-0uPRESU=
L5ArPnWqbmG/view?usp=3Dshare_link" rel=3D"noreferrer" target=3D"_blank">htt=
ps://drive.google.com/file/d/1keNkvvp57z5b5-0uPRESUL5ArPnWqbmG/view?usp=3Ds=
hare_link</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ---------- Forwarded message ---------<br>
&gt; &gt; &gt; &gt; Date: Di., 18. Apr. 2023 um 21:11 Uhr<br>
&gt; &gt; &gt; &gt; Subject: Re: [Gphoto-user] Lumix G-Series (especially G=
9)<br>
&gt; &gt; &gt; &gt; To: Marcus Meissner &lt;<a href=3D"mailto:[email protected]=
anken.de" target=3D"_blank">[email protected]</a>&gt;<br>
&gt; &gt; &gt; &gt; Cc: &lt;<a href=3D"mailto:[email protected]=
.net" target=3D"_blank">[email protected]</a>&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Marcus and all,<br>
&gt; &gt; &gt; &gt; I now have a G9 and tested it with gphoto2.<br>
&gt; &gt; &gt; &gt; Autodetect recognizes the G9 as a GH5.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --capture-image-and-download works but the process take=
s about 13<br>
&gt; &gt; seconds.<br>
&gt; &gt; &gt; &gt; With the 7D it only takes about 3 or 4 seconds.<br>
&gt; &gt; &gt; &gt; Do you have any idea if the process could be sped up?<b=
r>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Actually the captured image gets written on the pi afte=
r about 6<br>
&gt; &gt; seconds.<br>
&gt; &gt; &gt; &gt; But then the process takes another 6 to 7 seconds to de=
lete the file<br>
&gt; &gt; on the<br>
&gt; &gt; &gt; &gt; camera or do something else. When I add --keep to the c=
ommand it is the<br>
&gt; &gt; &gt; &gt; same. About 6 seconds to get the image on the raspberry=
 and another 6<br>
&gt; &gt; to 7<br>
&gt; &gt; &gt; &gt; seconds doing something else.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I attach the logfile for coming from *env LANG=3DC gpho=
to2 --debug<br>
&gt; &gt; &gt; &gt; --debug-logfile=3Dmy-logfile.txt --capture-image-and-do=
wnload*<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; It would be really cool if the time could be minimized =
somehow.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Best wishes to all<br>
&gt; &gt; &gt; &gt; Alex<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Am Do., 22. Dez. 2022 um 17:46 Uhr schrieb Alexander Ho=
lzinger &lt;<br>
&gt; &gt; &gt; &gt; <a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>&gt;:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; Thank you Marcus,<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; if I get a G9 I will write about my findings.<br>
&gt; &gt; &gt; &gt;&gt; I tested a GH6 via USB. It gets detected and can ta=
ke a photo but the<br>
&gt; &gt; &gt; &gt;&gt; process freezes and is not downloading the picture.=
<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; ciao, Alex<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Am Mi., 21. Dez. 2022 um 15:17 Uhr schrieb Marcus M=
eissner &lt;<br>
&gt; &gt; &gt; &gt;&gt; <a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;:<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; On Wed, Dec 21, 2022 at 12:00:39PM +0100, Alexa=
nder Holzinger wrote:<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Hi everybody,<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; I am quite new to gphoto =E2=80=93 first i=
mpression: it&#39;s quite awesome!<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Testing it out with a Canon 7D everything =
worked perfectly.<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; But I am planning on buying a Lumix G9.<br=
>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Unfortunately the Lumix G-Series is labele=
d as &#39;experimental&#39; and I<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; couldn&#39;t find much information on it.<=
br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Has anyone some experience with gphoto2 an=
d the Lumix G9?<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Does &#39;gphoto capture-image-and-downloa=
d&#39; work?<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; The Lumix I used for development did not do cap=
ture over USB, but<br>
&gt; &gt; only<br>
&gt; &gt; &gt; &gt;&gt;&gt; over WLAN.<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; I sadly do not remember if capture over USB wor=
ks, I did add the code<br>
&gt; &gt; &gt; &gt;&gt;&gt; though.<br>
&gt; &gt; &gt; &gt;&gt;&gt; I think preview at least worked.<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; I dont have the camera available here though.<b=
r>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; ciao, Marcus<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Gphoto-user mailing list<br>
&gt; &gt; &gt; <a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a><br>
&gt; &gt; &gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/gpho=
to-user" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net=
/lists/listinfo/gphoto-user</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
<br>
&gt; _______________________________________________<br>
&gt; Gphoto-user mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/gphoto-user" r=
el=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/lis=
tinfo/gphoto-user</a><br>
<br>
<br>
-- <br>
Marcus Meissner (he/him), Distinguished Engineer / Senior Project Manager S=
ecurity<br>
SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, =
Germany<br>
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman, HRB 3=
6809, AG Nuernberg<br>
</blockquote></div>

--000000000000d8c7d305fa55c801--


--===============3547797380937815631==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3547797380937815631==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user

--===============3547797380937815631==--