linux

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

jelloeater85, in Laptop with long runtime
@jelloeater85@lemmy.world avatar

Got a old Dell Latitude 7490 runs for 5-7 hrs, quite cheap. Running Ubuntu with everything except the fingerprint reader working.

not_a_bot_i_swear,
@not_a_bot_i_swear@lemmy.world avatar

That is nor really a great runtime for me. I get that it’s different for everyone, though. I edited my original post.

jelloeater85,
@jelloeater85@lemmy.world avatar

Maybe look at getting a Mac M2? I’ve got one for work and the battery life is insane 😎

duncesplayed, in What's with all these hip filesystems and how are they different?

The principled “old” way of adding fancy features to your filesystem was through block-level technologies, like LVM and LUKS. Both of those are filesystem-agnostic, meaning you can use them with any filesystem. They just act as block devices, and you can put any filesystem on top of them.

You want to be able to dynamically grow and shrink partitions without moving them around? LVM has you covered! You want to do RAID? mdadm has you covered! You want to do encryption? LUKS has you covered? You want snapshotting? Uh, well…technically LVM can do that…it’s kind of awkward to manage, though.

Anyway, the point is, all of them can be mixed and matched in any configuration you want. You want a RAID6 where one device is encrypted split up into an ext4 and two XFS partitions where one of the XFS partitions is in RAID10 with another drive for some stupid reason? Do it up, man. Nothing stopping you.

For some reason (I’m actually not sure of the reason), this stagnated. Red Hat’s Strata project has tried to continue pushing in this direction, kind of, but in general, I guess developers just didn’t find this kind of work that sexy. I mentioned LVM can do snapshotting "kind of awkward"ly. Nobody’s done it in as sexy and easy way to do as the cool new COWs.

So, ZFS was an absolute bombshell when it landed in the mid 2000s. It did everything LVM did, but way way way better. It did everything mdadm did, but way way way better. It did everything XFS did, but way way way better. Okay it didn’t do LUKS stuff (yet), but that was promised to be coming. It was Copy-On-Write and B-tree-everywhere. It did everything that (almost) every other block-level and filesystem previously made had ever done, but better. It was just…the best. And it shit all over that block-layer stuff.

But…well…it needed a lot of RAM, and it was licensed in a way such that Linux couldn’t get it right away, and when it did get ZFS support, it wasn’t like native in-the-kernel kind of stuff that people were used to.

But it was so good that it inspired other people to copy it. They looked at ZFS and said “hey why don’t we throw away all this block-level layered stuff? Why don’t we just do every possible thing in one filesystem?”.

And so BtrFS was born. (I don’t know why it’s pronounced “butter” either).

And now we have bcachefs, too.

What’s the difference between them all? Honestly mostly licensing, developer energy, and maturity. ZFS has been around for ages and is the most mature. bcachefs is brand spanking new. BtrFS is in the middle. Technically speaking, all of them either do each other’s features or have each other’s features on their TODO list. LUKS in particular is still very commonly used because encryption is still missing in most (all?) of them, but will be done eventually.

OmnipotentEntity,
@OmnipotentEntity@beehaw.org avatar

ZFS has encryption now, dunno about the rest

DarkroomDoc, in Windows 11 scores dead last in gaming performance tests against 3 Linux gaming distros

Real question- I have a steam deck and am incredibly pleased with the playability. I also have a desktop with a newer nvidia card. Does Linux have support for DLSS yet? It make a huge difference in oerformance and honestly it’s the only thing holding me back

azvasKvklenko,

That depends which DLSS. In my testing DLSS 1 and 2 work fine in games that I tried, with recent Proton enabling it as well as ray tracing shouldnt require extra steps anymore (it was experimental and opt-in using environment variables). DLSS 3 with frame generation is known as no go yet and it’s unfortunately on NVIDIA to provide support for it as it’s very much locked down guarded proprietary stuff.

aiden,

It should support DLSS unless you have an older video card, which the drivers don’t work well with. I heard the newer Nvidia cards work better though. Of course, is all up to you whether you like it or not, so just try out Linux and see. If you don’t like it just reinstall Windows. Make a recovery Windows USB beforehand though, makes it easier to reinstall.

woelkchen,
@woelkchen@lemmy.world avatar

Linux and Nvidia don’t mix well, at least not until Nvidia’s official open source kernel module has been upstreamed to the Linux kernel which will take years.

Breakages, workarounds for breakages, etc. are common occurrences, especially when you want to use a modern desktop using Wayland.

candle_lighter,
@candle_lighter@lemmy.ml avatar

Other than being completely unable to run Wayland, secure boot, and being forced to use a propietary driver what kind of things are specifically wrong with Nvidia on Linux? Maybe it’s because I switched to Linux fairly recently but I haven’t noticed many Nvidia specific issues yet.

lolcatnip, in Laptop with long runtime

One rule of thumb I discovered when doing research about a year ago is that AMD chips are generally way better than Intel chips when it comes to power consumption.

cybersandwich, in Laptop with long runtime

system76.com/laptops/lemur

14 hours of battery life. Linux out of the box and even has coreboot if you care about that sort of thing.

bamboo,

Does anyone have one of these that could confirm if that’s realistic? I’ve seen many laptops with similar specs and claims that come out to significantly lower battery life unless you do nothing but stare at an empty desktop.

chris,

Yeah… unless they’re doing some serious optimization for that particular laptop, 14-hours seems like a best-case-scenario kind of thing.

bamboo,

The optimization might just be the rather large battery. Usually laptops with U-series processors have 40-60Eh batteries, the spec sheet shows a 73Wh battery in there.

cybersandwich, (edited )

Wired has a good review on it:

Where the Lemur Pro really shines is battery life. System76 claims 14 hours, and I managed 11 hours in our battery drain test (looping a 1080p video). In real-world use, I frequently eked out over 13 hours. That’s off the charts better than any other Linux laptop I’ve tested recently.

www.wired.com/review/system-76-lemur-pro-laptop/

If you aren’t interested in MacBooks, this imo is one of the best alternatives–especially if battery life is a high priority.

const_void, in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

We need more machines that support coreboot. These proprietary firmware vendors have been getting rich off making our machines worse for too long.

Manbart,
@Manbart@beehaw.org avatar

A flashed Chromebook is an accessible option

mrchromebox.tech

downdaemon,
@downdaemon@lemmy.ml avatar

i use coreboot but i’d prefer libreboot if a gaming level system with linux supported it. Are their any? I ask to the masses, not you specifically lol

Max_P, in Can someone explain user namespaces and risks to me? - Infosec.Pub
@Max_P@lemmy.max-p.me avatar

There’s historically been some privilege escalations, such as cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3…

But at the same time, they do offer increased security when they work correctly. It’s like saying we shouldn’t use virtualization anymore because historically some virtual devices have been exploitable in a way that you could escape the VM. Or lately, Spectre/Meltdown. Or a bit of an older one, Rowhammer.

Sometimes, security measures open a hole while closing many others. That’s how software works unfortunately, especially in something as complex as the Linux kernel.

Using namespaces and keeping your system up to date is the best you can do as a user. Or maybe add a layer of VM. But no solution is foolproof, if you really need that much security use multiple devices, ideally airgapped ones whenever possible.

Pantherina,

Thanks. But is not using user namespaces just as bad as having no isolation, or can bubblewrap-suid or even Browsers isolate anyways?

Because thats what makes me curious, does removing them for security make the system less secure?

rufus, in nvidia-535 and Debian

I think the easiest way is to take them from the ‘experimental’ branch of debian’s own repository. But read about the consequences of enabling experimental, first.

demonsword,
@demonsword@lemmy.world avatar

Quoting the Debian FAQ:“project/experimental/: This directory contains packages and tools which are still being developed, and are still in the alpha testing stage. Users shouldn’t be using packages from here, because they can be dangerous and harmful even for the most experienced people.”

that’s enough to scare me off

rufus, (edited )

Yeah, you’re right. If you absolutely need the latest NVidia drivers, you kind of have to choose between the devil and the deep blue sea. You can pull it from some random place on the internet, or use whatever script NVidia provides you with and do it under your own responsibility… Or use experimental, but it may be not be tested or be incompatible with your kernel version. Neither option is recommended. I’ve had some success with experimental. Debian have high standards and at least it’s packaged and tied into the distribution at all. But there is no guarantee. (I’m not sure if you can mix that with the stable version of Debian, though. I use Debian Testing…) (Their Backports are a better option for Debian Stable.)

Maybe somebody else has an idea, I don’t know any better way to do it. The proper way is to wait until it’s tested and becomes available in Debian.

I don’t know when that’s going to happen. It usually takes quite some time with Debian. Probably some more months. You can have a look at the Package tracker

pan_troglodytes, in Laptop with long runtime

bought a (used) t470 a few months ago, been happy with it - especially for the price.

haagch, in Laptop with long runtime

Not the most comfortable but if you get one with usb-c pd charging, there are quite a few powerbanks even with 100+ watt now.

bruhduh, in Laptop with long runtime
@bruhduh@lemmy.world avatar

Basically any laptop with AMD U series apu with big enough battery will suffice, just set up properly TLP programm after installation

radioactiveradio, (edited ) in What are the differences between linux distributions?

How much snap you have/need. Or the stability I guess, but in my experience that hasn’t been a problem yet.

gomp, (edited ) in Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

Just reinstall :)

Copying back the files to the right partition/directory works, but if you didn’t backup the owner and permissions for each file it’s gonna be a pain to restore those.

After reinstalling, you can compare your new system with your backup to see what changes/configs you had made

oneguynick, in Laptop with long runtime
@oneguynick@lemmy.world avatar

Lenovo x13s Arm setup with Linux is coming along and can hit those runtimes. Will be slower, but good enough for daily work

penquin, in Laptop with long runtime

And I’m out here ecstatic for getting 4 hours on my laptop 😂

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