Imagination PowerVR SDK Blog

SDK and Virtual machines


#1

Hello,
I know :slight_smile: the SDK is already available for a multitude of platformes.
I would like to know if it’s possible to use the Linux SDK on a virtualised machine (VirtualBox/VmWare or anything else), my aim is to have a linux guest running on a windows box for example and to be able to run. 

I’m trying ubuntu 9.04 on VirtualBox, the host machine is a windows Xp (Ati Radeon HD 3470) without success at the moment, i would like to share you experience regarding this.

Thank you
gpg


#2

The SDK isn’t really designed to support virtualised environments, particularly as graphics support tends to be poor. Some parts of the SDK may work, but on the whole I wouldn’t recommend this approach.





Why do you want to do this, especially as there is a Windows SDK already available?


#3

Hello
The idea is to a continuous integration of a crossplatform 3D engine. The possibility to check what’s the impact/result of some tasks on windows and at the same time verifying the result on a virtual machine. Performances are not really a problem (performances can be checked on the embedded target or on the native host).
I believe it may be very usefull.


#4

here is my configuration,





Host : windows XP GC : ATI radeon X300SE


Guest : kubuntu with 2.6.28-11-generic kernel


VirtualBox





glxinfo:


//////////////////////////////////////////////////////////////////////////////////////////////


name of display: :0.0                                                           


display: :0 screen: 0                                                        


direct rendering: Yes                                                           


server glx vendor string: Chromium                                              


server glx version string: 1.2 Chromium                                         


server glx extensions:                                                        


    GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig       


client glx vendor string: Chromium                                              


client glx version string: 1.2 Chromium                                         


client glx extensions:                                                        


    GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig       


GLX version: 1.3                                                               


GLX extensions:                                                               


    GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig       


OpenGL vendor string: Humper                                                    


OpenGL renderer string: Chromium                                                


OpenGL version string: 2.0 Chromium 1.9                                         


OpenGL shading language version string: 1.20                                   


OpenGL extensions:                                                              


    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample,          


    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_point_parameters,       


    GL_ARB_point_sprite, GL_ARB_shadow, GL_ARB_shadow_ambient,                  


    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,                    


    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,                            


    GL_ARB_texture_env_combine, GL_EXT_texture_env_combine,                     


    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,                     


    GL_EXT_texture_env_dot3, GL_ARB_texture_mirrored_repeat,                    


    GL_ARB_texture_non_power_of_two, GL_ARB_transpose_matrix,                   


    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,      


    GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_func_separate,       


    GL_EXT_blend_subtract, GL_EXT_texture_env_add, GL_EXT_fog_coord,            


    GL_EXT_multi_draw_arrays, GL_EXT_secondary_color, GL_EXT_shadow_funcs,      


    GL_EXT_stencil_wrap, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,    


    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,                 


    GL_EXT_texture_object, GL_EXT_texture3D, GL_NV_texgen_reflection,           


    GL_EXT_texture_rectangle, GL_SGIS_generate_mipmap,                          


    GL_SGIS_texture_edge_clamp, GL_CR_state_parameter, GL_CR_cursor_position,   


    GL_CR_bounding_box, GL_CR_print_string, GL_CR_tilesort_info,              


    GL_CR_synchronization, GL_CR_head_spu_name, GL_CR_performance_info,       


    GL_CR_window_size, GL_CR_tile_info, GL_CR_saveframe,                        


    GL_CR_readback_barrier_size, GL_CR_server_id_sharing, GL_CR_server_matrix,


    GL_ARB_shading_language_100, GL_ARB_shader_objects, GL_ARB_vertex_shader,   


    GL_ARB_fragment_shader                                                      





64 GLX Visuals


   visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav


id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat




0x21 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc3 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc4 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc5 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc6 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc7 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc8 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xc9 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xca 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xcb 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xcc 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xcd 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xce 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xcf 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd0 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd1 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd2 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd3 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd4 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd5 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd6 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd7 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd8 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xd9 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xda 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xdb 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xdc 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xdd 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xde 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xdf 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe0 24 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe1 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe2 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe3 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe4 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe5 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe6 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe7 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe8 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xe9 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xea 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xeb 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xec 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xed 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xee 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xef 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf0 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf1 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf2 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf3 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf4 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf5 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf6 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf7 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf8 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xf9 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xfa 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xfb 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xfc 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xfd 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xfe 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0xff 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0x100 24 dc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None

0x42 32 tc 0 32 0 r y y 8 8 8 8 0 16 8 16 16 16 16 0 0 None



64 GLXFBConfigs:

   visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav

id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat



0x21 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc3 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc4 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc5 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc6 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc7 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc8 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xc9 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xca 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xcb 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xcc 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xcd 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xce 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xcf 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd0 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd1 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd2 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd3 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd4 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd5 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd6 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd7 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd8 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xd9 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xda 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xdb 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xdc 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xdd 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xde 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xdf 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe0 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe1 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe2 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe3 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe4 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe5 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe6 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe7 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe8 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xe9 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xea 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xeb 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xec 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xed 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xee 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xef 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf0 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf1 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf2 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf3 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf4 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf5 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf6 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf7 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf8 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xf9 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xfa 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xfb 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xfc 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xfd 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xfe 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0xff 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0x100 0 tc 0 24 0 r y . 8 8 8 0 0 16 8 0 0 0 0 1 1 None

0x42 0 tc 0 32 0 r y . 8 8 8 8 0 16 8 0 0 0 0 1 1 None

///////////////////////////////////////////////:///////////////////////////////////////////////



Running the demo binary as provided by the SDK displays a blancwindow then it crashs.

/SDKPackage/Binaries/CommonX11/Demos/ChameleonMan



PVRShell: EGL 1.3 initialized

Profile Chosen: MBXLITE

OpenGL Warning: XGetVisualInfo returned 0 visuals for 92fda30

OpenGL Warning: glXGetFBConfigAttrib for 0x92fda30, failed to get XVisualInfo

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

OpenGL Warning: glXChooseFBConfigSGIX not implemented by Chromium

Segmentation fault



backtrace:

(gdb) backtrace

#0 0xb7a470ef in EglConfig::native_on () from /home/pinguin/SDKPackage/Builds/OGLES/LinuxPC/Lib/libEGL.so

#1 0xb7a3cfce in egl_functions::eglCreateContext () from /home/pinguin/SDKPackage/Builds/OGLES/LinuxPC/Lib/libEGL.so

#2 0xb7fa14b2 in eglCreateContext () from /home/pinguin/SDKPackage/Builds/OGLES/LinuxPC/Lib/libGLES_CM.so

#3 0x0804eeb9 in PVRShellInit::ApiInitAPI ()

#4 0x0804f372 in PVRShellInit::OsDoInitAPI ()

#5 0x0804e43d in PVRShellInit::Run ()

#6 0x0804fa1b in main ()







It's a serious post, I hope i can get some feedbacks.

Thank you in advance.gpgnews2009-07-16 20:33:23