Hello folks,
since 2 days iam sitting here and installing our new workstation…
Linux 4.4.0-53-generic #74-Ubuntu x64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.1
nvidia-367.57
NVIDIA GTX970 (2x (no SLI) )
My Problems:
Iam remotely logged in to my workstation and want to start some openGL apps like QTcreator or glxgears for testing. It works well until i install the nvidia driver. After the installation of nvidia-367 from the official ubuntu ppa i cant start OPENGL apps via ssh.
Xforwarding is set to yes in ssh*_config file
$ ssh -X user@host
$ glxgears
ERROR: couldn't get an RGB, Double-buffered visual
$ glxinfo
name of display: localhost:10.0
ERROR: couldn't find RGB GLX visual or fbconfig
$ glewinfo
ERROR: glewCreateContext failed
$ qtcreator
Coult not initialize GLX
Aborted (core dumped)
This apps work fine if i sit physically at the workstation
glewinfo: https://paste.ubuntu.com/23658092/
glxinfo: https://paste.ubuntu.com/23658099/
I tried many solutions:
Added iglx to:
/usr/share/lightdm/lightdm.conf.d/50-xserver-command.confq
[Seat:*]
# Dump core
xserver-command=X -core +iglx
#Section "ServerFlags"
#Option "AllowIndirectGLX" "on"
#EndSection
or:
$ssh -Y user@HOST
or:
nvidia-352/340/304/331/361
every driver has the same problems.
I want to login via Xming and Putty too (Windows7) and iam restricted to use those apps under windows.
Sometimes qtcreator worked if i started it with:
qtcreator -noload Welcome
or:
qtcreator -noload Welcome -noload QmlProfile -noload QmlDesigner
but this doesnt work anymore…
My understanding of X11forwarding is that when iam logged in via ssh the Xserver(workstation) sends opengl commands to my client. Those commands are rendered with the client opengl libraries. The +iglx commands sets the rendering to my workstation and sends the output to the tunnel?
I dont have another pc with nvidia, so i cant check if it would work under nvidiaenvironment.
Another idea i have is that i create a seat for ssh where i let them use my intelonboard chip?
I hope you can help me :-)
Kind Regards
Mirko
EDIT:
Xorg Log
https://paste.ubuntu.com/23658810/
EDIT2:
FYI: xclock works