汉澳sinox2015三步安装nvidia显卡驱动,获得最佳显示效果

把NVIDIA-FreeBSD-x86-340.58.tar.gz 放入root目录

右键解压后进入目录 打开终端运行 make install 安装,结束后 运行nvidia-xconfig配置,重启机器就可以

http://219.232.82.144/us.download.nvidia.com/XFree86/FreeBSD-x86/340.58/NVIDIA-FreeBSD-x86-340.58.tar.gz (32位x86)

http://219.232.82.144/us.download.nvidia.com/XFree86/FreeBSD-x86_64/346.35/NVIDIA-FreeBSD-x86_64-346.35.tar.gz (64位x64)

[email protected]:~/NVIDIA-FreeBSD-x86-340.58 # make install

===> src (install)

@ -> /usr/src/sys

machine -> /usr/src/sys/i386/include

awk -f @/tools/makeobjops.awk @/dev/acpica/acpi_if.m -h

awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h

awk -f @/tools/makeobjops.awk @/kern/device_if.m -h

:> opt_acpi.h

awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h

awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p

awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q

awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_acpi.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_ctl.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_dev.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_i2c.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_linux.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_os.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_os_pci.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_os_registry.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_pci.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_subr.c

cc -O2 -pipe -DNV_VERSION_STRING=\"340.58\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. [email protected] [email protected]/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_sysctl.c

ld  -d -warn-common -r -d -o nvidia.kld nv-kernel.o nvidia_acpi.o nvidia_ctl.o nvidia_dev.o nvidia_i2c.o nvidia_linux.o nvidia_os.o nvidia_os_pci.o nvidia_os_registry.o nvidia_pci.o nvidia_subr.o nvidia_sysctl.o

:> export_syms

awk -f /sys/conf/kmod_syms.awk nvidia.kld  export_syms | xargs -J% objcopy % nvidia.kld

ld -Bshareable  -d -warn-common -o nvidia.ko nvidia.kld

objcopy --strip-debug nvidia.ko

install -o root -g wheel -m 555   nvidia.ko /boot/modules

kldxref /boot/modules

===> lib (install)

===> lib/libGL (install)

===> lib/libnvidia-tls (install)

===> lib/libnvidia-cfg (install)

===> lib/libnvidia-glcore (install)

===> lib/libvdpau (install)

===> lib/libvdpau_nvidia (install)

===> lib/libvdpau_trace (install)

===> lib/libnvidia-eglcore (install)

===> lib/libnvidia-glsi (install)

===> lib/libEGL (install)

===> lib/libGLESv2 (install)

===> lib/libGLESv1_CM (install)

===> lib/compat (install)

===> lib/compat/libGL (install)

===> lib/compat/libnvidia-tls (install)

===> lib/compat/libnvidia-glcore (install)

===> lib/compat/libvdpau (install)

===> lib/compat/libvdpau_trace (install)

===> lib/compat/libvdpau_nvidia (install)

===> lib/compat/libcuda (install)

===> lib/compat/libnvidia-eglcore (install)

===> lib/compat/libnvidia-glsi (install)

===> lib/compat/libEGL (install)

===> lib/compat/libGLESv2 (install)

===> lib/compat/libGLESv1_CM (install)

===> x11 (install)

===> x11/driver (install)

===> x11/extension (install)

===> x11/bin (install)

===> x11/man (install)

===> doc (install)

Installation of the NVIDIA Accelerated Graphics Driver

340.58 for FreeBSD is now complete.  You can now

run the nvidia-xconfig utility to automatically update

your X server configuration file.  Please see the README

for details if you wish to update your X configuration

file manually.

[email protected]:~/NVIDIA-FreeBSD-x86-340.58 # nvidia-xconfig

WARNING: Unable to locate/open X configuration file.

ps: Process environment requires procfs(5)

New X configuration file written to ‘/etc/X11/xorg.conf‘

[email protected]:~/NVIDIA-FreeBSD-x86-340.58 # reboot

时间: 2024-08-29 10:23:43

汉澳sinox2015三步安装nvidia显卡驱动,获得最佳显示效果的相关文章

在LinuxMint 17 MATE中安装NVIDIA显卡驱动

第一步:在Linux系统中安装Nvidia显卡驱动需要关闭X Server. 打开终端,进入ROOT权限,执行以下命令 $ sudo service mdm stop 此时将会把X Server关闭,并且进入命令行. 第二步:安装显卡驱动 $ cd /驱动所在目录 $ sh ./NVIDIA-Linux-x86-340.65.run 第三步:重新启动或重新开启X Server 重新开启X Server $ sudo service mdm start

ubuntu 14.04 如何安装nvidia显卡驱动 [转载]

我的机子装的是64位ubuntu 14.04 LTS系统,显卡是GeForce 405 ,想使用cuda所以需要装NVidia官方驱动,但是总是碰到 nouveau 驱动正在使用的问题.找了好久,网上各种将nouveau加入blacklist的文章都不能用,最终找到这篇文章,成功解决问题 转载[Ubuntu安装NVIDIA官方驱动] 由于NVIDIA显卡的开源驱动在性能和效果上比官方的驱动差之太远,无奈只能自己动手安装官方的驱动.安装NVIDIA驱动的具体流程如下:其实NVIDIA的官网的REA

Centos7安装nvidia显卡驱动

Centos 7安装Nvidia显卡驱动没有Fedora这种偏图形界面使用的Linux发行版容易.而且在网上搜到的方法都比较复杂,需要进行一定的修改设置.这里提供一种比较简单的方法,适合一些小白或者不想太折腾的使用者. 首先需要添加一个第三方的源ELRepo.这个源支持RED HAT系的Linux系统,主要是提供一些硬件的驱动程序.这个源的主页如下: http://elrepo.org/tiki/tiki-index.php 添加源分两步: 1.导入公共密钥 rpm --import https

安装NVIDIA显卡驱动、CUDA、磁盘分区

安装NVIDIA显卡驱动和CUDA-8.0运算平台 准备工作:下载安装包 查看显卡信息lspci | grep -i vga lspci -v -s 00:02.0 查看几张GPU卡 lspci | grep NVIDIA cuda_8.0.61_375.26_linux.run NVIDIA-Linux-x86_64-384.66.run 依赖kernels-3.10.0-514.21.2.el7.x86_64内核源码编译环境需要安装gcc 内核版本 内核下载地址 https://opsx.a

dell optiplex ubuntu 14.04 安装 NVIDIA 显卡驱动

公司配置的 dell optiplex使用核显带起双屏幕,玩dota2无法特效全开.so,在京东上买了一块750Ti.安装驱动的时候需要切换到ubuntu的全命令行模式,关掉桌面系统才能安装.这时候这个坑出现了,要想安装驱动,就必须进入全命令行模式,要想进入命令行模式必须有驱动.反复尝试后,发现只能用DP口带单屏幕才能成功.在这里特别记录下.嘎嘎dell optiplex ubuntu 14.04 安装 NVIDIA 显卡驱动,布布扣,bubuko.com

Ubuntu下手动安装Nvidia显卡驱动

1. 下载最新版的nVidia驱动. http://www.nvidia.com/page/drivers.html 2.编辑blacklist.conf. sudo gedit /etc/modprobe.d/blacklist.conf 添加以下部分并保存: blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv (这里有一行空格) 3. 删除之前所安装的nVidia驱动

kali无法安装nvidia显卡驱动

按照各位大神的博客安装nvidia显卡驱动一直失败,重启之后无法正常进入系统,恢复模式可以进入,一直以为自己是不是哪里步骤不对,后面来回重装了几次系统. 最后意识到虚拟机里用的是虚拟网卡,并非宿主机的真实网卡,所以是无法安装该显卡驱动的,安装之后重启当然无法正常进入系统.希望各位小伙伴看到之后能早点跳过这个坑. 以下是我重启过程中出现的错误提示: Failed to start Self Monitoring Analysis and Reporting Technology. 重启之后一直卡在

ubuntu 禁用自带的nouveau显卡驱动,安装NVIDIA显卡驱动

下载显卡驱动 进入Nvidia的官网,找到对应GTX 750显卡的Linux 64-bit 的驱动程序,然后下载 当点击下载链接后,发现浏览器一直在加载那个*.run文件,很久都加载不完.这时将浏览器地址栏地址Copy下来,然后进入百度网盘中,离线下载,然后Paste网址,稍等片刻,下载即完成(其实.run文件是70多MB的文件,难怪浏览器都快加载到卡住了): 然后就简单了,直接下载驱动到硬盘即可 安装驱动 因为是全新安装的操作系统,并且没有安装开源版本的英伟达驱动,所以,下面直接安装官方驱动即

Ubuntu 14.04 LTS 安装 NVIDIA 显卡驱动后的屏幕亮度调节问题

安装 Ubuntu,对于 NVIDIA 显卡,默认情况下会使用第三方开源驱动,并且一般情况下,第三方开源驱动和系统兼容性更好.由于 NVIDIA 显卡驱动不是开放的,所以对 Linux 系统的原生支持要差一点,会引入一些小问题.所以,一般情况下,如果不是特别必要,使用第三方开源驱动是个好选择. 但如果要做 CUDA 相关开发,就必须使用 NVIDIA 官方驱动. 1. 安装. 不要手动安装.应该在 Software & Updates 的 Additional Drivers 下找到可用的显卡驱