the context is: the 470 legacy driver doesn’t compile on the linux 6.12 kernel. because of that, debian decided to officially drop support to that driver. i tried installing the driver myself using nvidia’s official installer, but the installation indeed fails during the module compilation stage.

this means i am stuck with nouveau. it got better since i last tested it on bookworm, but one major pain in the ass is that nouveau has no support for performance levels for my card and it runs at the lowest clock bc of that (~400 megahertz instead of its max ~900 mhz).

this causes a noticeable performance hit, even for desktop usage, but it’s good enough for work. waching full hd 60 fps video is a bit painful, but it’s possible. but gaming, which was possible, got way worse. even a lightweight game like celeste got frustrating to play due to stuttering.

i guess i’ll have to deal with it and maybe this is the cue to buy another graphics card and never buy nvidia again, but i’m thinking about what my options would be here:

  1. downgrade to bookworm. not easy to do, would only delay the problem.
  2. install an older kernel and use only that. not sure how, the official repos only have the 6.12 kernel. i could get the older kernel from the bookworm backports and pin it to prevent any updates, but mixing repos from different versions makes me uneasy.
  3. patch the driver. there are a few patches floating around that make nvidia’s driver compile on the 6.12 kernel. applying the patch by hand is annoying and i would have to re-apply it at every kernel update.
  4. cope.

any ideas?

  • Hagenman@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    13 hours ago

    Can your system handle a 970 or Radeon 5700XT? I have no idea if I’m breaking the rules by offering this, but they’re just sitting around and would be happy to send you one.

  • procapra@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    15 hours ago

    What I think you should do (the smart choice): Compile the newest lts that supports the driver.

    What I would do (the stupid choice): Frankenstein my debian install by adding a repo from somewhere else (probably sparkylinux) and pin it so nothing gets automatically pulled from that repo. Then install 6.6 from that repo. Its jank, its definitely not the recommended or supported way to do it, but I’m lazy and if I compile a kernel onto my system manually its 100% never getting updated ever.

  • Echedelle (she/her)@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    22 hours ago

    Please, to the people replying to this person and suggesting “just buy a new one”.

    Not everynyan has the money, and yes, even 30 dollars/euros/etc may be difficult to get for a person. Maybe low income, maybe no income, maybe inflation in the country, maybe that is not the real price in their zone, maybe no stores available easily.

    I understand that some of you have those options but understand that is a privilege too.

    edit: if you wanna still suggest that, I propose something better. If it is so cheap and accesible for you, why dont you buy it and give it to them for free?

    • procapra@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      15 hours ago

      Yeah this really pissed me off. People acting like this is a just a trivial purchase. Even $30 is alot for me sometimes and I live in the US, I can’t imagine how hard that must be to someone in Brazil.

    • beleza pura@lemmy.eco.brOP
      link
      fedilink
      arrow-up
      8
      ·
      18 hours ago

      i’m actually okay with hardware suggestions, but they tend to be useless since a $50 or 40€ graphics card normally translates to a R$900 one. a few factors contribute to this

      1. exchange rates. currently, 1USD ~= 5,5BRL
      2. purchasing power. the avg income of brazil is around ~$8500/yr. 1USD is way more money to us than it is to usians and euros
      3. taxes. based on exchange rates alone, $50 converts to around R$270, but most electronics in brazil are imported and are subject to heavy taxation. the “$50 video card” recommended to me by someone in the comments is sold online for R$870 at its cheapest.

      although i’m talking specifically about brazil, the same applies to any other emergent market (the rest of latam, india, etc).

      this is why hardware recommendations are rarely useful to us. i’m still open to them, though. once in a while something useful pops up.

      • Echedelle (she/her)@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        3
        ·
        15 hours ago

        I am aware too of the Brazil case, specially for imports, the taxes and the inflation.

        I have a friend there. I know that my options did not cover the difficulty of import and taxes because I tend to be general. I know that for GPUs and such, unless you want to pay the expensive pricing you have inside from people who scam locals (people who import laptops from US at 200 and sell at 800 as example), must be gotten from outside and such.

    • monovergent 🛠️@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      21 hours ago

      Absolutely. And in the case of laptops, there might be no way to upgrade the GPU. I’m keeping an eye on this since I have an otherwise perfectly good laptop that also needs an unsupported legacy nvidia driver.

  • SteveTech@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    24 hours ago

    The official driver already uses DKMS (at least in the newer drivers), so you should be able to patch the code in /usr/src/nvidia-470* and have it apply automatically every kernel update.

      • SteveTech@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 hours ago

        Not really, but once you’ve patched the driver, run dkms status and dkms build <id from status> (e.g. dkms build nvidia/580.76.05) to rebuild the driver for your current kernel.

        When you get it working, it’ll be a good idea to write a little guide here for other people to follow.

  • Eugenia@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    3
    ·
    1 day ago

    And that’s why I’d never buy an nvidia card laptop or PC. For my Debian PC that has a Xeon CPU (so it has no integrated gpu), I bought an Intel ARC GPU for $110. For what I do, which is video editing and encoding/decoding at 10bit 4:2:2 (which is what most modern cameras record as), it’s the best card on the planet. Better than nvidia and especially amd. Not so for gaming, of course. If your CPU is a 11th+ intel generation, and it comes with an intel gpu integrated, maybe you don’t need anything more than that. Just remove or don’t use the nvidia one completely. If you don’t have a gpu, get a cheap intel.

    • beleza pura@lemmy.eco.brOP
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      23 hours ago

      id usually avoid nvidia as well but sadly this was the cheapest option to me at the time

      If your CPU is a 11th+ intel generation

      it’s an amd fx 8300 🥲

      i should’ve told my pc is old

      • Eugenia@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        21 hours ago

        Then check if your PC/power supply can run an AMD or intel gpu. If not, upgrade your PC. You can get a BeeLink minipc for $180 that’s faster than your current computer.

          • Eugenia@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            17 hours ago

            You won’t. You will get crashes. This is a very old nvidia driver, which was barely working on x11, and not at all on wayland. Their newer drivers are more serious. You’d be best to upgrade your PC, not just an old amd card. I personally have found many bugs that DIDN;T exist 10 years ago on open source drivers. Basically, as the kernel evolves, and the old drivers become unmaintained, new bugs emerge. So it’s best to get something new, a new pc, and not try to make this old nvidia or old amd card to work. If you can spare $180, you’ll be in a much better shape.

            • beleza pura@lemmy.eco.brOP
              link
              fedilink
              arrow-up
              1
              ·
              15 hours ago

              that’s not my experience with it at all. on bookworm with the proprietary it worked pretty well (with only occasional crashes every other month). even now it works fine aside from the lower performance (and no suspend).

    • beleza pura@lemmy.eco.brOP
      link
      fedilink
      arrow-up
      4
      ·
      23 hours ago

      why do you need to use such an old driver version?

      old card. it’s a geforce gt 710, it’s only supported up to the 470 nvidia driver

      • unexposedhazard@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        22 hours ago

        Ooh i see. That was kinda missing from the post for me to understand it. Do you just not wanna spend any money or why keep that card? You could get a used AMD card that is 10-30 times as powerful for like 30-50€

        Im all for extending hardware lifetime as much as possible, but after 10 years i feel like its okay to upgrade.

        • beleza pura@lemmy.eco.brOP
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          18 hours ago

          You could get a used AMD card that is 10-30 times as powerful for like 30-50€

          i’m open to suggestions


          about the age of the card: i actually bought it new 2-3 years ago. it’s pretty common in emergent markets for cheapo cards to be shipped brand new with obsolete graphics chips. this isn’t a problem on windows, but then someone owning this card switches to linux and is hit with a massive performance loss bc of unsupported drivers. it sucks.

  • Echedelle (she/her)@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    24 hours ago

    Are you using xorg or wayland?

    If you use xorg do you have xserver-xorg-video-nouveau?

    do you have libdrm-nouveau2?

    do you have libgl1-mesa-dri?

    did you install firmware-nvidia-graphics? this is the firmware packages from NVIDIA to use it in Nouveau, should help you a lot.

      • Echedelle (she/her)@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        23 hours ago

        Okay but tell me what you use or I cannot help you.

        There has been changes and specifying every possible path is messy :c

        Also check if you installed or have firmware-nvidia-gsp (only if your GPU is post-Turing) in addition to what I asked before.

        • beleza pura@lemmy.eco.brOP
          link
          fedilink
          arrow-up
          2
          ·
          22 hours ago

          as i said, there’s no software problem in my setup. i’ve checked nouveau’s feature matrix for my card (a geforce gt 710) and it’s one of the best supported cards, but sadly performance levels are wip. that’s the main issue

          besides that, everything works fine

          • Echedelle (she/her)@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            22 hours ago

            The thing is, the firmware is needed for extra initialization in some cards even if the feature Matrix reports that is supported.

            And that is why I ask. Also some of the DRM packages are optional.

            So, yeah, I ask to be sure and as far as you dont want to disclose info, I cannot offer “any idea” because that is conditioned by the variables of the environment.

            Edit: removed part of the reply because I was frustrated. I am sorry.

            • beleza pura@lemmy.eco.brOP
              link
              fedilink
              arrow-up
              3
              ·
              18 hours ago

              i’m sorry if i sounded obtuse, it was not my intention. i could get the info you want later, but my point is that i am sure that the nouveau driver is configured correctly because 1) debian ensures graphics are working properly on desktop installations for a wide array of hardware configurations and 2) i made sure dri, mesa, the firmware and the x11 driver are all installed. i just wanted to say in my reply that going down that route of investigation isn’t worth our time because it would lead to nowhere and what i’m seeking help with is installing the proprietary driver

              still, i appreciate your willingness to help. i’ll check everything you mentioned when i get home just to make sure

    • beleza pura@lemmy.eco.brOP
      link
      fedilink
      arrow-up
      6
      ·
      23 hours ago

      yeah but then i remembered debian is the best distro on the planet

      (also, this problem isn’t exclusive to debian)

      • LiveLM@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        14 hours ago

        Are you OK buying used?
        Dunno what city you live in, but you can find some RX 570’s for 300~400ish on OLX. Maybe even cheaper on Facebook (🤮) Marketplace.

        But yeah, not exactly pocket change. Hardware prices suck ass here.

        • beleza pura@lemmy.eco.brOP
          link
          fedilink
          arrow-up
          2
          ·
          13 hours ago

          bem lembrado o olx. é que pra comprar no olx tem que preparar bastante o emocional, mas eu moro no rio, então deve ter bastante opção sim. 300-400 é o que eu paguei na minha, então acho que tá de boa