unofficial mirror of help-guix@gnu.org 
 help / color / Atom feed
* Icecat - WebGL support
@ 2020-06-06 10:32 Ekaitz Zarraga
  2020-06-06 16:07 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 9+ messages in thread
From: Ekaitz Zarraga @ 2020-06-06 10:32 UTC (permalink / raw)
  To: help-guix\@gnu.org

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




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-06 10:32 Icecat - WebGL support Ekaitz Zarraga
@ 2020-06-06 16:07 ` Tobias Geerinckx-Rice
  2020-06-06 18:53   ` Ekaitz Zarraga
  0 siblings, 1 reply; 9+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-06-06 16:07 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-06 16:07 ` Tobias Geerinckx-Rice
@ 2020-06-06 18:53   ` Ekaitz Zarraga
  2020-06-06 19:14     ` Ekaitz Zarraga
  0 siblings, 1 reply; 9+ messages in thread
From: Ekaitz Zarraga @ 2020-06-06 18:53 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix

‐‐‐‐‐‐‐ 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-06 18:53   ` Ekaitz Zarraga
@ 2020-06-06 19:14     ` Ekaitz Zarraga
  2020-06-06 19:27       ` Julien Lepiller
  0 siblings, 1 reply; 9+ messages in thread
From: Ekaitz Zarraga @ 2020-06-06 19:14 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: help-guix

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?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-06 19:14     ` Ekaitz Zarraga
@ 2020-06-06 19:27       ` Julien Lepiller
  2020-06-07 10:59         ` Ekaitz Zarraga
  0 siblings, 1 reply; 9+ messages in thread
From: Julien Lepiller @ 2020-06-06 19:27 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: help-guix

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-06 19:27       ` Julien Lepiller
@ 2020-06-07 10:59         ` Ekaitz Zarraga
  2020-06-11 20:26           ` Ekaitz Zarraga
  0 siblings, 1 reply; 9+ messages in thread
From: Ekaitz Zarraga @ 2020-06-07 10:59 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: help-guix


‐‐‐‐‐‐‐ 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?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-07 10:59         ` Ekaitz Zarraga
@ 2020-06-11 20:26           ` Ekaitz Zarraga
  2020-06-11 20:42             ` Julien Lepiller
  0 siblings, 1 reply; 9+ messages in thread
From: Ekaitz Zarraga @ 2020-06-11 20:26 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: help-guix

‐‐‐‐‐‐‐ 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")



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-11 20:26           ` Ekaitz Zarraga
@ 2020-06-11 20:42             ` Julien Lepiller
  2020-06-11 20:44               ` Ekaitz Zarraga
  0 siblings, 1 reply; 9+ messages in thread
From: Julien Lepiller @ 2020-06-11 20:42 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: help-guix

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 :)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Icecat - WebGL support
  2020-06-11 20:42             ` Julien Lepiller
@ 2020-06-11 20:44               ` Ekaitz Zarraga
  0 siblings, 0 replies; 9+ messages in thread
From: Ekaitz Zarraga @ 2020-06-11 20:44 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: help-guix

‐‐‐‐‐‐‐ 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, back to index

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-06 10:32 Icecat - WebGL support Ekaitz Zarraga
2020-06-06 16:07 ` Tobias Geerinckx-Rice
2020-06-06 18:53   ` Ekaitz Zarraga
2020-06-06 19:14     ` Ekaitz Zarraga
2020-06-06 19:27       ` Julien Lepiller
2020-06-07 10:59         ` Ekaitz Zarraga
2020-06-11 20:26           ` Ekaitz Zarraga
2020-06-11 20:42             ` Julien Lepiller
2020-06-11 20:44               ` Ekaitz Zarraga

unofficial mirror of help-guix@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git