ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
660 stars 76 forks source link

PROBLEM: You appear to have OpenGL 0.0.0, but we need at least 2.0.0! #299

Closed GeneralZero closed 11 years ago

GeneralZero commented 11 years ago

the error that i get Could not find the required OpenGL entry point 'glGetError' ! Either your video card it unsupported or your OpenGL driver needs to be updated.

OK i had to change the steam start up script to

!/bin/bash

export LD_LIBRARY_PATH=/usr/lib32/nvidia-313:/usr/lib/i386-linux-gnu/:$LD_LIBRARY_PATH export LIBGL_DRIVERS_PATH=/usr/lib32/nvidia-313/dri:/usr/lib/i386-linux-gnu/dri export LIBGL_DEBUG=verbose steam $*

but still gettinSystem startup time: 20.80 seconds

... Running Steam on ubuntu 12.04 64-bit STEAM_RUNTIME has been set by the user to: /home/generalzero/Steam/ubuntu12_32/steam-runtime ExecCommandLine: "/home/generalzero/.steam/root/ubuntu12_32/steam steam://open/driverhelperready" ExecSteamURL: "steam://open/driverhelperready" Game update: AppID 240 "Counter-Strike: Source", ProcID 14627, 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. (steam:14472): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. ...

saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully Xlib: extension "RANDR" missing on display ":0.0". 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.

jorgenpt commented 11 years ago

Please post the system information as requested on https://github.com/ValveSoftware/Source-1-Games#reporting-issues

GeneralZero commented 11 years ago

running a cinnamon Desktop manager Processor Information: Vendor: GenuineIntel Speed: 2441 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Ubuntu 12.04.2 LTS (64 bit) Kernel Name: Linux Kernel Version: 3.5.0-18-generic X Server Vendor: The X.Org Foundation X Server Release: 11203000 X Window Manager: Metacity Steam Runtime Version: steam-runtime-release-i386_2013-04-02

Video Card: Driver: NVIDIA Corporation GeForce 9600 GT/PCIe/SSE2

Driver Version:  3.3.0 NVIDIA 313.30
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 0 Hz
VendorID:  0x10de
DeviceID:  0x622
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  3360 x 1080
Desktop Resolution: 3360 x 1080
Primary Display Size: 36.89" x 11.85"  (38.74" diag)
                                        93.7cm x 30.1cm  (98.4cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 512 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: Realtek ALC888

Memory: RAM: 7983 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Microphone: Not set Total Hard Disk Space Available: 901159 Mb Largest Free Hard Disk Block: 240599 Mb

Installed software:

JenniferPylko commented 11 years ago

What you're doing with the startup script does not make sense to me, but if it works, ok.

Could you post the output of running ldd on the steam binary (should be in the ubuntu12_32 folder), and on hl2_linux in your CS:S folder? Also the output of running gdb on hl2_linux could be helpful.

GeneralZero commented 11 years ago
ldd hl2_linux 
linux-gate.so.1 =>  (0xf7729000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76fa000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76df000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7534000)
/lib/ld-linux.so.2 (0xf772a000)

ldd steam
linux-gate.so.1 =>  (0xf779e000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7668000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7647000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7642000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf763b000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf760a000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75de000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf75d9000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf74f3000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf74d8000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf732e000)
/lib/ld-linux.so.2 (0xf779f000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7310000)
JenniferPylko commented 11 years ago

So everything looks fine with that... are there any anomalies in the bin folder in CS:S? Has this worked with older drivers?

GeneralZero commented 11 years ago
ls bin
bsppack.so             libSDL2-2.0.so.0       stdshader_dx9.so
bugreporter_public.so  libsteam_api.so        studiorender.so
chromehtml.so          libtier0.so            vaudio_miles.so
crashhandler.so        libtogl.so             vaudio_speex.so
datacache.so           libvstdlib.so          vgui2.so
engine.so              linux32                vguimatsurface.so
filesystem_steam.so    materialsystem.so      vidcfg.bin
GameUI.so              replay.so              video_bink.so
inputsystem.so         scenefilecache.so      video_services.so
launcher.so            ServerBrowser.so       video_webm.so
libcef.so              shaderapidx9.so        vphysics.so
libffmpegsumo.so       shaderapiempty.so      vtex_dll.so
libMiles.so            soundemittersystem.so

It has not worked with older drivers

JenniferPylko commented 11 years ago

Oh sorry I mean run ldd on all those files, and see if there were any unlocatable libraries. Do other things/games work? (Like glxgears, any DarkPlaces game, basically any other 3D application you can think of). Also try running ldd on all the libraries in your OpenGL folder.

EDIT: make sure LD_LIBRARY_PATH is correct before running ldd

GeneralZero commented 11 years ago

most games work including 10,000,000, amnesia, anomaly warzone earth, bastion, beat hazard, cogs, crusader kings II, Cubemen, SpaceChem, SuperHexagon, uplink, World of Goo, ZenBound 2

glxgears also works

The only ones that don't work seem to be dependendent on HL2 Engine

jorgenpt commented 11 years ago

@GeneralZero, https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457 has some advice on troubleshooting this issue.

I would recommend trying to uninstall and reinstall your NVIDIA driver package.

GeneralZero commented 11 years ago

I have and have tried installing the package from the nvidia site. Then uninstalling every instance of it and then reinstalling nvidia-313

jorgenpt commented 11 years ago

@GeneralZero, if you're still having this problem, can you set

export LD_DEBUG=bindings

before starting Steam / the game, and then posting the output that shows up when you start the game?

jorgenpt commented 11 years ago

@GeneralZero, closing this due to inactivity. File a new bug with the requested information as well as the old information if you still have this problem.