(Solved) [Trine2] Black screen from the beginning on Linux

Technical support for the Linux and Mac platforms for all Trine games.
Damien Cassou
Posts: 5
Joined: Wed Apr 11, 2012 2:53 pm
Location: France
Contact:

(Solved) [Trine2] Black screen from the beginning on Linux

Postby Damien Cassou » Wed Apr 11, 2012 5:44 pm

Hi,

I've just bought Trine2 and want to play it under linux. Each time I launch the game, I get a black screen and sound is working. Nothing is outputted to the terminal (except the nohup message) and no ~/.frozenbyte/Trine2/log.txt created. I own a Dell Latitude E6320 laptop (intel core i5, Intel® Sandybridge Mobile) with ubuntu 11.10 and no proprietary driver installed (according to the "Additional Driver" application).

I tried the following configurations:

- both cinnamon and lxde
- both windowed and fullscreen
- different resolutions
- max and min level of details

It's always the same black screen (in a window or fullscreen) that appears while the music is playing. Sometimes, the game crashes my window manager and sometimes the resolution is not reset properly.

User avatar
fb_jpk
Posts: 140
Joined: Thu Jun 16, 2005 8:05 pm

Re: [Trine2] Black screen from the beginning on Linux

Postby fb_jpk » Thu Apr 12, 2012 3:27 pm

I'm sorry to hear that the game does not work for you... :(

I think the official minimum requirements for Trine 2 on linux are somewhere around NVIDIA GeForce 7600 or better / ATi Radeon HD 2400 or better. But, in theory though, I think the Intel HD Graphics 3000 should have the necessary capabilities to run the game (your computer apparently has this one?).

The Mac OS X version Trine 2 does support that specific graphics hardware, and the OpenGL renderer for the Linux version is basically the same. So this most likely indicates that there is some required OpenGL extension unsupported by the Linux driver. Unfortunately, I'm not very familiar with the state of Linux drivers for the Intel graphics, so I cannot really make any further "educated guesses" about that.

I'll have to discuss this with our graphics programmer as he might have more insight on this, but at the moment, he's not at the office and won't be back until next monday.

If you could provide us with the glxinfo output, that might give us some clue about the graphics driver abilities.
You should be able to get it by installing the mesa-utils and then running glxinfo.

Code: Select all

sudo apt-get install mesa-utils
glxinfo

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: [Trine2] Black screen from the beginning on Linux

Postby FB_JussiE » Fri Apr 13, 2012 8:25 am

Hello and sorry for the trouble

As far as I know the Intel HD 3000 (atleast OSS) drivers doesen't suuport EXT_texture_compression_s3tc extension under Linux which is required by the game, which is likely to cause the problem.

But as jpk said above our graphics programmer probably knows this better.

Damien Cassou
Posts: 5
Joined: Wed Apr 11, 2012 2:53 pm
Location: France
Contact:

Re: [Trine2] Black screen from the beginning on Linux

Postby Damien Cassou » Fri Apr 13, 2012 5:35 pm

fb_jpk wrote:I think the Intel HD Graphics 3000 should have the necessary capabilities to run the game (your computer apparently has this one?).


I don't know. I had a look at lspci and lshw but couldn't find the info.

fb_jpk wrote:

Code: Select all

sudo apt-get install mesa-utils
glxinfo


Code: Select all

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
    GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture,
    GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array,
    GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip,
    GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_rescale_normal,
    GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB,
    GL_ARB_multitexture, GL_EXT_framebuffer_sRGB,
    GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat,
    GL_3DFX_texture_compression_FXT1, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
    GL_NV_texture_rectangle, GL_NV_vertex_program, GL_ARB_depth_texture,
    GL_ARB_occlusion_query, GL_ARB_shadow, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos, GL_ATI_envmap_bumpmap,
    GL_EXT_stencil_two_side, GL_EXT_texture_cube_map, GL_NV_depth_clamp,
    GL_NV_vertex_program1_1, GL_APPLE_client_storage, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_ARB_depth_clamp,
    GL_ARB_fragment_program_shadow, GL_ARB_half_float_pixel,
    GL_ARB_point_sprite, GL_ARB_shading_language_100, GL_ARB_sync,
    GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
    GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
    GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_rectangle,
    GL_EXT_pixel_buffer_object, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_ARB_framebuffer_object,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_packed_depth_stencil, GL_APPLE_object_purgeable,
    GL_ARB_vertex_array_object, GL_ATI_separate_stencil, GL_EXT_draw_buffers2,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_env_combine,
    GL_EXT_texture_sRGB_decode, GL_EXT_timer_query, GL_OES_EGL_image,
    GL_ARB_copy_buffer, GL_ARB_half_float_vertex, GL_ARB_map_buffer_range,
    GL_ARB_texture_rg, GL_ARB_texture_swizzle, GL_ARB_vertex_array_bgra,
    GL_EXT_separate_shader_objects, GL_EXT_texture_swizzle,
    GL_EXT_vertex_array_bgra, GL_NV_conditional_render,
    GL_ARB_ES2_compatibility, GL_ARB_draw_elements_base_vertex,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_provoking_vertex, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_texture_lod, GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_ARB_robustness

32 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x022 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x095 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x096 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x097 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x098 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x099 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09a 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x09c 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x09d 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x09e 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x09f 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a0 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0a1 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0a3 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a4 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a5 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a6 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a7 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a8 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a9 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0aa 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0ab 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0ac 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0ad 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0ae 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0af 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0b0 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b1 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x064 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

48 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x065  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x066  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x067  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x068  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x069  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06a  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06b 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06c 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06e 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x06f 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x070 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x071 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x072 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x073 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x074 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x075 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x076 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x077  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x078  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x079 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x07a 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x07b 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07c 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x07d  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x07e  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x07f  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x080  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x081  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x082  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x083 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x084 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x085 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x086 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x087 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x088 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x089 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x08a 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x08b 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x08c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x08d 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x08e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x08f  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x090  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x091 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x092 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x093 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x094 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

whizse
Posts: 17
Joined: Fri Apr 29, 2011 4:03 pm

Re: [Trine2] Black screen from the beginning on Linux

Postby whizse » Fri Apr 13, 2012 9:59 pm

FB_JussiE wrote:Hello and sorry for the trouble

As far as I know the Intel HD 3000 (atleast OSS) drivers doesen't suuport EXT_texture_compression_s3tc extension under Linux which is required by the game, which is likely to cause the problem.

But as jpk said above our graphics programmer probably knows this better.

Actually, i965 and all FLOSS drivers does support it. You do have to install libtxc-dxtn0 though, it might be shipped with some distros but most likely you'll have to grab it from a third party repository.

Having the game checking for the extensions before use, or putting this info in a FAQ would probably be a good idea.

Damien Cassou
Posts: 5
Joined: Wed Apr 11, 2012 2:53 pm
Location: France
Contact:

Re: [Trine2] Black screen from the beginning on Linux

Postby Damien Cassou » Tue Apr 17, 2012 12:35 pm

whizse wrote:Actually, i965 and all FLOSS drivers does support it. You do have to install libtxc-dxtn0 though, it might be shipped with some distros but most likely you'll have to grab it from a third party repository.

Having the game checking for the extensions before use, or putting this info in a FAQ would probably be a good idea.


Thanks, the game starts properly now.

allgood
Posts: 1
Joined: Mon Apr 23, 2012 5:38 am

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby allgood » Mon Apr 23, 2012 5:41 am

This solution made the game load, but a lot of images aren't loading. The character graphics and a lot other appears as a colored wireframe! someone knows if there is a hack to make it work?

User avatar
fb_jpk
Posts: 140
Joined: Thu Jun 16, 2005 8:05 pm

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby fb_jpk » Thu Apr 26, 2012 12:01 pm

allgood wrote:This solution made the game load, but a lot of images aren't loading. The character graphics and a lot other appears as a colored wireframe! someone knows if there is a hack to make it work?


I assume you have an Intel HD 3000 graphics chip as well? Have you checked what the glxinfo outputs for you?

And if most of the game works fine and gets rendered fine, but just some of the graphics are not displayed correctly, that sounds a bit odd... Most likely an issue with the graphics driver not supporting some texture format / shader - or some otherwise buggy driver. A more detailed description or a screenshot of the issues might help figure out the issue.

dmiller309
Posts: 3
Joined: Wed May 02, 2012 1:19 am

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby dmiller309 » Wed May 02, 2012 1:35 am

I think I'm having the same black screen problem, and going through the readme and looking through the packages didn't fix it for me.

Here's the output of the libraries from the commands in the README file:

Code: Select all

[email protected]:~/opt/Trine2$ export LD_LIBRARY_PATH=./lib/lib32
[email protected]:~/opt/Trine2$ ldd bin/trine2_linux_32bit
   linux-gate.so.1 =>  (0xf772d000)
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf76ee000)
   libSDL-1.3.so.0 => ./lib/lib32/libSDL-1.3.so.0 (0xf75f8000)
   libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xf7582000)
   libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf74e8000)
   libCg.so => ./lib/lib32/libCg.so (0xf6c08000)
   libCgGL.so => ./lib/lib32/libCgGL.so (0xf6b9b000)
   libopenal.so.1 => /usr/lib/i386-linux-gnu/libopenal.so.1 (0xf6b52000)
   libogg.so.0 => /usr/lib/i386-linux-gnu/libogg.so.0 (0xf6b49000)
   libvorbis.so.0 => /usr/lib/i386-linux-gnu/libvorbis.so.0 (0xf6b1e000)
   libvorbisfile.so.3 => /usr/lib/i386-linux-gnu/libvorbisfile.so.3 (0xf6b14000)
   libPhysXLoader.so.1 => ./lib/lib32/libPhysXLoader.so.1 (0xf6b04000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6a1f000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf69f2000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf69d4000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf682f000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf682a000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf680f000)
   libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf67b5000)
   /lib/ld-linux.so.2 (0xf772e000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf67ac000)
   libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf6796000)
   libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf6784000)
   libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf677f000)
   libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf6779000)
   libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf6776000)
   libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf6642000)
   libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf662a000)
   libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6608000)
   libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf6602000)
   libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf65f5000)
   libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf65f1000)
   libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf65ea000)
[email protected]:~/opt/Trine2$ ldd bin/trine2_linux_launcher_32bit
   linux-gate.so.1 =>  (0xf7756000)
   libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xf72c5000)
   libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xf7216000)
   libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xf71f5000)
   libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xf709d000)
   libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xf7071000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xf7050000)
   libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xf7006000)
   libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf6f6b000)
   libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf6f37000)
   libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf6ee8000)
   libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf6ee3000)
   libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xf6ee0000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6ed6000)
   libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf6ddd000)
   libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xf6dd9000)
   libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf6dd3000)
   libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf6dca000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf6dc4000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6cdf000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6cb3000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6c95000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6c7a000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6ad4000)
   libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf69a0000)
   libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xf6993000)
   libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf698d000)
   libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xf68c2000)
   libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf68af000)
   libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf68a5000)
   libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf6895000)
   libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf688c000)
   libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xf6881000)
   libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xf687c000)
   libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf6878000)
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6862000)
   libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xf6843000)
   libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf682b000)
   libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf6800000)
   libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf67f9000)
   libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf67bd000)
   libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf67a3000)
   libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf679d000)
   /lib/ld-linux.so.2 (0xf7757000)
   libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf677b000)
   libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xf66e3000)
   libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf66b9000)
   libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xf66b5000)
   libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xf66ab000)
   libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf66a6000)
   libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf669f000)


I don't have libtxc-dxtn0 installed because I have libtxc-dxtn-s2tc0 which provides texture compression, and it's the newer package (conflicting). First I tried installing Trine locally in ~/opt/Trine2 (with the absolute path) and then in /usr/..., but neither fixed the black screen problem. To clarify, the screen isn't totally black, but the mouse is a black square, the text is readable, and everything else is made of very dark triangles and squares (see attached screenshot). The game isn't playable at the very least because I can't see my mouse.

Screenshot:
https://docs.google.com/drawings/d/1lx9 ... mHlug/edit

I installed Trine (the first one) about 9 hours ago and beat it, and it runs smoothly on my Lemur Ultra (lemu3) with all the highest graphics settings. Changing the graphics settings doesn't have any affect on the appearance of Trine 2, except applying the highest antialiasing which slows my computer down.

I tried viewtopic.php?f=17&t=4224&p=18906&hilit=linux+black+screen#p18906 which fixed my screen resolution, but it didn't help make the shaders not black.

Here's my GLXINFO:

Code: Select all

:~$ glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.0.2
OpenGL shading language version string: 1.30
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
    GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,
    GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,
    GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,
    GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
    GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB, GL_ARB_multitexture,
    GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays,
    GL_IBM_texture_mirrored_repeat, GL_3DFX_texture_compression_FXT1,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_S3_s3tc,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
    GL_NV_texture_rectangle, GL_NV_vertex_program, GL_ARB_depth_texture,
    GL_ARB_occlusion_query, GL_ARB_shadow, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos, GL_ATI_envmap_bumpmap,
    GL_EXT_stencil_two_side, GL_EXT_texture_cube_map, GL_NV_depth_clamp,
    GL_NV_vertex_program1_1, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_shadow_funcs,
    GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_ARB_depth_clamp, GL_ARB_fragment_program_shadow,
    GL_ARB_half_float_pixel, GL_ARB_point_sprite, GL_ARB_shading_language_100,
    GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
    GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
    GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_float,
    GL_ARB_texture_rectangle, GL_EXT_packed_float, GL_EXT_pixel_buffer_object,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
    GL_EXT_texture_shared_exponent, GL_ARB_framebuffer_object,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_packed_depth_stencil, GL_APPLE_object_purgeable,
    GL_ARB_vertex_array_object, GL_ATI_separate_stencil, GL_EXT_draw_buffers2,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_array,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB_decode, GL_EXT_timer_query,
    GL_OES_EGL_image, GL_MESA_texture_array, GL_ARB_copy_buffer,
    GL_ARB_depth_buffer_float, GL_ARB_half_float_vertex,
    GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
    GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
    GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
    GL_NV_conditional_render, GL_ARB_ES2_compatibility,
    GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex,
    GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_texture_lod, GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_ARB_robustness, GL_EXT_transform_feedback

32 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x022 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x099 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x09a 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x09b 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x09c 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09e 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09f 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0a0 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0a1 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0a2 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a3 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a4 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0a5 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0a7 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a8 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a9 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0aa 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ab 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ac 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ad 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0ae 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0af 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b0 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b1 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b2 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b3 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0b4 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b5 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x068 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

48 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x069  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06a  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06b  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06c  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06d  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06e  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06f 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x070 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x071 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x072 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x073 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x074 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x075 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x076 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x077 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x078 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x079 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07a 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07b  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x07c  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x07d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x07e 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x07f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x080 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x081  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x082  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x083  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x084  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x085  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x086  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x087 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x088 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x089 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x08a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x08b 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x08c 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x08d 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x08e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x08f 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x090 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x091 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x092 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x093  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x094  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x095 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x096 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x097 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x098 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow


User avatar
fb_jpk
Posts: 140
Joined: Thu Jun 16, 2005 8:05 pm

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby fb_jpk » Fri May 04, 2012 12:22 pm

dmiller309 wrote:I think I'm having the same black screen problem, and going through the readme and looking through the packages didn't fix it for me.


Hi,

From the ldd output you posted, I find the line:

Code: Select all

libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf67b5000)

...very suspicious, as that would indicate that you are using the software based MesaGL library as your 32 bit OpenGL renderer. (This can conflict with info provided by the glxinfo, if it is using another 64 bit library).

The screenshot you provided is also consistent with the result you see if you are using the stock MesaGL software rendering, without any additional libraries. Particularly if the framerate seems to be really low, like 1 frame per second? (If the framerate seems really smooth despite the untextured look, it probably isn't the software renderer)

Although, with the glxinfo output it seems that the Intel drivers may be somehow Mesa based (as it appears in the intel renderer string), so I might be mistaken here, and perhaps the it is the Intel OpenGL after all. (I can't check this right now, as I don't have an Intel graphics linux box at the moment.)

But certainly, the first thing to do would be to try to verify that the 32 bit OpenGL library in use is indeed the HW accelerated Intel driver, not the software MesaGL. If it is the HW accelerated driver, then it might be an issue of not having the dxt texture support for 32 bit apps, even though you seem to have support for it according to the 64 bit glxinfo.

dmiller309
Posts: 3
Joined: Wed May 02, 2012 1:19 am

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby dmiller309 » Fri May 04, 2012 1:10 pm

...very suspicious, as that would indicate that you are using the software based MesaGL library as your 32 bit OpenGL renderer. (This can conflict with info provided by the glxinfo, if it is using another 64 bit library).

Does this mean that I can play Trine 1 because Intel provides 64-bit hardware acceleration for my Intel HD3000 card but not Trine 2 because Intel doesn't provide 32-bit acceleration? It's weird that Trine 2 would run on a Mac Pro (64 bit OpenGL with Intel HD3000 graphics) chip but not on Linux with OpenGL and the same hardware. I have ia32-libs installed and libegl1-mesa installed, along with whatever System76 shipped with my computer. I did find libtxc-dxtn0 in a repo somewhere and install it after removing the conflicting package, but it didn't do anything.
Particularly if the framerate seems to be really low, like 1 frame per second?

I would estimate that the frame rate is 15fps, which would make the game almost playable were it not for the fact that everything is black.

Ododo
Posts: 1
Joined: Tue May 08, 2012 11:06 pm

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby Ododo » Tue May 08, 2012 11:13 pm

Hi , i'm having the same probleme (the black screen) . i'm running on archlinux x86_64 , no solution worked right now ..
amd radeon HD 4350 , free drivers..

Code: Select all

$ export LD_LIBRARY_PATH=/usr/share/trine2/lib/lib32/
$ ldd trine2_linux_32bit
   linux-gate.so.1 =>  (0xf7711000)
   libz.so.1 => /usr/lib32/libz.so.1 (0xf76d0000)
   libSDL-1.3.so.0 => /usr/share/trine2/lib/lib32/libSDL-1.3.so.0 (0xf75da000)
   libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7565000)
   libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf74c9000)
   libCg.so => /usr/share/trine2/lib/lib32/libCg.so (0xf6be8000)
   libCgGL.so => /usr/share/trine2/lib/lib32/libCgGL.so (0xf6b7b000)
   libopenal.so.1 => /usr/lib32/libopenal.so.1 (0xf6b26000)
   libogg.so.0 => /usr/lib32/libogg.so.0 (0xf6b1e000)
   libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf6af1000)
   libvorbisfile.so.3 => /usr/lib32/libvorbisfile.so.3 (0xf6ae6000)
   libPhysXLoader.so.1 => /usr/share/trine2/lib/lib32/libPhysXLoader.so.1 (0xf6ad6000)
   libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf69ee000)
   libm.so.6 => /usr/lib32/libm.so.6 (0xf69c0000)
   libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf69a5000)
   libc.so.6 => /usr/lib32/libc.so.6 (0xf6801000)
   libdl.so.2 => /usr/lib32/libdl.so.2 (0xf67fc000)
   libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf67e1000)
   libGL.so.1 => /usr/lib32/libGL.so.1 (0xf6788000)
   libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf6778000)
   /lib/ld-linux.so.2 (0xf7712000)
   librt.so.1 => /usr/lib32/librt.so.1 (0xf676e000)
   libglapi.so.0 => /usr/lib32/libglapi.so.0 (0xf6758000)
   libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6746000)
   libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf6742000)
   libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf673c000)
   libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf6738000)
   libX11.so.6 => /usr/lib32/libX11.so.6 (0xf6601000)
   libxcb-glx.so.0 => /usr/lib32/libxcb-glx.so.0 (0xf65e8000)
   libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf65c6000)
   libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf65c0000)
   libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf65b3000)
   libXau.so.6 => /usr/lib32/libXau.so.6 (0xf65ae000)
   libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf65a7000)


Code: Select all

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV710
OpenGL version string: 2.1 Mesa 8.0.2
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
    GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,
    GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,
    GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,
    GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
    GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB, GL_ARB_multitexture,
    GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays,
    GL_IBM_texture_mirrored_repeat, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_S3_s3tc,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
    GL_NV_texture_rectangle, GL_ARB_depth_texture, GL_ARB_occlusion_query,
    GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map,
    GL_NV_depth_clamp, GL_NV_fog_distance, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_shadow_funcs,
    GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_NV_primitive_restart,
    GL_ARB_depth_clamp, GL_ARB_fragment_program_shadow,
    GL_ARB_half_float_pixel, GL_ARB_occlusion_query2, GL_ARB_point_sprite,
    GL_ARB_shading_language_100, GL_ARB_sync, GL_ARB_texture_non_power_of_two,
    GL_ARB_vertex_buffer_object, GL_ATI_blend_equation_separate,
    GL_EXT_blend_equation_separate, GL_OES_read_format,
    GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_float,
    GL_ARB_texture_rectangle, GL_ATI_texture_compression_3dc,
    GL_EXT_packed_float, GL_EXT_pixel_buffer_object,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_rectangle,
    GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent,
    GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil,
    GL_ARB_vertex_array_object, GL_ATI_separate_stencil,
    GL_ATI_texture_mirror_once, GL_EXT_draw_buffers2,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_array,
    GL_EXT_texture_compression_latc, GL_EXT_texture_sRGB_decode,
    GL_EXT_timer_query, GL_OES_EGL_image, GL_MESA_texture_array,
    GL_ARB_copy_buffer, GL_ARB_depth_buffer_float, GL_ARB_half_float_vertex,
    GL_ARB_instanced_arrays, GL_ARB_map_buffer_range, GL_ARB_texture_rg,
    GL_ARB_texture_swizzle, GL_ARB_vertex_array_bgra,
    GL_EXT_separate_shader_objects, GL_EXT_texture_swizzle,
    GL_EXT_vertex_array_bgra, GL_NV_conditional_render,
    GL_AMD_draw_buffers_blend, GL_AMD_shader_stencil_export,
    GL_ARB_ES2_compatibility, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex,
    GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_stencil_export, GL_ARB_shader_texture_lod,
    GL_ARB_texture_rgb10_a2ui, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_NV_texture_barrier, GL_ARB_robustness,
    GL_ARB_texture_storage



if someone can help me :à)

dmiller309
Posts: 3
Joined: Wed May 02, 2012 1:19 am

Re: (Solved) [Trine2] Black screen from the beginning on Lin

Postby dmiller309 » Mon May 14, 2012 12:22 am

I fixed my graphics problem by upgrading with the xorg-edgers PPA (https://launchpad.net/~xorg-edgers/+archive/ppa), and run the game in Ubuntu-2d. The 2d part is optional, but there is a bug in the game where if you play the game with 3d Unity, the Unity and menu bars won't go away and the frame rate will be very low. I can't say that I recommend installing the xorg-edgers PPA because it's experimental and I frequently get apport messages about the intel-gpu stuff crashing on my computer (looks fine though), but if you want to get your Trine 2 on, it works for me. Coincidentally, the xorg-edgers also makes some wine games work that didn't use to work before on my Lemur. Starcraft 2 now runs with the new PPA (/proc/sys/kernel/yama/ptrace_scope also needs to be changed from containing the number '1' to '0', the offscreen rendering mode needs to be changed to "backbuffer", and the video memory size needs to be set to your system's video memory size). Hope that helps and doesn't destroy your computer, Ododo.


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 13 guests