From: Cayetano Santos via Guix-Science <guix-science@gnu.org>
To: Pascal Quach <pascal.quach@centralesupelec.fr>
Cc: Mauritz Stenek <mstenek@disroot.org>, guix-science@gnu.org
Subject: Re: Julia using GLMakie
Date: Mon, 11 Mar 2024 19:41:30 +0100 [thread overview]
Message-ID: <87cys061xs.fsf@inventati.org> (raw)
In-Reply-To: <941f3238-3e90-4f8c-8102-2d68916c4420@centralesupelec.fr>
>lun. 11 mars 2024 at 17:24, Pascal Quach <pascal.quach@centralesupelec.fr> wrote:
> Looks like we'll be able to solve this. You may try to directly refer the driver filenames
> to Julia using VK_DRIVER_FILES, e.g.,
>
> VK_DRIVER_FILES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json julia -e "import Pkg;
> Pkg.activate(temp=true); Pkg.add(\"GLMakie\")"
>
> Replace lvp_icd.x86_64.json with the corresponding driver. In my case, I am running my
> distro in WSL2, so I needed vulkan-swrast.
I tried with
export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.x86_64.json
julia ...
I get the same error.
Precompiling project...
✗ GLMakie
0 dependencies successfully precompiled in 24 seconds. 265 already precompiled.
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
If I call precompile by hand, I get
[ Info: Precompiling GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a]
Warning: GLFW couldn't create an OpenGL window.
│ This likely means, you don't have an OpenGL capable Graphic Card,
│ or you don't have an OpenGL 3.3 capable video driver installed.
│ Have a look at the troubleshooting section in the GLMakie readme:
│ https://github.com/MakieOrg/Makie.jl/tree/master/GLMakie#troubleshooting-opengl.
└ @ GLMakie ~/.julia/packages/GLMakie/QyIWu/src/screen.jl:250
ERROR: LoadError: GLFWError (API_UNAVAILABLE): GLX: No GLXFBConfigs returned
As usual.
C.
next prev parent reply other threads:[~2024-03-11 18:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 17:19 Julia using GLMakie Mauritz Stenek via Guix-Science
2024-03-08 18:34 ` Cayetano Santos via Guix-Science
2024-03-11 14:37 ` Pascal Quach
2024-03-11 15:34 ` Cayetano Santos via Guix-Science
2024-03-11 15:53 ` Pascal Quach
2024-03-11 16:10 ` Cayetano Santos via Guix-Science
2024-03-11 16:24 ` Pascal Quach
2024-03-11 18:41 ` Cayetano Santos via Guix-Science [this message]
2024-03-11 19:44 ` Cayetano Santos via Guix-Science
2024-03-12 8:59 ` Pascal Quach
2024-03-12 12:48 ` Cayetano Santos via Guix-Science
2024-03-12 13:02 ` Pascal Quach
2024-03-12 13:32 ` Cayetano Santos via Guix-Science
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cys061xs.fsf@inventati.org \
--to=guix-science@gnu.org \
--cc=csantosb@inventati.org \
--cc=mstenek@disroot.org \
--cc=pascal.quach@centralesupelec.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).