Hi, I'm unable to use WebGL in IceCat. I've activated all the about:config options related to it and also the preferences checkbox. But when I visit https://get.webgl.org/ it always says: "Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card." On the other hand, ungoogled-chromium handles WebGL by default in my machine. No settings changed. What am I doing wrong? ElenQ Technology Ethical Innovation
[-- Attachment #1: Type: text/plain, Size: 580 bytes --] Ekaitz, Ekaitz Zarraga 写道: > I'm unable to use WebGL in IceCat. I've activated all the > about:config options related to it and also the preferences > checkbox. Here's[0] a bug report about this, and a solution that let me Enter the Cube — from a fresh profile. Unfortunately, it's implied there's some forgotten magic setting on my system that makes it work. > On the other hand, ungoogled-chromium handles WebGL by default > in my machine. No settings changed. Horrible… Kind regards, T G-R [0]: http://issues.guix.gnu.org/34135#10 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 227 bytes --]
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, June 6, 2020 6:07 PM, Tobias Geerinckx-Rice <me@tobias.gr> wrote:
> Ekaitz,
>
> Ekaitz Zarraga 写道:
>
> > I'm unable to use WebGL in IceCat. I've activated all the > about:config options related to it and also the preferences > checkbox.
>
> Here's[0] a bug report about this, and a solution that let me Enter the Cube — from a fresh profile. Unfortunately, it's implied there's some forgotten magic setting on my system that makes it work.
>
> > On the other hand, ungoogled-chromium handles WebGL by default > in my machine. No settings changed.
>
> Horrible…
>
> Kind regards,
>
> T G-R
>
> [0]: http://issues.guix.gnu.org/34135#10
Hi,
Thanks for taking the time to answer.
I tried everything in the issue there and it doesn't work.
I don't like chromium but looks like I need to use it for certain things. I'd like to help correcting IceCat's issue but I don't even know how to start.
This makes me sad.
Best,
Ekaitz
Wait a minute! It's working! But the only way to work is with the LD_LIBRARY_PATH set. I installed mesa and set the LD_LIBRARY_PATH from my command line, an icecat run from the command line works, the one run from the desktop environment doesn't. So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa and that's why IceCat is unable to find it?
Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga <ekaitz@elenq.tech> a écrit :
>Wait a minute! It's working!
>
>But the only way to work is with the LD_LIBRARY_PATH set. I installed
>mesa and set the LD_LIBRARY_PATH from my command line, an icecat run
>from the command line works, the one run from the desktop environment
>doesn't.
>
>So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa and
>that's why IceCat is unable to find it?
I see icecat is wrapped for pulseaudio to work, so we might as well wrap mesa.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, June 6, 2020 9:27 PM, Julien Lepiller <julien@lepiller.eu> wrote:
> Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech a écrit :
>
> > Wait a minute! It's working!
> > But the only way to work is with the LD_LIBRARY_PATH set. I installed
> > mesa and set the LD_LIBRARY_PATH from my command line, an icecat run
> > from the command line works, the one run from the desktop environment
> > doesn't.
> > So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa and
> > that's why IceCat is unable to find it?
>
> I see icecat is wrapped for pulseaudio to work, so we might as well wrap mesa.
It already has Mesa as an input, too.
Looks like it's just a matter of the LD_LIBRARY_PATH not being set.
Thoughts?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, June 7, 2020 12:59 PM, Ekaitz Zarraga <ekaitz@elenq.tech> wrote: > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Saturday, June 6, 2020 9:27 PM, Julien Lepiller julien@lepiller.eu wrote: > > > Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech a écrit : > > > > > Wait a minute! It's working! > > > But the only way to work is with the LD_LIBRARY_PATH set. I installed > > > mesa and set the LD_LIBRARY_PATH from my command line, an icecat run > > > from the command line works, the one run from the desktop environment > > > doesn't. > > > So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa and > > > that's why IceCat is unable to find it? > > > > I see icecat is wrapped for pulseaudio to work, so we might as well wrap mesa. > > It already has Mesa as an input, too. > Looks like it's just a matter of the LD_LIBRARY_PATH not being set. > > Thoughts? Hi all, I made this change in the package and it seems to work. If it looks fine I'll send the patch. Thanks! diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 7bf9850e97..570398ecd9 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1112,11 +1112,13 @@ from forcing GEXP-PROMISE." (lib (string-append out "/lib")) (gtk (assoc-ref inputs "gtk+")) (gtk-share (string-append gtk "/share")) + (mesa (assoc-ref inputs "mesa")) + (mesa-lib (string-append mesa "/lib")) (pulseaudio (assoc-ref inputs "pulseaudio")) (pulseaudio-lib (string-append pulseaudio "/lib"))) (wrap-program (car (find-files lib "^icecat$")) `("XDG_DATA_DIRS" prefix (,gtk-share)) - `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib))) + `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib))) #t)))))) (home-page "https://www.gnu.org/software/gnuzilla/") (synopsis "Entirely free browser derived from Mozilla Firefox")
Le 11 juin 2020 16:26:19 GMT-04:00, Ekaitz Zarraga <ekaitz@elenq.tech> a écrit :
>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>On Sunday, June 7, 2020 12:59 PM, Ekaitz Zarraga <ekaitz@elenq.tech>
>wrote:
>
>>
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> On Saturday, June 6, 2020 9:27 PM, Julien Lepiller julien@lepiller.eu
>wrote:
>>
>> > Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech
>a écrit :
>> >
>> > > Wait a minute! It's working!
>> > > But the only way to work is with the LD_LIBRARY_PATH set. I
>installed
>> > > mesa and set the LD_LIBRARY_PATH from my command line, an icecat
>run
>> > > from the command line works, the one run from the desktop
>environment
>> > > doesn't.
>> > > So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa
>and
>> > > that's why IceCat is unable to find it?
>> >
>> > I see icecat is wrapped for pulseaudio to work, so we might as well
>wrap mesa.
>>
>> It already has Mesa as an input, too.
>> Looks like it's just a matter of the LD_LIBRARY_PATH not being set.
>>
>> Thoughts?
>
>Hi all,
>
>I made this change in the package and it seems to work.
>
>If it looks fine I'll send the patch.
>
>Thanks!
>
>diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
>index 7bf9850e97..570398ecd9 100644
>--- a/gnu/packages/gnuzilla.scm
>+++ b/gnu/packages/gnuzilla.scm
>@@ -1112,11 +1112,13 @@ from forcing GEXP-PROMISE."
> (lib (string-append out "/lib"))
> (gtk (assoc-ref inputs "gtk+"))
> (gtk-share (string-append gtk "/share"))
>+ (mesa (assoc-ref inputs "mesa"))
>+ (mesa-lib (string-append mesa "/lib"))
> (pulseaudio (assoc-ref inputs "pulseaudio"))
> (pulseaudio-lib (string-append pulseaudio "/lib")))
> (wrap-program (car (find-files lib "^icecat$"))
> `("XDG_DATA_DIRS" prefix (,gtk-share))
>- `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib)))
>+ `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib
>,mesa-lib)))
> #t))))))
> (home-page "https://www.gnu.org/software/gnuzilla/")
> (synopsis "Entirely free browser derived from Mozilla Firefox")
Looks great! Please send the patch :)
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, June 11, 2020 10:42 PM, Julien Lepiller <julien@lepiller.eu> wrote:
> Le 11 juin 2020 16:26:19 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech a écrit :
>
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > On Sunday, June 7, 2020 12:59 PM, Ekaitz Zarraga ekaitz@elenq.tech
> > wrote:
> >
> > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > On Saturday, June 6, 2020 9:27 PM, Julien Lepiller julien@lepiller.eu
> > > wrote:
> > >
> > > > Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech
> > > > a écrit :
> > >
> > > > > Wait a minute! It's working!
> > > > > But the only way to work is with the LD_LIBRARY_PATH set. I
> > > > > installed
> > >
> > > > > mesa and set the LD_LIBRARY_PATH from my command line, an icecat
> > > > > run
> > >
> > > > > from the command line works, the one run from the desktop
> > > > > environment
> > >
> > > > > doesn't.
> > > > > So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa
> > > > > and
> > >
> > > > > that's why IceCat is unable to find it?
> > > >
> > > > I see icecat is wrapped for pulseaudio to work, so we might as well
> > > > wrap mesa.
> > >
> > > It already has Mesa as an input, too.
> > > Looks like it's just a matter of the LD_LIBRARY_PATH not being set.
> > > Thoughts?
> >
> > Hi all,
> > I made this change in the package and it seems to work.
> > If it looks fine I'll send the patch.
> > Thanks!
> > diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
> > index 7bf9850e97..570398ecd9 100644
> > --- a/gnu/packages/gnuzilla.scm
> > +++ b/gnu/packages/gnuzilla.scm
> > @@ -1112,11 +1112,13 @@ from forcing GEXP-PROMISE."
> > (lib (string-append out "/lib"))
> > (gtk (assoc-ref inputs "gtk+"))
> > (gtk-share (string-append gtk "/share"))
> >
> > - (mesa (assoc-ref inputs "mesa"))
> >
> >
> > - (mesa-lib (string-append mesa "/lib"))
> > (pulseaudio (assoc-ref inputs "pulseaudio"))
> > (pulseaudio-lib (string-append pulseaudio "/lib")))
> > (wrap-program (car (find-files lib "^icecat$"))
> > `("XDG_DATA_DIRS" prefix (,gtk-share))
> >
> >
> >
> > - `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib)))
> >
> >
> >
> > - `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib
> >
> >
> >
> > ,mesa-lib)))
> > #t))))))
> > (home-page "https://www.gnu.org/software/gnuzilla/")
> > (synopsis "Entirely free browser derived from Mozilla Firefox")
>
> Looks great! Please send the patch :)
Done! #41815