You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xeyes - observe that xeyes attempts to launch, but hangs, no GUI window ever appears, and no message appears
Expected Behavior
xeyes launches and a new window appears in Windows containing the xeyes GUI application
Actual Behavior
xeyes and all other X11/Wayland apps attempt to launch but either hang or never attach to any socket suitable for displaying graphical windows. Opening wsl --system and then top shows that process /usr/bin/Xwayland :0 -rootless -core -listen 38 -wm 39 -terminate -nolisten local -ac is pegging one CPU core at 100%
Diagnostic Logs
Show GPU hardware in Ubuntu
nvidia-smi:
Sun Feb 26 21:30:18 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02 Driver Version: 528.49 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:00:09.0 On | N/A |
| 29% 33C P8 20W / 250W | 1494MiB / 11264MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 23 G /Xwayland N/A |
+-----------------------------------------------------------------------------+
Notice that Nvidia GPU card is correctly identified and we even see the XWayland process running
Notice strace appears to hang on the last line forever
Xwayland is running away
From Elevated cmd: wsl --system, then top
Xwayland process starts immediately after wsl --shutdown and a re-launch of Ubuntu, even without attempting to run a GUI app in Ubuntu, xwayland will peg 100% cpu after about 2 seconds
/tmp/.X11-unix is mounted and shared with WSL core
mount | grep .X11:
none on /tmp/.X11-unix type tmpfs (ro,relatime)
touch /tmp/.X11-unix/something ls -lah /tmp/.X11-unix
total 4.0K
drwxrwxrwx 2 root root 80 Feb 26 21:00 .
drwxrwxrwt 3 root root 4.0K Feb 26 20:47 ..
srwxrwxrwx 1 xasmodeanx xasmodeanx 0 Feb 26 20:58 X0
-rw-r--r-- 1 root root 0 Feb 26 21:00 something
ls -lah /mnt/wslg/.X11-unix
total 0
drwxrwxrwx 2 root root 80 Feb 26 21:00 .
drwxrwxrwt 7 root root 280 Feb 26 20:58 ..
srwxrwxrwx 1 xasmodeanx xasmodeanx 0 Feb 26 20:58 X0
-rw-r--r-- 1 root root 0 Feb 26 21:00 something
wsl --system shows we can read/write files between Ubuntu and WSL Core
Version
Microsoft Windows [Version 10.0.22621.1265]
WSL Version
Kernel Version
5.15.79.1-microsoft-standard-WSL2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
wsl --install Ubuntu
sudo apt update
sudo apt install x11-apps
xeyes
- observe that xeyes attempts to launch, but hangs, no GUI window ever appears, and no message appearsExpected Behavior
xeyes
launches and a new window appears in Windows containing the xeyes GUI applicationActual Behavior
xeyes
and all other X11/Wayland apps attempt to launch but either hang or never attach to any socket suitable for displaying graphical windows. Openingwsl --system
and thentop
shows that process/usr/bin/Xwayland :0 -rootless -core -listen 38 -wm 39 -terminate -nolisten local -ac
is pegging one CPU core at 100%Diagnostic Logs
Show GPU hardware in Ubuntu
nvidia-smi
:Notice that Nvidia GPU card is correctly identified and we even see the XWayland process running
strace
strace -ff xeyes
:Notice strace appears to hang on the last line forever
Xwayland is running away
From Elevated cmd:
wsl --system
, thentop
Xwayland process starts immediately after
wsl --shutdown
and a re-launch of Ubuntu, even without attempting to run a GUI app in Ubuntu, xwayland will peg 100% cpu after about 2 seconds/tmp/.X11-unix is mounted and shared with WSL core
mount | grep .X11
:touch /tmp/.X11-unix/something
ls -lah /tmp/.X11-unix
ls -lah /mnt/wslg/.X11-unix
wsl --system
shows we can read/write files between Ubuntu and WSL CoreUbuntu environment variables are unremarkable
printenv
Other diagnostic info
cat /mnt/wslg/versions.txt
stderr.log
versions.txt
weston.log
wlog.log
WslLogs-2023-02-26_21-50-59.zip
The text was updated successfully, but these errors were encountered: