Portal > General Discussions > Topic Details
moronoxyd May 3, 2013 @ 4:36am
Portal on Linux won't start - FIXED, see comments
Hi,

I downloaded Portal on my Linux machine.
When I click 'Play' the screen goes black for half a second then I see the Steam window again, no error message.

I had a look at the installation folder.
It seems that the game should be started by executing 'hl2.sh' in the '[...]/SteamApps/common/Portal' folder. Yet when I do that in the terminal I get the error message
Setup file 'gameinfo.txt' doesn't exist in subdirectory 'hl2'.
Well, that's true. The gameinfo.txt is in the folder 'portal', not 'hl2'.

Ok. So I copied the file in the 'hl2' folder.
Tried starting hl2.sh again, the game tests a few other things, and gives different errors
moronoxyd@neuromancer:~/.steam/steam/SteamApps/common/Portal$ ./hl2.sh
SDL video target is 'x11'
SDL video target is 'x11'
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 supports 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 DOES NOT support the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system supports the OpenGL extension GL_AMD_pinned_memory.
This system DOES NOT support 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 supports the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system DOES NOT support the OpenGL extension GL_EXT_texture_compression_dxt1.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support 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
Using breakpad crash handler
Did not detect any valid joysticks.
GL_NVX_gpu_memory_info: UNAVAILABLE
GL_ATI_meminfo: AVAILABLE
GL_ATI_meminfo: GL_TEXTURE_FREE_MEMORY_ATI: Total Free: 326278, Largest Avail: 231104, Total Aux: 1639395, Largest Aux Avail: 512
GL_MAX_SAMPLES_EXT: 8
Convar r_flashlightscissor has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: FCVAR_CHEAT, parent wins)
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD
GlobalMemoryStatus: 4294967295
[0503/132731:ERROR:resource_bundle.cc(411)] Failed to load /home/moronoxyd/.local/share/Steam/SteamApps/common/Portal/cef_gtk.pak
Some features may not be available.
[0503/132731:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: ENABLED
GL prefer MapBufferRange: NO
./hl2.sh: Zeile 67: 25941 Speicherzugriffsfehler (Speicherabzug geschrieben) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
The last error message is in German (guess what: I'm German *g*) and is a memory access error.

I have a machine with AMD Phenom II X4 CPU, 8 GB RAM, AMD Radeon HD 5700, nForce chipset.
I run Ubuntu 12.10 32bit, fglrx as X server.

Any idea how I can fix this problem?

Last edited by moronoxyd; May 3, 2013 @ 7:15am
Showing 1-3 of 3 comments
< >
quentin May 3, 2013 @ 6:56am 
My portal won't start to
I've a i5 460m an ati radeon hd 5470 on my laptop and ubuntu 12.10
moronoxyd May 3, 2013 @ 7:15am 
I found the solution in a different thread here in the forums:

I had the fglrx driver from the Ubuntu repositories installed. That seems to e quiet an old version.

I added the PPA from xorg-edgers: https://launchpad.net/~xorg-edgers/+archive/ppa
And installed the more current driver they offer (version 12 instead of 9).
Now Portal starts just fine.

On the AMD website they offer an even newer driver (13.4), but I stick with the PPA as long as possible. It's easier to maintain than having to install every update by hand.


I hope this helps others as well.
rex May 16 @ 11:31pm 
I add the PPA, but I can't install the "more current driver they offer" you say. How should I do?
Showing 1-3 of 3 comments
< >
Per page: 15 30 50
Date Posted: May 3, 2013 @ 4:36am
Posts: 3