Bug 785002

Summary: google-earth doesn't work with Nvidia drivers (Noveau = OK)
Product: [openSUSE] openSUSE 12.2 Reporter: Forgotten User HX-8ltfjsC <forgotten_HX-8ltfjsC>
Component: X11 3rd Party DriverAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P3 - Medium CC: forgotten_HX-8ltfjsC
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User HX-8ltfjsC 2012-10-14 18:15:12 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

If Nvidia drivers are installed and google-earth will be tried to start the following error messages occur:

---8<----8<---
P6815:/home/blah # google-earth 
Xlib: extension "GLX" missing on display ":0.0". 
Xlib: extension "GLX" missing on display ":0.0". 
[...]
[...]
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/root/.googleearth/crashlogs/crashlog-4ae304d4.txt

Please include this file if you submit a bug report will to Google.

--->8---->8---


This behavior is well known. A workaround is to deinstall Nvidia driver and install nouveau driver.

However I think this is a bug in the used NVidia driver package somewhere here inside:
ftp://download.nvidia.com/opensuse/12.2/i586/nvidia-gfxG02-kmp-desktop-304.43_k3.4.6_2.10-19.1.i586.rpm
ftp://download.nvidia.com/opensuse/12.2/i586/nvidia-computeG02-304.43-20.1.i586.rpm
ftp://download.nvidia.com/opensuse/12.2/i586/x11-video-nvidiaG02-304.43-20.1.i586.rpm



Reproducible: Always

Steps to Reproduce:
1. try to start google-earth on a system with Nvidia driver installed
2. google-earth won't start up, but an error message follows
3.



HW-Info: PC with OS 12.2 (32 Bit) and Nvidia Optimus (1. gfxcard Intel I915 / 2. gfxcard Nvidia Geforce GT 650M)

P6815:/home/blah # hwinfo --gfxcard
10: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.319]
  Unique ID: _Znp.FNStixxx20B
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel VGA compatible controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0116 
  SubVendor: pci 0x1b0a 
  SubDevice: pci 0x20dd 
  Revision: 0x09
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0xf6400000-0xf67fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf03f (rw)
  IRQ: 46 (80450 events)
  Module Alias: "pci:v00008086d00000116sv00001B0Asd000020DDbc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

22: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.319]
  Unique ID: VCu0.eskSAJrfm0C
  Parent ID: vSkL.LZ+Y++rCKeC
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia VGA compatible controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0fd1 
  SubVendor: pci 0x1b0a 
  SubDevice: pci 0x20dd 
  Revision: 0xa1
  Memory Range: 0xf5000000-0xf5ffffff (rw,non-prefetchable)
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
  Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable)
  I/O Ports: 0xe000-0xefff (rw)
  Memory Range: 0xf6000000-0xf607ffff (ro,non-prefetchable,disabled)
  IRQ: 16 (336 events)
  Module Alias: "pci:v000010DEd00000FD1sv00001B0Asd000020DDbc03sc00i00"
  Driver Info #0:
    Driver Status: nvidiafb is not active
    Driver Activation Cmd: "modprobe nvidiafb"
  Driver Info #1:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #9 (PCI bridge)

Primary display adapter: #10
P6815:/home/blah # 

P6815:/home/blah # lspci -v

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Device 1b0a:20dd
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at f6400000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd1 (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Device 1b0a:20dd
        Flags: fast devsel, IRQ 16
        Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at f6000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] #19
Comment 1 Stefan Dirsch 2012-10-17 16:22:40 UTC
Yeah. The issue here is, that you own a Optimus System (Intel + NVIDIA graphics).
For me it's even worse, since the Xserver is crashing somewhere in 

  libglx.so --> libdricore9.0.0.so.1

Even doesn't help when using Bumblebee for rendering on the NVIDIA GPU and using
the NVIDIA drivers. I guess it's working fine on a system with NVIDIA GPU only.

Optimus is currently unsupported. :-( But different GL apps should work fine with
the Intel GPU.
Comment 2 Forgotten User HX-8ltfjsC 2013-04-03 12:30:25 UTC
Since I've upgraded from 12.2 to 12.3 the problem isn't no longer in my focus.

Now on 12.3 I'm using Bumblebee 3.1 from the (unstable) Overman79 repo and (even with Primus) everything is working fine.

Used packages (on 12.3):

bumblebee-3.1-10.1
x11-video-nvidia-313.26-6.1 (from Overman79, not from nVidia)
VirtualGL-2.3.2-3.3
dkms-2.2.0.3-1.1
dkms-bbswitch-0.6-2.1
dkms-nvidia-313.26-3.1
libturbojpeg-1.2.1-6.1
primus-20130315-18.1

On 12.2 I've tried many Bumblebee versions of the 2.X and the 3.0 generation. For whatever reasons with no luck.

I think, this bug can be closed.
Comment 3 Stefan Dirsch 2013-04-03 13:17:28 UTC
Ok. As you wish. ;-)