linux

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

pan_troglodytes, in wayland, not even once

what’s up with this? I see this school of thought bandied around quite a bit recently. wayland… it’s a protocol. do they hate tcp/ip too? can they boycott that instead?

Yerbouti, in State of the Nvidia open source driver in late 2023?

Linux noob here. Why do people refuse to use the proprietary driver? I did not had any seriousl issue with my 2080ti on Nobara. I can game and edit videos with better performances than in windows with same pc

yum13241,

Often times it doesn’t install or they insist on using free software (read: free as in free speech)

EddyBot,

using external kerner driver (“out of tree”) come with caveats you need to take care of
typically most linux distros will do this completely transparent but certain usecases will be more complicated
espcially if you install packages outside of your linux distro repository like a newer kernel version or an older Virtual Box version

lemmyvore, (edited )

I’ve been using Linux for over 20 years and I don’t get it either. I don’t know why a vocal minority get so fixated on it. It’s not like it’s the only manufacturer with proprietary drivers. As long as the drivers work and are easy to install I don’t see a problem.

I’ve used ATI/AMD cards equally over the years and I’ve always ended up having more problems overall with them than with Nvidia cards & drivers. If I were inclined to generalize I could say that open source drivers are apparently lower quality, right? 🙂

But that would be just as silly as the other way around. I don’t think that open or closed drivers, in itself, automatically says anything about quality.

If closed source drivers really were a problem then Nvidia wouldn’t be used by 80% of Linux gamers.

Swiggles,

Try playing games like Cyberpunk. I dare you :)

You are lucky if you can play without a crash for even one minute with that card. I am not exaggerating. Something is seriously messed up with the 20XX series.

Also Wayland is still a mess for Nvidia cards overall which is becoming more and more important.

Yerbouti,

Weird. I’ve tried about 12 games, they all work perfectly. Only in one case, I had to switch to an x session. Wayland is super responsive, only some small visual glitch from time to time. Da vinci studio edits and render videos super fast.

Swiggles,

According to a ProtonDB user the specific crashes I am referring to have been finally fixed with 545.29.02. So two weeks ago for a 5 years old card. Good job Nvidia!

I would have loved having that earlier, because I threw mine out after all the frustration with Nvidia and I still doubt that it is fully working now.

Don’t get me wrong it’s great for others stuck with Nvidia hardware though. I would never ever recommend buying any Nvidia hardware for Linux though. The experience is miserable compared to AMD.

Yerbouti,

Guess I got lucky then. So far so good for me, but I’ll keep my fingers crossed, just in case.

wim,

I have had so many issues with Nvidia drivers, especially on laptops with Optimus. Black screens after booting, random breakage when updating, having to fuck around with OpenGL libraries all the time when you have integrated Intel graphics and Nvidia graphics on the same system. It’s just a pain for me on laptops.

Wouldn’t be such a big issue on a desktop, but I’ve had a work-provided workstation with an Nvidia and 99% of the time if something broke on that machine, it was because Nvidia wasn’t compatible with some updated kernel or libraries.

Intel and AMD have both provided us with a painless driver experience that just works out of the box all the time and is integrated in all the open source things (mainly the Linux kernel and the Mesa libraries for OpenGL & Vulkan). With Nvidia, you need to throw all that out and use their proprietary blobs for OpenGL and Vulkan.

Also, I just think Nvidia is a scumbag company, trying to force single-vendor proprietary solutions on the market by abusing their dominant position (pushing CUDA while refusing to implement any new OpenCL version for over a decade, so software vendors couldn’t just pick a competitive open alternative is one example, the original G-Sync is another). I prefer not to give them any money if I can help it.

interceder270,

I’ve had all those issues back in like 2014.

Nvidia Optimus has come a long way on Linux. Manjaro and Mint have utilities to enable it out of the box.

THAT SAID

We still have to prepend all programs we want to use the Nvidia GPU with prime-run. I’m not sure if mobile AMD users have to do the same, but this is legitimately annoying as hell this many years later and would actually be a good reason to pick AMD over Nvidia.

Sentau, (edited )

I’m not sure if mobile AMD users have to do the same

No we don’t. Mesa and the kernel automatically decide to use the dGPU for intensive tasks. It is only on rare ocassions that I have to use the DRI_PRIME=1 to force the use of the dGPU. It has been months since I last did it

interceder270,

Thanks. I’ve been curious about that.

Gonna start sharing it as another reason why I would choose AMD over Nvidia, in addition to the drivers being open source.

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

A few reasons:

  • There is a strong desire to see if there is secret sauce in the driver that makes their cards so darn performant. Could it be applied to other video drivers?
  • To audit for vulnerabilities and fix them.
  • To allow the driver to use some kernel internals that the kernel developers keep trying to wall proprietary drivers off from.
  • Ideology
  • Community might be able to hack it to work better with Wayland, since the Wayland team has no interest in extending any kind of support to proprietary driver driving GPU’s… despite x11 working just fine forever. … see Ideology.
Yerbouti,

Thanks, it does explain some things.

Pantherina,

Its a proprietary driver, which could be an insane security and privacy risk. Its a modification to your kernel, normal on Windows, but not on Linux. It basically makes Linuxes security model weak.

kuneho,
@kuneho@lemmy.world avatar

based only on the fact that it’s proprietary™®©?

Pantherina,

Yes pretty much.

TheOneCurly, (edited ) in Reading .mcn files?
@TheOneCurly@lemmy.theonecurly.page avatar

Doing this by hand is challenging but possible.

First you need a hex editor, not a text editor. xxd on linux will get you started but you might want something a little more user friendly.

Then look for a label for a value you know, xxd and other hex editors will show ascii text on the side. Hopefully you’ll be able to identify the value (in hexadecimal, probably 4 bytes but could be 1, 2, or 8 as well) somewhere before or after the label. You might have to get familiar with endianness, two’s compliment, and binary floating point before the numbers make sense.

Once you know how to read a value after a label you’ll need to find some label for the information you don’t know. If it isn’t displayed in the program it might not have a super readable label.

jackpot, in gamescope through the heroic launcher is WAY better than steam
@jackpot@lemmy.ml avatar

better than lutris?

Mair,
@Mair@lemmy.blahaj.zone avatar

it’s certainly more streamlined. I think ‘better’ is a more reletive term here. Certainly for non-problem games that will simply work under proton GE, it’s better.

atlasraven31,

I have more problems with proton GE than just proton. I use ProtonUp-QT to download GE.

Mair,
@Mair@lemmy.blahaj.zone avatar

Heroic launcher installs Wine-GE by default, so you don’t need protonup-qt

atlasraven31,

Cool. I will try it for games that need GE.

penquin,

It IS if you use kde. Lutris looked all messed up on kde for me. And having a 4k screen didn’t help much. Heroic looks sexy AF. I like it a lot.

rikonium, in Looking for a "couch laptop"

When you say “couch” my first thought is a recent-ish Celeron or Pentium Silver fanless laptop. Performance akin to a Core 2 Duo but no fan to get blocked sitting on the couch. Like the Latitude 3210(?)

Laptops that appeal to me are often bottom breathers so it’s one thing I miss from my old MB Air.

lemming741,

My couch laptop is an i5-5200u and it does great until you get more than 2 heavy browser tabs open.

LainOfTheWired, in Looking for a "couch laptop"
@LainOfTheWired@lemy.lol avatar

It’s not the thinnest thing ever, but I find my old ThinkPad X230 very light and easy to use for extended periods on my lap

Pantherina,

And its corebootable!

Spyder, in Looking for a "couch laptop"

I bought a used Lenovo ThinkPad X240 Laptop i5 | 8GB RAM | 500GB HDD | for 50$ as a couch laptop to run Linux / Python code. I can browse the internet and it’s light.

PropaGandalf, in Bcache is amazing!: Making HDD way faster!

Then wait for bcachefs to land in 6.7

malpingu,
@malpingu@lemmy.sdf.org avatar

BcacheFS is a very different animal from Bcache; it does not provide block device caching. See bcachefs.org/FAQ/

joyjoy, in help me port this simple extension to GNOME 45

FYI There’s an active fork that supports Gnome 45.

dysprosium,

Ah good. I couldn’t find any. But still, I’m wondering how to port extensions. I’ve got more, even some self-made.

joyjoy,

I would suggest looking at the GNOME developer guide.

kungen, in How to exclude SSH port from VPN so you can remote access while VPN is up

If you’re looking for more improvements, I’d recommend using a non-default SSH port and to include the destination IP in the rules.

luthis, (edited )

Ahead of you with the non-default port, I just didn’t use it in the example.

But for the destination IP, I won’t always be connecting remotely from the same one. Or am I misunderstanding what you mean?

kungen,

Aha, I think I misunderstood your situation then? I assumed you’re running these routing rules on your client machine, so you’re able to access your ssh server without it going over the VPN – not that your server is running a VPN active that blocks external connections…?

But if I didn’t misunderstand, I’d mean the (assumingly static) ssh server’s IP.

luthis,

No it’s the second one; server (home pc) is running ProtonVPN and there is a default route that makes all (ie ssh replies) traffic go through the VPN.

I added some clarification, but basically this sets up a port-based default route to the home router instead of the VPN, so that SSH etc works.

lily33, in Louvre: C++ library for building Wayland compositors.

There’s desperate need to a library that’s simpler to use than wlroots or smithay - but unless it supports more protocols (later shell, gamma control, session lock), I don’t think this is a real a alternative yet.

insomniac_lemon, (edited )
@insomniac_lemon@kbin.social avatar

I was thinking similar, though I'm also still on X with nVidia and XFCE and am in a weird way* with programming.

I have my own custom XFWM theme that is really minimal (12px title with 8px tall buttons with some being wider to compensate, somewhat outdated example) and I'd like to expand upon it (floating titles, inset window buttons, dynamic button width, media integration) but I've looked at examples and don't understand enough to even get just a rectangle for a titlebar (though X I assume for something basic, X would probably still be the easiest).

*= the only language that I'm interested in (due to it being easy in a style I like while still having performance/capability/flexibility etc) is not popular, and worse is I have lost a bit of hope/confidence in its future (as well as its bus factor reducing further because the person who made the package manager+installer and a book walked away) so I still haven't really done much with it.

LeFantome,

What programming language?

insomniac_lemon, (edited )
@insomniac_lemon@kbin.social avatar

Nim-lang. some code that I actually wrote using Raylib bindings (Naylib) (+what it's loading)

I've asked about this on the Fediverse once already and didn't get any responses.

Also note that bindings for Godot 4.X (or some other not-superheavy Linux-compatible engine that has an editor especially) are a big part of what I want, so some specifics that may work on paper otherwise might not fit the bill either. Also because polygonal art (meme made with 3.X, 4.0 eye animation, not-yet-in-4.X test of someone elses' PR)

LeFantome,

SWC has been out there for a long time. It came before Wlroots I think.

github.com/michaelforney/swc

ehopperdietzel,

I completely agree. I invest time in implementing protocols within the library, allowing it to handle many tasks autonomously, thus relieving developers from manually wiring everything themselves—without compromising flexibility oc. Regarding “later shell,” did you mean “layer shell”? Developers can certainly still implement protocols not included with Louvre on their own, but that’s not quite the intended approach.

Max_P, in Ubuntu 24.04 LTS Committing Fully To Netplan For Network Configuration
@Max_P@lemmy.max-p.me avatar

What is even the value of Netplan on… desktop? Most people just pick their WiFi in the menu in Gnome. That sounds like a lot of unnecessary complexity.

For servers, sure, it’s fairly nice. But, desktop? Why?

astraeus,
@astraeus@programming.dev avatar

24.04 LTS is a distribution intended primarily for servers, desktop is not the priority environment.

Max_P,
@Max_P@lemmy.max-p.me avatar

Netplan’s been the default since 20.04 on the server side and the article says it’s coming to the desktop release with 24.04.

GnomeComedy,

I think it was actually the default on 18.04 LTS as well.

astraeus,
@astraeus@programming.dev avatar

For Ubuntu 24.04 LTS, Canonical plans to polish the Netplan codebase and deliver a Netplan 1.0 release with API/ABI stability. They are also hoping other Linux distributions begin adopting Netplan. Debian so far has decided to go with Netplan for their nework stack on Debian Cloud images.

That’s probably the reason for pushing it to desktop builds.

vanderbilt,
@vanderbilt@beehaw.org avatar

For what it’s worth I didn’t even notice they changed it. Can’t be the end of the world but I’d like to hear what network admins opinion’s are.

Max_P,
@Max_P@lemmy.max-p.me avatar

If you’re just using DHCP, you won’t. What Netplan does is take a YAML input file and renders it as a systemd-networkd or NetworkManager configuration file. It’s a very quick and easy way to configure your network, and even have a try command that auto reverts in case you get kicked out of your SSH session.

It seems like what they’re doing for the desktop is hacking up NetworkManager so that it saves back its config as Netplan configs instead of regular NetworkManager configs. That’s the part I’m confused about, because NetworkManager is huge and Netplan doesn’t support close to every option. Their featuresets are wildly different. And last time I checked, the NetworkManager renderer was the least polished one, with the systemd-networkd one being close to a 1:1 match and more reliable.

It made a lot more sense when it was one way only. Two way sounds like an absolute mess.

MyNameIsRichard, in Overheating laptop, should I try a lighweight distro - which one?
@MyNameIsRichard@lemmy.ml avatar

Have you tried running themald?

LunchEnjoyer,
@LunchEnjoyer@lemmy.world avatar

No have not heard of this before, will try it asap

nossaquesapao,

Thermald is the way. I have a fanless pc that used to hit critical temperatures and restart quite often, but after using thermald and simple rules, it works fine now.

rah, in Should I install Linux on my smartphone?

I guess doing the same on my smartphone wouldn’t be too hard

Snigger

Omega_Jimes,

Computer is computer, and it works great. Phone is computer, so it should work great.

I understand this thought train, but yeah I had the same reaction as well.

lemmyvore, in cheapest new computer running linux <$500

You can probably pick up a decent desktop machine for $50 from your local ads and put the rest into upgrades and still have some money left over.

phx,

Yup, that or if buying new then check out older models that may be in clearance/sale. You don’t need something with a 4070 etc to run Linux, but you could potentially manage to find something with an older-gen video card and decent/upgradeable RAM. There should also be more easily found discussion over Linux compatibility

With laptops, also watch out for models with soldered-on RAM or low maximums, which can limit upgrades.

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