Ubuntu nVidia package confuses BuGLe

Bug #583932 reported by François Bertel
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Lucid by rp_linux

Bug Description

Hello,

1) lsb_release -rd gives
Description: Ubuntu 10.04 LTS
Release: 10.04

2) apt-cache policy nvidia-current gives
nvidia-current:
  Installed: 195.36.15-0ubuntu3
  Candidate: 195.36.15-0ubuntu3
  Version table:
 *** 195.36.15-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Packages
        100 /var/lib/dpkg/status
     195.36.15-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Packages
fbertel@xanth:~$ apt-cache policy nvidia-current
nvidia-current:
  Installed: 195.36.15-0ubuntu3
  Candidate: 195.36.15-0ubuntu3
  Version table:
 *** 195.36.15-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Packages
        100 /var/lib/dpkg/status
     195.36.15-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Packages

3) I expected BuGLe do work in direct rendering mode and returning the right OpenGL versions and extensions.

4) Here is what happen:

I'm using BuGLe to debug OpenGL programs under Linux:
http://www.opengl.org/sdk/tools/BuGLe/

So far it was working great with Ubuntu 9.10 (coming with nVidia driver 185.18.36). After an upgrade to Ubuntu 10.04 (coming with nVidia driver 195.36.15), I have the following wrong behavior:

When the OpenGL calls are intercepted by BuGLe, the driver runs in indirect rendering mode and falls back to OpenGL 1.4. With Ubuntu 9.10, the driver used to properly run in direct rendering mode with OpenGL 3.0.

$ gldb-gui glxinfo &> output.txt

direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro FX 3600M/PCI/SSE2
OpenGL version string: 1.4 (2.1.2 NVIDIA 195.36.15)

[the complete output is in the attached file output_gbdb-gui_20100508_glxinfo.txt]

Not using gldb-gui, I get what I expect from glxinfo:
$ glxinfo

direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro FX 3600M/PCI/SSE2
OpenGL version string: 3.2.0 NVIDIA 195.36.15
OpenGL shading language version string: 1.50 NVIDIA via Cg compiler

[the complete output is in the attached file output_glxinfo.txt]

PS: here are the straightforward steps I use to install BuGLe:
$ export CFLAGS=-U_FORTIFY_SOURCE (required under Ubuntu)
$ tar xjvf bugle-0.0.20100508.tar.bz2
$ mkdir bugle-build
$ cd bugle-build
$ ../bugle-0.0.20100508/configure --without-lavc
$ make -j3
$ make install

I already discussed with nVidia staff and the BuGLe developer. The nVidia staff says that the Ubuntu package relocated some files that probably confuses BuGLe. They try BuGLe on Ubuntu 10.04 with the Ubuntu package and from the nVidia installer itself. BuGLe is working fine with the nvidia install but not with the Ubuntu package.

BuGLe thread of discussion:

http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTikyhyowGZ3wyvnXEXMDmXPMJAbSNDJOqsiP-2UG%40mail.gmail.com&forum_name=bugle-users

nVidia forum thread of discussion:
http://www.nvnews.net/vbulletin/showthread.php?t=150906

Regards.

Tags: lucid
Revision history for this message
François Bertel (francois-bertel) wrote :
Revision history for this message
François Bertel (francois-bertel) wrote :
Bryce Harrington (bryce)
tags: added: lucid
Revision history for this message
François Bertel (francois-bertel) wrote :

The issue was in bugle. And it is fixed in revision 0.0.20100718.

For reference, here is the message on the bugle mailing list with the proof that it is fixed:

http://sourceforge.net/mailarchive/message.php?msg_name=AANLkTi%3D0-zRWBrzWn9iFtAhpZv3J1b3sSSqgSaAE11e9%40mail.gmail.com

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.