wine didn't find opengl drivers after reinstalling nvidia-current

Bug #764200 reported by Bremm
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

"ubuntu-bug nvidia-graphics-drivers" didn't work for me, so I'm doing this way.

After reinstalling nvidia-current, I have to use "LD_PRELOAD" to indicate where the opengl 32-bit driver is when running a game in wine. Example:

$ LD_PRELOAD=/usr/lib32/nvidia-current/libGL.so wine 4x4.exe

If I don't do this, wine nags about missing libraries:

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly

$ lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

$ LANG=C apt-cache policy nvidia-current
nvidia-current:
  Installed: 270.41.03-0ubuntu1
  Candidate: 270.41.03-0ubuntu1
  Version table:
 *** 270.41.03-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ natty/restricted amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: nvidia-current 270.41.03-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] É um diretório: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.41.03 Sat Apr 9 00:06:19 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Sun Apr 17 23:59:01 2011
DistUpgraded: Log time: 2011-03-15 02:31:18.998961
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 270.41.03, 2.6.38-8-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.38-8-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.38-5-generic, x86_64: built
GraphicsCard:
 nVidia Corporation G86 [GeForce 8500 GT] [10de:0421] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: XFX Pine Group Inc. Device [1682:230b]
JockeyStatus: xorg:nvidia_current - Driver de aceleração de vídeo NVIDIA (Proprietário, Habilitado, Em uso)
Lsusb:
 Bus 002 Device 004: ID 1c4f:0002 SiGma Micro
 Bus 002 Device 003: ID 04d9:2083 Holtek Semiconductor, Inc.
 Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: System manufacturer System Product Name
ProcEnviron:
 LANGUAGE=pt_BR:en
 PATH=(custom, no user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=b951da7b-04b7-4406-a5de-7b9f92466a71 ro quiet splash nomodeset video=uvesafb:mode_option=1280x800-32,mtrr=3,scroll=ywrap vt.handoff=7
Renderer: Unknown
SourcePackage: nvidia-graphics-drivers
UpgradeStatus: Upgraded to natty on 2011-03-15 (33 days ago)
dmi.bios.date: 12/01/2005
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS A8N-SLI DELUXE ACPI BIOS Revision 1016
dmi.board.name: A8N-SLI DELUXE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSA8N-SLIDELUXEACPIBIOSRevision1016:bd12/01/2005:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnA8N-SLIDELUXE:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz N/A
version.ia32-libs: ia32-libs 20090808ubuntu12
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
Bremm (bremm) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Revision history for this message
Zuzkins (zuzkins-gmail) wrote :

I just want to add, that the proposed solution works for me as a workaround with a tiny modification. Since /usr/lib32/nvidia-current/libGL.so is a symlink on my system, I needed to substitute it with an actual file which on my system is: /usr/lib32/nvidia-current/libGL.so.280.13

Now it works fine.

Thank you for finding this workaround

Revision history for this message
Bryce Harrington (bryce) wrote :

Hey bremm,

You filed this bug report against natty, but I see it's still open and
doesn't appear to have much activity recently. So, now that oneiric
is released and stable, this may be a good point for you to upgrade
and re-test if this issue is still present there.

If it's solved in the new release and you think it's worth backporting
the fix, please indicate that. Or if having the fix in the new release
is good enough, feel free to close out the bug (or let us know and we'll
close it.)

If it's not solved, leave the bug report open. I can't promise we'll
get to it (we get way more bugs filed than we can usually get to), but
your testing and feedback can help out if and when we do.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
bugbot (bugbot) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Expired
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.