Rhino on Linux?

Hi All, it’s been a bit quiet around here. But I just wanted to report some problems and their solutions I had encountered using Rhino on Linux with Wine.

Somewhere along the way running Wine in the i3 windower on the X11 compositor in Linux, the ability to right-click on components in the Grasshopper canvas stopped working. Even hovering over a component wouldn’t bring up the information pop-up.

You may remember from prior posts that I also had an issue with the viewports not regenerating properly at the end of a command. This I could live with, as I found little workarounds. But the right click issue made Grasshopper basically impossible to use, and that’s where I do most of my work in Rhino.

This started happening over the summer. So before fixing it I had to get a big deadline out of the way. (I just submitted my Dossier for Promotion to Associate Professor with Tenure a couple weeks ago! So that’s off for peer review then six months of institutional tennis before I get word. Wish me luck, and back to the show…)

Once that was out of the way I made the switch to windower Sway, which runs on the more modern Wayland compositor. That immediately fixed the Grasshopper issues. But the viewport regeneration issue remained. So while getting something else up and running on Sway / Wayland I also had installed XWayland, which allows X11 programs to run inside Wayland.

And wouldn’t you know, now my Rhino is 100% fine.

So I can report - using Wine and Rhino 7, as long as you have Wayland and XWayland, everything should hopefully run smoothly. My experience says X11 has significant issues which impact the usability of Rhino / Wine, and while Wayland alone fixes some of those issues with regards to Grasshopper - for full functionality get Rhino, Wine, Wayland, and XWayland.

Wayland and proprietary NVidia drivers don’t like each other, but there are tutorials on how to still enable Wayland to run with an “unsupported” GPU.

This whole thing is EVEN more important now - I was helping a student on their laptop, and some brands now ship with a whole Co-Pilot KEY in between the right-hand modifiers, placed where there’s an odds-on chance you’ll accidentally hit it regularly. Not to mention you have to change registry values to disable it. The OS manufacturers’ Dark Patterns are invading hardware space, so every day I am more convinced that what we’re doing is important.

So - I hope my testimony here helps, and happy Linuxing everyone!

[EDITED TO ADD] And just now I went to my University-provided Microsoft 365 app online and the landing page has been changed to a Copilot chat window. I have no problem with “AI” - I use LLM’s daily to write shell scripts and ffmpeg commands. Heck I couldn’t have gotten Sway configured properly without it. So I’m certainly not a luddite. But boy are the tech giants REALLY trying to jam this stuff down our throats. We need independence and freedom from this every day more than the last with how pushy the mainline OS people have gotten, and this is yet more anecdotal proof.

12 Likes

Im busy shhh

Wishing you luck, Mac

Knowing that your resourcefulness and tenacity will carry the day!

yeah, X11 days have been numbered for a while now, sway should provide a smooth transition to wayland, which is what powers steamdeck, wsl, cars and most of the world, so it’s a safe bet for troubleshooting wine for rhino (wino :wine_glass::rhinoceros:)

good luck

project stargate amounts to 2% of USA’s GDP, there will be more from where that come from

2 Likes

Something that should be noted is that McNeel does not have to port Rhino to Linux themselves, they just have to help the community get Rhino running properly (or as well as is possible) in Proton/Wine/etc.

I am looking at Bottles is the best path forward, or even Steam support if McNeel was willing to accept whatever awful licensing is required for distribution on that platform (they seem fine with the Apple store).

I just started trying to get Rhino running under Linux, but am having issues with the license server in Bottles. Perhaps those of us trying to get Rhino running on Linux should have a specific thread where we can troubleshoot together?

5 Likes

You are very welcome to continue using this thread for such…
-wim

3 Likes

Earlier in this thread there has been work done in trying to get Rhino to run on Linux. It is a bit of a read, but posts from this year and probably previous year in this thread at least should be quite good, from @duanemclemore , @Winer and others.

This post has a bit of a link collection, might be useful Rhino on Linux? - #705 by Winer

5 Likes

don’t see an issue troubleshooting here, but for some very gory technical details we started a separate thread: Rhino on Linux - Technicalities

but then life happened and that work went on pause

is it an issue with licensing window showing up at all? if so, first thing I’d check that you have wine-gecko package installed - are you on an ubuntu/debian distribution?

as long as it works :sweat_smile:, plain wine may turn out to be easier when things don’t go according to plan…

2 Likes

I’m going to move my discussion over to that link, because I think there is a clear separation between people wanting this functionality (Rhino on Linux) and people who have some time/energy to throw at obtaining this functionality. For the majority of users we need to be able to just provide a script that they can run alongside a Rhino install checkpoint to get Rhino 8 running under Linux.

6 Likes

Hello everyone. Long time lurker, first time poster.

After keeping an eye on this thread for a few years now, I’ve finally got my install to work.

I got Rhino 8 functioning on my Lenovo laptop, running CachyOS and WinBoat.

Previously I’ve tried wine (toggled every setting with very limited success, youtube and this thread helped massively), bottles (never got that to work), and VM’s (highly unreliable and slow as the Dickens).

I followed this video by SomeOrdinaryGamers and it worked first shot. Now I haven’t tried every single feature, but all of the straight forward and basic operations that I tested worked, and it has really straight forward passthroughs for file access.

I can now kill my windows11 install and flush it down the toilet never to be seen again (except for select games, but whatever).

Image attached for proof.

9 Likes

Hi I just wanted to point out that winboat is a virtualisation by means of docker containers, at least this is what it says on there website.So it is actually running in a VM.

But if it works it works!

2 Likes

Correct, from the “How Does It Work?” section:

WinBoat is an Electron app which allows you to run Windows apps on Linux using a containerized approach. Windows runs as a VM inside a Docker container, we communicate with it using the WinBoat Guest Server to retrieve data we need from Windows. For compositing applications as native OS-level windows, we use FreeRDP together with Windows’s RemoteApp protocol.

It probably depends on what virtual machine approach you take.

I prefer the virtual machine approach (QEMU/KVM) with the looking glass client. This means pretty much native draw speeds.

This also means not needing your old Windows install - you just need one in your virtual machine. Just the same as you have with WinBoat.

I’ve posted a couple of videos, let me link them again here, since this is a long thread and it may be hard to find quickly :wink:

the first video

and another with 3 Rhino instances doing heavy (raytracing) work.

(Note the wobbly Linux windows for added productivity boost)

6 Likes

Sam, that’s seriously impressive, congratulations on getting Rhino 8 up and running on CachyOS with WinBoat. That’s quite an achievement, especially considering how tricky virtualisation setups can be. I’m genuinely curious, did you also try running Grasshopper with it, maybe even testing a few plugins to see how they behave? I’d definitely be interested in giving it a go myself, even if it’s running through a container, just for the joy of removing Windows from the equation entirely.

Now, imagine this for a moment, NVIDIA DGX Spark, an AI powerhouse packed with a Grace Blackwell Superchip that can handle models with up to 200 billion parameters, 128 GB of Coherent Unified System Memory, running smoothly on Ubuntu Linux. Then picture adding Rhino and Grasshopper into the mix. At that point, we might just push Rhino Compute aside and run everything straight from home.

That would open a whole new level of creative freedom for computational design, letting us explore parametric workflows without needing to wait an eternity every time we move a slider.

Honestly, I love seeing these kinds of breakthroughs from the community. It shows how innovation keeps pushing past old limitations. Maybe we’re getting closer to the day when Linux truly becomes the designer’s playground, not just for coding or servers but for serious creative design work too.

Count me in for trying your setup, Sam, it sounds like an adventure worth having.

3 Likes

I’ve seen this mentioned, but I’ve never tried it before. I maybe should have looked into it before :sweat_smile:. I know VM’s can be straight forward once you get them tuned up properly, but my history with them has been spotty, like doing the same thing twice and different results happen. Probably just a me thing.

The pretty wrapper helps for me :sweat_smile:

I’m going to have to give this a go now

I haven’t tried grasshopper yet, just some regular commands. Boltgen seems to work pretty okay but I don’t use a huge amount of plugins. A lot of my work uses the basic commands applied in normal ways, then tweaking camera/render/material settings to get what I want.

That would be pretty cool, but also very resource intensive. I could see putting in a basic prompt and getting something really weird/cool out the other side with a massive power bill :melting_face:

Give it a go, I strongly recommend it to play around with. I’ve tried it before with Mint, but things just kind of break or I don’t understand the greater system as a whole well enough to know what I’m doing so I end up breaking it, then calling software friends to help me.

Please how do you achieve good graphics performance and avoid lag? You are not passing through a GPU, are you? Does that “RTX 6000 Ada Generation” card support virtualization (so that it is used by both the Linux host as well as Windows VM)?


Or they could talk to someone who knows their fair share about developing Wine and the whole SW stack.

1 Like

I saw your post on the VM with a deticated gpu for the VM. Since not all of us have the luxury, have you had any chance looking into single gpu passthrough?

That is with PCI pass-through.

I have not, but I would not be surprised if you could do so with a fairly cheap extra card. But Rhino could still be quite usable without dedicated GPU support in a VM.

I can confirm the WinBoat approach works for me, and performance is beyond expectations.

I’m running Rhino 8 (latest version) with Grasshopper on a virtual machine (Win 10) with only 4GB ram for the VM and 2 CPU cores, using a pretty old Intel laptop with only the integrated GPU.

Grasshopper is responsive and able to drive a rendered viewport with a reasonably complex project.

PersonallyI still really want to find a compatibility approach as a long term solution, but this will certainly work for now.

5 Likes

Thanks for this! Some combination of recent updates and probably changing too many things under the hood to try to force Rhino 8 into working broke my Rhino 7 via Wine installation. So I’m excited to see how a virtualized version without a full VM works. I still have that as a backup, but this could keep me in linuxland until the wine situation sorts itself out.

Has anyone else had a regression in functionality on new versions of wine? I’m on 10.17 staging…

do you have an image of the reasonably complex project?

and file size, grasshopper component count, rhino object count