Home Creators Posts Import Register Favorites Logout

Content

I used to use openscad and cura in the linux section of my chromebook, but they have both stopped responding to mouse clicks. Is there anything obvious I should check?
I've removed and then reinstalled the Linux environment and reloaded the software with no luck.

Comments

Adam Boutcher

As a Linux geek weird stuff always happens.... However if it's not working after a reinstall, then it might be the Chromebook side of things, I'm not a Chromebook users so this is purely a guess. Do other applications within Linux work?

Devon Winrick

Run it from terminal and see if there are any errors

random🐧

If I remember correctly, this is an integrated debian env. Any updates recently? If not, did you try to update it? Could be a weird interaction between wayland/X, for example.

Big Clive

I've only got two Linux applications and neither is working right.

Elias 🐧

I have never used chromeos, but I found a Reddit suggesting this could help: >there is a fix in the hidden features area. these are experimental so they can break your chromebook, cause nuclear war or just plain ruin your day. go to chrome://flags the one you want to turn on is mouse retention in linux. Source: https://www.reddit.com/r/Crostini/s/ySJ1yNWpZC

Big Clive

Running cua directly from the terminal yields this:- bigclive1@penguin:~$ ./UltiMaker-Cura-5.6.0-linux-X64.AppImage PyInstaller/loader/pyimod02_importers.py:352: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor. Cyclic dependency detected between "file:///tmp/.mount_UltiMacJhC2X/share/cura/resources/qml/Actions.qml" and "file:///tmp/.mount_UltiMacJhC2X/share/cura/resources/qml/Actions.qml" qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor.

random🐧

Can you try running your apps with "QT_QPA_PLATFORM=xcb command" from the terminal (without the quotes)? For example: QT_QPA_PLATFORM=xcb openscad

random🐧

Yep, that sounds like you are using the wayland backend. Try the command from my comment above with the env var infront.

nowt

Sorry i've been reading this for a bit and think this might be a place to reply - yes have you run "sudo apt update" and "sudo apt upgrade"?

Chris Wiley

It's probably not helpful, but I did successfully install and run both Cura and OpenSCAD on my Fedora PC running Gnome under Wayland.

Peter Larsen

@bigclive I have nothing but Linux - I'm a big OpenSCad user myself although lately I've found that some models are easier to create visually (perhaps my mathskills are lacking) so it's been a few since I last created something new with OpenSCad. Linux has a long history and the resistance to change in the community is oddly very large. It's ok for others to change, but change a 30+ year old tech like X11 is meet with a ton of resistance and refusal to "modernize" - and unfortunately OpenSCad is among those projects that want to pretend the graphical world is the same as it was 40 years ago (X11 was first released in June of 1984). It's served Unix and Linux well but time has not been nice to the project which is a pyramid of patches on patches to attempt to make it work well on modern hardware. Wayland was created from scratch to attempt to fix that - but that too has taken a long time, and there were specific choices made to not make it compatible with how X11 works - for instance security (we used to change eachother's background images and window colors from our own terminal because "we could"). And as more and more "nasty" software is created that tries to work around every speedbump to take over your PC or just annoy you, applications are not allowed the same freedom as they were in X11. This means SOME applications are harder to convert - where as others is a breeze. Hard always makes projects resist - and OpenSCad is one of those. I don't know they'll ever fix it - we've lost quite a few old but cool utilities to updates like Wayland over time - and I'll definitely not like if OpenScad goes the same way. The good news is that @random provided an answer: To launch use QT_QPA_PLATFORM=xcb openscad On Fedora where I do most of my Linux this resolves the wayland crash that otherwise happen (your comment later makes it clear it's a wayland issue).

Keri Szafir

Possibly outdated OS trying to run modern apps that expect newer libraries. Try a different machine with a current Linux distribution like Mint, Debian or Ubuntu and a capable desktop environment - standard KDE Plasma should work fine here. Both openscad and cura are available in Debian's package system, that will take care of installing all the components these programs require to work.

random🐧

> It's probably not helpful, but I did successfully install and run both Cura and OpenSCAD on my Fedora PC running Gnome under Wayland. Yea this stuff runs on wayland no problem, but I'm not sure how chromeos and the debian env is handling the wayland integration. Stuff could be years old.

Big Clive

I've done sudo apt update, but not upgrade. I'll try that.

Peter Larsen

I'll give my Chromebook a try - it's graphics capabilities are not something I typically want to expose to 3D rendering but it should work. It does work on "real" Linux if you follow @random's suggestion.

Big Clive

It appears that enabling GPU Crostini support may have fixed the issue. Cura still crashes when trying to use its menu to open a file, but dragging and dropping the STL file in does work.

George Dorn

Apparently this is a Crostini issue, not a Linux issue. Crostini is the VM that linux applications run in, and it smells like it isn't passing mouse events into the VM correctly. Google sez reboot, then some more steps here: https://support.google.com/chromebook/answer/9145439?hl=en This could be related to the "pointer lock" feature they added a while back. Or just one of the many layers of hacking needed to pass mouse events into the VM (which isn't aware of a mouse at all) broke down and didn't restart correctly.

J-bone

I use Cura on cachyos and its a bit slow at times but works as it should.

Devon Winrick

When you login, there might be an option to use x11 instead of Wayland. Probably you switched to Wayland in an update?

Dennis

ChromeOS? If you only have 2 applications installed, just perform the factory reset. It's usually quite quick to reinstall from scratch. Just log in and let the OS rebuild/install and then put the 2 apps back on. It's a lot quicker than wasting time finding solutions / work arounds. Also it's food to do this once in a while.

NN Thomas

Have you tried installing the Windows version on Wine. In case you're not familiar Wine is an interface that runs many Windows programs on many versions of Linux. I used it to install Bambu Studio on Ubuntu Linux.

horrovac

This does not look like a Linux issue at all, rather something to do with the virtual machine or environment. It's more an issue for ChromeOS geeks than for Linux one. I'd bet something with the mouse passthrough has stopped working, for whatever reason. Difficult to tell as I use Arch, not Ubuntu. You could try (within a Linux shell) running "xinput" and looking for the core pointer section, if there is one at all. If not, it just sees no mouse.

Belgrath

Chrome is the ugliest way to run Linux apps. Also I'd look for older version of the apps that are package to run on X11/Xorg, as Wayland is still bugger city last I seen on Chrome

Charles

OpenSCAD for Windows on Wine running in the Linux container on ChromeOS? I think you may be a masochist...

Frank Zechert

This is related to a missing library on the system. The application tries to use a library to display the file-picker dialog. If the library does not exist, the application crashes. Since you are using an AppImage, I would expect everything that is need to be bundled inside the AppImage. But it seems not to be the case. There is an issue in the Cura Issue Tracker for that. Cura considers it fixed, but reports in the comment do not agree https://github.com/Ultimaker/Cura/issues/12266 There is a workaround. Start Cura with this command ./UltiMaker-Cura-5.6.0-linux-X64.AppImage -platformtheme gtk3 or if it does not help, with this env QT_QPA_PLATFORM=xcb ./UltiMaker-Cura-5.6.0-linux-X64.AppImage -platformtheme gtk3

NN Thomas

No not a masochist. I wasn't using a Chromebook. It was a Dell PC.