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


** Attachment added: "log of gpu-manager"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-367/+bug/1665581/+attachment/4834000/+files/gpu-manager.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-367 in Ubuntu.
https://bugs.launchpad.net/bugs/1665581

Title:
  Xorg cannot use nvidia, missing symlink

Status in nvidia-graphics-drivers-367 package in Ubuntu:
  Confirmed

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]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-367/+bug/1665581/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to