<div dir="ltr">ahm.... how do I check that?<div><br></div><div>I'm disabling JIT now to test. </div><div>But I still think the problem is that Kodi isn't using hardware accelaration during menus and this is why it's  slow.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 10:51 AM Shaya Potter <<a href="mailto:spotter@gmail.com">spotter@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">it is using the hotspot vm? not the zerovm?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 3:44 PM Vitor Dall'Acqua <<a href="mailto:veggav@gmail.com" target="_blank">veggav@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">JIT isn't disabled here. <div><br></div><div>I believe this has something to do with how Kodi works while is inside a menu because if I start a scene and it still thinks it's inside a menu, the playback is sluggish. </div><div>If I just start the main menu and the menu statement is off the movie plays fine. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 10:40 AM Shaya Potter <<a href="mailto:spotter@gmail.com" target="_blank">spotter@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">great job.  so petri was right about the no jit (to be expected that he would be).  but this provides a good starting point, I think, especially as this seems to be a supported configuration of the jvm.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 3:36 PM Vitor Dall'Acqua <<a href="mailto:veggav@gmail.com" target="_blank">veggav@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">IT'S WORKING!!!<div dir="auto"><br></div><div dir="auto"><a href="https://ibb.co/2Zf5DTD" target="_blank">https://ibb.co/2Zf5DTD</a><br></div><div dir="auto"><br></div><div dir="auto">really really slow.. but it's working</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021, 10:16 AM Petri Hintukainen <<a href="mailto:phintuka@users.sourceforge.net" target="_blank">phintuka@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">pe, 2021-01-29 kello 14:58 +0200, Shaya Potter kirjoitti:<br>
> it probably doesn't make a difference, but  meant setting DISPLAY env<br>
> variable to :0.0 (much like JAVA_HOME you were dealing with before).<br>
> <br>
> On Fri, Jan 29, 2021 at 2:33 PM Vitor Dall'Acqua <<a href="mailto:veggav@gmail.com" rel="noreferrer" target="_blank">veggav@gmail.com</a>><br>
> wrote:<br>
> > Made no difference<br>
> >   setenv("X11_DISPLAY", "DISPLAY=:0.0", 1);<br>
> >   <br>
> >   setenv("X11_DISPLAY", "X11_DISPLAY=:0.0", 1);<br>
> > <br>
> > maybe I'm not writing it properly.<br>
<br>
It should be without X11_ prefix:<br>
<br>
  setenv("DISPLAY", ":0.0", 1);<br>
<br>
This seems to be enough. Or skip autodetection with<br>
<br>
   option[n++].optionString = str_dup("-Djava.awt.headless=false"); <br>
<br>
(it seems to assume Linux == X11 ...).<br>
<br>
> > On Fri, Jan 29, 2021 at 5:49 AM Shaya Potter <<a href="mailto:spotter@gmail.com" rel="noreferrer" target="_blank">spotter@gmail.com</a>><br>
> > wrote:<br>
> > > On Fri, Jan 29, 2021 at 2:02 AM Vitor Dall'Acqua < <br>
> > > <a href="mailto:veggav@gmail.com" rel="noreferrer" target="_blank">veggav@gmail.com</a>> wrote:<br>
> > > > Ok solved the write protected with<br>
> > > >     option[n++].optionString = str_dup   ("-<br>
> > > > Djava.io.tmpdir=/storage/emulated/0/Android/");<br>
> > > > <br>
> > > > Petri, now this is beyond me:<br>
> > > > 2021-01-28 21:58:59.346 T:18499   DEBUG <general>:<br>
> > > > CBlurayCallback::Logger - org.videolan.BDJLoader:0: ERROR:<br>
> > > > loadN() failed: java.awt.HeadlessException: <br>
> > > >                                                    No X11<br>
> > > > DISPLAY variable was set, but this program performed an<br>
> > > > operation which requires it.<br>
> > > > <br>
> > > > Do you have any idea?<br>
> > > > <br>
> > > <br>
> > > this is the headless awt thing i mentioned before.  This is very<br>
> > > good progress I'd think.<br>
> > > <br>
> > > A simple thing to try to do is set env variable X11_DISPLAY=:0,<br>
> > > if it's just checking for the env var but doesn't actually draw<br>
> > > to it, it might get it past it.  If it actually has to draw, it<br>
> > > will fail somewhere else later.  The question is what libbluray<br>
> > > would need for java9's headless awt mode.<br>
> > > _______________________________________________<br>
> > > libbluray-devel mailing list<br>
> > > <a href="mailto:libbluray-devel@videolan.org" rel="noreferrer" target="_blank">libbluray-devel@videolan.org</a><br>
> > > <a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
> > _______________________________________________<br>
> > libbluray-devel mailing list<br>
> > <a href="mailto:libbluray-devel@videolan.org" rel="noreferrer" target="_blank">libbluray-devel@videolan.org</a><br>
> > <a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
> _______________________________________________<br>
> libbluray-devel mailing list<br>
> <a href="mailto:libbluray-devel@videolan.org" rel="noreferrer" target="_blank">libbluray-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
<br>
<br>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" rel="noreferrer" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>