I should’ve used it sooner rather than last year when they announced AI integration to Windows. Every peripheral I tried is just worked without needing to install drivers, and it works better and faster than on Windows, just like today when I tried to use my brother’s 3D printer expecting disappointment, but no, it just connected and was ready to print right away (I use Ultimaker Cura), whereas on my brother’s Windows computer I have to wait like 20 seconds; sometimes I have to disconnect and reconnect it again for it to see and ready to use. Lastly, for those who are wondering, I use Vanilla Arch (btw), and sorry for bad English.
Can anybody comment on their experience using Arduino and ESP with Linux? Especially does Linux handle COM ports better than Windows? There’s a seemingly immortal problem of COM ports becoming unusable until you go into Device Manager and uninstall them (again and again) - and if that doesn’t work, reboot Windows. I experience this less often now than say 5 or 6 years ago, and sometimes it’s my fault, but jeez.
Yes, com ports work way better than in windows. I’ve done a lot of embedded development on linux and it’s way more pleasant than in windows. One thing you do have to keep in mind is that access to com ports (USB and real) requires root access by default, but once you’ve set the udev rule up, it becomes accesible to normal users and/or group of users. After that, it works flawlessly. Android dev also works great and imo better than on win. Proprietary jtags may be an issue, but I’ve never actually had an unsolvable situation.
Thank you, that’s massively helpful! Pasting your comment into my ESP32 project notes so when I soon move to Linux I can remember to figure out the udev rule and jtags.
Running this command was the literally the only thing required for me to get access to the com ports. After that, everything worked perfectly.
sudo usermod -a -G dialout $USER
(note that $USER is part of the command - do not replace that with your actual username)
Pasting this right into my project doc. Thanks so much!
Same, programmed an arduino last week, that was all I had to do too
I’ve had wemos d1 boards from AliExpress show up as a brltty and the braille teletype driver grabs the device. Just something to look out for on some distros
That’s a bizarre glitch I never would have known to look for - thanks!
Yeah I’d rather deal with this than a blind persons gear not work
I regularily program Arduinos in Arduino IDE v2 (https://flathub.org/apps/cc.arduino.IDE2) and ESPs via the ESPHome web flasher and the esphome CLI tool.
Works flawlessly once you added yourself to the dialout group as mentioned by @StorageB@lemmy.one.
COM ports as handled by Windows is misery anyways. Linux definitely does it better
You might have issues with permissions for serial ports on some distros, but there are loads of easy to follow guides for that. Linux definitely handles them better than windows though. I never had issues where they just stop working like on Windows.
These kind of posts make me a little happy. I don’t know exactly why but it does.
Having used Linux on for 25 years or so and now hearing about people who switch from Windows and really enjoying the experience warms my heart a little
Me too, I’ve only used it for a year but every time I see a Linux appreciation post, it makes me happy and makes my day better
I switched last year and brought two computers and four servers along. Very well worth it :)
Yes. Yes it is.
I agree. Which distro?
Plain Arch
How do you have Cura installed?
You can get it on their official website
So you just used the AppImage. I seen to recall having issues with it, but that’s been awhile. I’ll have to give it another try. Are you using Wayland?
Yes I use the appimage package, I don’t have any issue with it on Wayland, or you can get it on the AUR, you might need to follow this procedure and wait a minute for Cura to detect the USB
I wish I could experience this pain free Linux I keep hearing about on this website. Programs constantly stutter and glitch out, and if the computer goes to sleep while running my Linux partition it absolutely will not wake up again. I know this is a skill issue, but I’ve already spent many hours troubleshooting this… I’ve tried several distros as well. Even the steam compatibility everyone raves about only seems to work for me if I don’t use wayland. I can say with certainty that the average person would be completely unwilling to deal with the experience I have had.
I have a few computers, and some (like my old thinkpads) work very reliably, while my modern desktop has some issues sometimes (e.g. i literally cannot get waking from sleep working, at all)
I think this “it just works” experience depends much on the hardware and software you use. But no matter what, in the long term, if you’re not willing to put in time and learn how stuff works, how to troubleshoot, how to check logs, use the terminal, etc. I think you’re going to have a bad time and be disappointed.
I’ve used Linux exclusively for the past 10 years, both at home and at work, and I wouldn’t advise anyone who wants a care-free “it just works” experience. Linux is not good at that, and I think anyone who claims it is does more harm than good.
Linux is good for tinkering, self-hosting stuff, connectivity and flexibility. Most people want their games to work, not this. For me, I love it and I use it for everything including sim racing and VR games.
I am more willing to learn things than the average user I’d say - I work in IT and answer incredibly stupid questions more or less daily. Also, im not a shell expert, but I definitely know my way around bash/zsh/cmd/PS, given the system. I have also been using Linux on and off for around 15 years as well - I had things work well in the past.
I’m guessing my custom built PC might be making things harder. The Nvidia card probably doesn’t help, but I feel like my MOBO is probably responsible for my sleep issues. Maybe I just need to try Pop again, I’m currently running NixOS which is my favourite OS in theory, but in practice configuration is a brute force guessing game.
I haven’t had as bad of an experience with Nvidia as people say - but ofc your mileage may vary depending on your compositor, the apps you use, the distro you use, etc.
I also experienced issues with my system completely freezing after waking up from sleep - for me the issue turned out to be due to bluetooth/wifi drivers, and with this workaround things work fine again: https://github.com/alimert-t/suspend-freeze-fix-for-mt7921e/tree/main
My card is mt7922 (found that out withlshw -C network
) but I guess it’s having the same issue, because after applying that fix it all works now.It was really annoying and it took me a while to find the issue, because if you just try to google it you find lots of people with lots of different issues, all manifesting in the same way.
If you’re lucky this is your issue too, and the fix above should do it. 🤞Thanks for inspiring me to search around GitHub - I managed to successfully resume from suspend after an hour or so (still doesn’t work in Wayland, but I’m making progress i guess).
Next up is addressing the weird horizontal tearing in all my games!
Use local LLM model, it will turbo charge your learning curve.
Tells you commands and will explain the errors. This is prime LLM domains IMHO since everytbing Linux is well documented online.
I have tried with many models online, presumably all of which are more robust than local. Will give it another shot soon
They deff. Local ain’t gonna be better. Did you not like the results from llms?
I’m guessing you’re on Nvidia system?, I never had a program glitching or crashing on me ever since I make the switch (I exclusively use Wayland and never touch X11 once), maybe a laptop specific issue just like I can’t get my fingerprint sensor to work on my machine, but luckily it’s not a deal breaker for me
Correct. But I’ve heard tons of people say Nvidia support is fine now, and that amd is still problematic. I have also tried Pop OS
Which distros have you tried? My experience was rough at first when I finally cut Windows out of my life a year ago. I’m on a ASRock B450M with a Ryzen 3600 and a 2070 Super. Started with Ubuntu > Mint > Debian > and finally settled on Pop_OS, and things have been rock solid. Most recently installed Cosmic desktop on another drive and even the 5th Alpha is playing Steam and Heroic games with few issues.
My personal experience has been frustrating each time. I’ve tried to switch over at least 3 times over the years, but I always gave up. This time, I installed Ubuntu and immediately had to spend 3 hours trying to get my Xbox controler dongle to work, but just couldn’t do it. Found a driver online that people said would work, it didn’t because it wasn’t properly signed, tried to sign it but the signing app just didn’t create the certificates needed. Gave up, I have Bluetooth so I’d live, though I’d rather use the dongle if I can.
I then immediately encounter another problem that couldn’t be fixed (for the life of me I can’t remember what it was exactly) and just gave up.
The previous time I tried it I remember that among other things, one of my main problems was the lack of clipboard history (which I use extremely often). I tried installing an app for it but all of them either didn’t work or didn’t work the way I want them to or I just didn’t like their look and feel.
I also hate the font rendering on Linux, it always looks blurry compared to Windows, and the double titlebars most apps have (e.g. Discord, at least on Ubuntu), I like my screen real-estate.
Welcome to the brotherhood.
I’ve been using Linux for almost 9 years now. Shit is never so smooth for me but I still love it.
The only device it has been smooth on has been my Thinkpad T530. Every other install I have has some annoying issue, usually small
xx30 ones are the best :)
Not surprising considering how well Linux support on Thinkpad laptop are.
I’ve had good luck with several Lenovo laptops. ThinkPads and IdeaPads. Everything but the fingerprint readers just works.
Everything but the fingerprint readers just works.
Good to know the struggle for the fingerprint reader wasn’t just me. I did “get it working” but it was extremely hacky and it wasn’t what I was after; I only wanted fingerprint for login, not additionally for sudo, but that’s not how it set up and I didn’t want to spend even more countless hours trying to fix that
Yep as an IdeaPad user, I can confirm that this is very true
I use Vanilla Arch (btw), and sorry for bad English.
Sure buddy… Is the “bad English” in this thread with us right now?
I laughed when I saw this. Like, it was a guy excited that his computer is working better, including with his printer. Maybe a teensy bit of punctuation I’d do differently, but whatever. It’s the Internet. Then suddenly “oh yeah sorry English isn’t my first language and I’m sure you can all see that”
Yeah, I assumed they just had a typo or two like we all do from tiem to time.
Your English is great, OP
Is the “bad English” in this thread
It’s in every thread right now.
I’ve been using it on and off since 1994. I still have a slackware dist on CD with the 1.1 kernel. I think Linux is great although I still prefer to use Windows, and Linux via WSL which is my optimal set up these days.
Most of my library just works under Linux.
Plus it is a pleasure to code under Linux.
Linux is awesome
& so are you ^🥁 1, 2, 3, 4… 🎸^
Aww, thank you
You would be suprised how cool Linux can get when you go deep down the rabbit hole, if you really want to go deep into Arch I reccomend trying a tiling window manager like Sway or Hyprland :3
(Btw these are the dotfiles I use: https://github.com/koeqaife/hyprland-material-you)
Without having read through your codebase, are you using someone else’s top bar, or did you write it yourself in ags?
I wasn’t satisfied with the performance of any bars I tried for X11 so I wrote my own custom one using the eww widget system. I’ve tried ags for a bit but I couldn’t even make an empty bar window that attaches itself to the top of the screen and spans the entire width of my single monitor. 😅 That part worked flawlessly in eww.
The Hyprland dev is enough to make sure I never use Hyprland
Ive yet to find a tiling Window manager that looks as good
Yeah, it does look great.
But in terms of tiling WMs, I have high hopes for Cosmic! It’s coming along really well (though not as pretty as Hyprland)
I came.
I saw.
I conquered.
I came again.
I… I… oops, sorry.
makes eye contact
shuts the curtains