There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Rant about Nvidia related updates on Linux

There are many reasons to dislike Nvidia on Linux. Here is a little thing that bugs me all the time, the updates. Normally the system updates would be quick and fast, but with the proprietary drivers of Nvidia involved, it gets quiet slow process. And I am not even talking about any other problem I encounter, just about the updates.

As an Archlinux based system user (EndeavourOS to be precise), I get new Kernel updates all the time. That means every time a new Kernel version is installed, the Nvidia driver DKMS has to be installed too. And that is basically the slowest part. But that's not too bad, even though it's doing this twice for each Kernel I have once.

What's more infuriating is, if you also happen to use Flatpaks for a very few applications. I really don't have many Flatpaks at all. Yet, the Nvidia drivers are installed in 7 versions or what?! And they are full downloads, each 340 MB or more. This takes ages and is the only part that takes long to update Flatpak system. I always do flatpak remove --unused to make sure nothing useless is present. /RANT (EDIT: Just typos corrected.)

uis ,
@uis@lemmy.world avatar

Thank you for not blaming maintainers who have no controlover nvidia idiocy.

Also why not mesa?

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@uis I didn't blame anyone particularly. I am just upset about the current situation as a Nvidia user. And it's a warning to anyone who thinks about getting a Nvidia card on Linux.

Not sure why Mesa. It does not have the proprietary driver in it, does it?

uis ,
@uis@lemmy.world avatar

It does not, that’s why I am suggesting it.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@uis Performance is the problem. I play games and there is no alternative to proprietary drivers.

uis ,
@uis@lemmy.world avatar

What card you are using?

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@uis GTX 1070. The new open source driver from Nvidia does not support the 10x series, if your question should lead to that. But does not matter, because yesterday all PC parts of my new build has arrived and I will set it up this weekend. AMD+AMD now. Finally done with these Nvidia frustration.

uis ,
@uis@lemmy.world avatar

nouveau.freedesktop.org/FeatureMatrix.html says 1070 works fine, but without reclocking(on minimal speed). All thanks to nvidia DRM. And here DRM is not Direct Rendering Manager.

I will set it up this weekend. AMD+AMD now. Finally done with these Nvidia frustration.

Congrats!

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@uis I know about nouveau which is community developed. This is what I meant with the performance. It's not near on the same level as the proprietary. For gaming, this is not an option. But I thank you for the suggestions you made.

The best benchmarks I found is for the 20xx series, but look at the results to understand how big the difference is: https://www.phoronix.com/review/opensource-turing-3d/2

Dota 2:

  • Noveau gets 7 fps
  • Proprietary gets over 100 fps

That's the level of difference we speak about.

Doomguy1364 ,

You can manually remove all of the previous drivers and their GL32 counterparts, your flatpaks will still run as long as you have the newest drivers.

I’m not sure why they don’t get caught by the --unused flag, but they are definitely not needed from the flatpaks I’ve tested with.

gataloca ,

If you have several kernels you might want to disable the fallback kernels. You do so in the .preset files in /etc/mkinitcpio.d/

But yeah this is the downside of using flatpaks. That’s why I think it’s better to avoid flatpaks and other similar sandbox environments. I know the Linux community are desperate for the increased stability and supposed benefits to security but you’re paying the price in worse performance and high disk usage.

skulbuny ,
@skulbuny@sh.itjust.works avatar

I switched from a 3070 to an Rx 7900XT on Sunday. Uninstalling all of nvidia shit was great. I used linux-zen so that meant using nvidia-dkms. So happy I don’t have to deal with that anymore. And yeah, I use a lot of flatpaks, so removing all of those nvidia drivers was also a great feeling. And now I can use Wayland!

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@skulbuny I do not use zen and get the dkms. But honestly, the twice-dkms installation (one for each Kernel) isn't too bad. The real issue for me is with Flatpak. I'm currently in the process of choosing and building new PC. Wish I could afford 7900XT, but together with an entire PC building it gets too expensive for me. Looking forward to AMD!

hellvolution ,
@hellvolution@lemmygrad.ml avatar

Im not a PhD on Arch, but, why are you using Flatpak to install a driver that is available at AUR??? When it comes to drivers, try to stick to your distro ones, unless you really know what you are doing!

ozymandias117 ,

That’s how Flatpak works…

Flatpak applications will use the graphics library installed from Flatpak

If you have an nVidia card, you’ll need the nVidia Flatpaks to run applications

If you have Intel/AMD, you’ll get a Mesa Flatpak

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@hellvolution I do not install the driver in Flatpak, it does it automatically. Each application can depend on specific driver versions I guess and that is how it ends up installing multiple versions. That makes it quite robust to be honest, because if a new driver version sucks the application can just request to use an older version in example.

Before accusing people not knowing what they are doing, maybe you should learn about the technology you talk about. There are reasons why to use Flatpak over native Arch packages. One reason is in example I have installed kdenlive, but do not want the entire KDE suite, services and applications installed and running on my system as well.

hellvolution ,
@hellvolution@lemmygrad.ml avatar

Yeah, so you’re telling me you don’t want the entire idea suite installed (which can be reduced by installing only the plasma version), but you are ok having 500 different Nvidia drivers, which are at least 350MB each… grats! Continue to use flatpak!!! 😂🤣😂🤣😂😂

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@hellvolution I don't know what you are hallucinating, but my post was ranting about the Nvidia drivers. I did not choose to install all of them, they are installed and maintained automatically in Flatpak. But I chose not to install the KDE suite on my native system, because that always causes pain with other suites and installations. That's the good part of Flatpak. There are a few reasons to use Flatpak.

But the Nvidia driver situation in Flatpak is ridiculous! But you know what, that does not matter anymore, because today my new PC parts will arrive and I can build from scratch. AMD through and through!

worsedoughnut ,
@worsedoughnut@lemdro.id avatar

My exact solution to this on Endeavour was to just stop using flatpaks lol.

Literally everything I used from flathub was also either on the AUR or trivial to install manually from the host GitHub.

michaelrose ,

You have a bunch of duplicated stuff because flatpak is a piece of shit. With traditional packaging apps supporting your platform would get exactly one choice. Support the fucking version of nvidia that everyone else gets to or fuck off. In all likelihood all your shit would work work with the most recent release but because they have the option to be lazy fucks and make you download Nvidia 7 times this is your life now. Also if dkms takes appreciable time you either need to stop running Linux on a toaster or delete some of the 17 kernels you are hoarding for some reason. You need like 2 the one that you know works and the new one you just installed.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@michaelrose Thank you for your help. Much appreciated.

LeFantome ,

Wow

Herbstzeitlose ,

Gardotd, is that you?

michaelrose ,

I do not know who that is.

harrim4n ,
OsrsNeedsF2P ,

As an app developer, we provide the source, binaries, and a Flatpak, but we sure as hell aren’t going to help you debug the Nvidia drivers on some random distro if you don’t pick Flatpak.

michaelrose ,

Why would you need to? Apps might likely need functional drivers for your hardware to exist but most things aren’t going to directly relate to or depend on a particular version of the nvidia driver. If it does you might be a bad developer.

OsrsNeedsF2P ,

Well the main reason is we target a certain graphics API which Nvidia, AMD, and Intel all support, but driver updates do from time to time have regressions and we have to work with Mesa to fix them.

It’s also not just graphics. Our app depends on a certain library version as well, and if you don’t use Flatpak, that becomes an issue for some of our users to grab too.

ProtonBadger , (edited )

I have an alias I call "upd" that runs "yay ; flatpak update", I just run that, press Y at the first prompts and then let it run in the background while I do other work. It really doesn't matter at all how long it takes. I do have NVidia but generally I don't feel it takes very long as we don't get new kernels every day. You could use the linux-lts kernel for much more rare kernel updates.

It's a bit like bittorrents, I don't need them to download in 30sec, I start it and return to check on it whenever I think of it.

I have changed my opinion on flatpak btw, I really like that the apps are not spread all over my system but instead sandboxed neatly, have fewer dependency versioning issues and it's really easy to use.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@ProtonBadger The entire update process takes 20 minutes or so (never timed it), at least sometimes. I also had an alias before, but recently rewrote it as a script to do similar things, including pacman, yay, flatpak, rustup and a few other things. And from all of this stuff, most of the time its flatpak that inflates the update process time.

ProtonBadger , (edited )

That's abnormal, it shouldn't be like that. My flatpak rarely has updates (compared to Arch/yay) and they're quite fast, still less than a minute even if there's updates to the NV libs (I didn't time it). There must be some kind of particular issue? What's your setup?

Looking at it - I got flatseal, chrome, firefox, thunderbird, dropbox, steam, joplin, cryptomator, mesa, NV libs, gimp, discord, resynthesizer, libreoffice and some other bits on flatpak. It's on an SSD, Internet 150Mbps. Is it installation or download that's slow for you? With it being 20min I would guess there's a problem with the download speed from the server, routing issue to flathub, etc? Flatpak is not that much of a slog.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@ProtonBadger No, I have full download speed for my connection, so it's not download speed. Everything downloads at full speed. The issue is, that so many driver versions are downloaded and updated. Mind you, this is not with every update so many. My point is, the entire update process could be done very fast if it wasn't Nvidia requiring so many downloads and installation process. Everything else is done quickly.

elouboub ,
@elouboub@kbin.social avatar

Uses NVIDIA

Imaaaagine!

Seriously though, I feel for you. NVIDIA is shit and while you're dealing with this, I hope you know which vendor you'll not be giving money to in the future. Fuck NVIDIA.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@elouboub It's AMD. 100% sure. And the best part is, the situation with Nvidia is nowadays improved. So this is the current best case we have...

ProtonBadger ,

NVIDIA is shit

I would call that an exaggeration. It's not perfect sure, but it has finally improved a lot in the last year and it works for some. I had to get a new gaming laptop earlier this year and the only good option I could afford had an NV card. It was a great deal from Bestbuy certified open box, $500 off (I love those open box deals with 30day return).

It works well, I play Guildwars2 and BG3 flawlessly through XWayland+proton with great performance. Maybe it works well because I put it into Dedicated Nvidia mode, instead of using Optimus? (I never liked Optimus)

Sure it's not perfect, I get graphics glitches in KDE if bringing the laptop out of sleep, funny colors and a mouse with a funny trail, but I don't need to use sleep, I boot it in the morning and shut it down in the evening, it's no biggie for my use-case.

Sina , (edited )

I just switched from my 1060 3g to an rx580, because 3 gigs of vram is nothing on Linux. But good god, it’s so much better to use AMD on Linux. Nvidia has fixed a tremendous amount of crap over the past 3 months, pretty much all the major issues with Wayland, Prime displays etc are not history. Many of these were fixed literally just weeks ago, but as long as their driver has to be installed separately with a kernel module hook, it will never compare.

1984 ,
@1984@lemmy.today avatar

I was wondering what the fuss was about until I read flatpak. I don’t use those, no reason to on Arch since everything is in the AUR. But it was interesting to read.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@1984 Unfortunately not everything is in the AUR or I do not want to trust everyone on the AUR. And there are other reasons to use Flatpak over native packaging (including AUR):

  • kdenlive and Krita: I do not want to install the entire suite and dependencies of KDE.
  • bottles: The Flatpak version is the recommended one by the devs and the only supported one I think.
  • xemu: Yes it's also available on, but I do not know who the uploader and manager of this binary is. While the Flatpak version an official package is.
  • zeal: Same reason as xemu.

And that's basically it (ok there is Flatseal too... but that does not count to our discussion). Everything else is installed through native packaging. So there is not much reason to use Flatpak and I just started with it recently. But there are sometimes reasons for.

MaximumPower ,

Every major Linux dist has community repository, arch isn’t special. Arch users are like people doing CrossFit, dude No one cares if you use arch.

1984 ,
@1984@lemmy.today avatar

Oh that’s where you are wrong… Arch is actually really special. No other distro comes close to being so easy to install the latest version of software. I’ve run almost all major Debian based linuxes also and they are mostly frustrating in comparison.

You just can’t find the software you need, or you have to download it manually, meaning it’s not even updated by your package manager. People resort to flatpak and the likes just to be able to have the software they need since it’s not packaged in any other way.

Arch is just better and I highly recommend it.

MaximumPower ,

I’m not new to Linux, I know what arch is. And Debian isnt the only alternative to arch. Like I said every Major distribution has community repositories.

Ubuntu has packstall, Fedora rpm fusion, opensuse probably has some aswell, void has community repositories in xbps. And guess what they are all pretty up to date.

I’m not going to install a Linux distro based on the community repository, I’m not even running any of the major distro, because I don’t care what packages are available. I have a few programs that I run, and it’s not that hard to make other programs work, when you know what to do.

MyNameIsRichard ,
@MyNameIsRichard@lemmy.ml avatar

. No other distro comes close to being so easy to install the latest version of software

cough Tumbleweed

redcalcium ,

AUR is not the same as the community repository on other distros though. Community repositories on other distros contains pre-built packages supplied by community members, while AUR contains build scripts that let you download the source code directly from the vendor website, compile it into a package and install it in your system with a single command, so you’ll often get the bleeding edge version faster than most community repositories on other distros.

MaximumPower ,

Wrong again, xbps does this better than Pacman. Packtinstall works the same way, dude you have no Idea

redcalcium ,

What are you talking about? We’re talking about AUR, right? not Pacman?

MaximumPower ,

Bro, why do I even bother. makepkg is part of Pacman, you use pacman to install the package… Pacman is arch Linux package manager the same tool you use to install from aur.

redcalcium ,

That’s just the tool to build the packages. The AUR itself is a repository of user-submitted build scripts where anyone can signup and publish their pkgbuild scripts, totally incomparable with community repository on other distros which ship binary packages instead of build scripts. Pacstall is the closest of alternative, but they are not made by canonical (actually, who made them? Their privacy policy seems to by copy-pasted from a boilerplate unrelated with the actual service provided by pactstall) and aren’t shipped with the distro by default.

MaximumPower ,

You have no idea, what you are talking about. And it’s starting to become to cringe to keep going, you’re either a troll or clueless.

Aur is not supported by Arch Linux. It’s a community repository that has build scripts yes, but you have either one download the build scripts and use pacman to install them, two use a pacman wrapper like yaurt to fetch them and install them for you using guess what pacman!

Just because the tool isn’t supported by the distro doesn’t matter in this case, because they solve the same issue!! You are installing packages from a repository that the community oversees. Your case for arch Linux was installing the latest version of an application.

Have you even pulled your head out of arch linux ass and looked att xbps? No, because I’m starting to doubt if you would understand it, and there are other distros that offer the same thing.

You keep straw maning

_cnt0 ,
@_cnt0@lemmy.villa-straylight.social avatar

pkgsrc and *BSD entered the chat.

Don’t bother arguing with him. AUR is special because it is arch and arch is special and because he is using it and it has to be special!

redcalcium ,

Come on, when did I say AUR is special? I said AUR has different approach that other community repositories, and you somehow assume I’m an arch user? Why do discussion involving arch always devolve into combative arguments? Can’t we talk it out without assuming the other party is malicious?

redcalcium , (edited )

I was addressing the fact that AUR is a repository of build scripts that fetch and compile them, which make it very different than other community repository. An AUR entry could be not updated for months, but because it fetch a the source code directly from source, it often will fetch the latest version of the app regardless the when was the last time the build script itself updated, which is not the case on other binary community repo (which install whatever available in the repo instead of fetching directly from the apps’ maker).

You keep straw maning

You are the one that keep strawmanning to compare pacman with other package manager when I’m not talking about the package manager itself, but about the different approach of arch user repository. And no, I’m not actually an arch user anymore. I never even once say that pacman is good or even better than others, but you somehow assume that I say so.

Have you even pulled your head out of arch linux ass and looked att xbps?

Actually I haven’t heard about xbps or tried void linux yet, so thanks for mentioning it.

MaximumPower ,

Yeah no, most build scripts if they are worth their salt, will absolutely not pull the latest package from a given source. Because that is insane, 99% of the time they validate the download with a checksum, meaning that you have to update the checksum in the build script, or in the case of multiple downloads - multiple checksums.

Yes pacman is the underlying technology that enables aur to exist.

redcalcium ,

Those ideal build scripts would also get updated when the the source published a new version, but alas, being maintained by random users means the build scripts not updated in timely matter sometimes. In that situation, having another build scripts that say, pull git head, is often useful than none at all. It’s up to the users to evaluate and use whichever is appropriate for them.

MaximumPower ,

You are just guessing. No, they manually update those, because you need the checksum.

A tip never use any tool that downloads something without checking a checksum, because you have no idea if the source you are downloading is still the same, it could be anything.

radioactiveradio ,

Eyyy, i just updated all that too!

Sina ,

If you use the Zen kernel there is no reason to keep the regular one around.

MalReynolds ,
@MalReynolds@slrpnk.net avatar

I always did, saved my ass a couple of times when Zen broke.

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@Sina I have LTS and the newest one.

Destraight ,

I don’t get these kind of problems with windows

thingsiplay OP ,
@thingsiplay@kbin.social avatar

@Destraight Windows does not have Flatpak.

Destraight ,

Ok

Atemu ,
@Atemu@lemmy.ml avatar

That’s what you get when you build unstable kernel APIs. Meanwhile in sane land: docs.kernel.org/gpu/drm-uapi.html

skullgiver , (edited )
@skullgiver@popplesburger.hilciferous.nl avatar

deleted_by_author

  • Loading...
  • thingsiplay OP ,
    @thingsiplay@kbin.social avatar

    @skullgiver

    I doubt they’re all full downloads. Flatpak does a lot of deduplication.

    It downloads every single of them fully. Took 15 minute or so for all the packages or longer. This is going on since I started with Flatpak. The Nvidia drivers are not de-duplicated or partial downloads on my system.

    You can see it in your screenshot as well, >140MB downloads that are marked as completed even though only a few megabytes were actually fetched.

    That's not the one I am complaining. The drivers are the ones named as org.freedesktop.Platform.GL32.nvidia-xxx-xx-xx . These are the different driver versions of Nvidia and each of the 7 versions are 340 MB or more and are always downloaded fully. You can see each of them like 340,9 / 341,8 MB. What you was referring to is not what I am complaining. The extraction of the archives and installation is quick. Every other package is quick, only those take this long.

    but the sheer download size isn’t the problem in my experience. Not great, but not as terrible as it may seem.

    It isn't a hard problem, but very annoying. Not sure how fast internet access you have, I have under 7 MB/s. And only counting the Nvidida drivers through Flatpak alone is 2.3 GBytes. Imagine adding all the other updates in Flatpak, plus the system update of my OS itself and the DKMS. It adds up a lot.

    urbeker ,

    I suffered from this a few months ago as well. The space and bandwidth flatpak was taking for about 2 small cli applications was obscene. Like 30gb all because it had accumulated about 10 nvidia drivers. I found the issue on github and it was closed as intended behavior. I install alot of rust apps from source and updating them from source was faster and easier than updating flatpak just due to the overhead of maintain those drivers.

    That and the fact that every app has to be run through an alias or a. overly verbose command made me discount flatpak as a serious project. You can’t ignore UX to that extent and just rely on technical merits.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines