Xorg cannot use nvidia, missing symlink

Bug #1665581 reported by a. Mennucc
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-367 (Ubuntu)
Confirmed
High
Unassigned
ubuntu-drivers-common (Ubuntu)
Confirmed
High
Unassigned

Bug Description

hi

I used the automated GUI tool to select the proprietary driver nvidia-367

but Xorg was not using the nvidia driver, claiming that

[ 11.041] (II) LoadModule: "nvidia"
[ 11.045] (WW) Warning, couldn't open module nvidia
[ 11.045] (II) UnloadModule: "nvidia"
[ 11.045] (II) Unloading nvidia
[ 11.045] (EE) Failed to load module "nvidia" (module does not exist, 0)

To solve the problem, I

# ln -s /usr/lib/nvidia-367/xorg/nvidia_drv.so /usr/lib/xorg/modules/drivers

now Xorg find the driver and it works fine.

BTW , I have had to apply this fix many times in the past.

a.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nvidia-367 367.57-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-36-generic i686
NonfreeKernelModules: nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: i386
Date: Fri Feb 17 10:05:42 2017
InstallationDate: Installed on 2014-08-20 (911 days ago)
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: nvidia-graphics-drivers-367
UpgradeStatus: Upgraded to xenial on 2016-09-02 (167 days ago)
modified.conffile..etc.modprobe.d.nvidia-367_hybrid.conf: [deleted]

Revision history for this message
a. Mennucc (mennucc1) 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-367 (Ubuntu):
status: New → Confirmed
Revision history for this message
a. Mennucc (mennucc1) wrote :

I analyzed the problem and found the culprit

Each time a window manager is (re)started, due to the conf file /etc/init/gpu-manager.conf , the program 'gpu-manager' is called. This program does not like my NVIDIA card, so it calls "update-alternatives" to force X11 to use mesa drivers and libs, even though NVIDIA drivers and libs are installed

TO "solve" the problem I moved away the culprit
# mv /usr/bin/gpu-manager /usr/bin/gpu-manager~~
and used
# update-alternatives --config i386-linux-gnu_egl_conf
# update-alternatives --config i386-linux-gnu_gl_conf
and then restarted .the system

Now it works as a charm, getting superb framerates in games etc etc.

Some more info

I have a card NVIDIA Corporation GK208 [GeForce GT 730]
I installed Ubuntu xenial
I am running kernel 4.8.0-41-generic
gpu-manager is part of ubuntu-drivers-common 1:0.4.17.2

I attach the log of gpu-manager

Revision history for this message
a. Mennucc (mennucc1) wrote :

let me add that the commands
# update-alternatives --auto i386-linux-gnu_egl_conf
# update-alternatives --auto i386-linux-gnu_gl_conf
are more straightforward, and that
# ldconfig
is needed afterwards

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

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

Changed in ubuntu-drivers-common (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Confirm the problem with a nv117 (gtx750) card, both with 365 & 367 drivers (package from graphics-drivers ppa works well)

dino99 (9d9)
tags: added: zesty
Changed in nvidia-graphics-drivers-367 (Ubuntu):
importance: Undecided → High
Changed in ubuntu-drivers-common (Ubuntu):
importance: Undecided → High
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.