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:
- downgrade to bookworm. not easy to do, would only delay the problem.
- 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.
- 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.
- cope.
any ideas?
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.
wait, for real?
according to this online psu calculator: https://www.coolermaster.com/pt-br/power-supply-calculator/
-
my current psu (400 watts) can barely handle a 970
-
and for very little it can’t handle the radeon
i could buy a new psu, though… it would be cheaper than a new graphics card, i think
-
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.
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?
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.
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
- exchange rates. currently, 1USD ~= 5,5BRL
- 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
- 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.
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.
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.
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.okay that’s much better. i might actually try using the patch then. any guides?
Not really, but once you’ve patched the driver, run
dkms status
anddkms 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.
I would try the patches. Also about older kernels: It’s not that hard to e.g. get a kernel.org upstream kernel and compile that, no need to mix repos.
https://www.debian.org/doc/manuals/debian-handbook/sect.kernel-compilation.en.html
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.
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
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.
deleted by creator
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.
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).
Maybe im missing something here, but why do you need to use such an old driver version? Trixie ships with 550 if you enable non-free so why not use that? Considering you tried the official installer i would think you dont mind non-free drivers.
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
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.
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.
Some people just dont have 30 euros.
Please, take that into account before suggesting like everynyan else.
why do you need to use 470?
old card (geforce gt 710)
I see, honestly, if I could afford it, I’d just buy a newer card. But if you’re stuck with it for now, I get it.
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.
my configuration is optimal as far as nouveau goes. performance on wayland is similar to x11
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.
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
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.
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
Have you considered changing distros?
yeah but then i remembered debian is the best distro on the planet
(also, this problem isn’t exclusive to debian)
The same situation for any distro with newer kernels.
Out of curiosity, which video card do you have?
geforce gt 710
3,option create dkms module or buy Rx 580 for 50$
sadly that translates to almost 900 reais
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.
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