Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all:
im installing the factory driver of this video card in my Lubuntu 20.04.
i do all the recomended steps
at the kernell compilation screen it gives me this
DKMS make.log for nvidia-304.137 for kernel 5.4.0-84-generic (x86_64)
mar 21 sep 2021 09:28:17 -03
NVIDIA: calling KBUILD...
make -f ./scripts/Makefile.build obj=arch/x86/entry/syscalls all
make -f ./scripts/Makefile.build obj=scripts/basic
set -e; mkdir -p include/config/; trap "rm -f include/config/.kernel.release.tmp" EXIT; { echo "5.4.133$(sh ./scripts/setlocalversion .)"; } > include/config/.kernel.release.tmp; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.kernel.release.tmp; then : ' UPD include/config/kernel.release'; mv -f include/config/.kernel.release.tmp include/config/kernel.release; fi
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/uapi/asm \
generic=include/uapi/asm-generic
set -e; mkdir -p include/generated/uapi/linux/; trap "rm -f include/generated/uapi/linux/.version.h.tmp" EXIT; { if [ 133 -gt 255 ]; then echo \#define LINUX_VERSION_CODE 328959; else echo \#define LINUX_VERSION_CODE 328837; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; } > include/generated/uapi/linux/.version.h.tmp; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.version.h.tmp; then : ' UPD include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.version.h.tmp include/generated/uapi/linux/version.h; fi
rm -f include/linux/version.h
make -f ./scripts/Makefile.build obj=arch/x86/tools relocs
make[3]: *** No hay ninguna regla para construir el objetivo 'arch/x86/tools/relocs_32.c', necesario para 'arch/x86/tools/relocs_32.o'. Alto.
make[2]: *** [arch/x86/Makefile:236: archscripts] Error 2
make[2]: *** Se espera a que terminen otras tareas....
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [Makefile:261: module] Error 1
make: *** [makefile:59: module] Error 2
i already blacklist the nouveau driver automatically with nvidia installer
May I ask why you chose to do this with such an old IGP, long out of active support by NVidia? With this IGP, I use only FOSS, the nouveau kernel driver, with the (default) modesetting DIX driver.
Hi, sorry for they delay answering and My poor english.
I was having internet problems that i already solved.
I'm gonna try with they Nouveau drivers and that configs and Tell You if it works, but in the begining it crashes at full screen and was the reason to try the factory drivers.
It suggests you need i386 headers installed those are for a 32bit system, yours is 64 bit so would need code for that OS variant to compile properly.
en español de nuevo.
Sugiere que necesita los encabezados i386 instalados, que son para un sistema de 32 bits, el suyo es de 64 bits, por lo que necesitaría un código para que esa variante del sistema operativo se compile correctamente.
You cannot use NVidia drivers beyond 304.xx for this card. Nvidia stopped supporting it after Linux kernel 4.4 (or thereabouts). I also have a machine with this card, and the last Ubuntu or Ubuntu-based distro that allows installation of Nvidia driver 304, is Ubuntu 16. Supposedly, someone made a patch for Ubuntu 18, but installing it is complicated and probably not worth it.
Ubuntu 16 is out of support. however you can sign up for Extended Security Maintenance for Ubuntu 16, for fee. This will get you security support at least until 2024.
The best distro to use with this card is Bodhi 6. It will work fine on Nouveau drivers. Other light distros, such as Linux Lite, Lubuntu etc will not. There are of course even lighter distros, but Bodhi has a great desktop and works great out of the box. It is lightening fast. My 2009 computer boots in 10 seconds with it. It is an outstanding distro, probably the best light distro out there. I would give it a try.
Last edited by michael diemer; 09-30-2021 at 10:40 AM.
mrmazda, yes nouveau will work ok with this card, provided the desktop is light enough. Bodhi's is based off Enlightenment and is very light. I tried Linux Lite, Lubuntu Xubuntu, Mate etc and none of them would work. The only other desktop that worked was Bunsen Labs, which uses open box. Debian probably as well, though I didn't try it. I settled on Bodhi because it is powerful, nice looking and easily configurable. So is Bunsen Labs, but configuring is a bit challenging for the typical user.
I also still have Ubuntu 16.04.7, with ESM. There however I have Nvidia enabled as it allows that driver to be installed. Ubuntu 18 does not, at least not without some tinkering.
By far the easiest way to deal with this card is to install Bodhi. Unless you like to spend lots of time in the terminal!
In case it went unnoticed, post #6 shows I'm running Trinity Desktop Environment, a fork of KDE3. Both work just fine on "ancient" hardware like this, and provide a lot more functionality than simpler window managers.
Also shown is it's running on only one nouveau driver, kernel/device. The display driver in use is the more modern, non-reverse-engineered (upstream default) modesetting DIX driver. Right now it's running without the nouveau.config=NvMSI=0 or nouveau.noaccel=1 kernel cmdline options, which for several years was necessary. I'm not sure when their need stopped.
Interesting, mrmazda. So I tried installing Q4OS 2.7, an older version which maybe might work on this hardware, and which used Trinity. I could only get as far as the Q4OS boot menu, where you choose to run live, install etc. But it just hung there, so I concluded my system couldn't handle the desktop. At least not without some serious tinkering. It may be that on my system there are other issues as well, but I didn't pursue it any further. Your post makes me wonder, however. If I get bored enough, maybe I'll try tinkering.
I'm of the school of thought that says, if you have old hardware, find a distro that works with it out of the box. Rather than tinkering around to see what else you can get to work with it. Would rather use the damn machine that fight with it!
BTW my specs: Gateway GT5656, video as above; 3Ghz CPU, dual-core AMD Athlon 64 X2 6000+, 6 GB memory.
The CPU in post #6 is Athlon II X2 240 with 2G RAM on MSI motherboard. That PC only has openSUSE (13.1, 15.0, 15.1, 15.2, 15.3, Tumbleweed) and Debian (10 & 11) installed. I use TDE also on Fedora and Mageia on other PCs. TDE is no fuss to install on any supported distro. TDE has user and devel mailing lists that are quite helpful. I install a minimal OS version with no DE, then add TDE. Usually I do NET installs, almost never install anything using live media.
I have an athlon 64 with on board nvidia 6100, and can confirm the last time ubuntu packaged nvidia-304 was for 16.04LTS. And the nvidia direct version does not work with kernel newer than 4.15 or current xorg.
There is a patch that make the official nvidia install script work with ubuntu 18.04. I did it myself and yeah it works better than nouveau for some games, but I had these weird lines that kept appearing on my screen, dunno how to describe, but enough that I reverted to nouveau.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.