You are not logged in.

#1 2017-10-30 16:43:35

durty
Member
Registered: 2017-08-05
Posts: 6

OpenCV Warning on imshow "Window system doesn't support OpenGL"

Hey everyone,

I started working with OpenCV for a course mini-project. We are building a video broadcast application using OpenCV's library and UDP sockets. As of now, I'm stuck on something very trivial and necessary for building this application. I'm getting the following error on calling imshow on any image.

 (Source:1445): GdkGLExt-WARNING **: Window system doesn't support OpenGL. 

The output for glxinfo and glxgears is as follows

 durty@diret  ~/Sem_7/CS425A/project  glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
 durty@diret  ~/Sem_7/CS425A/project  glxgears
Error: couldn't get an RGB, Double-buffered visual

Graphics card:

 durty@diret  ~/Sem_7/CS425A/project  lspci -k | grep -iE2 "(VGA|3D)"
	Subsystem: Dell Broadwell-U Host Bridge -OPI
	Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
	Subsystem: Dell HD Graphics 5500
	Kernel driver in use: i915
--
	Kernel driver in use: r8169
	Kernel modules: r8169
08:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
	Subsystem: Dell GM108M [GeForce 840M]
	Kernel driver in use: nvidia
 durty@diret  ~/Sem_7/CS425A/project  less /var/log/Xorg.0.log | grep -ie "gl"           
[  3117.110] (II) LoadModule: "glx"
[  3117.110] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  3117.113] (II) Module glx: vendor="NVIDIA Corporation"
[  3117.113] (II) NVIDIA GLX Module  387.12  Thu Sep 28 19:24:49 PDT 2017
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
[  3117.115] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  3117.117] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

If I run sudo nvidia-xconfig, my X server would fail on the next startx. So, I have to delete the /etc/X11/xorg.conf file to return to normal behavior.

I went through this thread, but to no avail.

How do I solve this? Any directions or advice for getting around this?

Thanks!

Last edited by durty (2017-10-30 16:51:26)

Offline

Board footer

Powered by FluxBB