Display drivers are not Avaialble

Bug #1781125 reported by Asanga
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I cannot see the displays listed in my display settings. Can't plugin an extra monitor.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7
ProcVersionSignature: Ubuntu 4.15.0-24.26-generic 4.15.18
Uname: Linux 4.15.0-24-generic x86_64
.tmp.unity_support_test.1:

ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Wed Jul 11 10:53:54 2018
DistUpgraded: 2018-07-10 12:43:41,594 DEBUG icon theme changed, re-reading
DistroCodename: bionic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation Device [8086:591b] (rev 04) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:07d1]
   Subsystem: Dell Device [1028:07d1]
InstallationDate: Installed on 2017-09-12 (301 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:0a2b Intel Corp.
 Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
 Bus 001 Device 004: ID 1bcf:2b96 Sunplus Innovation Technology Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude 5580
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-24-generic root=UUID=47ee8f4e-ddca-4b1f-beeb-159611ec343b ro nomodeset
Renderer: Software
SourcePackage: xorg
UpgradeStatus: Upgraded to bionic on 2018-07-10 (0 days ago)
dmi.bios.date: 03/08/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.9.3
dmi.board.name: 0FH6CJ
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.9.3:bd03/08/2018:svnDellInc.:pnLatitude5580:pvr:rvnDellInc.:rn0FH6CJ:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Latitude
dmi.product.name: Latitude 5580
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Wed Jul 11 10:49:48 2018
xserver.configfile: default
xserver.errors:
 open /dev/dri/card0: No such file or directory
 open /dev/dri/card0: No such file or directory
 Screen 0 deleted because of no matching config section.
 AIGLX: reverting to software rendering
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.19.6-1ubuntu4
---
ProblemType: Bug
.tmp.unity_support_test.1:

ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
DistUpgraded: Fresh install
DistroCodename: bionic
DistroRelease: Ubuntu 18.04
DistroVariant: ubuntu
DkmsStatus: nvidia, 396.24.02, 4.15.0-24-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation Device [8086:591b] (rev 04) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:07d1]
   Subsystem: Dell Device [1028:07d1]
InstallationDate: Installed on 2017-09-12 (303 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:0a2b Intel Corp.
 Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
 Bus 001 Device 004: ID 1bcf:2b96 Sunplus Innovation Technology Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude 5580
Package: xorg-server (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-24-generic root=UUID=47ee8f4e-ddca-4b1f-beeb-159611ec343b ro nomodeset=1 drm.debug=0xe plymouth:debug
ProcVersionSignature: Ubuntu 4.15.0-24.26-generic 4.15.18
Renderer: Software
Tags: bionic possible-manual-nvidia-install ubuntu
Uname: Linux 4.15.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/08/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.9.3
dmi.board.name: 0FH6CJ
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.9.3:bd03/08/2018:svnDellInc.:pnLatitude5580:pvr:rvnDellInc.:rn0FH6CJ:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Latitude
dmi.product.name: Latitude 5580
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Fri Jul 13 10:35:53 2018
xserver.configfile: default
xserver.errors:
 open /dev/dri/card0: No such file or directory
 open /dev/dri/card0: No such file or directory
 Screen 0 deleted because of no matching config section.
 AIGLX: reverting to software rendering
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.19.6-1ubuntu4

Revision history for this message
Asanga (adewaguru) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears the problem is that you have partially/unsuccessfully/manually installed the Nvidia graphics driver but it's no longer installed and it has left the 'nomodeset' flag in your kernel command line:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-24-generic root=UUID=47ee8f4e-ddca-4b1f-beeb-159611ec343b ro nomodeset

which will prevent the default 'nouveau' graphics driver from working properly.

To fix this you should edit your /etc/default/grub and remove 'nomodeset'. Then run 'sudo update-initramfs' and reboot. That will allow the nouveau driver to work properly.

If that doesn't fully solve the problem then you can later also try the official nvidia driver by running:
  sudo apt install nvidia-driver-390

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Invalid
Revision history for this message
Asanga (adewaguru) wrote :

Thanks for the prompt response. I removed 'nomodset' and ran 'sudo update-initramfs -u' but still the secondary monitor is not detected. In Display setting it shows 'Unknown Display'.
I've tried selecting the 'nvidia-driver-390' from software & updates > additional drivers but still no luck.

Revision history for this message
Asanga (adewaguru) wrote :
Revision history for this message
Asanga (adewaguru) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

In comment #5 it says "No proprietary drivers are in use".

Please try changing the option in that dialog and back again, then click "Apply Changes".

After rebooting if the problem is not solved then please run 'apport-collect 1781125' to send us newer system information.

Changed in xorg-server (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Asanga (adewaguru) wrote : BootLog.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Asanga (adewaguru) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : DpkgLog.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : Lspci.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : ProcEnviron.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : ProcModules.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : UdevDb.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : XorgLog.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : XorgLogOld.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : Xrandr.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : nvidia-installer.log.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : xdpyinfo.txt

apport information

Revision history for this message
Asanga (adewaguru) wrote : xserver.devices.txt

apport information

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It appears you now have the Nvidia kernel driver installed OK, but the Nvidia X driver isn't being used at all.

Please run:
  dpkg -l > dpkgl.txt
and send us the resulting dpkgl.txt.

Please also see if you can find one of these files:
  /etc/X11/xorg.conf
  /etc/xorg.conf
and if so then attach it here.

Revision history for this message
Asanga (adewaguru) wrote :

I've tried many times to apply one of the available Nvidia drivers (390, 396) but still it displays that "No proprietary drivers are in use". Sent the system information by running 'apport-collect 1781125'

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please see comment #25.

Revision history for this message
Asanga (adewaguru) wrote :

Thanks, Just saw comment 25.
Please find the requested files attached.

   But '/etc/xorg.conf' could not be found.
   '/etc/X11/xorg.conf.failsafe' is available instead of '/etc/X11/xorg.conf'.

Revision history for this message
Asanga (adewaguru) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It appears the problem is that file: xorg.conf.failsafe

Just delete it and everything should work.

Side note: Your have nvidia driver versions:
  396.24.02-0ubuntu0~gpu18.04.1
  390.67-0ubuntu0~gpu18.04.1
installed. The correct supported driver version for 18.04 is 390.48-0ubuntu3 so in future please make sure you're not using any PPAs before logging a bug.

Changed in xorg-server (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Asanga (adewaguru) wrote :

Thanks for the prompt response. I've deleted the /etc/X11/xorg.conf.failsafe and restarted the laptop. But still I cannot set a proprietary driver and cannot plugin a secondary monitor.

Given below are the only two driver versions that was available as I updated Ubuntu 16.04 to 18.04.
  396.24.02-0ubuntu0~gpu18.04.1
  390.67-0ubuntu0~gpu18.04.1

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

OK.

Deleting xorg.conf.failsafe was just the first step required. I think it was a leftover from before you installed the most recent driver(s).

You might next need to create a new file:
http://us.download.nvidia.com/XFree86/Linux-x86_64/390.48/README/editxconfig.html

You might also be able to fix it by removing your nvidia drivers and then reinstalling only ONE of them.

Changed in xorg-server (Ubuntu):
status: Invalid → New
Revision history for this message
Asanga (adewaguru) wrote :

Thanks, I've Tried following options but no luck.

1. Installed 390.48-0ubuntu3 manually.
2. Generated xorg.conf file by running 'nvidia-xconfig' (nvidia-xconfig was installed using nvidia-utils-390)

Is there any other way to uninstall the Nvidia drivers completely (such that they disappear from the 'Additional Drivers' as well) and install 390.48 from the scratch?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Here are the steps I would take:

1. sudo apt purge libnvidia-cfg1-396 libnvidia-common-390 libnvidia-common-396 libnvidia-compute-390 libnvidia-compute-390 libnvidia-compute-396 libnvidia-compute-396 libnvidia-decode-396 libnvidia-decode-396 libnvidia-encode-396 libnvidia-encode-396 libnvidia-fbc1-396 libnvidia-fbc1-396 libnvidia-gl-396 libnvidia-gl-396 libnvidia-ifr1-396 libnvidia-ifr1-396 nvidia-compute-utils-390 nvidia-compute-utils-396 nvidia-dkms-390 nvidia-dkms-396 nvidia-driver-396 nvidia-kernel-common-390 nvidia-kernel-common-396 nvidia-kernel-source-396 nvidia-prime nvidia-settings nvidia-utils-396 xserver-xorg-video-nvidia-396

2. sudo rm /etc/X11/xorg.conf*

3. sudo reboot

4. sudo apt install nvidia-driver-390

5. sudo reboot

Revision history for this message
Asanga (adewaguru) wrote :

Thanks, Even after uninstalling and rebooting the system, 390 and 396 drivers are shown listed under additional drivers section. By the way when I'm trying to install 390 driver after uninstall its getting hung at 'Building initial module for 4.15.0-24-generic'

Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

Ubuntu 18.04 (bionic) reached end-of-standard-support on May 31, 2023.

I'm setting the status of this bug to 'Incomplete' as it's not seen any activity for some time. If this is still an issue when using a currently maintained release of Ubuntu then please let us know which one(s) otherwise this bug report can be left to expire in approximately 60 days time.

Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.