-
-
Notifications
You must be signed in to change notification settings - Fork 105
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 apps do not show interface inside bottle #214
Comments
It looks like you're trying to run the script outside the bottle, which is not a supported configuration. Can you reproduce the issue inside the bottle? |
@cerebrate Thanks for your reply!
Seems can reproduce it inside bottle. And after this even I shutdown genie and relink X11-unix wslg not work again as I have to reboot it. |
Curious. You shouldn't need this step when running inside the bottle:
Since genie installs the wslg-xwayland.service (triggered automatically by wslg-xwayland.socket) to automatically proxy the X socket for you, and overrides [email protected] to do the same thing for the Wayland access points. Can you try it again without that step and see if it's still reproducible inside the bottle? If it is, could you then let me have the output of |
Yeah, can reproduce it in bottle with out create link of X11-unit, Output of systemctl status:
|
There has been no activity on this issue for over 60 days. If there is no further activity within 7 days from this message, it will be automatically closed. |
This looks a lot like behavior seen with #175 |
This seems to be a problem with Qt apps in general. Unfortunately, despite many and various attempts, I've not been able to determine why it happens or develop a fix. Still being worked on, though. |
Apparently today I am two for two on declaring bugs intractable and then immediately tracting them. Turns out Qt has an incompatibility with the elegant way of providing access to the WSLg X11 socket. Kluging it instead makes it work. Fix will be in 2.4. |
Windows version (build number):
Kernel: 10.0.22000.0 282
Linux distribution:
ArchWSL
Genie version:
1.44
Describe the bug
Before run
genie -i
can run python script like opencv to show images.After belows step:
Failed to show image, only get a black window:
But applications like
xeyes
can run and show successfully.Confirm that you are running inside the bottle:
outside
To Reproduce
Steps to reproduce the behavior:
step1: genie -i
step2: ln -s /mnt/wslg/.X11-unix /tmp/.X11-unix
if no step2 even
xeyes
can not show.step3: write a script like:
step4: run the python script
Expected behavior
Play example.mp4 successfully.
Additional context
Can't use C++ to call opencv play vedio, either.
Python script can't play mp4 but can draw a image, like below code works well:
https://matplotlib.org/stable/gallery/lines_bars_and_markers/simple_plot.html
I confirm that I have read the ENTIRE supplied readme file and checked for relevant information on the repository wiki before raising this issue, and that if the solution to this issue is found in either location, it will be closed without further comment:
The text was updated successfully, but these errors were encountered: