Ostrzeżenia OpenGL z Ubuntu 12.04 LTS działającym jako gość VirtualBox pod Windows7


8

Od jakiegoś czasu używam 12.04 jako gościa na moim laptopie i działa bezbłędnie.

Dzisiaj kolega zapytał mnie o wydajność gościa w 3D. Nigdy nie przyszło mi do głowy, aby używać fantazyjnych materiałów 3D na gościu, ale i tak byłem zainteresowany wynikami, więc włączyłem 3D accelerationw menu VirtualBox dla mojej instalacji i ponownie uruchomiłem vm.

Bieganie glxgearsdaje dziwne ostrzeżenia, a okno z obracającymi się zębatkami pozostaje czarne (zamieściłem dane wyjściowe konsoli poniżej).

Działając glxgears bez włączonej akceleracji 3D, uzyskuję ~ 570 FPS i żadnych ostrzeżeń.

Niski FPS nie jest moim problemem, ale okno czarnego glxgears jest dziwne. Domyślam się, że jest jakiś problem ze sterownikiem nVidia systemu hosta? (patrząc na NVsufiks ostrzeżeń)

ortang@vbox-12-04:~$ glxgears 
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
369 frames in 5.0 seconds = 73.647 FPS

Hostem jest laptop Dell z systemem Windows 7 (64-bitowy) (Precision E4600) z i7-2820QMprocesorem i nVidia Quadro 2000Mkartą graficzną (wersja sterownika 311.10).

Gość jest aktualną instalacją LTS 12.04, z zainstalowanymi dodatkami gościa.

Kilka dodatkowych informacji dotyczących uruchamiania narzędzia do testowania obsługi jedności:

ortang@vbox-12-04:~$ /usr/lib/nux/unity_support_test -p
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
OpenGL vendor string:   Humper
OpenGL renderer string: Chromium
OpenGL version string:  2.1 Chromium 1.9

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes

GUI działa płynnie, ale nie aktywowałem żadnych wymyślnych rzeczy (wszystkie domyślnie).

Znalazłem kilka linków, w których informują, że przyspieszenie 3D działa dobrze na gościu 12.04, a nawet uruchamiają tam gry bez znacznej utraty wydajności.

Znalazłem podobny post na stackoverflow, ale został zamknięty jako nie na temat:

/programming/16287511/opengl-warnings-after-enabling-3d-acceleration-in-virtual-box-running-ubuntu-12

Wszelkie wskazówki dotyczące rozwiązania tego problemu byłyby miłe!

Odpowiedzi:


1

Sterowniki wideo w pakiecie dodatków gościa są jedynie proxy między systemem operacyjnym gościa a sterownikami hosta wideo (z pewnymi ograniczeniami, takimi jak 16 (modyfikowalnych) MB pamięci VRAM). Oznacza to, że te same błędy mogą się pojawiać, nawet jeśli system operacyjny będzie działał ze zaktualizowanymi sterownikami NVidia (możesz użyć zastrzeżonych sterowników - aby je zainstalować, po prostu uruchom plik .run z powłoki), a może tylko BEZ zaktualizowanych sterowników.

Możliwe, że system Windows 7 nie zawiera (przynajmniej tak mi się nie zdaje) prawdziwych sterowników NVidia, ale w większości kompatybilnych, ale mniej wydajnych (jak te pierwotnie znalezione w Ubuntu). Jeśli tak, musisz zaktualizować sterowniki HOST TUTAJ !


0

Czy zainstalowałeś narzędzia Virtualbox Guest Additions na maszynie wirtualnej? Gdy maszyna uruchomi się, przejdź do karty menu z napisem urządzenia, przejdź do ostatniej opcji w menu i naciśnij opcję Włóż dysk CD z dodatkami Gest, zobaczysz rozruch płyty CD w systemie operacyjnym, zainstaluj sterowniki i otrzymasz lepsza wydajność, mam nadzieję, że to pomoże.


Tak, mam je zainstalowane. Gość jest aktualną instalacją LTS 12.04, z zainstalowanymi dodatkami gościa.
ortang
Korzystając z naszej strony potwierdzasz, że przeczytałeś(-aś) i rozumiesz nasze zasady używania plików cookie i zasady ochrony prywatności.
Licensed under cc by-sa 3.0 with attribution required.