ValveSoftware / portal2

Issues for the Linux port of Portal 2
145 stars 11 forks source link

[Linux(Ubuntu14.04 64bit)] (amd+xorg-edge ppa) cant start the game #235

Open DFOXpro opened 10 years ago

DFOXpro commented 10 years ago

Upgrading my destop i tested all the steam games that i have, most run perfect but portal 2 does no start, lauching the game via terminal the error was this:

dfoxpro@Escritorio:/datos/Varios/Juegos/SteamLinux/SteamApps/common/Portal 2$ ./portal2.sh Failed to load the launcher (libuuid.so.1: cannot open shared object file: No such file or directory)

witch package is missing? im using the latest gpu drivers from https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa

DFOXpro commented 10 years ago

Now the libuuid error is gone, now this is the error:

/SteamApps/common/Portal\ 2/./portal2.sh 
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
SDL failed to create GL compatibility profile (whichProfile=0!
PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0!
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.

The curious part is only this game show errors, other rich 3d games like civ5, rochard, brutal legend, etc... runs flawlessly

Stark2x commented 10 years ago

EDIT: Removing libstdc++.so.6 from /SteamApps/common/Portal 2/bin solved my issue.

I get the same error with the radeonsi driver (mesa 10.3.0, Arch Linux 64bit). Game worked flawless until latest update of steam runtime.

libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast

SDL video target is 'x11' SDL video target is 'x11' SDL failed to create GL compatibility profile (whichProfile=0! SDL failed to create GL compatibility profile (whichProfile=0!

PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0! Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or >your OpenGL driver needs to be updated. Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or >your OpenGL driver needs to be updated.

ghost commented 10 years ago

Just had the same issue. Game started on removal of libstdc++.so.6. Running xorg-edgers with R9 280x and Ubuntu 14.04.

DFOXpro commented 10 years ago

@johndanielcurley was right. moving/deleting/renaming the SteamApps/common/Portal 2/bin/libstdc++.so.6 allow to play the game with xorg-edgers driver, in my case a deprecated (but still worthwhile) Radeon 4250.

Side note1: Pls send a general fix for this game Please! Side note 2: due to legacy/deprecated amd policies, most users now use the open-source driver, and with catalyst, bugs like undeletable garbage memory when playing a 3d rich game; the newest xorg drivers simply are the best

xandark commented 9 years ago

Adding to what @johndanielcurley said, I needed to do this in order to get Portal 2 to run on my Kubuntu 14.10 64-bit system:

1) Delete SteamApps/common/Portal 2/bin/libstdc++.so.6 2) Run the Steam client 3) cd "SteamApps/common/Portal 2" 4) LD_LIBRARY_PATH=bin ./portal2_linux -game portal2 -windowed

I never had to do this before I upgraded from Kubuntu 14.04 to 14.10. That's when the Steam client began to claim "You appear to have OpenGL 1.4.0, but we need at least 2.0.0!"--the open source Radeon driver was working perfectly.

DFOXpro commented 9 years ago

With community mods dlc like Thinking with Time Machine the problem is the same