Nexuiz can run in a Virtual Machine!

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Nexuiz can run in a Virtual Machine!

Postby [-z-] » Sun Apr 05, 2009 12:02 am

Using Ubuntu as a host and Windows XP as a guest, I was able to get Nexuiz 2.5 running with virtualbox thanks to a hot tip by esteel. Using the -safe flag, I was able to get graphics (where it was just a black screen before).

The latest Virtual Box support 3d acceleration if you just check the box and push up your RAM (to preferably 128mb)

Image

Excuse me while I go fraggin'


Some lulz:

Image
Image
Image

ULTIMATE!!!!!!!!
Image




Entities, weapons or models (other than players) don't show up. period; verified by victim. It's also worth noting that on my nvidia 8600gt(?) it runs very slow like you're playing on the moon.

Image
Floating box is floating! (no forklift :()
Image
omg who stole da computas?


My RAM meter, during and after; I have 4gb:
Image
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Psychcf » Sun Apr 05, 2009 3:12 am

Wow, that's quite awesome. Will vbox support DirectX as well?
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby [-z-] » Sun Apr 05, 2009 3:26 am

not sure, right now it's only opengl
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby esteel » Sun Apr 05, 2009 11:19 am

Well the -safe parameter disables the usage of like every goody a graphic card offers to speed up things :) So no wonder its slow. Thinking about it most probable thing the vbox does not like are the non-power-of-two textures. You can try disabling just them via parameter: -notexturenonpoweroftwo

Other options you might want to try are (-safe should be like you use all/most of them at once, but i did not check for this list being complete):
-noanisotropy disables GL_EXT_texture_filter_anisotropic (allows higher quality texturing)
-nocombine disables GL_ARB_texture_env_combine or GL_EXT_texture_env_combine (required for bumpmapping and faster map rendering)
-nocubemap disables GL_ARB_texture_cube_map (required for bumpmapping)
-nocva disables GL_EXT_compiled_vertex_array (renders faster)
-nodot3 disables GL_ARB_texture_env_dot3 (required for bumpmapping)
-nodrawrangeelements disables GL_EXT_draw_range_elements (renders faster)
-noedgeclamp disables GL_EXT_texture_edge_clamp or GL_SGIS_texture_edge_clamp (recommended, some cards do not support the other texture clamp method)
-nofragmentshader disables GL_ARB_fragment_shader (allows pixel shader effects, can improve per pixel lighting performance and capabilities)
-nomtex disables GL_ARB_multitexture (required for faster map rendering)
-noseparatestencil disables use of OpenGL2.0 glStencilOpSeparate and GL_ATI_separate_stencil extensions (which accelerate shadow rendering)
-noshaderobjects disables GL_ARB_shader_objects (required for vertex shader and fragment shader)
-noshadinglanguage100 disables GL_ARB_shading_language_100 (required for vertex shader and fragment shader)
-nostenciltwoside disables GL_EXT_stencil_two_side (which accelerate shadow rendering)
-notexture3d disables GL_EXT_texture3D (required for spherical lights, otherwise they render as a column)
-novertexshader disables GL_ARB_vertex_shader (allows vertex shader effects)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby [-z-] » Wed Apr 22, 2009 4:00 pm

So I went through the list above, the flag that gets the menu back is:

-nodrawrangeelements


Thanks to esteel's advice, you can alternatively add >> "gl_mesh_drawrangeelements 0" to your autoexec.cfg

I suggest setting your effects to low... and possibly (if you still have poor performance) try "r_showsurfaces 3"
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida


Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron