microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.06k stars 302 forks source link

A diagonal accross GUI apps cuts half of the screen #837

Open mrtolkien opened 1 year ago

mrtolkien commented 1 year ago

Windows build number:

10.0.22000.0

Your Distribution version:

22.04

Your WSL versions:

WSL version: 0.67.6.0
Kernel version: 5.15.62.1
WSLg version: 1.0.44
MSRDC version: 1.2.3401
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.978

Steps to reproduce:

WSL logs:

<4>WSLGd: FontMonitor: start monitoring /mnt/wslg/distro/usr/share/fonts
<4>WSLGd: FontMonitor: monitoring thread started.
<4>WSLGd: FontMonitor: monitoring /mnt/wslg/distro/usr/share/fonts, and it is *not* added to X11 font path
could not load cursor 'grabbing'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
dbus[20]: Unknown username "systemd-oom" in message bus configuration file
dbus[20]: Unknown username "pulse" in message bus configuration file
glamor: 'wl_drm' not supported
Missing Wayland requirements for glamor GBM backend
Failed to initialize glamor, falling back to sw
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server

WSL dumps:

None to be found

Expected behavior:

I can see the full content of the window

Actual behavior:

image

hideyukn88 commented 1 year ago

@mrtolkien, would you please let us know what is your GPU and its driver version installed on Windows host? thanks!

mrtolkien commented 1 year ago

I'm using an AMD RX 6800 XT

erkenes commented 1 year ago

I have the same issue with an Intel UHD Graphics 630 (CPU:Intel i7-10700) in my office computer but also with my MSI RTX 2070 Super (CPU: Ryzen 2700x) in my home computer.

Edit: My Laptop HP Envy x360 15-eu0xxx with a "AMD Ryzen 5 5500U with Radeon Graphics"-CPU has the same issue.

hideyukn88 commented 1 year ago

@erkenes, just would like to double check, on those Intel and NVIDIA GPU, do you see same issue as @mrtolkien, which is half diagonal is rendered correctly but other is blank? Or entirely blank like below screenshot? thanks!

image
MasterJubei commented 1 year ago

Exact Same issue here on a 6900xt, 21.5.2 driver version Microsoft Windows [Version 10.0.22000.1098]

It is a diagnol cut on my end. I have multiple monitors attatched. Only one of my attatched monitors has Windows scaling enabled, but it's not my primary monitor.

erkenes commented 1 year ago

@erkenes, just would like to double check, on those Intel and NVIDIA GPU, do you see same issue as @mrtolkien, which is half diagonal is rendered correctly but other is blank? Or entirely blank like below screenshot? thanks!

image

I have the same issue like the OP. The half diagonal is rendered correctly but the other is blank.

Edit: My Laptop HP Envy x360 15-eu0xxx with a "AMD Ryzen 5 5500U with Radeon Graphics"-CPU has the same issue.

hideyukn88 commented 1 year ago

@erkenes, @MasterJubei, would you please disable Display Driver from Windows's device manager, and restart WSL by wsl --shutdown, and reinstall Ubuntu 22.04? Once Ubuntu installation is completed, reenable Display Driver, I think this is the best workaround for this issue for now, thanks!