-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Glitchy display/errors when running vsk on Linux #353
Comments
I've just run same from a clean Ubuntu 22.04.1 LTS install. Exact same issue, screenshot and traceback below.
|
What happens when running vsketch like this?
|
It works when I do that
…________________________________
From: Antoine Beyeler ***@***.***>
Sent: 06 February 2023 18:15
To: abey79/vsketch ***@***.***>
Cc: Jackie Pease ***@***.***>; Author ***@***.***>
Subject: Re: [abey79/vsketch] Glitchy display when running vsk (Issue #353)
What happens when running vsketch like this?
QT_QPA_PLATFORM=xcb vsk run examples/schotter
—
Reply to this email directly, view it on GitHub<#353 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADBVRUAKH75B4HU3VIGE4J3WWE5UPANCNFSM6AAAAAAURFBYBI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks, works fine for me too. |
@JackiePease @willcrobinson I'm trying to figure out what's going on exactly. Could you show me your Terminal's environment variables (the output of |
@abey79 No problem, output below:
|
When installing vpype, pipx install PySide6 as a dependency. PySide6 includes a version of Qt6. I'd like to know what "platforms" plug-ins are included with it. Could one of you take a peak? This should be somewhere looking like:
I'm expecting that path could be somewhat different on a Linux install, though. The first part of the path is given by |
I don't have a vpype directory in my ~/.local/pipx/venvs but I do have a vsketch one. Contents of /home/user1/.local/pipx/venvs/vsketch/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms are:
Tried running |
Thanks. I think PySide6/Qt6 is using I'm guessing |
|
Thanks for trying. May I ask for one final test to explore this issue? I'm fairly sure the version of PySide6 that was installed alongside with vsketch wasn't the latest. Could you update it with the following command?
Does this change the behaviour with |
No problem at all! Injected as you asked but still no joy, whether using |
Thanks a lot. I'll add a mechanism to default to xcb when wayland is detected, to avoid this issue. |
Hey @willcrobinson @JackiePease. I'm trying to address this issue in the next release of vpype (see abey79/vpype#607). Would you be so kind as to test that the patch works as expected? This could be done by installing vpype from source:
You may need to uninstall an existing vpype install before:
Then, you need a terminal where
The viewer can be tested with:
This should work and display some random lines. If you want, you can get back to the previous version:
Alternatively, wait for the 1.13 release and simply upgrade:
|
Hi @abey79 Followed the instructions to the letter, Thanks |
Hey @willcrobinson, awesome—thanks for taking the time. I hope to release vpype 1.13 with this fix in the first half of next week. |
Having a really strange issue with a clean install of vsketch (installed using pipx as per install instructions)
I run
vsk run examples/schotter
and the window opens but the main display error is unusable and glitching out.I'm using Ubuntu 22.10. OpenGL messages are mentioned in the traceback. I'm using Blender on this machine with no problems.
The following output appears on the console:
The text was updated successfully, but these errors were encountered: