Problemas com opengl

Iniciado por rtporfirio, 03 de Maio de 2016, 16:31

tópico anterior - próximo tópico

rtporfirio

Boa tarde a todos, estou começando a trabalhar com opengl e estou com o seguinte problema, ao fazer qualquer código de exemplo para testar eu tenho os seguintes erros na saída.

com a placa integrada
ricardo@ricardo-Vostro-5470:~/Documentos$ optirun ./a.out
freeglut (./a.out):  ERROR:  Internal error <visualInfo could not be retrieved from FBConfig> in function fgOpenWindow


sem a placa integrada
ricardo@ricardo-Vostro-5470:~/Documentos$ ./a.out
freeglut (./a.out): OpenGL GLX extension not supported by display ':0'


lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
08:00.0 Network controller: Intel Corporation Wireless 7260 (rev 93)
09:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)
root@ricardo-Vostro-5470:/home/ricardo/Documentos#


ldd $(which glxgears)
linux-vdso.so.1 =>  (0x00007ffff17a3000)
libGL.so.1 => /usr/lib/nvidia-361/libGL.so.1 (0x00007f7d3eac1000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7d3e7b8000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f7d3e47d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7d3e0b4000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7d3deb0000)
libGLX.so.0 => /usr/lib/nvidia-361/libGLX.so.0 (0x00007f7d3dc7d000)
libGLdispatch.so.0 => /usr/lib/nvidia-361/libGLdispatch.so.0 (0x00007f7d3d995000)
/lib64/ld-linux-x86-64.so.2 (0x000055a12f604000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7d3d773000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f7d3d560000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7d3d35c000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f7d3d156000)