AMD & NVidia 8400
Добавлено: 2009-03-06 14:07:00
Hello
oni rabotaut vmeste?
ne mogy drova zalit!
oni rabotaut vmeste?
ne mogy drova zalit!
Мы — долго запрягаем, быстро ездим, и сильно тормозим.
https://forum.lissyara.su/
Код: Выделить всё
bsd# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
bsd# uname -a
FreeBSD bsd 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
bsd# dmesg | grep 'CPU'
CPU: AMD Phenom(tm) 8450 Triple-Core Processor (2109.74-MHz 686-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
bsd# pwd
/usr/ports/x11/nvidia-driver
bsd# make install clean
===> Building for nvidia-driver-180.29
===> src (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -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 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_sysctl.c
cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"180.29\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/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 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_i2c.c
ld -d -warn-common -r -d -o nvidia.kld nv-kernel.o nvidia_ctl.o nvidia_dev.o nvidia_linux.o nvidia_os.o nvidia_os_pci.o nvidia_os_registry.o nvidia_pci.o nvidia_subr.o nvidia_sysctl.o nvidia_i2c.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
===> lib (all)
===> lib/libGL (all)
===> lib/libnvidia-tls (all)
===> lib/libnvidia-cfg (all)
===> lib/libGLcore (all)
===> lib/libvdpau (all)
===> lib/libvdpau_nvidia (all)
===> lib/libvdpau_trace (all)
===> lib/libXvMCNVIDIA (all)
===> lib/compat (all)
===> lib/compat/libGL (all)
===> lib/compat/libnvidia-tls (all)
===> lib/compat/libGLcore (all)
===> lib/compat/libvdpau (all)
===> lib/compat/libvdpau_trace (all)
===> lib/compat/libvdpau_nvidia (all)
===> x11 (all)
===> x11/driver (all)
===> x11/extension (all)
===> x11/lib (all)
===> doc (all)
===> Installing for nvidia-driver-180.29
===> nvidia-driver-180.29 depends on file: /compat/linux/etc/fedora-release - found
===> nvidia-driver-180.29 depends on shared library: X11.6 - found
===> nvidia-driver-180.29 depends on shared library: m.3 - not found
===> Verifying install for m.3 in /usr/ports/misc/compat5x
===> Vulnerability check disabled, database not found
===> Extracting for compat5x-i386-5.4.0.8_9
=> MD5 Checksum OK for compat5x-i386-5.4.0.8.tar.bz2.
=> SHA256 Checksum OK for compat5x-i386-5.4.0.8.tar.bz2.
===> Patching for compat5x-i386-5.4.0.8_9
===> Configuring for compat5x-i386-5.4.0.8_9
===> Installing for compat5x-i386-5.4.0.8_9
===> compat5x-i386-5.4.0.8_9 depends on file: /usr/local/share/compat/locale/UTF-8/LC_CTYPE - found
===> Generating temporary packing list
===> Checking if misc/compat5x already installed
===> compat5x-i386-5.4.0.8_9 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of misc/compat5x
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/misc/compat5x.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
bsd#
super!paradox писал(а):FORCE_PKG_REGISTER=yes >> /etc/make.conf
и вперед
однако опасноparadox писал(а):FORCE_PKG_REGISTER=yes >> /etc/make.conf
и вперед
если pkg-plist изменится между обновлениями, то устаревшие файлы не удалятсяparadox писал(а):ничего опасного
чистая параноя)))))))
теряется смысл портов, и начинаем приближаться к шлаквари.paradox писал(а):не самое страшное.....
Код: Выделить всё
===> Checking if misc/compat5x already installed
===> compat5x-i386-5.4.0.8_9 is already installed
You may wish to ``make deinstall'' and install this port againКод: Выделить всё
pkgdb -FКод: Выделить всё
/usr/ports/x11/nvidia-driver4GB memory ignoredparadox писал(а):не ядро а мир
толку от ядра то ?
таргет укажи
в портах есть другой драйвер для нвидииvintovkin писал(а):ok
pora na intel perexodit'
amd -1 (
он пока сломан, ports/132136. Robert Noland посоветовал ждать выхода libdrm-2.4.6 и не применять хак.paradox писал(а):в портах есть другой драйвер для нвидии
недавно закоммитили
его на форуме сдесь даже обсуждали
nouveau
под амд работает и под amd64 Тоже
Гость писал(а):я с ftp поудалял лишнее, а то в бардаке файлов можно было запутаться. Порты теперь доступны только в diff'ах.
ftp://ftp.lissyara.su/users/Guest/libdrm.diff
ftp://ftp.lissyara.su/users/Guest/xf86- ... uveau.diff
togda mne nado kompilit' mir pod amd64 & zdat' kogda po4inyat nouvetao?Guest писал(а):он пока сломан, ports/132136. Robert Noland посоветовал ждать выхода libdrm-2.4.6 и не применять хак.paradox писал(а):в портах есть другой драйвер для нвидии
недавно закоммитили
его на форуме сдесь даже обсуждали
nouveau
под амд работает и под amd64 ТожеГость писал(а):я с ftp поудалял лишнее, а то в бардаке файлов можно было запутаться. Порты теперь доступны только в diff'ах.
ftp://ftp.lissyara.su/users/Guest/libdrm.diff
ftp://ftp.lissyara.su/users/Guest/xf86- ... uveau.diff
Код: Выделить всё
bsd# cd /usr/src/
bsd# make -j4 -s buildkernel TARGET_ARCH=amd64 KERNCONF=test
--------------------------------------------------------------
>>> Kernel build for test started on Mon Mar 16 09:44:05 UTC 2009
--------------------------------------------------------------
===> test
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
config: /usr/src/sys/amd64/conf/test:21: cannot open included file
*** Error code 1
1 error
*** Error code 2
1 error
bsd#
Код: Выделить всё
cd /sys/amd64/conf
config test
cd ../compile/test
make cleandepend && make depend && make && make installу тя такой файл точно есть?vintovkin писал(а):config: /usr/src/sys/amd64/conf/test:21: cannot open included file