Steam for Linux

Steam for Linux

Mad Haunter 23 mai. 2013 às 13:54
[SOLVED] [Optimus/Primus] Could not find required OpenGL entry point 'glGetError'| Either your video card is unsupported, or your OpenGL driver needs to be updated
I successfuly installed Primus with bumblebee on my Ubuntu 12.04 64Bits, i can reach 278 fps with "vblank_mode=0 primusrun glxspheres", but when i try to launch Team Fortress 2 with primusrun %command% (actually OPTIMUS_PREFIX witch correspond to primusrun in etc/environment ) i get this error:

"Could not find required OpenGL entry point 'glGetError'| Either your video card is unsupported, or your OpenGL driver needs to be updated"

I'm running with a Intel and a nVidia GeForce GT 630M - 2Gb, using the nvidia drivers 310-experimental.

And I can start the game with optirun, but it's very laggy and i don't run tf2 with high graphics settings :/

Hoping someone can help me ^^
Última alteração por Mad Haunter; 25 mai. 2013 às 4:50
< >
A mostrar 1-15 de 15 comentários
TheSniperFan 24 mai. 2013 às 8:55 
I remember having this error a while back.
It wasn't fixed by me though. I'd say try a different driver version.
Mad Haunter 24 mai. 2013 às 10:33 
i'll try that with the last 319.17
TheSniperFan 24 mai. 2013 às 14:48 
I'll check what version I have later. I'm in Windows right now.
TheSniperFan 24 mai. 2013 às 15:47 
I have:
Nvidia 319.17
Bumblebee 3.2.1
Mad Haunter 25 mai. 2013 às 2:14 
can you tell me from were did you install your drivers ? seems there's no version available from xorg-edgers for my ubuntu 12.04 64 bits :(

(Getting this error :
Package nvidia-319 is not available, but exists in the database.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package nvidia-319 has no installation candidate)

BTW I'm running with Bumblebee Version: 3.2.1-1~preciseppa3
Última alteração por Mad Haunter; 25 mai. 2013 às 3:19
Mad Haunter 25 mai. 2013 às 2:54 
Well i just installed nvidia drivers 319.23 from here: http://www.ubuntuupdates.org/package/xorg-edgers/precise/main/base/nvidia-319

Downloaded the 64bits package for nvidia-319 and nvidiasettings-319, i intalled the deb packages with software center and... it get worse x). Now bumblebee is dead. RUnning optirun glxspheres:

[] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[] [ERROR]Could not connect to bumblebee daemon - is it running?

But i have to say that i edited the config file in /etc/bumblebee/bumblebee.conf to get this:

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-319
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-319:/usr/lib32/nvidia-319
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-319/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

and i did the same for Primusrun in /usr/bin/primusrun


EDIT: Now i reinstalled bumblebee and primus with default 304.88 driver. everything seems to work now. but i'm still getting the same error in steam with primus
Última alteração por Mad Haunter; 25 mai. 2013 às 3:13
TheSniperFan 25 mai. 2013 às 3:42 
Firstly, I don't use Ubuntu anymore.
Secondly, I now remember having to edit my bumbmebee.conf too.
It was the "XorgModulePath" line that pointed to the wrong directory.
Mine goes like this now:

XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules

Does bumblebee work for you at all? (glxspheres for example)
Mad Haunter 25 mai. 2013 às 3:58 
Now i managed to install 319.23 drivers correctly... ppa was disabled x) (i enabled it with synaptic), i reedited primus and bumblebee config files and it seems to work:

nova@N53SM-Ubuntu:~$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
117.302022 frames/sec - 130.909056 Mpixels/sec
130.286428 frames/sec - 145.399654 Mpixels/sec
125.686615 frames/sec - 140.266263 Mpixels/sec
127.413727 frames/sec - 142.193719 Mpixels/sec
130.689596 frames/sec - 145.849589 Mpixels/sec
127.309368 frames/sec - 142.077255 Mpixels/sec

______________________

nova@N53SM-Ubuntu:~$ vblank_mode=0 primusrun glxspheres
Polygons in scene: 62464
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Visual ID of window: 0xa0
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
198.223976 frames/sec - 221.217958 Mpixels/sec
201.684920 frames/sec - 225.080371 Mpixels/sec
221.869379 frames/sec - 247.606227 Mpixels/sec
221.996363 frames/sec - 247.747941 Mpixels/sec
224.855281 frames/sec - 250.938493 Mpixels/sec
223.483882 frames/sec - 249.408012 Mpixels/sec

But still getting the same error with primus on steam :/
Mad Haunter 25 mai. 2013 às 4:15 
And now i get this message when i launch steam:

Your currently installed video driver package, ligl1-mesag-dri, has a new version: 9.0-ubunt1.
We recommend upgrading your system to this new driver package.

sould i do this upgrade ?
Mad Haunter 25 mai. 2013 às 4:48 
I fixed it ! :)

I just replaced the "primusrun" command in steam by "optirun --brigde primus' in the TF2 Launch Options and it worked ^^ i didn't know this command, i found it on Bumblebee website, and tf2 runs well :)

Anyway thanks for your help !
Última alteração por Mad Haunter; 25 mai. 2013 às 4:49
TheSniperFan 25 mai. 2013 às 4:56 
"optirun --bridge primus" (or "optirun -b primus") is the same as "primusrun".
"optirun -b virtualgl" is the same as "optirun".
They merged both commands together so that instead of having two seperate commands, you have one with the option to chose either primus or virtualgl.
Mad Haunter 25 mai. 2013 às 5:49 
I don't know where the mistery is :d but TF2 don't run with "primusrun" in my case x)
TheSniperFan 25 mai. 2013 às 11:13 
Maybe it's outdated, since it has been replaced.
Zoli 26 mar. 2014 às 13:54 
i installed the 32bit version of virtualgl, and it works now!

apt-get install virtualgl:i386
Última alteração por Zoli; 26 mar. 2014 às 13:58
Ted 22 set. 2014 às 19:16 
For those who wants to use primus, the trick is almost the same :
apt-get install primus:i386
< >
A mostrar 1-15 de 15 comentários
Por página: 1530 50