You are not logged in.

#1 2015-08-05 01:02:08

SnowyClaw
Member
Registered: 2015-05-12
Posts: 24

[Solved..] Failed to launch a game: vguimatsurface.so

**This topic used to be called differently, as it was a different problem. A new problem emerged from this!**

Hello, everyone. I've looked on Google, and I'm not exactly sure how to do this. I have an executable (Portal) and I need to detect the packages needed for installation.
Is there any command that can achieve this?

[snowyclaw@SnowyClaw-PC: Portal]$ ./portal.sh
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0)!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
AppFramework : Unable to load module vguimatsurface.so!
Unable to load interface VGUI_Surface030 from vguimatsurface.so

This'll probably help, so I included it to be safe.
--
After doing some commands, we found that everything needed is installed, but the game is trying to/failing to load a module.
Pkgfile doesn't return anything, and neither does a Google search. This game used to be able to run on a different installation of Arch with the same architecture and setup.

Last edited by SnowyClaw (2015-08-05 03:53:17)

Offline

#2 2015-08-05 01:56:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [Solved..] Failed to launch a game: vguimatsurface.so

ldd will tell you what libraries are needed, then pkgfile can tell you what package they belong to.  But if that binary was built against different versions of libraries than are in the repos, then pkgfile will not find them.

for lib in $(ldd /path/to/binary | awk '{print $3;}'); do printf "%-20s %s\n" $(pkgfile $lib) $lib; done

But in this instance, I'm pretty sure portal.sh is not a binary executable.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-08-05 02:03:00

SnowyClaw
Member
Registered: 2015-05-12
Posts: 24

Re: [Solved..] Failed to launch a game: vguimatsurface.so

Thanks. Here's the results.

[snowyclaw@SnowyClaw-PC: Portal]$ ldd hl2_linux 
	linux-gate.so.1 (0xb776d000)
	libm.so.6 => /usr/lib/libm.so.6 (0xb76eb000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0xb76e6000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7571000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0xb7554000)
	libc.so.6 => /usr/lib/libc.so.6 (0xb739d000)
	/lib/ld-linux.so.2 (0xb776e000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb737f000)

Both

linux-gate.so

and

/lib/ld-linux.so

do not come up with pkgfile. Everything else was fine. I'll try using pkgfile on

vguimatsurface.so

really quick.

Edit: That didn't come up. I'll try the code you added with the edit.

Edit 2: Found out that the ld-linux.so.2 exists in that directory.

Edit 3: Google is my friend.

there's not supposed to be a linux-gate.so.1 file present anywhere on the file system; it's a virtual DSO, a shared object exposed by the kernel at a fixed address in every process' memory:

Well, this is certainly odd... What's missing?

Last edited by SnowyClaw (2015-08-05 02:16:37)

Offline

#4 2015-08-05 02:59:13

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved..] Failed to launch a game: vguimatsurface.so

Did you google and/or forum search 'vguimatsurface.so'?

Edit: My guess is that it is part of Steam, and rather than the problem being that something needs it but it's not installed, the problem is that it needs something that is not installed. You could just install the packages listed on the [Solved] post a forum search will lead you to, or you could try ldd'ing it and maybe learn something. wink

Last edited by alphaniner (2015-08-05 03:11:17)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2015-08-05 03:52:54

SnowyClaw
Member
Registered: 2015-05-12
Posts: 24

Re: [Solved..] Failed to launch a game: vguimatsurface.so

Unfortunatly, I'm not using Steam. I don't really know of any way to explore the problem further, so I'm just giving up.
I'm sorry, users of Archlinux.. I've let you down..

And as this thread is useless, could the forum moderators please remove this?

Last edited by SnowyClaw (2015-08-05 03:53:48)

Offline

Board footer

Powered by FluxBB