Skip to content
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

Qt applications show empty GUI in WSL2 #1151

Closed
1 of 2 tasks
nieebel opened this issue Nov 26, 2023 · 6 comments
Closed
1 of 2 tasks

Qt applications show empty GUI in WSL2 #1151

nieebel opened this issue Nov 26, 2023 · 6 comments

Comments

@nieebel
Copy link

nieebel commented Nov 26, 2023

Windows Version

Microsoft Windows [Version 10.0.22621.2715]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1

Distro Version

Ubuntu 22.04

Other Software

Speedcrunch (sample Qt application)

Repro Steps

sudo apt-get install libfuse2* x11-common x11-apps libx11-xcb1 libasound2 x11-apps libice6 libsm6 libxaw7 libxft2 libxmu6 libxpm4 libxt6 x11-apps xbitmaps build-essential mesa-utils qt5-default
sudo apt-get install speedcrunch
speedcrunch

Expected Behavior

A GUI with a calculator

Actual Behavior

A GUI with a black or empty screen

Diagnostic Logs

No response

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@hideyukn88
Copy link
Member

@nieebel, thanks for reporting the issue, as I tried at my end, it does not exhibit the issue. It is possible this depends on GPU driver you have installed in Windows host, would you please share the driver information from Windows device manager, thanks!

image

@OneBlue OneBlue transferred this issue from microsoft/WSL Nov 27, 2023
@nieebel
Copy link
Author

nieebel commented Nov 28, 2023

Thanks for checking, this is my GPU and driver version:

Intel UHD Graphics 620 (i7-8665U, Dell Latitude 7400)
20/01/2022
30.0.101.1338

@hideyukn88
Copy link
Member

@nieebel, thanks, would you also try export LIBGL_ALWAYS_SOFTWARE=1, then launch app if this shows the GUI, thanks!

@nieebel
Copy link
Author

nieebel commented Nov 30, 2023

@hideyukn88 didn't help :(
Any other idea?

@nieebel
Copy link
Author

nieebel commented Dec 4, 2023

Sorry, I just realized it was always working but speedcrunch didn't show the keyboard in the first startup -.-
There is another Qt GUI application which does not work, but this could also be a bug in the application: https://help.nextcloud.com/t/desktop-client-empty-gui-in-wsl2/175112

Anyway, I will close this ticket.

@nieebel nieebel closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants