Кстати, если у кого то не будет ставится mesa-demos, то нужно удалить nvidia-driver, поставить mesa-demos, затем снова установить драйвер.
з.ы.
такое решение нашел на forums.freebsd.org
Вопрос по nvidia
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
-
- рядовой
- Сообщения: 41
- Зарегистрирован: 2009-04-23 17:49:46
Re: Вопрос по nvidia
Отсутствие мозгов не мешает видеть в себе гения(с) не мое
Услуги хостинговой компании Host-Food.ru
Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
-
- ефрейтор
- Сообщения: 68
- Зарегистрирован: 2009-03-26 11:07:26
- Откуда: Санкт-Петербург
Re: Вопрос по nvidia
Как отсюда узнать какой драйвер используется. содержание Xorg.0.log:vg писал(а):/usr/ports/x11/nvidia-xconfig (чуток оПшибся)fanbass писал(а):Command not foundvg писал(а):Код: Выделить всё
nvidia-config
/usr/ports/x11/nvidia-settings/var/log/Xorg.0.logВопрос заключается в том, как определить использует ли Xorg драйвер nvidia или всё таки ципляет nv
Код: Выделить всё
X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.0-RELEASE i386
Current Operating System: FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 20 December 2009 07:33:39PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 22:03:37 2009
(==) Using config file: "/usr/local/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(==) No device specified for screen "Screen0".
Using the first device section listed.
(**) | |-->Device "NV AGP"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/local/lib/X11/fonts/cyrillic/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
built-ins
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x6a0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9
(--) PCI: (0@1:9:0) Brooktree Corporation Bt878 Video Capture rev 17, Mem @ 0xd7000000/4096
(--) PCI:*(0@2:0:0) nVidia Corporation NV43 [GeForce 6600 GT] rev 162, Mem @ 0xd4000000/16777216, 0xc0000000/268435456, 0xd5000000/16777216, BIOS @ 0x????????/65536
(II) System resource ranges:
[0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 195.22 Mon Nov 30 14:07:58 posix/SystemV/PST 2009
(II) Loading extension GLX
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"
(II) Loading /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 195.22 Mon Nov 30 14:10:38 posix/SystemV/PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 02@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/local/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/local/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
[0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Dec 26 22:03:39 NVIDIA(0): Enabling RENDER acceleration
(II) Dec 26 22:03:39 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Dec 26 22:03:39 NVIDIA(0): enabled.
(II) Dec 26 22:03:42 NVIDIA(0): NVIDIA GPU GeForce 6600 GT (NV43) at PCI:2:0:0 (GPU-0)
(--) Dec 26 22:03:42 NVIDIA(0): Memory: 131072 kBytes
(--) Dec 26 22:03:42 NVIDIA(0): VideoBIOS: 05.43.02.39.00
(II) Dec 26 22:03:42 NVIDIA(0): Detected AGP rate: 8X
(--) Dec 26 22:03:42 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Dec 26 22:03:42 NVIDIA(0): Connected display device(s) on GeForce 6600 GT at PCI:2:0:0:
(--) Dec 26 22:03:42 NVIDIA(0): NVIDIA TV Encoder (TV-0)
(--) Dec 26 22:03:42 NVIDIA(0): Samsung SyncMaster (DFP-0)
(--) Dec 26 22:03:42 NVIDIA(0): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel clock
(--) Dec 26 22:03:42 NVIDIA(0): TV encoder: NVIDIA
(II) Dec 26 22:03:42 NVIDIA(0): Assigned Display Device: DFP-0
(II) Dec 26 22:03:42 NVIDIA(0): Validated modes:
(II) Dec 26 22:03:42 NVIDIA(0): "1280x1024"
(II) Dec 26 22:03:42 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) Dec 26 22:03:42 NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
(--) Dec 26 22:03:42 NVIDIA(0): option
(==) Dec 26 22:03:42 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Dec 26 22:03:42 NVIDIA(0): Initialized AGP GART.
(II) Dec 26 22:03:42 NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) Dec 26 22:03:42 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Dec 26 22:03:42 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device PS/2+USB Mouse
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.4.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) PS/2+USB Mouse: Device: "/dev/sysmouse"
(==) PS/2+USB Mouse: Protocol: "Auto"
(**) PS/2+USB Mouse: always reports core events
(**) Option "Device" "/dev/sysmouse"
(==) PS/2+USB Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2+USB Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2+USB Mouse: Buttons: 9
(**) PS/2+USB Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "PS/2+USB Mouse" (type: MOUSE)
(**) PS/2+USB Mouse: (accel) keeping acceleration scheme 1
(**) PS/2+USB Mouse: (accel) filter chain progression: 2.00
(**) PS/2+USB Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2+USB Mouse: (accel) set acceleration profile 0
(II) PS/2+USB Mouse: SetupAuto: hw.iftype is 4, hw.model is 0
(II) PS/2+USB Mouse: SetupAuto: protocol is SysMouse
(II) config/hal: Adding input device AT Keyboard
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) AT Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) AT Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) AT Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) AT Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) AT Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) AT Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)
(II) 3rd Button detected: disabling emulate3Button
(II) Dec 26 22:21:40 NVIDIA(0): Setting mode "1024x768"
(II) Dec 26 22:23:06 NVIDIA(0): Setting mode "832x624"
(II) Dec 26 22:23:12 NVIDIA(0): Setting mode "800x600"
(II) Dec 26 22:23:15 NVIDIA(0): Setting mode "1280x1024"
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
Код: Выделить всё
(II) LoadModule: "nvidia"
(II) Loading /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 195.22 Mon Nov 30 14:10:38 posix/SystemV/PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

-
- ефрейтор
- Сообщения: 68
- Зарегистрирован: 2009-03-26 11:07:26
- Откуда: Санкт-Петербург
Re: Вопрос по nvidia
Привожу для сравнения два файла, где Xorg собирался из портов и пакетов. Разница видна не вооружённым взглядом.server801 писал(а):вручную всегда прописываю.никогда само собой не прописывалось,так как использует судя по всему драйвер nv.Код: Выделить всё
Identifier "NV AGP" Driver "nvidia"
Объясните почему так происходит? (при сборки Xorg из пакетов драйвер nvidia сам прописывается в xorg.conf.new, а при сборке Xorg из пакетов нет,и тоже самое в Section "Device", option отсутствуют в пакетном варианте Xorg)
xorg_packages.conf.new
Код: Выделить всё
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
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 "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "glx"
Load "record"
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"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV43 [GeForce 6600 GT]"
BusID "PCI:2: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
Код: Выделить всё
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
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 "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
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 "NV43 [GeForce 6600 GT]"
BusID "PCI:2: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
