nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Legacy drivers with FreeBSD 6.0 troubles (http://www.nvnews.net/vbulletin/showthread.php?t=80753)

_SAS 11-19-06 11:25 AM

Legacy drivers with FreeBSD 6.0 troubles
 
It seems that make tries to compile libs for Linux compatibility, but it can't install them because I turned Linux binary compatibility off. How can I disable compiling of lib/compat?
Here is the log:
Code:

sas# make install
===> src (install)
install -o root -g wheel -m 555  nvidia.ko /boot/modules
kldxref /boot/modules
===> lib (install)
find: /compat/linux/lib: No such file or directory
find: /compat/linux/usr/lib: No such file or directory
find: /compat/linux/usr/X11R6/lib: No such file or directory
===> lib/libGL (install)
===> lib/libnvidia-tls (install)
===> lib/libGLcore (install)
===> lib/libXvMCNVIDIA (install)
===> lib/compat (install)
===> lib/compat/libGL (install)
install: /compat/linux/usr/lib: No such file or directory
*** Error code 71

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184/lib/compat/libGL.
*** Error code 1

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184/lib/compat.
*** Error code 1

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184/lib.
*** Error code 1

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184.


David Marec 11-21-06 12:49 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
Quote:

Originally Posted by _SAS
It seems that make tries to compile libs for Linux compatibility, but it can't install them because I turned Linux binary compatibility off. How can I disable compiling of lib/compat?

'Linux compatiblity' is set up on my workstation and the same error occured when i tried to upgrade it from the 1.0-8774 driver.
I guess that a FreeBSD upgrade (-> 6.2 ?) is responsible of that issue.

So, i installed the driver available from the port tree, it works fine but bzflag and other openGL apps freezes.

zander 11-21-06 04:23 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
1 Attachment(s)
@_SAS: does it work if you apply the attached patch?

@David Marec: that sounds like a different problem, 1.0-7184 is missing some changes that went into more recent driver releases to allow installing the driver without the Linux ABI compatiblity environment.

David Marec 11-23-06 03:46 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
Quote:

Originally Posted by zander
@David Marec: that sounds like a different problem, 1.0-7184 is missing some changes that went into more recent driver releases to allow installing the driver without the Linux ABI compatiblity environment.

You are right, the drivers builds fail on a different error :

Code:

===> x11/driver (install)
install: /lib/modules/drivers: No such file or directory
*** Error code 71

Stop in /usr/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629/x11/driver.
*** Error code 1

Stop in /usr/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629/x11.
*** Error code 1

Stop in /usr/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629.
david:/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629$

I get the same error, trying to install the NVIDIA-FreeBSD-x86-1.0-8776 driver.

zander 11-23-06 04:09 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
@David Marec: at first sight, this looks like it may be related to Xorg 7.x; did you manually upgrade to Xorg 7.x or did this happen as part of the upgrade to FreeBSD 6.2?

David Marec 11-25-06 04:55 AM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
Zander,
Quote:

Originally Posted by zander
@David Marec: at first sight, this looks like it may be related to Xorg 7.x; did you manually upgrade to Xorg 7.x or did this happen as part of the upgrade to FreeBSD 6.2?

I am still running Xorg 6.x
Code:

$ X -version
X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.903

Nvidia driver is the only port that i install manually.
i guess that the issue came with the last upgrade to FreeBSD 6.2

zander 11-25-06 01:59 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
Does /usr/X11R6/lib/modules/drivers exist on your system, then?

David Marec 11-27-06 02:20 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
Quote:

Originally Posted by zander
Does /usr/X11R6/lib/modules/drivers exist on your system, then?

No.
Code:

david:~$ ls /usr/X11R6/lib/driver*
ls: No match.*


flz 12-04-06 06:09 PM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
David: You need to install the driver with 'make all install X11BASE=/usr/X11R6'.

Zander: I think xorg-server in 6.9 (and before) used to create ${X11BASE}/lib/modules/drivers. Since I switched to xorg-server 1.1.1 (xorg 7.1+), I had to sed 's|lib/modules|lib/xorg/modules' in x11/driver, x11/extension and x11/lib everytime I had to install a new nvidia driver.

Hope this helps.

David Marec 12-17-06 03:51 AM

Re: Legacy drivers with FreeBSD 6.0 troubles
 
Zander, flz,

I upgraded Xserver from the snapshot port to the 6.9.0 release, installed the fresh nividia 9631 driver port and it did the trick : glxgear and others 3D/OpenGL applications were working.

Quote:

Originally Posted by flz
David: You need to install the driver with 'make all install X11BASE=/usr/X11R6'.

Then, I also tried to install the driver by this way.
But, as i have patched the make files by myself, the installation failed and broke the glx library:
«nv_xxxxxxxxxxx» not found.

I forced the re-installation of the port driver but the library was still broken.

I had to download the driver tgz file and re-install it
- using the command line above -
to solve the issue.
It seems that the port driver does not re-install some libraries.

Quote:

Hope this helps.
Thanks for your help.


All times are GMT -5. The time now is 08:09 PM.

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