Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvidia 361.28 "Could not find required OpenGL entry point 'glGetError' #610

Closed
CommanderAlchemy opened this issue Feb 9, 2016 · 35 comments
Assignees
Labels

Comments

@CommanderAlchemy
Copy link

@CommanderAlchemy CommanderAlchemy commented Feb 9, 2016

Seems CS:GO got issues with latest Nvidia driver: https://devtalk.nvidia.com/default/topic/915766

Console also shows: PROBLEM: You appear to have OpenGL 0.0.0, but we need at least 2.0.0!
Steamsysteminfo

Could also be an issue of the packaging atm.

@daniel-Jones

This comment has been minimized.

Copy link

@daniel-Jones daniel-Jones commented Feb 10, 2016

Silly question, but did you restart your PC after updating your driver?
I found I had to with previous updates to avoid OpenGL issues in games.
(I haven't updated yet ,I don't want to restart)

@Deniskore

This comment has been minimized.

Copy link

@Deniskore Deniskore commented Feb 10, 2016

I confirm this.
From nvidia release page

Please contact the vendors of any applications that are not compatible with GLVND to ensure that their applications be updated for compatibility with GLVND.

@Svenare

This comment has been minimized.

Copy link

@Svenare Svenare commented Feb 10, 2016

Can confirm, game is literally unplayable on latest nvidia drivers

Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x5e
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 4000 Mhz
8 logical processors
4 physical processors
HyperThreading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported

Network Information:
Network Speed:

Operating System Version:
"Arch Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 4.4.1-2-ARCH
X Server Vendor: The X.Org Foundation
X Server Release: 11800000
X Window Manager: KWin
Steam Runtime Version: steam-runtime-release_2015-06-12

Video Card:
Driver: NVIDIA Corporation GeForce GTX 970/PCIe/SSE2

Driver Version:  4.5.0 NVIDIA 361.28
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 144 Hz
VendorID:  0x10de
DeviceID:  0x13c2
Number of Monitors:  3
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 4640 x 1450
Primary Display Size: 23.50" x 13.23"  (26.97" diag)
                                        59.7cm x 33.6cm  (68.5cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 4096 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
Audio device:

Memory:
RAM: 15978 Mb

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

Installed software:

Recent Failure Reports:

@AeroX2

This comment has been minimized.

Copy link

@AeroX2 AeroX2 commented Feb 10, 2016

I was having this error until I changed,
export __GL_THREADED_OPTIMIZATIONS=1 to export __GL_THREADED_OPTIMIZATIONS=0 in
~/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo.sh

@m1nde

This comment has been minimized.

Copy link

@m1nde m1nde commented Feb 10, 2016

I can confirm that I get the same error message as OP upon starting CSGO with nvidia 361.28. I can also confirm that changing the settings that AeroX2 posted makes the game start again. However, this is not a solution for most end users.

Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x2a
    CPU Stepping:  0x7
    CPU Type:  0x0
    Speed:  3700 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Linux (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.4.1-2-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11800000
    X Window Manager:  bspwm
    Steam Runtime Version:  steam-runtime-release_2015-06-12

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 560 Ti/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 361.28
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1200
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1680 x 1050
    Desktop Resolution: 1680 x 1050
    Primary Display Size: 18.66" x 11.65"  (21.97" diag)
                                            47.4cm x 29.6cm  (55.8cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1024 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: 

Memory:
    RAM:  7950 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.utf8
    Microphone:  Not set
    Total Hard Disk Space Available:  224707 Mb
    Largest Free Hard Disk Block:  192244 Mb

Installed software:

Recent Failure Reports:
@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Feb 10, 2016

Probably related: #606

@Tele42

This comment has been minimized.

Copy link
Contributor

@Tele42 Tele42 commented Feb 10, 2016

@Scellow no, this is specifically limited to nvidia drivers 361.28 on linux, possibly an issue with the arch packaging of this version of the nvidia driver.

@CommanderAlchemy

This comment has been minimized.

Copy link
Author

@CommanderAlchemy CommanderAlchemy commented Feb 10, 2016

@Scellow Not really, this is because of Nvidia changing how they supply the OpenGL library, some games do weird stuff that they should not do.

However I'm still not sure if this is Nvidia/Steam issue or just packaging issue (ie maintainers) as @Tele42 mentions.

Atm, nvidia-full-beta-all pkg in aur is fixed in latest release to NOT use GLVND as of yet. Nvidia pkg in arch repos has also been updated lately I think they use GLVND but im not 100% sure.

More info: https://devtalk.nvidia.com/default/topic/915789/linux/-solved-361-28-gtx-580-steam-several-games-don-t-start-up/

@timjp87

This comment has been minimized.

Copy link

@timjp87 timjp87 commented Feb 10, 2016

This issue is related only to the 361.28 driver package on Arch Linux.
NVIDIA recommended that Arch Linux developers enable GLVND (it defaults to off).
You can follow the issue here:
https://bugs.archlinux.org/task/48109#comment143744

@davidw-valve davidw-valve self-assigned this Feb 10, 2016
@skobkin

This comment has been minimized.

Copy link

@skobkin skobkin commented Feb 10, 2016

Getting same problem on my Gentoo Linux system. All games (Grid Autosport, CS 1.6, Insurgency, Cradle, Serious Sam 3: BFE, etc) from steam excluding CS:GO running smoothly. But CS:GO does not even starts with this error message box.

I have latest NVIDIA drivers:

> [I] x11-drivers/nvidia-drivers
     Available versions:  [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd 304.131(0/304)^msd (~)304.131-r1(0/304)^msd (~)304.131-r3(0/304)^msd 337.25(0/330)^msd[1] 340.93-r1(0/340)^msd 340.96(0/340)^msd (~)340.96-r4(0/340)^msd 346.96-r1(0/346)^msd (~)346.96-r5(0/346)^msd 352.63(0/352)^msd (~)352.79(0/352)^msd (~)352.79-r3(0/352)^msd 355.11-r2(0/355)^msd (~)355.11-r3(0/355)^msd 358.16-r1(0/358)^msd (~)358.16-r4(0/358)^msd (~)361.28(0/361)^msd {+X acpi custom-cflags +driver gtk gtk2 gtk3 +kms multilib pax_kernel static-libs (+)tools uvm KERNEL="FreeBSD linux"}
     Installed versions:  361.28^msd(08:45:33 PM 02/10/2016)(X acpi driver gtk3 kms multilib tools uvm -pax_kernel -static-libs KERNEL="linux -FreeBSD")

glxinfo:

$ glxinfo | grep -i render                                                                                                                                                                                               
direct rendering: Yes
OpenGL renderer string: GeForce GTX 770/PCIe/SSE2
...
@timjp87

This comment has been minimized.

Copy link

@timjp87 timjp87 commented Feb 10, 2016

If you go to the Game Directory of Counter Strike: Source and edit hl2.sh and change

enable nVidia threaded optimizations

export __GL_THREADED_OPTIMIZATIONS=1
to 0 it will start up without doing anything with the installed driver. I think there could be a problem here with the driver that is not related to how it was packaged (with glvnd or without).

@timjp87

This comment has been minimized.

Copy link

@timjp87 timjp87 commented Feb 10, 2016

@AnAkkk

This comment has been minimized.

Copy link

@AnAkkk AnAkkk commented Feb 11, 2016

Here's a workaround to put in the launch options that fix the issue for Valve games:
__GLVND_DISALLOW_PATCHING=1 %command%

@btegs

This comment has been minimized.

Copy link

@btegs btegs commented Feb 11, 2016

@AeroX2 - Maybe that setting should be left at 1 due to the performance improvements that the string is supposed to give with OpenGL drivers.

My solution is to go back to a previous driver (352, 355, or 358) and wait for Nvidia and Valve to have a discussion and for Valve to patch the Linux version of CS:GO.

This is why Source 2 for this game is way overdue.

@AnAkkk

This comment has been minimized.

Copy link

@AnAkkk AnAkkk commented Feb 11, 2016

@btegs There is no performance change if you use the solution I posted above.

@davidw-valve

This comment has been minimized.

Copy link
Contributor

@davidw-valve davidw-valve commented Feb 11, 2016

This is a bug in the Nvidia drivers. Nvidia has confirmed this and will fix it. You can use the __GLVND_DISALLOW_PATCHING=1 setting to work around it in the meantime.

@btegs

This comment has been minimized.

Copy link

@btegs btegs commented Feb 16, 2016

I know this is an older bug report, but adding

export __GLVND_DISALLOW_PATCHING=1

on the next line below export multithread_glsl_compiler=1 in /Steam/SteamApps/common/Counter-Strike Global Offensive/csgo.sh via a text editor worked fine for me.

I already have a boatload of launch options for this game, so adding it to the actual launch script was more convenient for me for the 361.28 drivers.

@danobi

This comment has been minimized.

Copy link

@danobi danobi commented Feb 18, 2016

I can confirm @timjp87 's fix worked for CSGO. I didn't try the export __GLVND_DISALLOW_PATCHING=1.

@TomJamesGray

This comment has been minimized.

Copy link

@TomJamesGray TomJamesGray commented Feb 18, 2016

@timjp87 worked for me in CSGO as well, thanks

@Jessexd

This comment has been minimized.

Copy link

@Jessexd Jessexd commented Feb 26, 2016

It still hasn't been fixed? Really? I have to do this to all my source based games, come on...

@timjp87

This comment has been minimized.

Copy link

@timjp87 timjp87 commented Feb 27, 2016

@Jessexd 1) Read the thread. It's a driver bug it has to be fixed in the driver 2) /etc/profile is a thing.

@Jessexd

This comment has been minimized.

Copy link

@Jessexd Jessexd commented Feb 27, 2016

I know but it's been well over a week. Nvidia are ass holes.

@Tele42

This comment has been minimized.

Copy link
Contributor

@Tele42 Tele42 commented Feb 27, 2016

@Jessexd the point being to go take your frustration out in a productive manner, this is an issue tracker, not a forum to vent. nVidia typically ships a driver update every month or so, the issue would have to be a complete show-stopper for them to expedite a patch. Critical security issues would not even count to nVidia unless they had press backing exploits in the wild.

@Jessexd

This comment has been minimized.

Copy link

@Jessexd Jessexd commented Feb 27, 2016

@Tele42 sorry

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Mar 2, 2016

Starting Steam with __GLVND_DISALLOW_PATCHING=1 in the environment works also, so you could start up Steam using __GLVND_DISALLOW_PATCHING=1 steam in a terminal or add it to your shell's profile file or DE's environment config.

@skakri

This comment has been minimized.

Copy link

@skakri skakri commented Mar 4, 2016

__GLVND_DISALLOW_PATCHING=1 steam works on Arch (4.4.3) at least, thanks @Meowy

@ksthiele

This comment has been minimized.

Copy link

@ksthiele ksthiele commented Mar 7, 2016

Yup same problem

@Tele42

This comment has been minimized.

Copy link
Contributor

@Tele42 Tele42 commented Mar 7, 2016

Has anyone tested libglvnd from git? While NVIDIA/libglvnd@cd9c312 does not explicitly say it fixes this issue, it seems awfully relevent.

@BOHverkill

This comment has been minimized.

Copy link

@BOHverkill BOHverkill commented Mar 7, 2016

Same problem here but works with the workaround

@Saladien

This comment has been minimized.

Copy link

@Saladien Saladien commented Mar 9, 2016

is there any news on a new driver or easy way to fix this?

@doogie544

This comment has been minimized.

Copy link

@doogie544 doogie544 commented Mar 19, 2016

is there any news on a new driver or easy way to fix this?

This is a Nvidia regression bug that is supposed to be fixed soon. I believe on a post I read on Nvidia's forums stated it is supposed to be fixed in the next 361.xx release, I could not find that one again but:

a Nvidia dev stated

It is a regression related to glvnd & threaded optimizations. We are working on fixing it.
Until it is fixed, disabling threaded optimizations is an acceptable workaround, as is disabling entry point patching.

This is not just a GS:GO problem, most, if not all Source games fail to start, but it looks like only CS:GO has a bug report filed against it.

Here is the post I refereed to if you are interested.

https://devtalk.nvidia.com/default/topic/915789/linux/-solved-361-28-gtx-580-steam-several-games-don-t-start-up/2

@Saladien

This comment has been minimized.

Copy link

@Saladien Saladien commented Mar 22, 2016

Thank you very much for this :)

@doogie544

This comment has been minimized.

Copy link

@doogie544 doogie544 commented Mar 22, 2016

This would appear to be fixed with Nvidia's newest driver release- 364.12.

I have to add a caveat here, I don't own CS:GO, but as I stated above most Source games seem to be affected.

I have tried it will all of my source games that were having this issue,

Team Fortress 2, GMod, Day of Defeat, and Counter-Strike Source.

All started without the glgeterror. I would assume that CS:GO will start now as well.

I know that not having CS:GO is of no help the the bug Assignee, but I wanted to let all the followers of this bug aware of a likely fix so that they can test it themselves and get this bug report closed if it has been fixed by Nvidia.

One other caveat, 364.12 is technically a Beta release, use it with that in mind. (I have noticed no issues but the driver is only 24 hours old)

@th3noname

This comment has been minimized.

Copy link

@th3noname th3noname commented Mar 24, 2016

I can confirm that the 364.12 driver update solves the problem for CS:GO.

@Tele42

This comment has been minimized.

Copy link
Contributor

@Tele42 Tele42 commented Jun 9, 2016

Closing as this issue was identified as a defective libglvnd bundled with nVidia 361.28 and has been fixed in the video driver. If anybody is still experiencing this issue, either update to a different video driver version, remove libglvnd from the libGL render stack, or use the __GLVND_DISALLOW_PATCHING=1 workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.