linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

pelya, in Call For Tegra U-Boot Testers

Are there any new phones or tablets using Tegra SoC? It seems like they are only used in car electronics

SuperSpruce, in Your favorite linux projects for weekend

Using Ubuntu as a daily driver, due to a class requiring some kind of Linux software (options were WSL, which gave me a weird error, VM, or full install).

Never have I tried to actually use desktop Linux as my primary work computer for more than a couple days.

fleet, in Your favorite linux projects for weekend

I have an old mini PC that I’m going to use with proxmox to share some of the load from my nas. Today I setup tailscale and for it working with unbound DNS so I can use my domain when connected.

It’s endless!

chaorace, in NixOS is better because...
@chaorace@lemmy.sdf.org avatar

You’ll understand when you’re older, son

wwwgem, (edited )
@wwwgem@lemmy.ml avatar

Or maybe I’m already too old for so much tech. But thanks for letting me think that I’m still a young boy ^^ Not helping with my question but pretty self satisfactory.

yogthos, in 13 Best Open Source ChatGPT Alternatives
@yogthos@lemmy.ml avatar

I’ve used GPT4All, and it’s one of the easier ones to get up and running I found. Everything just works out of the box.

fxdave, (edited ) in Your favorite linux projects for weekend

I made a home inventory management software, because I don’t have much space in my flat, so I track every single piece of the compressed pile of boxes; with qr codes on them.

It’s a very simple app but you should have a printer to print qr codes for the boxes.

The documentation lacks some detail, so ask anything about it, if you want to try it.

github.com/fxdave/DavidHomeVentory

EDIT: yeah I didn’t update the readme. The installation may not work. So tell me if you want to give it shot.

It looks like this in action btw:

https://lemmy.ml/pictrs/image/f5eb7803-3aba-4753-968f-599082558007.jpeg

Ludrol, (edited ) in Clipboard randomly clearing
@Ludrol@szmer.info avatar

Does your second clipboard work? Select text to copy, paste with middle click.

You coud try to install widget to see your clipboard history.

UnRelatedBurner,

it does, and it haven’t cleared since. Idk what’s going on, hope it was a one off thing.

savvywolf, in NixOS is better because...
@savvywolf@pawb.social avatar

I’m currently working on rebuilding a Debian web server that’s been around for 10 years and accrued configuration over that time in NixOS. It’s nice to have one single easy to understand file that fully defines the server and can be used to rebuild it if needed.

wwwgem,
@wwwgem@lemmy.ml avatar

I can see that from a server maintenance point of view. After having read so many great things about NixOS, I may have exaggerated my expectation and I may be the problem for being a user with too limited needs to get the full benefits of NixOS.

For me this single config file doesn’t save that much additional files and most of them would be files you configure only once during installation. Nonetheless I can see how “easier” it would be to save one file instead of 3 to reproduce your system and I can only imagine how much better it is from a server point of view.

cybersandwich,

You might be selling it a bit short. I am not a Nix user, but like you I’ve played around in a vm. The value proposition I see for “normal” users is when you end up tuning and configuring your system just the way you want it (everyone knows what I’m talking about–it happens over months or even years). In nix, you have to do those changes in the config so you can literally take that one file, plop it somewhere else and it’s your computer.

Likewise, I’ve been on this install of Pop for years and for several upgrade cycles. The amount of cruft; things I’ve installed and don’t use, config changes I made while following a tutorial then forgot about, manual tweaks for things that have been officially patched, etc. it would all be in a nix config for me to just… remove.

So I see that as the benefits of it.

That said, it definitely gives me vim vibes. Where the learning curve is pretty steep but once you master it, it’s close to tech Nirvana. Again, since I don’t use it I can’t say that for sure. Maybe one day I’ll have enough time to devote to it to really dive in. Right now, it’s frustrating to use because everything is harder and there aren’t many guides on how to do basic things like get dash-to-dock plugin working on popshell. Or even install and configure neovim. Ain’t nobody got time for that right now.

wwwgem, (edited )
@wwwgem@lemmy.ml avatar

Great feedback, thanks! I’ve appreciated being able to replicate my system in NixOS within only few hours. I found NixOS actually pretty easy to take a grasp on, though I still didn’t look at flakes in detail. You spot on the reason why I’m using Arch and a bunch of applications you can tweak to perfectly meet your own specific needs (neovim, neomutt, bspwm, rofi…).

I love spending time to config them and to learn new things. This is basically why I’m interested in NixOS as well. Being entirely satisfied with Arch and not being a distro hopper, the fact that I installed NixOS means a lot to me but now I need tangible reasons to fully move to it. Maybe time will help me in my decision.

All the great feedback in response to this post so far confirm how great NixOS is and I had no doubt about that. I may realize what it can bring me after some weeks of serious use. Thanks again for the time spent to write your feedback, very much appreciated

gnuplusmatt, in Why I'm done with Nobara Linux: A Breakup Story with a Tech Twist

I thought you were going to talk about rebasing between different OStree branches without reinstalling. Would have been more interesting than this, and a feature many people overlook of Fedoras atomic distros

dinckelman, in NixOS is better because...

The appeal of it, to me, is the same as why Docker containers are really good. You write your definition, save it to git, for example, and if you ever need to setup your computer from scratch, if you restore that config, it’ll setup your computer exactly like it was before. But even besides that, being able to roll back if something goes wrong, is a big plus

wwwgem,
@wwwgem@lemmy.ml avatar

That’s what I keep reading and why I would like to give it a try. For now I’m still confused how this is easier/more efficient than sharing your list of packages, restoring a backup, or using downgrade in Arch. I’m really interested because I like to try new stuff, especially if they bring something of interest.

I really have hard time to see the difference for now after my first setup in a VM but also because imaging my full Arch system on a new machine 2 years ago only took me an hour and less than 10 command lines.

Again, I’m genuinely trying to understand what I’m missing. From my reading NixOS seems to be the only distro I could switch to.

BCsven,

my thoughts which may have inaccuracies: in NiXOS The package declares the exact version of dependencies needed. when you update nixos it takes up quite a bit of space because you may have some links to one library but another app uses something else and both are stored on drive, and your old install is still there to roll back to. On other distros a package lists dependencies, but during updates a single dependency may have a bug fix point release, and upRev. so the behaviour of that app you added may change depending on all it subparts changing. So when you install non nix today or 6 months that package also determines how it may function. if Dependencies updated in the meantime your install may act different. NiX prevents this since you have a repeatable install.

wwwgem,
@wwwgem@lemmy.ml avatar

Thanks for taking time to share this detailed thought. That’s an interesting point I forgot because I didn’t experience any related issues over 15 years with Arch but that’s still a nice approach. I can certainly see why this is a big plus for NixOS.

BCsven,

I haven’t had issues with my OpenSUSE Leap install in 7 years either, there is careful curating, and automated QA testing, and roll back snapshotting if you break something while messing about. But I have a NixOS machine also. It provides a nice way of configuring a repeatble system, which is probably a huge bebefit for folks making / deploying linux devices that are 100% repeatable.

wwwgem, (edited )
@wwwgem@lemmy.ml avatar

Right, I totally agree. If I would have to deploy my config on several machines or create dedicated config using a common base then I would have been convinced. I’m still not convinced from a dummy single user point of view but I still believe in this distro and like its approach so I’ll continue experimenting with it and we’ll see where my journey leads me.

At least for now I’m glad to have a new toy I can mess up with. With my Arch system I was getting this weird feeling where I was happy to have an efficient and stable machine while at the same time being bored to have nothing to test/tweak/destroy and rebuild. I mean I love to learn and discover new things so I experiment a bunch of applications and parameters I will never need anyway but it becomes harder and harder to find something that keeps me entertained for more than a day.

BCsven,

I hear you. My openSUSE Leap has been so stable that I got bored with nothing to tweak. Their MicroOS has an immutable system with config file setup capability, and sombody built this for it to make config file creation simple opensuse.github.io/fuel-ignition/editso that was fun for a while. But NixOS was a nice distraction also

sashanoraa,

Because your Nix config also configures your software, not just installs it. Admittedly, with base NixOS that’s more true with server software than desktop. But with the addition of home manager you can also configure many desktop apps in your Nix config.

wwwgem,
@wwwgem@lemmy.ml avatar

Thank you for this addition. I very much appreciate the fediverse community who is helping people to understand things, share their knowledge, and acting nicely (if we exclude some rare people who are clearly not used to live within a sane community). I’ve seen home manager but this raised one more question to me: what’s the added value compared to stow for example? Thanks again for sharing your thoughts.

sashanoraa,

I’ve never used stow so I can’t speak to it specifically. Home manager is nice for two reasons. If you’re already using NixOS you can have one unified config for your whole system. And because Nix is a programming language generation these configs, you may be able to do thing you wouldn’t otherwise. It also has some nice defaults that you may not get without.

wwwgem,
@wwwgem@lemmy.ml avatar

Due to the still early development of NixOS, Home manager is in some ways very similar to nix-env and flakes is still highly experimental. Also, the configuration parameters are changing quite significantly with the distro development. I’m sure this will all settle down when the distro will become more mature but to be honest that’s also what attracts me. I like chaos ^^ Seriously, this shows me some potential for great achievements. I will continue testing NixOS but for now I didn’t find THE reason to leave Arch yet. If I would have to deploy my config on several machines or create dedicated config using a common base then I would have been convinced. Will see where my journey leads me.

Auli,

Sure but not everything can be defined in the Nix config. Firewalls have an issue, some options for packages are not implemented yet. For example systemd networkd doesn’t have all the features implemented.

sashanoraa,

NixOS in it’s current form does have it’s limitations but it’s ever improving. I personally have never had issues doing what I needed to firewall wise, but I’ve not done much of anything complex. Mostly just opening ports and a little port redirecting.

deafboy, (edited ) in Fedora 40 Looks To Ship AMD ROCm 6 For End-To-End Open-Source GPU Acceleration
@deafboy@lemmy.world avatar

If it means I won’t have to do a ritual dance under the full moon, facing towards finland, just to get it installed correctly, I welcome my new gentleman overlords.

woelkchen, (edited )
@woelkchen@lemmy.world avatar

I never understood why AMD themselves don’t work in integration in Debian and Fedora. That way Ubuntu and RHEL would automatically inherit it. At worst it would be in Universe/EPEL.

StefanT, in The early days of Linux

Great article. Reminds me of the time when I started using Linux as my main work system, back with kernel 0.99z

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

Heh, same time for me. Ran great on my 486 with a Tseng card.

Secret300, in Fedora 40 Looks To Ship AMD ROCm 6 For End-To-End Open-Source GPU Acceleration

What is “end-to-end GPU Acceleration”? Like for playing back video? Or for rendering stuff like in blender

woelkchen,
@woelkchen@lemmy.world avatar

Any sort of computing done on the GPU. Not sure what they mean by “end-to-end”. Perhaps that users don’t have to mess with installers.

subtext,

I think end-to-end refers to the “open source”, not the GPU acceleration. I know GPUs have always been a black magic to get working and so you often have to use proprietary, closed-source blobs from the manufacturer to get them to work.

The revolution that this is bringing seems to be that all that black magic has been able to be implemented in open-source software.

Could be wrong though, that’s just how I interpreted the article.

AlmightySnoo,
@AlmightySnoo@lemmy.world avatar

Yup, it’s definitely about the “open-source” part. That’s in contrast with Nvidia’s ecosystem: CUDA and the drivers are proprietary, and the drivers’ EULA prohibit you from using your gaming GPU for datacenter uses.

AlmightySnoo, (edited ) in Fedora 40 Looks To Ship AMD ROCm 6 For End-To-End Open-Source GPU Acceleration
@AlmightySnoo@lemmy.world avatar

HIP is amazing. For everyone saying “nah it can’t be the same, CUDA rulez”, just try it, it works on NVidia GPUs too (there are basically macros and stuff that remap everything to CUDA API calls) so if you code for HIP you’re basically targetting at least two GPU vendors. ROCm is the only framework that allows me to do GPGPU programming in CUDA style on a thin laptop sporting an AMD APU while still enjoying 6 to 8 hours of battery life when I don’t do GPU stuff. With CUDA, in terms of mobility, the only choices you get are a beefy and expensive gaming laptop with a pathetic battery life and heating issues, or a light laptop + SSHing into a server with an NVidia GPU.

Molecular0079,

The problem with ROCm is that its very unstable and a ton of applications break on it. Darktable only renders half an image on my Radeon 680M laptop. HIP in Blender is also much slower than Optix. We’re still waiting on HIP-RT.

AlmightySnoo,
@AlmightySnoo@lemmy.world avatar

ROCm is that its very unstable

That’s true, but ROCm does get better very quickly. Before last summer it was impossible for me to compile and run HIP code on my laptop, and then after one magic update everything worked. I can’t speak for rendering as that’s not my field, but I’ve done plenty of computational code with HIP and the performance was really good.

But my point was more about coding in HIP, not really about using stuff other people made with HIP. If you write your code with HIP in mind from the start, the results are usually good and you get good intuition about the hardware differences (warps for instance are of size 32 on NVidia but can be 32 or 64 on AMD and that makes a difference if your code makes use of warp intrinsics). If however you just use AMD’s CUDA-to-HIP porting tool, then yeah chances are things won’t work on the first run and you need to refine by hand, starting with all the implicit assumptions you made about how the NVidia hardware works.

filister,

How is the situation with ROCm using consumer GPUs for AI/DL and pytorch? Is it usable or should I stick to NVIDIA? I am planning to buy a GPU in the next 2-3 months and so far I am thinking of getting either 7900XTX or the 4070 Ti Super, and wait to see how the reviews and the AMD pricing will progress.

AlmightySnoo, (edited )
@AlmightySnoo@lemmy.world avatar

Works out of the box on my laptop (the export below is to force ROCm to accept my APU since it’s not officially supported yet, but the 7900XTX should have official support):

https://lemmy.world/pictrs/image/18fc2c67-2486-4205-bfa1-bcc3df638bfd.png

Last year only compiling and running your own kernels with hipcc worked on this same laptop, the AMD devs are really doing god’s work here.

filister, (edited )

Anything that is still broken or works better on CUDA? It is really hard to get the whole picture on how things are on ROCm as the majority of people are not using it and in the past I did some tests and it wasn’t working well.

AlmightySnoo, (edited )
@AlmightySnoo@lemmy.world avatar

Hard to tell as it’s really dependent on your use. I’m mostly writing my own kernels (so, as if you’re doing CUDA basically), and doing “scientific ML” (SciML) stuff that doesn’t need anything beyond doing backprop on stuff with matrix multiplications and elementwise nonlinearities and some convolutions, and so far everything works. If you want some specific simple examples from computer vision: ResNet18 and VGG19 work fine.

SevereLow, in Ubuntu 24.04 LTS To Get 12 Years of Updates

That’s awesome! I wish more OS-es follow, especially Debian. Having support for an OS that can cover the whole perceived lifecycle of the hardware is something that was once (in the 2000s) the standard. This is something crucial for businesses, but it’s also great for home users.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #