r/comfyui • u/Icy_Restaurant_8900 • Aug 12 '26
No workflow ComfyUI is better with Linux
Just got Linux Mint up and running and it’s much better than windows 11 for ComfyUI with RTX 5090 + 3090. For starting, Comfy launches to server ready in 10 seconds instead of 18 seconds on Windows VHDX ReFS dev drive. This is with 12 custom node packs. Linux is running on an 8 year old SATA SSD.
I was able to compile and run sage attn 3 in Linux which never worked in Win11. I’m going to try Multi-GPU next which is fundamentally broken in windows with the new comfy-kitchen.
Even with just sage 2.2++ FP8, im getting 35 second gen times for an 8-second 0.5MP 8-step turbo MiniMax H3 clip versus 40-42 seconds in windows. That includes 4 seconds for prompt enhancement with Gemma 4 12B running on lllama-server on the 3090.
Sage3 knocks another 2-4 seconds off the gen time too but slightly worse quality for motion. Using LACT to overclock both GPUs also contributes to the speed.
With spectrum plus sage3 at 8 steps, I can easily get below 30 seconds total gen time.
7
u/Silencio-Bruno-2026 Aug 12 '26
I've been tempted to switch (mostly to try a gaming distro), but it's such a hassle lol. Not sure why you couldn't get sage attention to work on windows though. Mine works great!
12
u/Ok_Contribution8157 Aug 12 '26
Fake news: it runs at the same speed on Linux and Windows for me. The only case where Linux is faster than Windows is when your ComfyUI isn’t running at max speed on Windows for some unknown reason.
RTX 5060 Ti: same speed on Windows and Linux (except LTX 2.3, which is 30s faster on Windows).
RTX 4000 Ada SFF: faster on Windows.
I’m using these two GPUs at the same time, and Windows handles this specific case (pro + consumer GPU) way better than Linux.
28
u/stimma Aug 12 '26
It's unreal how much worse the Windows experience is. I've been running ComfyUI for years with a simple git clone / pip install / go on Linux. I needed to fire it up on Windows to reproduce a bug yesterday for the first time in a while and it was a sea of issues debugging nvidia driver versions vs torch versions vs kernels. Plus the experience in the desktop app was super confusing and I hit multiple dead ends and confusing states on the way to a working install.
2
u/LucidFir Aug 12 '26
I was in shock. Sage attention installed in seconds... I was waiting for the catch.
Also it's definitely faster on Linux. When I was dual booting I saw 70% faster it/s on Linux.
No idea why spectrum isn't working for me
5
u/3deal Aug 12 '26
CK Attention (Better than Sage) is working on windows, you just have to unzip the portable version of ComfyUI and everything works.
And for sage, here is a script to install it on windows, you can do it in one click.
4
u/mbathrowaway256 Aug 12 '26
The one major issue is not being able to undervolt the GPU like in Windows with MSI Afterburner.
1
u/ganrocks007 Aug 12 '26
Please help with how to install Sage Attention on Linux Mint. I tried so many times but it does not work. RTX 3060 with 12 GB and 32 GB RAM.
1
u/FredSavageNSFW Aug 13 '26
My main issue with Linux + Comfy has been browser slowdowns that seem to accumulate over long sessions. I usually end up having to restart the browser (tested with both Firefox and Chrome). Could just be a problem specific to my distro, though
1
u/thesorehead Aug 13 '26
I switched Comfy from Linux back to Windows for convenience. My Linux install experience was a huge PITA: install some extra CUDA thing that then breaks and needs some extremely specific version of some wheel or toolkit or to be built from source which takes forever with no guarantee it'll work. I don't want to go through that again, so I only had one Comfy instance and couldn't really experiment.
If this was my job it would be different. But I don't have time to figure all that technical stuff out. Windows experience: download, unzip, double click. Want another instance? Unzip in new folder, double click.
I'd rather run Comfy on my daily driver in Linux. If only there was a similarly turnkey solution!
1
u/Icy-Employee Aug 13 '26
Should I expect improvements from a WSL and docker setup on windows or not really?
2
u/pennyfred Aug 12 '26
I had dual boot ssd between Ubuntu and Windows, found very little difference in actual rendering time on a 5090 with fp8 sage3 tbh.
2
u/gurilagarden Aug 12 '26
I fired up CachyOS a few months ago mostly out of curiosity to see how comfy runs and to check in with linux gaming. The gaming side was a little disappointing from a "turn-key" standpoint. Some games are "fine", some games, not so much. But, when I want to run any ai software, which is mostly comfy, I happily boot back into linux. It's just that much faster, more flexible, and more powerful, you can run bigger models, faster, without all the headaches. Whether you run it raw, or using docker containers, or miniconda, once you get your setup the way you like it, it's trivial to back it up, duplicate it, and run.
2
u/VenimK Aug 13 '26
https://github.com/VenimK/Wheels
5
u/CeFurkan Aug 12 '26
It is because NVIDIA not Windows
Simply NVIDIA driver is deliberately crippled on Windows for CUDA AND AI tasks
1
u/tankdoom Aug 12 '26
Agreed. I swapped to arch (I know, I know) two years ago and while I probably should have gone with a different distro, the ComfyUI experience in general has been so much simpler and faster. Additionally, experimental tools are incredibly simple to install.
1
u/jib_reddit Aug 12 '26
It is know.
Im jealous of even your 18 seconds startup time as it take min 4-5 mins to launch, but thats with about 300 custom node packs.
1
u/a_beautiful_rhind Aug 12 '26
I never even tried it on windows. I can simply connect to the linux machine with the GPUs.
1
u/EasternAverage8 Aug 12 '26
I really want to try Linux with comfyui portable but I have no idea what I'm doing lol
1
u/Acceptable-Owl-2070 Aug 12 '26
All AMD rig here, and CachyOS...and yeah once you get things up and running performace is very solid.
1
u/TechnologyGrouchy679 Aug 13 '26
yup
1
u/mgtowolf Aug 13 '26
Everything I am able to get running on my arch XFCE OS runs on linux better than windows. AI stuff, houdini and blender being the most obvious ones. Some of the things I use run like ass under wayland for some reason, houdini being the worse of the bunch. No idea why, just sticking with XFCE for the time being, don't got time to be troubleshooting stuff, especially when everything works great out of the box in XFCE.
0
u/cc_aa_tt_zz Aug 12 '26
using minimax with spectrum plus sage3 at 8 steps and 0.5MP .... better to use ltx 2.5 distilled at 1080p, just my two cents. minimax is great if you are a bit patient. If you want very fast render, you will have bad video ....at 480p. and so better to use ltx 2.5 distilled.
-10
u/smeg0r Aug 12 '26
LOL. u said Linux then said linux MINT.