Forum

Author Topic: Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not sup  (Read 15023 times)

pmoreau

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello,
I restarted an installation from the beginning on the workstation and on clean ubuntu 16.04.
I had to install the nvidia driver from the legal repository of ubuntu rather than the .run on the nvidia site. (nvidia-384).
Everything is working fine now. I just had to add the libxcb-keysyms1 package to allow input into the photoscan window.
I can use photoscan remotely using GPU features.
Thank you very much for the help found here.
P.M.

pmoreau

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello,
In continuation of the topic on "February 06, 2018, 02:55:00 PM" everything work fine and today i can not have a correct display with the use of vnc.
I specify that no updta eof the system was recently made, i work with ubuntu 16.04 LTS.
When i run photoscan:
$ vglrun photoscan.sh
[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to
[VGL]    147.100.161.143, the IP address of your SSH client.
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QOpenGLWidget: Failed to create context
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed

.../...

and:

$ vglrun glxgears
[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to
[VGL]    147.100.161.143, the IP address of your SSH client.
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual


$ lspci|grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 310] (rev a1)
0b:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2 (rev 01)


and so

$ vglrun glxinfo
[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to
[VGL]    147.100.161.143, the IP address of your SSH client.
name of display: TLS-AGIR-IMAGE:1
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib:  extension "GLX" missing on display ":0".


I give back my configuration:


$ dpkg -l|grep nvidia
ii  nvidia-384                             384.130-0ubuntu0.16.04.2                      amd64        NVIDIA binary driver - version 384.130
ii  nvidia-opencl-icd-384                  384.130-0ubuntu0.16.04.2                      amd64        NVIDIA OpenCL ICD
rc  nvidia-prime                           0.8.2                                         amd64        Tools to enable NVIDIA's Prime
rc  nvidia-settings                        361.42-0ubuntu1                               amd64        Tool for configuring the NVIDIA graphics driver

$ ./start_vnc_server.sh 2>&1 | tee start_vnc_server.log

************************************************************************************************
*                                                                                              *
* On g2 instance you can see this above:                                                       *
* XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server :0                  *
*       after 7 requests (7 known processed) with 0 events remaining.                          *
* This is OK.                                                                                  *
*                                                                                              *
************************************************************************************************



X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-138-generic x86_64 Ubuntu
Current Operating System: Linux TLS-AGIR-IMAGE 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-46-generic root=UUID=af52b193-3f3a-4fb4-bf9b-4e727e602566 ro quiet splash vt.handoff=7
Build Date: 25 October 2018  04:13:49PM
xorg-server 2:1.19.6-1ubuntu4.1~16.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 23 08:08:18 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 14: 102b:0534, driver (null)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

Desktop 'TurboVNC: TLS-AGIR-IMAGE:1 (pmoreau)' started on display TLS-AGIR-IMAGE:1

Starting applications specified in /home/pmoreau/.vnc/xstartup.turbovnc
Log file is /home/pmoreau/.vnc/TLS-AGIR-IMAGE:1.log



I do not really understand why this instability, and anty help would be appreciated..
Thanks.
P.M.



PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
You Xorg.0.log has multiple errors (Ctrl+F for string (EE)). May be your xorg.conf file was changed? (for example because of some kind of packages installs/updates)

Can you please post your xorg.conf again?

pmoreau

  • Newbie
  • *
  • Posts: 14
    • View Profile
thanks,

the only xorg.conf is:

/usr/share/doc/xserver-xorg-video-intel-hwe-16.04/xorg.conf

when i launch start_vnc_server i see:
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

with
 
$ ls /usr/share/X11/xorg.conf.d
10-amdgpu.conf  10-quirks.conf  11-evdev-quirks.conf      50-nvidia-drm-outputclass.conf  70-synaptics.conf  glamoregl.conf
10-evdev.conf   10-radeon.conf  11-evdev-trackpoint.conf  51-synaptics-quirks.conf        70-wacom.conf


P.M.

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Is output of lspci | egrep -h "VGA|3D controller" still includes 03:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 310] (rev a1) ?

If yes - you can try to use your old xorg.conf file (from your message) - just save it as /etc/X11/xorg.conf and reboot.

If it doesn't help - make sure that /etc/X11/xorg.conf wasn't automatically changed after reboot and provide Xorg.0.log

pmoreau

  • Newbie
  • *
  • Posts: 14
    • View Profile
so,
$ lspci | egrep -h "VGA|3D controller"03:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 310] (rev a1)
0b:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2 (rev 01)


after copying /usr/share/doc/xserver-xorg-video-intel-hwe-16.04/xorg.conf to /etc/X1/xorg.conf

and reboot, the same problem vith vnc (/etc/X11/xorg.conf is not changed)

as i launch start_vnc_server i get:
$ ./start_vnc_server.sh 2>&1 | tee start_vnc_server.log

************************************************************************************************
*                                                                                              *
* On g2 instance you can see this above:                                                       *
* XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server :0                  *
*       after 7 requests (7 known processed) with 0 events remaining.                          *
* This is OK.                                                                                  *
*                                                                                              *
************************************************************************************************



X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-138-generic x86_64 Ubuntu
Current Operating System: Linux TLS-AGIR-IMAGE 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-46-generic root=UUID=af52b193-3f3a-4fb4-bf9b-4e727e602566 ro quiet splash vt.handoff=7
Build Date: 25 October 2018  04:13:49PM
xorg-server 2:1.19.6-1ubuntu4.1~16.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 23 12:35:04 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 15: 102b:0534, driver (null)



thanks's for your help .
P.M.

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Sorry, I meant not /usr/share/doc/xserver-xorg-video-intel-hwe-16.04/xorg.conf, but old xorg.conf from your old message (I also attached it).

Can you please save xorg.conf (attached to this message, it has ~64 lines) to /etc/X11/xorg.conf and try again?

pmoreau

  • Newbie
  • *
  • Posts: 14
    • View Profile
yes !

I don't understand why le X11 config has changed and actually if i reload and reboot whis this xorg.conf, it's ok: do you have an idea ?

I need to save this xorg.conf file somewhere else if something goes wrong.

In any case, thank you very much for this precious help.

P.M.

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Nice! :)

I don't know for sure what leads to deletion of /etc/X11/xorg.conf, it can be something like system distributive upgrade or packages installation or packages update.

You surely need to backup this file somewhere if it happens again. It seems that another way to prevent this deletion is to move this file from /etc/X11/xorg.conf to something like /usr/share/X11/xorg.conf.d/my_xorg.conf (you can just try it, or try to find another way from man).