microsoft / microsoft/wslg

GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!

Open
#640 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
11.9k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

Environment

Edition	Windows 11 Home
Version	21H2
Installed on	‎1/‎18/‎2022
OS build	22000.438
Experience	Windows Feature Experience Pack 1000.22000.438.0

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

Windows Subsystem for Linux GUI WSLg Preview
1.0.26
Microsoft Corporation
1/18/2022

Steps to reproduce

sudo apt-get install -y glmark2
then run glmark2

glmark2 window opens but is black

The terminal error received is,

** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Microsoft Corporation
    GL_RENDERER:   D3D12 (Intel(R) Iris(R) Xe Graphics)
    GL_VERSION:    3.1 Mesa 21.0.3
=======================================================
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.

WSL logs:
weston.log
stderr.log
pulseaudio.log
versions.txt

Expected behavior

rendering of the glmark2 benchmark window

Actual behavior

glmark2 window opens but is black

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with sudo apt-get install -y glmark2 and glmark2 in the stated WSLg environment. Read the attached weston.log, stderr.log, pulseaudio.log, and versions.txt alongside the GLX swap-control errors. Done means the glmark2 window renders instead of opening black.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
computer-graphics, desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.