I've been trying to get the Nvidia drivers working and have faced multiple problems.
Currently i'm getting this error:
Here is what I've done, I don't know what to try next.
When I attempted to install here it said the error:
So I rebooted and checked out the services through svn as per the handbook.
Which is when I got the error at the top.
HELP!
Currently i'm getting this error:
Code:
Installing linux_base-c6-6.7_1...
+++ Some programs may need linprocfs, please add it to /etc/fstab! +++
Running linux ldconfig...
This software is based in part on the work of the FreeType Team.
See <URL:http://www.freetype.org/>.
Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).
----------------------
You should enable Linux mode with the linux_enable variable of rc.conf(5).
Depending on the version of FreeBSD you are using you may have to increase
the emulated linux version via compat.linux.osrelease=2.6.18 in
sysctl.conf(5). Check via "sysctl compat.linux.osrelease" that it shows a
lower version number before setting it.
----------------------
If you want to use shared memory in Linux applications, you need to set up
a link from /dev/shm to a suitable place, e.g. by adding the following line
to /etc/devfs.conf (takes effect on each boot):
link /tmp shm
To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:
Set your yp-server and yp-domainname in yp.conf:
domainname my.yp.domainname
ypserver my.yp.server
Let your lists for hosts, passwd and group be resolved via nsswitch.conf:
passwd: files nis
shadow: files nis
group: files nis
hosts: files dns nis
WARNING: doing work which needs to chroot into the linux base may not work.
In such cases (e.g. cross-development) you are better suited with a linux_dist
port.
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/compat/linux/lib/libdb-4.7.so
/compat/linux/lib/libresolv-2.12.so
/compat/linux/lib/libselinux.so.1
/compat/linux/usr/libexec/gam_server
/compat/linux/lib/libgio-2.0.so.0.2800.8
/compat/linux/lib/libgssrpc.so.4.1
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
===>>> Installation of emulators/linux_base-c6 (linux_base-c6-6.7_1) succeeded
===>>> Returning to dependency check for x11/nvidia-driver
===>>> Dependency check complete for x11/nvidia-driver
===> Installing for nvidia-driver-346.96
===> Checking if nvidia-driver already installed
===> Registering installation for nvidia-driver-346.96
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libEGL.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libEGL.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libGL.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libGL.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libGLESv1_CM.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libGLESv1_CM.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libGLESv2.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libGLESv2.so.2: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libnvidia-glcore.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libcuda.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libcuda.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libnvidia-eglcore.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libnvidia-glsi.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libnvidia-tls.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libvdpau.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libvdpau.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libvdpau_nvidia.so: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/libvdpau_trace.so: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/vdpau/libvdpau_nvidia.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/vdpau/libvdpau_nvidia.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/vdpau/libvdpau_trace.so.346.96: No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/compat /linux/usr/lib/vdpau/libvdpau_trace.so.1: No such file or directory
*** Error code 74
Stop.
make[1]: stopped in /usr/ports/x11/nvidia-driver
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/nvidia-driver
===>>> Installation of nvidia-driver-346.96 (x11/nvidia-driver) failed
===>>> Aborting update
===>>> There are messages from installed ports to display,
but first take a moment to review the error messages
above. Then press Enter when ready to proceed.
===>>> pkg-message for linux_base-c6-6.7_1
Always:
This software is based in part on the work of the FreeType Team.
See <URL:http://www.freetype.org/>.
Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).
----------------------
You should enable Linux mode with the linux_enable variable of rc.conf(5).
Depending on the version of FreeBSD you are using you may have to increase
the emulated linux version via compat.linux.osrelease=2.6.18 in
sysctl.conf(5). Check via "sysctl compat.linux.osrelease" that it shows a
lower version number before setting it.
----------------------
If you want to use shared memory in Linux applications, you need to set up
a link from /dev/shm to a suitable place, e.g. by adding the following line
to /etc/devfs.conf (takes effect on each boot):
link /tmp shm
To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:
Set your yp-server and yp-domainname in yp.conf:
domainname my.yp.domainname
ypserver my.yp.server
Let your lists for hosts, passwd and group be resolved via nsswitch.conf:
passwd: files nis
shadow: files nis
group: files nis
hosts: files dns nis
WARNING: doing work which needs to chroot into the linux base may not work.
In such cases (e.g. cross-development) you are better suited with a linux_dist
port.
===>>> Done displaying pkg-message files
Here is what I've done, I don't know what to try next.
Code:
portmaster x11/xorg
sysrc linux_enable="YES"
When I attempted to install here it said the error:
Code:
===> Cleaning for nvidia-driver-346.96
===> nvidia-driver-346.96 requires kernel source files in /usr/src.
*** Error code 1
So I rebooted and checked out the services through svn as per the handbook.
Code:
reboot
portmaster security/ca_root_nss
portmaster devel/subversion
svn checkout https://svn.FreeBSD.org/base/stable/10 /usr/src
portmaster x11/nvidia-driver
Which is when I got the error at the top.
HELP!