Crayon Physics Deluxe Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Crayon Physics crashes to desktop, using Steam or C4P

I am specifically trying to get Crayon Physics to work. I have installed the Demo using the C4P, and through Steam. Both load a black screen with the background sound playing, but no graphical front end.

Not sure exactly what the problem is. :(

If I start clicking around randomly, and eventually hit one of the options that should be appearing, the game crashes to desktop.

I am currently using Mandriva Linux 2010.1 a Nvidia 9600M Graphics Processor, 4 GB RAM.
uname -a:
Linux PORTABLE 2.6.33.7-desktop-2mnb #1 SMP Mon Sep 20 18:19:20 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

If any more information is needed, please tell me. I also have created a ticket here:
http://www.codeweavers.com/support/tickets/browse/?ticket_id=819973;layout=user_tickets;sort[status]=ASC

As I wasn't sure how the support system here actually works.

Thank you.

Hi,

I would expect that setup to work....what video drivers are you using? Also,
which version of Crossover are you using?

Cheers!

Using 9.1.0 Crossover, and using the latest drivers from Nvidia, 256.53.

I didn't install the drivers through MCC/URPMI, I manually installed them, however, that shouldn't cause any difference.

Hi again,

Curious...and you're right, if a manual nvidia driver install completed  

successfully, that -should- be okay. My guess is it's something specific to
the 9600M (mobility) chipset ; they don't compare favorably to their non-M
counterparts...ie; a 9600gt is more capable than a 9600M ...

At a guess, perhaps setting ORM to backbuffer may help...I would try the following
on the C4P based installation (with Steam, we'd need to this another way) Open a
plaintext editor and cut&paste the following into it;


REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"OffscreenRenderingMode"="backbuffer"

Save the file with a meaningful name...ie; orm_bb.reg

Now start cxsetup (Manage Bottles) -> highlight the crayon physics bottle,
then click on 'Run command'...in the 'Command:' stringbox, type regedit
and then click on 'Run' -- the windows registry editor will appear. Use the
File->Import Registry menu item and navigate to the file created above and
open it -- once done, exit the registry editor.

Now try running the game itself again...did that help any?

Cheers!

That didn't seem to do anything at all. :( Everything stayed the same, still have audio, still have clickable interface buttons, but the screen is still overlayed in Black.

Though, while looking through the Regedit... I don't see anything regarding crayon physics. I do see a Steam group, and it has 9 app id's, which all have the flag "-novid"

Finally, attempting to emulate a desktop with video settings set to 1240 x 768 (could be wrong on the resolution), just has the entire thing freeze. I don't get audio, I don't get any buttons that work, and I have to force kill the window.

Hmmmm....emulate a virtual desktop would've been my next step, but possibly I would've set
the desktop size value to 1024x768 -- you would probably need revert the ORM=bb registry
hack above to get a 'clean' test of what emulate a virtual desktop is doing...(start the
registry editor again, navigate to the above registry key, right-click 'modify' -- change
backbuffer to be fbo instead -- 'fbo' is the default setting here)...

If you're interested in grabbing/uploading a debuglog of the issue, let me know and I'll
post back particulars of doing that...

Cheers!

Yeah, didn't work. :\

How would I go about doing a debug log? Run the specified program in Console?

If it makes any difference, other supported applications (IE: Portal) don't run either. So, I wonder if it is more graphical related then an issue with Crossover itself. Which would definitely suck. :(

This is with no extra flags enabled:

Trying to run Portal:
fixme:exec:SHELL_execute flags ignored: 0x00000100
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.

Trying to run Crayon Physics:
** Sun Oct 3 02:28:01 2010
Starting '/opt/cxgames/bin/wineloader' 'winewrapper.exe' '--workdir' '/home/andrew/.cxgames/Steam/dosdevices/c:/Program Files/Steam/steamapps/common/crayon physics deluxe' '--start' '--'
'/home/andrew/.cxgames/Steam/dosdevices/../drive_c/Program Files/Steam/steamapps/common/crayon physics deluxe/crayon.exe'

fixme:exec:SHELL_execute flags ignored: 0x00000100

I have a longer one with the X11drv flag, and some other flags enabled as well.

Hi again,

Okay...you'd be right, this looks like your opengl libraries or such (the clue about
Portal not starting was the hint =) Run the following command in an xterm/console ;

/opt/cxgames/bin/cxdiag --debug

At the tail of the console output, you should see something akin to...;

default screen=0, planes=24
OpenGL vendor = 'NVIDIA Corporation'
OpenGL version = '3.3.0 NVIDIA 256.44'
NVIDIA version 256.44

What do you see there?

Cheers!

default screen=0, planes=24
glXChooseVisual() failed
[OpenglNotWorking]
"Level"="Recommend"
"Title"="OpenGL does not work"
"Description"="OpenGL did not work in our simple tests. This means OpenGL and DirectX applications, including most games, will likely not work. Other applications should be unaffected."

(I guess this also explains my screensaver issue with Gnome. :D )

andrew@PORTABLE ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
GLX_NV_video_capture
GLX version: 1.4
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9600M GS/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 256.53
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:
GL_ARB_blend_func_extended, GL_ARB_color_buffer_float,
GL_ARB_compatibility, GL_ARB_copy_buffer, GL_ARB_depth_buffer_float,
GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,
GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_half_float_pixel,
GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_instanced_arrays,
GL_ARB_map_buffer_range, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_provoking_vertex, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
GL_ARB_shader_bit_encoding, GL_ARB_shader_objects,
GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_sync,
GL_ARB_texture_border_clamp, GL_ARB_texture_buffer_object,
GL_ARB_texture_compression, GL_ARB_texture_compression_rgtc,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_float,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_swizzle,
GL_ARB_timer_query, GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object,
GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_window_pos, GL_ATI_draw_buffers,
GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_S3_s3tc,
GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_bindable_uniform, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
GL_EXTX_framebuffer_mixed_formats, GL_EXT_framebuffer_object,
GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4,
GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_provoking_vertex, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_shader_objects,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D,
GL_EXT_texture_array, GL_EXT_texture_buffer_object,
GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_shared_exponent, GL_EXT_texture_sRGB,
GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_vertex_array,
GL_EXT_vertex_array_bgra, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
GL_NV_depth_buffer_float, GL_NV_depth_clamp, GL_NV_explicit_multisample,
GL_NV_fence, GL_NV_float_buffer, GL_NV_fog_distance,
GL_NV_fragment_program, GL_NV_fragment_program_option,
GL_NV_fragment_program2, GL_NV_framebuffer_multisample_coverage,
GL_NV_geometry_shader4, GL_NV_gpu_program4, GL_NV_half_float,
GL_NV_light_max_exponent, GL_NV_multisample_coverage,
GL_NV_multisample_filter_hint, GL_NV_occlusion_query,
GL_NV_packed_depth_stencil, GL_NV_parameter_buffer_object,
GL_NV_parameter_buffer_object2, GL_NV_pixel_data_range,
GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_register_combiners,
GL_NV_register_combiners2, GL_NV_shader_buffer_load,
GL_NV_texgen_reflection, GL_NV_texture_barrier,
GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
GL_NV_texture_expand_normal, GL_NV_texture_multisample,
GL_NV_texture_rectangle, GL_NV_texture_shader, GL_NV_texture_shader2,
GL_NV_texture_shader3, GL_NV_transform_feedback, GL_NV_vdpau_interop,
GL_NV_vertex_array_range, GL_NV_vertex_array_range2,
GL_NV_vertex_buffer_unified_memory, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_NV_vertex_program2,
GL_NV_vertex_program2_option, GL_NV_vertex_program3,
GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SUN_slice_accum

GL_RENDERER: GeForce 9600M GS/PCI/SSE2
GL_VENDOR: NVIDIA Corporation
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess
GLUT_API_VERSION: 5
GLUT_XLIB_IMPLEMENTATION: 15


I guess installing the driver automatically would be my best option... or trying it again, and trying different options during installation.

Hi,

Goodgrief...don't post those sort of things in the forum - they look decidedly ugly,
and don't really tell much at all about what Crossover/wine thinks about things 8-)

I'll suspect what you're missing here is the 32bit nvidia opengl libs -- what glxinfo
is saying above is that there is a working opengl implementation present, but my guess
is it's loaded 64bit opengl libraries...

So, you will need to install your nvidia driver/libraries again, and be sure to install
the 32bit library package (or if using the nvidia *.run installer, make sure you choose
'yes' and install the 32bit libs when the installer prompts you about same). When everything
is 'correct', the cxdiag command given above should return output that mimics what I posted
earlier -- once so, I'm guessing everything will start working as expected...

Cheers!

Yep, everything works now. Thanks Don.

1 to 11 of 11

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM0NzIyMzMzLCJjc3JmX3Rva2VuIjoiVzZyZGZzTlZna3pQd25nZCIsImdkcHIiOjB9