2012-12-02 70 views
2

我被困2天后試圖讓我的顯卡在Vmware主機上工作。GPU與vmware直通

規格:

  • Vvmware的ESXi 5.0.0在Windows
  • 的Ubuntu 10.04運行在主機上運行
  • 顯卡:AMD的Radeon 6900系列

有用的輸出:

#lspci -v 
03:00.0 VGA compatible controller: ATI Technologies Inc Cayman PRO [AMD Radeon 6900 Series] 
Subsystem: PC Partner Limited Device 186b 
Flags: bus master, fast devsel, latency 64, IRQ 18 
Memory at c0000000 (64-bit, prefetchable) [size=256M] 
Memory at b2420000 (64-bit, non-prefetchable) [size=128K] 
I/O ports at 4400 [size=256] 
Capabilities: [50] Power Management version 3 
Capabilities: [58] Express Endpoint, MSI 00 
Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- 
Capabilities: [100] Vendor Specific Information <?> 
Capabilities: [150] Advanced Error Reporting <?> 
Kernel driver in use: fglrx_pci 
Kernel modules: fglrx 

I在文本模式下啓動我的Ubuntu。 我嘗試在我的VM中運行OpenCL。我用ati-stream等等嘗試了很多各種教程,並且沒有任何工作。 然後我跟着This

我做了後,我得到了在啓動此消息:

dmesg|grep radeon 
    [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.6 root=UUID=1b5bd568-6b7f-41c0-be1c-d69ae4f7e438 ro text splash video=radeon:modeset=1 

[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.6 root=UUID=1b5bd568-6b7f-41c0-be1c-d69ae4f7e438 ro text splash video=radeon:modeset=1 
[ 2.670567] [drm] radeon kernel modesetting enabled. 
[ 2.671623] radeon 0000:03:00.0: enabling device (0000 -> 0003) 
[ 2.672877] radeon 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 
[ 2.679567] radeon 0000:03:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x0] (bogus alignment) 
[ 2.680456] radeon 0000:03:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x0] (bogus alignment) 
[ 2.681299] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM 
[ 2.682179] radeon 0000:03:00.0: Fatal error during GPU init 
[ 2.683291] [drm] radeon: finishing device. 
[ 2.693101] radeon 0000:03:00.0: PCI INT A disabled 
[ 2.696322] radeon: probe of 0000:03:00.0 failed with error -22 

所以,我知道,直通工作,因爲我可以看到我的圖形卡在我的主機,但我可以」讓它工作正確。

任何人都可以幫助我嗎?詢問我是否需要更多信息!

+1

我覺得這屬於超級用戶 - 這不是關於編程,而是關於故障排除。 – Thomas

回答

0

我認爲AMD OpenCL驅動程序(和催化劑)與X11軟件包有某種聯繫。 嘗試在VMWare中啓動Xorg服務器,並在OpenCL中寫入簡單的設備查詢以查看是否可以訪問該卡。如果完全沒有安裝xorg,那也可能是個問題。 你也可以看到使用aticonfig --lsa作爲根的卡?

+0

感謝您的回覆。我明天會測試一下。 在我安裝驅動程序並運行startx之後,它使用圖形卡輸出,這意味着連接到ATI的真實屏幕。 明天我會給你輸出。晚上好 – user1870634