Public bug reported:

I can't get the nvidia driver to work.

When I type "prime-select intel" the system works.

When I type "prime-select nvidia" glxinfo breaks.


lsmod | grep nvidia
nvidia_uvm            688128  0
nvidia_drm             49152  0
nvidia_modeset        843776  1 nvidia_drm
nvidia              12984320  2 nvidia_modeset,nvidia_uvm
drm_kms_helper        155648  2 i915,nvidia_drm
drm                   364544  4 i915,drm_kms_helper,nvidia_drm


----> BUT: Xorg.0.log has the following errors:

[   478.562] (EE) Failed to load module "nvidia" (module does not exist, 0)
[   478.562] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   478.563] (EE) Failed to load module "nvidia" (module does not exist, 0)
[   478.563] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.699] (EE) AIGLX: reverting to software rendering


----> I think I need to generate a valid xorg.conf file


----> BUT: when I execute sudo X -configure I get the following error at the 
end:


List of video drivers:
        amdgpu
        ati
        cirrus
        intel
        mach64
        mga
        neomagic
        openchrome
        qxl
        r128
        radeon
        savage
        siliconmotion
        sisusb
        trident
        vmware
        vesa
        modesetting
        fbdev
        tdfx
(++) Using config file: "/home/jccb/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
(EE) Server terminated with error (2). Closing log file.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79
Uname: Linux 4.4.0-93-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  384.69  Wed Aug 16 19:34:54 
PDT 2017
 GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
.tmp.unity_support_test.1:
 
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Sat Sep  9 11:25:06 2017
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.4.0-93-generic, x86_64: installed
 nvidia-384, 384.69, 4.4.0-93-generic, x86_64: installed
 webcamstudio, 0.73, 3.13.0-101-generic, x86_64: installed
 webcamstudio, 0.73, 4.4.0-92-generic, x86_64: installed
 webcamstudio, 0.73, 4.4.0-93-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller 
[8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] 4th Gen Core Processor 
Integrated Graphics Controller [1462:1113]
   Subsystem: Micro-Star International Co., Ltd. [MSI] GM108M [GeForce 840M] 
[1462:1113]
InstallationDate: Installed on 2015-01-23 (960 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Micro-Star International Co., Ltd. GP60 2PE
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-93-generic 
root=UUID=da904324-ef1b-4408-8fe7-543a661e7464 ro nomodeset=1 splash quiet
Renderer: Software
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/23/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E16GHIMS.10B
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MS-16GH
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: REV:1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrE16GHIMS.10B:bd10/23/2014:svnMicro-StarInternationalCo.,Ltd.:pnGP602PE:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-16GH:rvrREV1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: GP60 2PE
dmi.product.version: REV:1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.
nvidia-settings:
 ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
 
 
 ERROR: Error querying connected displays on GPU 0 (Missing Extension).
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1~ubuntu16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.7-0ubuntu0.16.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20160325-1ubuntu1.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Sat Sep  9 10:50:55 2017
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.18.4-0ubuntu0.3

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug possible-manual-nvidia-install ubuntu xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716104

Title:
  can't get nvidia to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1716104/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to