nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1 (http://www.nvnews.net/vbulletin/showthread.php?t=74377)

haunted 08-02-06 03:55 AM

Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
It is nice to see a repomd repository for the nvidia driver (too bad I cannot use it because I do not run 2.6.16), but there is a problem:
Code:

$ rpm -qlv x11-video-nvidia
lrwxrwxrwx    1 root    root              17 Jun 23 04:50 /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.0.8762
-rwxr-xr-x    1 root    root          543564 Jun 23 04:50 /usr/X11R6/lib/libGL.so.1.0.8762
$ ls -l /usr/lib/libGL.so.1
lrwxrwxrwx  1 root root 12 2006-08-01 11:46 libGL.so.1 -> libGL.so.1.2
$ rpm -qf libGL.so.1.2
Mesa-6.4.2-19.7

So, it does not work right away because Mesa is in the way. And, I suppose mesa will be so evil (it did that to me in the past) that if you upgrade it, it will reset the libGL.so.1 link to libGL.so.1.2, therefore deactivate NVGL and make all GL apps crash with SIGSEGV. Well, it is not much of a surprise to me; it sounds logical that the x11 nvidia driver (nvidia.o in /usr/X11R6/somewhere...) requires NVGL rather than some softgl.

Is there a way to get around this symlink conflict with Mesa? Maybe have a talkback with bugzilla.novell.com?

pe1chl 08-02-06 04:31 AM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
The normal procedure is to use "Online Update" and then select "download NVIDIA driver".
This will automatically perform the required actions.

cjcox 08-05-06 01:38 PM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
Actually on 10.1 the "official" way is to use the built in tiny-nvidia-installer program.

neeko 08-05-06 05:44 PM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
Quote:

tiny-nvidia-installer program
Can you please explain what & where this is as I've not heard of it.

I've manually installed the latest driver, but got a message about this symlink during install ('Error...this is not a symlink etc) and am not happy with performance.

Thx

marchetto 08-06-06 09:32 AM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
There's something wrong, but anybody know what.

It clearly doesn't work properly, I installed with YOU and with the tiny-nvidia-installer, it doesn't work properly, it's slow, not good as on previous SuSE versions.

phertel 08-10-06 10:29 AM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
I have just moved to 10.1 and am seriously thinking about going back to 9.3
I can't get the driver to build and I have tried clonecofig and other things short of compiling it myself. It always worked on 9.3 ... (Card is a GeForce 6600GT, driver is the latest although I tried an older one with the same non-result)

Can anyone see anything "obvious" in this mess:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug 9 06:50:27 2006

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : true
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16.13-4-default/source'
-> Kernel output path: '/lib/modules/2.6.16.13-4-default/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16.13-4-def
ault/source SYSOUT=/lib/modules/2.6.16.13-4-default/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16.13-4-default/build KBUILD_VERBO
SE=1 -C /lib/modules/2.6.16.13-4-default/source SUBDIRS=/tmp/selfgz3521/NVID
IA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv modules
make -C /lib/modules/2.6.16.13-4-default/build \
KBUILD_SRC=/usr/src/linux-2.6.16.13-4 \
KBUILD_EXTMOD="/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv"
-f /usr/src/linux-2.6.16.13-4/Makefile modules
rm -rf /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.tmp_ver
sions
mkdir -p /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.tmp_v
ersions
make -f /usr/src/linux-2.6.16.13-4/scripts/Makefile.build obj=/tmp/selfgz352
1/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3521/NVI
DIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.n
v.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.1.0/include -D_
_KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.13-4/include -include
/usr/src/linux-2.6.16.13-4-obj/x86_64/default/include/linux/autoconf.h -I/t
mp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-
strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -mtune=g
eneric -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sig
n-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/
selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv -Wall -Wimplicit -W
return-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arit
h -Wno-multichar -Werror -O -fno-common -mno-red-zone -minline-all-stringops
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
L__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=
1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=817
8 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE
_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_S
TR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3521/NVIDIA-
Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz3521/NVIDIA-Linux
-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c
In file included from include2/asm/processor.h:23,
from include2/asm/timex.h:14,
from /usr/src/linux-2.6.16.13-4/include/linux/timex.h:61,
from /usr/src/linux-2.6.16.13-4/include/linux/sched.h:11,
from /usr/src/linux-2.6.16.13-4/include/linux/module.h:10,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv-linux.h:47,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
/usr/src/linux-2.6.16.13-4/include/linux/cpumask.h: In function ‘__first_c
pu’:
/usr/src/linux-2.6.16.13-4/include/linux/cpumask.h:218: warning: signed and
unsigned type in conditional expression
/usr/src/linux-2.6.16.13-4/include/linux/cpumask.h: In function ‘__next_cp
u’:
/usr/src/linux-2.6.16.13-4/include/linux/cpumask.h:224: warning: signed and
unsigned type in conditional expression
In file included from /usr/src/linux-2.6.16.13-4/include/linux/sched.h:17,
from /usr/src/linux-2.6.16.13-4/include/linux/module.h:10,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv-linux.h:47,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
/usr/src/linux-2.6.16.13-4/include/linux/nodemask.h: In function ‘__first_
node’:
/usr/src/linux-2.6.16.13-4/include/linux/nodemask.h:229: warning: signed and
unsigned type in conditional expression
/usr/src/linux-2.6.16.13-4/include/linux/nodemask.h: In function ‘__next_n
ode’:
/usr/src/linux-2.6.16.13-4/include/linux/nodemask.h:235: warning: signed and
unsigned type in conditional expression
/usr/src/linux-2.6.16.13-4/include/linux/nodemask.h: In function ‘__first_
unset_node’:
/usr/src/linux-2.6.16.13-4/include/linux/nodemask.h:253: warning: signed and
unsigned type in conditional expression
In file included from /usr/src/linux-2.6.16.13-4/include/linux/list.h:7,
from /usr/src/linux-2.6.16.13-4/include/linux/wait.h:23,
from include2/asm/semaphore.h:42,
from /usr/src/linux-2.6.16.13-4/include/linux/sched.h:20,
from /usr/src/linux-2.6.16.13-4/include/linux/module.h:10,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv-linux.h:47,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
/usr/src/linux-2.6.16.13-4/include/linux/prefetch.h: In function ‘prefetch
_range’:
/usr/src/linux-2.6.16.13-4/include/linux/prefetch.h:62: warning: pointer of
type ‘void *’ used in arithmetic
In file included from include2/asm/elf.h:11,
from /usr/src/linux-2.6.16.13-4/include/linux/elf.h:6,
from /usr/src/linux-2.6.16.13-4/include/linux/module.h:17,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv-linux.h:47,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
include2/asm/compat.h: In function ‘compat_alloc_user_space’:
include2/asm/compat.h:202: warning: pointer of type ‘void *’ used in ari
thmetic
In file included from /usr/src/linux-2.6.16.13-4/include/linux/dmapool.h:14,
from /usr/src/linux-2.6.16.13-4/include/linux/pci.h:558,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv-linux.h:71,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
include2/asm/io.h: In function ‘check_signature’:
include2/asm/io.h:308: warning: wrong type argument to increment
In file included from include2/asm/pci.h:93,
from /usr/src/linux-2.6.16.13-4/include/linux/pci.h:684,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv-linux.h:71,
from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
/usr/src/linux-2.6.16.13-4/include/asm-generic/pci-dma-compat.h: In function
‘pci_map_page’:
/usr/src/linux-2.6.16.13-4/include/asm-generic/pci-dma-compat.h:49: warning:
pointer of type ‘void *’ used in arithmetic
In file included from /tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv/nv.c:14:
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv-linux.h:535:
2: error: #error "vmap() appears to be unavailable in this kernel!"
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv-linux.h:677:
2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: At top le
vel:
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:296: warni
ng: initialization from incompatible pointer type
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In functi
on ‘nvos_get_agp_device_by_class’:
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:502: error
: implicit declaration of function ‘pci_find_class’
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:502: warni
ng: assignment makes pointer from integer without a cast
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:516: warni
ng: assignment makes pointer from integer without a cast
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In functi
on ‘nv_kern_mmap’:
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:1979: erro
r: implicit declaration of function ‘remap_page_range’
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In functi
on ‘nvos_count_devices’:
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:3641: warn
ing: assignment makes pointer from integer without a cast
/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:3647: warn
ing: assignment makes pointer from integer without a cast
make[4]: *** [/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/n
v.o] Error 1
make[3]: *** [_module_/tmp/selfgz3521/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/
src/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.

phertel 08-10-06 10:31 AM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
Quote:

Originally Posted by pe1chl
The normal procedure is to use "Online Update" and then select "download NVIDIA driver".
This will automatically perform the required actions.


Not in 10.1

netllama 08-10-06 11:09 AM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
phertel, you'll need to use the latest (1.0-8762) driver.

phertel 08-11-06 09:38 AM

Re: Istalling NVIDIA Linux graphics drivers on SUSE Linux 10.1
 
Quote:

Originally Posted by netllama
phertel, you'll need to use the latest (1.0-8762) driver.

Yes I found it last night and everything works like magic now.
I thought I had the latest until I found something by "sticky" talking about a patch

Thanks for the replya anyway:)


All times are GMT -5. The time now is 07:34 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.