Страница 1 из 1

Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-12 20:33:15
Gnix
Вот вышел NVIDIA-FreeBSD-x86-173.08
У меня 8400 GS
не могу установить

Код: Выделить всё

# make install
===> src (install)
@ -> /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=\"173.08\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c nvidia_ctl.c
In file included from nvidia_ctl.c:14:
./nv-freebsd.h:276: warning: static declaration of 'pmap_change_attr' follows non-static declaration
./machine/pmap.h:362: warning: previous declaration of 'pmap_change_attr' was here
./nv-freebsd.h:292: warning: static declaration of 'pmap_mapdev_attr' follows non-static declaration
./machine/pmap.h:370: warning: previous declaration of 'pmap_mapdev_attr' was here
*** Error code 1

Stop in /gnix-home/Soft/NVIDIA-FreeBSD-x86-173.08/src.
*** Error code 1

Stop in /gnix-home/Soft/NVIDIA-FreeBSD-x86-173.08.

Код: Выделить всё

# uname -a
FreeBSD gnix.vicatv.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Tue Apr  1 21:31:15 EEST 2008     root@gnix.vicatv.net:/usr/obj/usr/src/sys/GNIXKERNELA  i386

Код: Выделить всё

pciconf -lv
none1@pci1:0:0: class=0x030000 card=0x01f11028 chip=0x042710de rev=0xa1 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'unknown Geforce 8600'
    class      = display
    subclass   = VGA

compat5x-i386, nvidia-settings - есть

Что подскажите неопытному?

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-12 22:59:49
Alex Keda
а из портов?

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-12 23:18:50
Gnix
таких в портах еще нет
есть только 169.12. Эти устанавливается, но почемуто видео тормозит в 4 медиаплеерах

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-12 23:19:30
Alex Keda
а в конфиге чё пописано?
мало просто установить...

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-12 23:40:46
Gnix
начально не удается установить

Код: Выделить всё

Xorg –configure
потом говорит используйте конфиг /etc/X11/xorg.conf
далее startx и ругается

пришлось удалить /etc/X11/xorg.conf :(

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-12 23:49:03
Gnix
xorg.conf.new

Код: Выделить всё

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/local/share/X11/rgb"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/lib/X11/fonts/misc/"
	FontPath     "/usr/local/lib/X11/fonts/TTF/"
	FontPath     "/usr/local/lib/X11/fonts/OTF"
	FontPath     "/usr/local/lib/X11/fonts/Type1/"
	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "GLcore"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
	Identifier  "Card0"
	Driver      "nv"
	VendorName  "nVidia Corporation"
	BoardName   "GeForce 8400M GS"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-13 12:28:48
Alex Keda
дривер, вообще-то должен быть nvidia...

Re: Как установить NVIDIA-FreeBSD-x86-173.08 для 8400 GS

Добавлено: 2008-04-13 23:31:47
Гость
Gnix писал(а):In file included from nvidia_ctl.c:14:
./nv-freebsd.h:276: warning: static declaration of 'pmap_change_attr' follows non-static declaration
./machine/pmap.h:362: warning: previous declaration of 'pmap_change_attr' was here
./nv-freebsd.h:292: warning: static declaration of 'pmap_mapdev_attr' follows non-static declaration
./machine/pmap.h:370: warning: previous declaration of 'pmap_mapdev_attr' was here
*** Error code 1
А где ошибка? Тут только предупреждения...
если дают ошибки именно они, то попробуй добавить к make -DNO_WERROR или WERROR=""