protonscr

TF2 OpenGL set entry point "glGetError" error on launch, incorrect OpenGL version detection.

steamclosed MOVED: Team Fortress 2reviewed
ValveSoftware/steam-for-linux#250 · opened 2012-12-21 by hkparker · updated 2017-03-28 · 19 comments · github
Hhkparker 2012-12-21 github

When launching tf2 I receive the error "Could not find required OpenGL entry point "glGetError"! Either your video card is unsupported, or your OpenGL driver needs to be updated".

OS: Mint 14 with Cinnamon 64 bit
CPU: i7-3930k
Mobo: ASUS Rampage IV Extreme
RAM: 32GB Corsair Vengeance 9-9-9-24 1333MHz
Graphics: ASUS AMD Radeon 6970
Graphics Driver: 12.11 beta
OpenGL version (According to CCC): 4.2.11995 Compatibility Profile Context.

When I run steam from terminal, I can see the error right before the message is displayed.

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.

It appears to think I have OpenGL 1.4.0 installed, though AMD reports 4.2. Also, this error appears often in terminal output:

libGL error: failed to load driver: swrast

Could I have two versions of OpenGL installed? Any help would be appreciated please, thank you. Also I was able to run tf2 fine about a week ago, this is a new error.

Full terminal output:

Installing breakpad exception handler for appid(steam)/version(1355957371_client)
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
unlinked 0 orphaned pipes
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(steam:6516): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
surface_linux.cpp (1383) : Assertion Failed: X context is not using direct rendering. Unfasten your seatbelt...

Assert( Assertion Failed: X context is not using direct rendering. Unfasten your seatbelt...
):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/vgui2/src/surface_linux.cpp:1383

Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Uploading dump (in-process) [proxy '']
/tmp/dumps/assert_20121221134357_1.dmp
[1221/134357:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
success = yes
response: CrashID=bp-d0d7959b-18e5-44c0-ba0c-42f6a2121221
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Adding license for package 4314
Adding license for package 469
Adding license for package 7566
Adding license for package 37
Adding license for package 8183
Adding license for package 663
Adding license for package 13318
Adding license for package 12064
Adding license for package 13601
Adding license for package 16549
Adding license for package 0
roaming config store loaded successfully - 1113 bytes.
migrating temporary roaming config store
ExecCommandLine: "/home/hayden/.local/share/Steam/ubuntu12_32/steam"
Generating new string page texture 74: 128x256, total string texture memory is 442.37 KB
Generating new string page texture 75: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 76: 64x256, total string texture memory is 507.90 KB
Generating new string page texture 77: 8x256, total string texture memory is 516.10 KB
Generating new string page texture 78: 32x256, total string texture memory is 548.86 KB
Generating new string page texture 80: 24x256, total string texture memory is 573.44 KB
System startup time: 9.94 seconds
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
ExecSteamURL: "steam://open/driverhelperready"
Generating new string page texture 132: 128x256, total string texture memory is 704.51 KB
Generating new string page texture 133: 384x256, total string texture memory is 1.10 MB
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Game update: AppID 440 "Team Fortress 2", ProcID 6610, IP 0.0.0.0:0
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
SDL video target is 'x11'
SDL video target is 'x11'
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.
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Game removed: AppID 440 "Team Fortress 2", ProcID 6610
Generating new string page texture 160: 256x256, total string texture memory is 1.36 MB
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Shutting down. . .
unlinked 6 orphaned pipes
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 347621 single object sleeps, 735 multi object sleeps
CAsyncIOManager: 25 single object alertable sleeps, 2 multi object alertable sleeps

Llogan123 2012-12-22 github

I used to have this problem, try to uninstall the driver than reinstall mesa
after that reinstall the driver and hope for the best
I think these 3 helped me

sudo apt-get purge fglrx fglrx-amdcccle
sudo update-alternatives --remove-all x86_64-linux-gnu_gl_conf
sudo apt-get install --reinstall libgl1-mesa-glx

Hhkparker 2012-12-22 github

Thank you for the help.

I ran aticonfig --uninstall and it told me some files have been changed and uninstalling is unwise. The file that doesn't match the expected checksum is /usr/lib/xorg/modules/drivers/fglrx_drv.so.

I could try to force an uninstall but it warms me that could cause serious damage. I will try to uninstall with apt like suggested, reinstall mesa then reinstall the official drivers. I'll post how that goes.

Hhkparker 2012-12-22 github

Thank you so much! While I am using the official drivers not from the repos, the same fix worked great. I forced the uninstall of the official drivers, ran "sudo update-alternatives --remove-all x86_64-linux-gnu_gl_conf" and "sudo apt-get install --reinstall libgl1-mesa-glx", then reinstalled the official drivers and tf2 loads again.

Llogan123 2012-12-22 github

happy to help and I hope you downloaded the beta drivers...

Hhkparker 2012-12-23 github

Yep, 12.11 beta

Mmcomella 2012-12-23 github

I have a similar issue using nvidia - I have nvidia-experimental-310 from the official Ubuntu repo installed.

System info: https://gist.github.com/4364008

I will try some of the above solutions and report back.


Relevant console output:

Generating new string page texture 105: 128x256, total string texture memory is 2.03 MB
Generating new string page texture 130: 64x256, total string texture memory is 2.10 MB
Generating new string page texture 131: 256x256, total string texture memory is 2.36 MB
Generating new string page texture 132: 48x256, total string texture memory is 2.41 MB
Generating new string page texture 133: 128x256, total string texture memory is 2.54 MB
Generating new string page texture 134: 256x256, total string texture memory is 2.80 MB
Generating new string page texture 154: 2048x256, total string texture memory is 4.90 MB
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Game update: AppID 440 "Team Fortress 2", ProcID 4412, IP 0.0.0.0:0
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
PROBLEM: You appear to have OpenGL 0.0.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.
Game removed: AppID 440 "Team Fortress 2", ProcID 4412 
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Hhkparker 2012-12-23 github

I think I remember seeing a thread more specific to your issue (OpenGL version 0.0.0 and nvidia drivers) but I don't remember the solution. If this fix doesn't work then search the steam page and you might find the more specific thread there.

Mmcomella 2012-12-23 github

For future travellers, here is the thread hkparker mentioned: http://steamcommunity.com/app/221410/discussions/1/846939071196129175/

I will let you know what worked once I get it working.

Hhkparker 2012-12-24 github

Thank you for finding the link and keeping us posted

Hhdave 2012-12-28 github

Any further updates...I have this same issue...

Mmcomella 2012-12-29 github

Following the nvidia specific methods listed in the above thread, I have been unable to get it to work. Notably, I differ from that post in that I'm running Ubuntu 12.04 on the 3.2.0 kernel.

nouveau is blacklisted, I attempted nvidia-experimental-304, nvidia-experimental-310, and the blob from geforce.com. My /etc/ld.so.conf.d/steam.conf already had the lines the post said to add, and I tried running ldconfig on multiple occasions. I also tried reinstalling ia32-libs. I tried the blob install while both adding the DKMS module and removing it.

While I didn't intentionally keep track of this so I could be wrong, I noticed that the repo install of 304 or 310 lists my openGL version (1.4.0, at least on 304) in the error message, while the script install lists 0.0.0.

I haven't tried to smash the above amd methods into their equivalent nvidia ones yet. If I make any progress, I will update further.

TTaresPL 2012-12-30 github

I have the same issue with nvidia card.

My system specs : http://pastebin.com/DJpjLteR (actually I'm using xubuntu ).

BBryanQuigley 2013-01-23 github

I wonder if it is just related to the parsing of this string:
OpenGL version string: 1.4 (2.1 (3.3.11672 Compatibility Profile Context))

XXanderStrike 2013-02-27 github

I only have this issue when I have Xinerama enabled. I'm on SLI'd GTS 250s with the 310.14 drivers on Ubuntu 12.04 LTS + xfce. I have three monitors, two on one graphics card and one on the other. When I disable the monitor on the second graphics card, everything works as it should.

System info: http://pastebin.com/FXjZZY6H

Mmcomella 2013-02-27 github

I was also using Xinerama when I wrote the above information.

Sswex 2013-04-24 github

same here, Kubuntu 13.04 Last updates, Nvidia 313, 2 monitors, Xinerama

Sswarminglogic 2014-01-06 github

Same here with Xinerama (errors do not appear when it is disabled), with SLI-ed cards.

Ubuntu 12.04.3 LTS, 3.5.0-45-generic
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.4.0 NVIDIA 331.20

Ccondret 2014-05-23 github

got the same issue on portal. I have an nvidia-card, using nouveau. I know other people who are quite fine using nouveau

Kkisak-valve maintainer 2017-03-28 github

Closing as the original issue appears to have been resolved. This is a system configuration issue. Source 1 Games including TF2 require a sane 32 bit opengl driver that supports OpenGL 2.1 + sRGB (an OpenGL 3.0 feature) in order to work. For nVidia, this was introduced in the 310 series driver.

Nothing extracted yet.