-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use WLSg at all, apps freeze or are not responsible #643
Comments
@alansikora, thanks for reporting the issue. Regarding to the issue with Edge, it sounds close to #272, if you haven't tried, try disabling GPU or run in Wayland native mode. For firefox, I have not heard/experienced such issue. If it only freeze firefox, please take core dump of firefox, or if entire WSLg is freezing (including other Linux GUI app), please do below to take core dump of weston running system-distro. 1: From Windows's command prompt, run "wsl --system" (note it's double minus) Thanks! |
I also have the same problem with GitKraken. Every now and then it doesn't respond. I notice this because the context menus usually opened by right click no longer open. At that point the GUI stops responding and if I try to close the window it won't close. Only solution: wsl --shutdown. I followed the steps described and this is the output shown by the console. Did I do this correctly?
|
Same problem with IntelliJ. I am running Windows 11. |
@f-liva, yes, would you please share the core file with us, thanks! |
I am having this same issue with Firefox on WSL on Windows 11 |
@hideyukn88 here it is! |
I'm seeing this in VS Code also. Usually my menus stop working first (top bar menus and right click menus), but eventually things will just completely freeze up. |
GitKraken does this for me too |
@slagbat @f-liva, do you mean right click context menu is the one in below screen shot? I looked at core dump at #643 (comment), but unfortunately, I didn't find any clue. @Poly-Pixel, @alansikora, I can't reproduce the issue with firefox or Edge either. |
+1 facing the same issue on Win11 while running Firefox |
For me, I can use GitKraken for a short period of time and then it'll just stop working. I won't be able to move or resize the window or use any of its features. This also happens with Chrome too so I think it's just a general issue for me. Update: @hideyukn88 GitKraken just crashed on me so I tried to do a core dump but it's frozen doing that too! Sorry, I know that's probably no help at all! |
To me this seems to be a random effect which only occur on mouse right-clicks. I use Firefox, Eclipse and Smartgit in WSL-ubuntu. When the problem occures, all currently open wsl windows freeze and cannot be closed. The only way to get rid of them is to restart wsl. |
I gave up WSLg and use Kali Linux Win-KeX and it works much better than wslg. |
On further investigation this does only seem to happen to me when I right click for the context menu in Gitkraken and then select an option on said menu with a left click. Then everything freezes on all WSL GUI apps! |
@slagbat, when everything freezes, would you please share the core file following instruction at #643 (comment)? Thanks! |
I have the same problem. I tried to take a core dump, but it hangs... I tried to kill the core dump and restart it without any result. In a first "wsl --system" session:
I closed the terminal and reopen a new "wsl --system" session:
|
This issue has become the biggest blocker for continuing using WSLG for me. How can I contribute to debugging the root cause of this? It happens to me every time I try to resize my windows that are running in almost 4k resolution. I feel like there must be some overflow, race condition or bandwidth issue. |
WSLG is also freezing for me from time to time, mostly using JetBrains's PhpStorm, but when it freezes, it is all WSLG apps and not only JetBrain (e.g. Files as well). Also |
@ParhamG, would you please share output from dmesg? thanks! |
@hideyukn88 ... I've tried this again with the same result as before and that is getting the gcore output is frozen on the command line. Here's a screenshot for good measure: I don't know if this important but I also has an XWayland process running: |
@yangli2014 thanks for the tip! I've been having tons of issues with WSLg, similar to those described in this issue. I'm spinning up on Win-KeX now. So far, so good. |
Have the same issue with IntelliJ, only fix is |
I started using GWSL instead of WSLG and it works like a charm without ANY of WSLG issues. Give a try! |
Not sure whether it is the same issue. When I use PHPStorm or Goland in wslg, they often stuck on mouse event when I open a new IDE window, but I still can use keyboard to control them. Only fix is |
@SFurnace > Not sure whether it is the same issue. When I use PHPStorm or Goland in wslg, they often stuck on mouse event when I open a new IDE window, but I still can use keyboard to control them. Only fix is Same issue here, when I open PHPStorm/WebStorm it does not freeze but I can't do anything with my mouse, If I press "Tab" or run any keyboard shortcut the application will respond, but clicking on anything with my mouse will not work. |
I have the same issue, sometimes everything works fine for a whole day, sometimes it's a nightmare. |
@SFurnace, @lucasctd, @vermi0ffh, I have a few questions, when the mouse issue occurs, 1) does mouse still work with other Linux GUI applications? 2) Is the PHPStorm IDE window maximized? 3) Do you see any mouse activity with xev or xtrace? thanks! |
For me personally, once the issue happens all Linux GUI apps stop responding. I normally only have Gitkraken and Chrome running as Linux apps but both become unresponsive and I'm unable to close either of them. I'm not sure how to see the mouse activity with xev or xtrace as I'm a bit of a Linux novice! |
@slagbat, I'm feeling your case is different as I believe app won't respond on keyboard input either in your case, would you please share output from |
It looks like I have a really more stable WSLg recently. Since the begining of the week, no freeze at all. For the interface freeze, I removed some strange wacom driver present on my computer. It was an old driver (2009). Since it's removed, no more freeze (yet). I'll comment if it happens again, but maybe de problem is driver-related ! |
I observed that if you launch docker desktop and your containers before launching intellij (or phpstorm or whatever) the freeze it's less likely for everything to stop. |
For me, it was not only freezes with PHPStorm but also other issues like menus not staying open and having to keep the mouse pressed down and then move to a submenu item and release it, and some other random issues. I switched back to WSLD+VcXsrv and that has been working perfectly fine. |
I just had a freeze. Phpstorm was fullscreen, and I clicked the button to make it windowed. Just after that, it froze. Here is the dmesg of both the system vm and the ubuntu VM running PhpStorm : |
Wslg is unusable on 32GB Dell xps - it kills my machine everything hangs. |
🟢 I had the same problem and finally found a brilliant solution:
So in the end, in the
The result is actually better than the wslg proposed by Windows, now your Linux apps eg: Gitkraken will use your usual Windows UI and resize/snap perfectly 👌 There's no reason this solution doesn't work for you, give it a try, ℹ️ |
@JuradoBruno Thanks for this. I have a question. I have configured the xserver as mentioned but when i launch the Linux apps on WSL2 it seems it still wslg is being involved since it is still freezing. How did you force the apps to use xserver? EDIT: I noticed if i launnch the app from start menu ( i tested |
I think Microsoft doesn't want to fix this issue. The WSL2 is designed to work in terminal mode. Microsoft doesn't want to drive the applications development of linux destop. So if you want to use WSL2, but only use it in terminal. |
Yeah I gave up as well. My use case was running a linux music app called sublime-music. Due to a very specific usecase, I needed to be able to run that. It does run but then it just hangs and nothing responds. All I can do it kill entire wsl2 for that reason only. Anyone has any other ideas (short of running a full VM ) ? |
Try Kali Linux as wsl2 distro |
Sorry to interrupt, but I'm using kex, too. But I can't seem to call the NVIDIA graphics card |
Let me check my environment. I am using Nvidia too.
…On Sun, Jan 7, 2024, 23:26 Nancy Harris ***@***.***> wrote:
I gave up WSLg and use Kali Linux Win-KeX and it works much better than
wslg.
Sorry to interrupt, but I'm using kex, too. But I can't seem to call the
NVIDIA graphics card
—
Reply to this email directly, view it on GitHub
<#643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEXQGXAJEXB5DBSQEH24XDYNNYQXAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGAZTMOJRGQZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you very much for your time. I just checked google chrome's video decoding capabilities and OpenGL support. Here are my results. ❯ google-chrome
[5119:5214:0108/211915.737417:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5119:5214:0108/211915.737665:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5119:5214:0108/211915.737872:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5155:5155:0108/211916.786292:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.786534:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.786622:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[5155:5155:0108/211916.787945:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.788489:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.788573:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[5155:5155:0108/211916.788688:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[5155:5155:0108/211916.788768:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[5155:5155:0108/211916.798631:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.798730:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.798819:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[5155:5155:0108/211916.799208:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.799277:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.799335:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[5155:5155:0108/211916.799398:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[5155:5155:0108/211916.799455:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[5155:5155:0108/211916.844923:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[5195:7:0108/211916.967385:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[5159:5164:0108/211917.270316:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211917.557519:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211920.058329:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211920.309383:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211920.364844:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only. |
[image: image.png]
On Mon, Jan 8, 2024 at 8:21 AM Nancy Harris ***@***.***>
wrote:
… Let me check my environment. I am using Nvidia too.
… <#m_-683449729158524969_>
On Sun, Jan 7, 2024, 23:26 Nancy Harris *@*.*> wrote: I gave up WSLg and
use Kali Linux Win-KeX and it works much better than wslg. Sorry to
interrupt, but I'm using kex, too. But I can't seem to call the NVIDIA
graphics card — Reply to this email directly, view it on GitHub <#643
(comment)
<#643 (comment)>>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEXQGXAJEXB5DBSQEH24XDYNNYQXAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGAZTMOJRGQZA
<https://github.com/notifications/unsubscribe-auth/ACEXQGXAJEXB5DBSQEH24XDYNNYQXAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGAZTMOJRGQZA>
. You are receiving this because you were mentioned.Message ID: @.*>
Thank you very much for your time.
I just checked google chrome's video decoding capabilities and OpenGL
support.
Here are my results.
❯ google-chrome
[5119:5214:0108/211915.737417:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5119:5214:0108/211915.737665:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5119:5214:0108/211915.737872:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5155:5155:0108/211916.786292:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.786534:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.786622:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[5155:5155:0108/211916.787945:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.788489:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.788573:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[5155:5155:0108/211916.788688:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[5155:5155:0108/211916.788768:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[5155:5155:0108/211916.798631:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.798730:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.798819:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[5155:5155:0108/211916.799208:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[5155:5155:0108/211916.799277:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[5155:5155:0108/211916.799335:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[5155:5155:0108/211916.799398:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[5155:5155:0108/211916.799455:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[5155:5155:0108/211916.844923:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[5195:7:0108/211916.967385:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[5159:5164:0108/211917.270316:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211917.557519:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211920.058329:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211920.309383:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
[5159:5164:0108/211920.364844:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -100
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
image.png (view on web)
<https://github.com/microsoft/wslg/assets/49338067/55b3f8f3-cf20-41d1-87fe-70960d1c8e84>
—
Reply to this email directly, view it on GitHub
<#643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEXQGX6CGFOKHIODC2O22TYNPXFDAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGA4TSNJWGU2A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Yang Li
Kanata ON
Canada
|
@yangli2014 Sorry, the message I saw on github was |
I uploaded the image in the github
…On Mon, Jan 8, 2024 at 8:57 AM Nancy Harris ***@***.***> wrote:
@yangli2014 <https://github.com/yangli2014> Sorry, the message I saw on
github was [image: image.png] , not image. 😥
—
Reply to this email directly, view it on GitHub
<#643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEXQGWQH5Z3Y6I2RBFHR5DYNP3LLAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGEYDMMJUGIYA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Yang Li
Kanata ON
Canada
|
Thank you very much. I can see that. It's pretty awesome. Could I please confirm how you started VcXsrv?
my env ❯ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal window: (base) PS C:\Users\win> wsl -v
WSL version: 2.0.14.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.2861 |
I will get back to you later. I start working now. I am in the Ontarion
Canada
…On Mon, Jan 8, 2024 at 9:15 AM Nancy Harris ***@***.***> wrote:
[image: image]
<https://private-user-images.githubusercontent.com/9009178/294926812-6d269cb8-5c76-4093-b929-330aee0d9dcc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQ3MjMxMjMsIm5iZiI6MTcwNDcyMjgyMywicGF0aCI6Ii85MDA5MTc4LzI5NDkyNjgxMi02ZDI2OWNiOC01Yzc2LTQwOTMtYjkyOS0zMzBhZWUwZDlkY2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDEwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAxMDhUMTQwNzAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTNkNDI0OWZiMWUyZjA3ODJiOTczNTBkNmQ1OTBjMGEyYjZjNDAzZjIwYWM4ZjQyODg4NDM2MzFmNjk4YzgzOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.sugDloh0MBUAiPWc_zkGB6wY02XFCKazUMqbaeJArts>
Thank you very much. I can see that. It's pretty awesome. Could I please
confirm how you started VcXsrv?
1. vcxsrv.exe -ac -multiwindow -clipboard
2. type google-chrome to start chrome
3. type url chrome://gpu then tap enter
4. Now I see the screenshot I uploaded earlier
*my env*
wsl:
❯ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
window:
(base) PS C:\Users\win> wsl -v
WSL version: 2.0.14.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.2861
—
Reply to this email directly, view it on GitHub
<#643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEXQGS57LVXIYT23E7B5F3YNP5PXAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGEYDSMZRGA4Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Yang Li
Kanata ON
Canada
|
Okay, thanks for your time. Good luck. |
My system is Windows 11 Pro with WSL2
|
I got it. Hardware acceleration cannot be turned on using seamless mode, and I have no problem using enhanced session. |
I'm guessing if your seamless mode supports hardware acceleration, your chrome browser probably has a white ring around it, which should be displayed via wslg. In Task Manager, you can locate the display as msrdc.exe |
Good to know. But why is your wsl showing ubuntu?
…On Tue, Jan 9, 2024 at 12:53 AM Nancy Harris ***@***.***> wrote:
My system is Windows 11 Pro with WSL2
└─$ cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2023.4"
VERSION="2023.4"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"
C:\Cmder
wsl -l -v
NAME STATE VERSION
* kali-linux Running 2
docker-desktop-data Stopped 2
docker-desktop Stopped 2
I got it. Hardware acceleration cannot be turned on using seamless mode,
and I have no problem using enhanced session.
I'm guessing if your seamless mode supports hardware acceleration, your
chrome browser probably has a white ring around it, which should be
displayed via wslg. In Task Manager, you can locate the display as msrdc.exe
—
Reply to this email directly, view it on GitHub
<#643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEXQGRUGLNTTL7DINYZUPTYNTLMVAVCNFSM5MZEBVR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGI2DKMRXGAYA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Yang Li
Kanata ON
Canada
|
@yangli2014 Since my default development environment is Ubuntu wsl2, but after seeing your wsl environment and suspecting that Ubuntu does not support hardware acceleration, I also downloaded a kali test. It turns out the same is true for kali and Ubuntu. Only seamless Windows displayed through wslg have hardware decoding capabilities. In addition, enhanced mode and vnc mode using win-kex under kali linux also support hardware decoding. |
Environment
Steps to reproduce
Microsoft Edge:
It runs full screen, and everything works, the I try exiting full screen/resizing, and I can't input anything anymore. It just hangs and I need to close it.
Firefox:
firefox
(orMOZ_ENABLE_WAYLAND=1 firefox
)It usually works, but it always freezes before I finish my work, it just stops accepting input then the WSL GUI Window can't be moved or closed. The only way to fix it is
wsl --shutdown
Firefox WSL logs:
weston.log
pulseaudio.log
versions.txt.txt
Others
I also tried to run other GUI apps, they all evetually freeze.
Expected behavior
Not freeze.
Actual behavior
Freezing.
The text was updated successfully, but these errors were encountered: