Skip to content

Can wsl2 support a higher version of OpenGL? #6154

Answered by therealkenc
rjsgml5698 asked this question in General
Discussion options

You must be logged in to vote

From the link you are using LIBGL_ALWAYS_INDIRECT=1. The person (if any) who directed you to do that was proffering dubious guidance. GLX supports OpenGL 1.4. Later incarnations of OpenGL introduced memory mapped buffers and are not supported by the GLX wire protocol.

You can use mesa's llvmpipe which very recently began to support OpenGL 4.x in mesa 20.2. Ubuntu 20.04 (focal) currently ships mesa 20.0.8, but you can install bleeding edge versions using kiask's PPA. Or compile it yourself.

First-party support for GUI apps on WSL is #938.

Replies: 12 comments 45 replies

Comment options

You must be logged in to vote
4 replies
@Trass3r
Comment options

@danielbisar
Comment options

@Sasino97
Comment options

@Marqin
Comment options

Answer selected by rjsgml5698
Comment options

You must be logged in to vote
2 replies
@the-m4a
Comment options

@Trass3r
Comment options

Comment options

You must be logged in to vote
2 replies
@Luke44C
Comment options

@wangmiaowei
Comment options

Comment options

You must be logged in to vote
1 reply
@Trass3r
Comment options

Comment options

You must be logged in to vote
11 replies
@Trass3r
Comment options

@wangmiaowei
Comment options

@Trass3r
Comment options

@wangmiaowei
Comment options

@Trass3r
Comment options

Comment options

You must be logged in to vote
5 replies
@Trass3r
Comment options

@LohiKarma97
Comment options

@Trass3r
Comment options

@wangmiaowei
Comment options

@Trass3r
Comment options

Comment options

You must be logged in to vote
3 replies
@Trass3r
Comment options

@earlev4
Comment options

@Trass3r
Comment options

Comment options

You must be logged in to vote
7 replies
@danielbisar
Comment options

@Trass3r
Comment options

@danielbisar
Comment options

@danielbisar
Comment options

@danielbisar
Comment options

Comment options

You must be logged in to vote
4 replies
@Trass3r
Comment options

@desaixie
Comment options

@Trass3r
Comment options

@Trass3r
Comment options

Comment options

You must be logged in to vote
2 replies
@Trass3r
Comment options

@TheEndHunter
Comment options

Comment options

You must be logged in to vote
2 replies
@Trass3r
Comment options

@indevn
Comment options

Comment options

You must be logged in to vote
2 replies
@indevn
Comment options

@Trass3r
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #6154 on October 27, 2020 19:27.