2

after upgrading my machine to 18.04 from 16.04 I noticed that my Nvidia driver is no longer installed and after I reinstalled the driver I'm getting a black screen I've got such a problem before and fixed it with manually installing the Nvidia driver instead of using autoinstall or apt-get install Nvidia (number goes here). I've tried all the method of installation mentioned here and read almost all topic about this problem on askubuntu, its almost 2 weeks now and I'm unable to find a solution to this problem

information you might need

lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0 == modalias : pci:v000010DEd000013C2sv00001458sd0000367Abc03sc00i00 vendor : NVIDIA Corporation model : GM204 [GeForce GTX 970] driver : nvidia-driver-415 - third-party free recommended driver : nvidia-driver-390 - third-party free driver : nvidia-driver-396 - third-party free driver : nvidia-driver-410 - third-party free driver : xserver-xorg-video-nouveau - distro free builtin

nvidia-detector none

sudo lshw -numeric -C display -display UNCLAIMED
description: VGA compatible controller product: GM204 [GeForce GTX 970] [10DE:13C2] vendor: NVIDIA Corporation [10DE] physical id: 0 bus info: pci@0000:02:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list configuration: latency=0 resources: memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f3000000-f307ffff
-display UNCLAIMED description: Display controller product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:412] vendor: Intel Corporation [8086] physical id: 2 bus info: pci@0000:00:02.0 version: 06 width: 64 bits clock: 33MHz capabilities: msi pm bus_master cap_list configuration: latency=0 resources: memory:f3400000-f37fffff memory:d0000000-dfffffff ioport:f000(size=64)

##glxinfo -B name of display: :1 display: :1 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: VMware, Inc. (0xffffffff) Device: llvmpipe (LLVM 7.0, 256 bits) (0xffffffff) Version: 18.2.8 Accelerated: no Video memory: 15904MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: VMware, Inc. OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits) OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.8 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 18.2.8 OpenGL shading language version string: 1.40 OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.2.8 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

##uname -a Linux LeLouch 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

edit i fixed the problem by updating the kernel

i've spent 3 weeks now with this and the problem was the grub boot loader needed to be updated after the linux-header update i used update-grub every time but i fail to notice that the main grub boot loader was on another distro so i needed to update that grub and that fixed my problem. all thanks to @BarBar1234

LeLouch
  • 21
  • 6

2 Answers2

0

disable Secure Boot in BIOS, as Secure Boot blocks the nvidia modules from being loaded in this case.

0

I tried countless solutions found on the internet, the only thing that worked for me was to:

  • backup /etc/X11/xorg.conf to /etc/X11/xorg.conf.old
  • similarly backup /etc/X11/xorg.conf.d/ directory, if it exists
  • and then cp -r /usr/share/X11/xorg.conf.d /etc/X11/
axel22
  • 121