Posts: 14
galenthurber@gmx.com
Joined: 13 Jul 2015
#1
script did nicely blacklist nouveau, with nomodeset
but on reboots
sgfxi failed to build properly

/var/log/nvidia-installer.log
contains

Code: Select all

   NVIDIA: calling KBUILD...
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        \
   echo >&2;                            \
   echo >&2"  ERROR: Kernel configuration is invalid.";
...
   /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2039:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   scripts/Makefile.build:258: recipe for target '/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-304.125/kernel/nv.o' failed
   make[3]: *** [/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-304.125/kernel/nv.o] Error 1
   Makefile:1405: recipe for target '_module_/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-304.125/kernel' failed
   make[2]: *** [_module_/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-304.125/kernel] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   Makefile:250: recipe for target 'module' failed
   make[1]: *** [module] Error 1
   makefile:59: recipe for target 'module' failed
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
/var/log/sgfxi/sgfxi.log

Code: Select all

make[2]: *** [_module_/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-304.125/kernel] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   Makefile:250: recipe for target 'module' failed
   make[1]: *** [module] Error 1
   makefile:59: recipe for target 'module' failed
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

any ideas?
Posts: 88
kmathern
Joined: 25 Aug 2012
#2
I don't think the 304.125 nvidia driver supports the 4.0.5 kernel that antiX-15 is using without some patches. (sgfxi's"-L n" command says it does, but I think it's wrong)

You can enable the siduction fixes repo and then use sgfxi's"-d" option to have it install Siduction's Debian packaged nvidia driver instead of using the NVIDIA-Linux-x86_64-304.125 .run installer.
The siduction packages have been patched to support a 4.0.x kernel
There's some more details in this post here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post42555.html#p42555"
linktext was:"antix.freeforu ms.org/post42555.html#p42555"
====================================



You can also maybe wait a day or two for h2 to update sgfxi, and install the driver in the regular manner (not using the"-d" option).
The 304 series driver was just updated a couple days ago from the 304.125 version to the 304.128 version. (
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://devtalk.nvidia.com/default/topic/873016/unix-graphics-announcements-and-news/linux-solaris-and-freebsd-driver-304-128-legacy-for-geforce-6-and-7-series-/"
linktext was:"https://devtalk.nvidia.com/default/topi ... 7-series-/"
====================================
)
The 304.128 version should support the 4.0.5 kernel.
I posted a message earlier today about the 304.128 update at the sgfxi support forum:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://techpatterns.com/forums/about2489.html"
linktext was:"http://techpatterns.com/forums/about2489.html"
====================================



edit: h2 replied to the post at his forum that he's updated sgfxi, so I would try running it again. (just the 'sgfxi' command by itself, no options)
Posts: 14
galenthurber@gmx.com
Joined: 13 Jul 2015
#3
ty will do
Posts: 14
galenthurber@gmx.com
Joined: 13 Jul 2015
#4
success!
It puked some errors, but on second go

glxinfo reports
direct rendering = yes
!! yeah

nvidia 7900 rocking openGL direct once again. Faith has been restored; bows head

a 4.x kernel
antix1 4.0.5-antix.2-amd64-smp
with 304 drivers
and xorg 17
actually works,

I AM IMPRESSED !