the inverse NVIDIA problem

Hi everyone.

I have the “inverse” nvidia" problem. glxinfo, glxgears, glxspheres64 run with optimus but they do not without it:


mimis@goldberg:~$ glxgears
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual

**but

**


mimis@goldberg:~$ optirun glxgears
3907 frames in 5.0 seconds = 781.251 FPS
3920 frames in 5.0 seconds = 783.966 FPS
3824 frames in 5.0 seconds = 764.614 FPS

Other information:


mimis@goldberg:~$ uname -a
Linux goldberg.site 3.13.6-1.g4727218-desktop #1 SMP PREEMPT Fri Mar 7 07:30:35 UTC 2014 (4727218) x86_64 x86_64 x86_64 GNU/Linux

/var/log/nvidia-installer.log says:


-> 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (version: 334.21) appears to be installed correctly.

The problem also shows up here:


mimis@goldberg:~$ inxi -Fx
System:    Host: goldberg.site Kernel: 3.13.6-1.g4727218-desktop x86_64 (64 bit, gcc: 4.8.1) 
           Desktop KDE 4.10.5 (Qt 4.8.4) Distro: openSUSE 12.3 (x86_64) VERSION = 12.3 CODENAME = Dartmouth
Machine:   Mobo: Alienware model: M17xR4 version: A05 Bios: Alienware version: A05 date: 03/07/2012
CPU:       Quad core Intel Core i7-3720QM CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20751.3 
           Clock Speeds: 1: 2229.601 MHz 2: 2367.726 MHz 3: 2556.429 MHz 4: 3314.796 MHz 5: 2395.960 MHz 6: 3185.00 MHz 7: 2606.601 MHz 8: 3262.593 MHz
Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 
           Card-2: NVIDIA Device 1212 bus-ID: 01:00.0 
           X.Org: 1.13.2 drivers: nv,nouveau,intel (unloaded: nvidia,fbdev,vesa) Resolution: 1920x1080@60.0hz 
           **GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A**


mimis@goldberg:~$ optirun inxi -Fx
System:    Host: goldberg.site Kernel: 3.13.6-1.g4727218-desktop x86_64 (64 bit, gcc: 4.8.1) 
           Desktop KDE 4.10.5 (Qt 4.8.4) Distro: openSUSE 12.3 (x86_64) VERSION = 12.3 CODENAME = Dartmouth
Machine:   Mobo: Alienware model: M17xR4 version: A05 Bios: Alienware version: A05 date: 03/07/2012
CPU:       Quad core Intel Core i7-3720QM CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20751.3 
           Clock Speeds: 1: 2599.898 MHz 2: 2650.679 MHz 3: 2231.023 MHz 4: 2655.453 MHz 5: 2629.250 MHz 6: 3550.421 MHz 7: 3078.156 MHz 8: 2370.671 MHz
Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 
           Card-2: NVIDIA Device 1212 bus-ID: 01:00.0 
           X.Org: 1.13.2 drivers: nv,nouveau,intel (unloaded: nvidia,fbdev,vesa) Resolution: 1920x1080@60.0hz 
          ** GLX Renderer: GeForce GTX 675M/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 334.21 Direct Rendering: Yes**

My problem is that whenever I run the Dassault/DraftSight (graphics vector drawing) with optirun the machine freezes very quickly (impossible to work).

Any ideas to work this around ?

mimis

P.S. I followed the steps in
https://forums.opensuse.org/showthread.php/484188-Setup-bumblebee-and-primus-in-openSUSE-12-3?highlight=GPU+driver
for the installation (with some minor modifications)

Reinstall the package xorg-x11-server.

Wow, it is fixed !!!

Thanks a lot, I owe you one.

mimis