LINUX.ORG.RU

Проброс nvidia quadro 5000 в виртуальную машину

 , ,


0

1

Есть сервер с vmware esxi, на нем виртуальная машина. Поставлен debian squeeze с кедами, все хорошо. Ставлю драйвер nvidia - перестают грузиться иксы. На CentOS 6.3 тоже проверял, тоже перестают. Что я не так делаю? Под оффтопиком эта железка вполне работала в виртуалке.

лог Xorg (смущает фраза «No devices detected»):

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
Current Operating System: Linux debian 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=b3b95d1d-7cbe-49e3-9eeb-a15f12d3c676 ro quiet
Build Date: 14 April 2013  12:04:54PM
xorg-server 2:1.7.7-16 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.16.4
	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: Sun Jun 30 15:13:25 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
	Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81ecce0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 2

(--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 VMware SVGA II Adapter rev 0, Mem @ 0xc0000000/67108864, 0xb8800000/8388608, I/O @ 0x000010d0/16, BIOS @ 0x????????/32768
(--) PCI: (0:3:0:0) 10de:06d9:10de:0770 nVidia Corporation rev 163, Mem @ 0xbc000000/33554432, 0xd0000000/134217728, 0xc8000000/67108864, I/O @ 0x00004080/128
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(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: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, 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/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  319.32  Wed Jun 19 14:13:45 PDT 2013
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.7, 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: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/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  319.32  Wed Jun 19 13:52:27 PDT 2013
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00@00:0f:0
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Ответ на: комментарий от i_gnatenko_brain

релевантное:

03:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:06d9] (rev a3) (prog-if 00 [VGA controller])
	Subsystem: nVidia Corporation Device [10de:0770]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at bc000000 (32-bit, non-prefetchable) [size=32M]
	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=128M]
	Region 3: Memory at c8000000 (64-bit, prefetchable) [size=64M]
	Region 5: I/O ports at 4080 [size=128]
	Capabilities: [60] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [78] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 5GT/s, Width x32, ASPM L0s, Latency L0 <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s, Width x32, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
			Status:	NegoPending- InProgress-
	Capabilities: [128 v1] Power Budgeting <?>
	Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Kernel driver in use: nvidia
pianolender ★★★ ()
Ответ на: комментарий от pianolender
root@debian:~# nvidia-xconfig 

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
pianolender ★★★ ()
Ответ на: комментарий от i_gnatenko_brain

бред:

startx
-bash: startx: command not found
root@debian:~# aptitude search xorg | grep ^i
i A xserver-xorg                    - the X.Org X server                        
i A xserver-xorg-core               - Xorg X server - core server               
i A xserver-xorg-input-all          - the X.Org X server -- input driver metapac
i A xserver-xorg-input-evdev        - X.Org X server -- evdev input driver      
i A xserver-xorg-input-synaptics    - Synaptics TouchPad driver for X.Org server
i A xserver-xorg-input-wacom        - X.Org X server -- Wacom input driver      
i A xserver-xorg-video-all          - the X.Org X server -- output driver metapa
i A xserver-xorg-video-apm          - X.Org X server -- APM display driver      
i A xserver-xorg-video-ark          - X.Org X server -- ark display driver      
i A xserver-xorg-video-ati          - X.Org X server -- AMD/ATI display driver w
i A xserver-xorg-video-chips        - X.Org X server -- Chips display driver    
i A xserver-xorg-video-cirrus       - X.Org X server -- Cirrus display driver   
i A xserver-xorg-video-fbdev        - X.Org X server -- fbdev display driver    
i A xserver-xorg-video-geode        - X.Org X server -- Geode GX2/LX display dri
i A xserver-xorg-video-i128         - X.Org X server -- i128 display driver     
i A xserver-xorg-video-i740         - X.Org X server -- i740 display driver     
i A xserver-xorg-video-intel        - X.Org X server -- Intel i8xx, i9xx display
i A xserver-xorg-video-mach64       - X.Org X server -- ATI Mach64 display drive
i A xserver-xorg-video-mga          - X.Org X server -- MGA display driver      
i A xserver-xorg-video-neomagic     - X.Org X server -- Neomagic display driver 
i A xserver-xorg-video-nouveau      - X.Org X server -- Nouveau display driver (
i A xserver-xorg-video-nv           - X.Org X server -- NV display driver       
i A xserver-xorg-video-openchrome   - X.Org X server -- VIA display driver      
i A xserver-xorg-video-r128         - X.Org X server -- ATI r128 display driver 
i A xserver-xorg-video-radeon       - X.Org X server -- AMD/ATI Radeon display d
i A xserver-xorg-video-rendition    - X.Org X server -- Rendition display driver
i A xserver-xorg-video-s3           - X.Org X server -- legacy S3 display driver
i A xserver-xorg-video-s3virge      - X.Org X server -- S3 ViRGE display driver 
i A xserver-xorg-video-savage       - X.Org X server -- Savage display driver   
i A xserver-xorg-video-siliconmotio - X.Org X server -- SiliconMotion display dr
i A xserver-xorg-video-sis          - X.Org X server -- SiS display driver      
i A xserver-xorg-video-sisusb       - X.Org X server -- SiS USB display driver  
i A xserver-xorg-video-tdfx         - X.Org X server -- tdfx display driver     
i A xserver-xorg-video-trident      - X.Org X server -- Trident display driver  
i A xserver-xorg-video-tseng        - X.Org X server -- Tseng display driver    
i A xserver-xorg-video-vesa         - X.Org X server -- VESA display driver     
i A xserver-xorg-video-vmware       - X.Org X server -- VMware display driver   
i A xserver-xorg-video-voodoo       - X.Org X server -- Voodoo display driver  

xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 319.32  (buildmeister@swio-display-x64-rhel04-05)  Wed Jun 19 15:05:10 PDT 2013


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
pianolender ★★★ ()
Ответ на: комментарий от i_gnatenko_brain

под кедами до установки блоба иксы точно были, куда же что делось?..

в логах при startx:

(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 30 17:21:32 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) No devices detected.

Fatal server error:
no screens found
pianolender ★★★ ()
Ответ на: комментарий от ZenitharChampion

Прошу прощения, но можно ссылку?

В группе legacy на сайте нвидии драйвера только для довольно старых железок есть. Или я что-то не так понял?

pianolender ★★★ ()
Ответ на: комментарий от pianolender

Я разбираюсь только в GeForce. И знаю что 6 и 7 серия после 304.xx не поддерживаются. А 304.xx поддерживает всё начиная от GeForce 6 и заканчивая GeForce GTX 7xx. В Quadro я не разбираюсь и не знаю, поддерживается ли твоя модель самым новым драйвером или нет. Поэтому предлагаю попробовать Legacy-драйвер.

На сайте NVIDIA в разделе поиска драйверов можно выбрать свою модель и увидеть версию драйвера для него.

ZenitharChampion ★★★★★ ()
Ответ на: комментарий от ZenitharChampion

А, ну это-то я уже делал - ставилась актуальная версия драйвера для моего железа.

Ок, будем дальше копать, если не забуду - постараюсь отписаться.

pianolender ★★★ ()
Последнее исправление: pianolender (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.