microsoft / microsoft/wslg

Intel HD wslg X Error: unable to open display: 0 (Xwayland crash)

Open
#375 11 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

Win32NT 10.0.22000.0 Microsoft Windows NT 10.0.22000.0
Your Distribution version: 20.04
Your WSLg version: 1.0.24
GPU: Intel UHD 600
GPU Driver: Intel Corporation 27.20.100.820 (and earlier releases)

Steps to reproduce

-Output of cat /mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.24+Branch.main.Sha.b42023b5fed7567955f4c6c36123a5cf22e9292a
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: ed4f3bbbf5efbd5bde880704bc03497f2446c3f2
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:

-Output of glxinfo
Error: unable to open display :0

WSL logs: Manual log gathering crashes with wsl.wprp error: Error code: 0xc00ce584
DTD is prohibited.

    Line Number: 7
    Column Number: 11

Feedback hub doesn't appear to work for my build either

  • Attach WSLg logs from /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

Expected behavior

-Output confirming wslg is operating as expected

Actual behavior

-Error: unable to open display:0
-OpenGL apps work correctly however

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 display failure with glxinfo in the reported Ubuntu 20.04 environment, then inspect the attached weston.log and pulseaudio.log files alongside /mnt/wslg/versions.txt. Done means identifying the Xwayland failure and confirming that the affected display scenario works without regressing the reported OpenGL behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.