Black screen while nvidia driver is installedUbuntu 12.04.2 nvidia optimus issueAdditional drivers for my NVIDIA 680GTX not showing up in the additional drivers toolCan't install nvidia drivers on a 2 card laptop for xubuntu 14.04How to install Radeon HD 8670A/8670M/8750M graphic card driver on Ubuntu 16.04?16.04 change from Intel HD Graphics to Radeon'PRIME Profiles' tab missing in NVIDIA X Server Settings (Ubuntu 16.04)Trying to get my NVIDIA optimus card workingUnable to use nvidia gpu with optimus on ubuntu 16.04Ubuntu 16.04: NVIDIA drivers don't work for GTX 950MHow do I configure an Nvidia RTX 2080 Ti with Ubuntu?

Why don't I have ground wiring on any of my outlets?

Asking bank to reduce APR instead of increasing credit limit

Is the world in Game of Thrones spherical or flat?

Can a helicopter mask itself from Radar?

Could a guilty Boris Johnson be used to cancel Brexit?

What people are called "кабан" and why?

How can a single Member of the House block a Congressional bill?

Does Peach's float negate shorthop knockback multipliers?

Applicants clearly not having the skills they advertise

Can I ask a publisher for a paper that I need for reviewing

Opposite of "Squeaky wheel gets the grease"

What is the most important characteristic of New Weird as a genre?

Why use water tanks from a retired Space Shuttle?

Can The Malloreon be read without first reading The Belgariad?

Rotated Position of Integers

What is the intuition behind uniform continuity?

Have powerful mythological heroes ever run away or been deeply afraid?

Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?

How crucial is a waifu game storyline?

What does the behaviour of water on the skin of an aircraft in flight tell us?

Order by does not work as I expect

Can an old DSLR be upgraded to match modern smartphone image quality

Can you keep a readied action even through incapacitation?

Recording the inputs of a command and producing a list of them later on



Black screen while nvidia driver is installed


Ubuntu 12.04.2 nvidia optimus issueAdditional drivers for my NVIDIA 680GTX not showing up in the additional drivers toolCan't install nvidia drivers on a 2 card laptop for xubuntu 14.04How to install Radeon HD 8670A/8670M/8750M graphic card driver on Ubuntu 16.04?16.04 change from Intel HD Graphics to Radeon'PRIME Profiles' tab missing in NVIDIA X Server Settings (Ubuntu 16.04)Trying to get my NVIDIA optimus card workingUnable to use nvidia gpu with optimus on ubuntu 16.04Ubuntu 16.04: NVIDIA drivers don't work for GTX 950MHow do I configure an Nvidia RTX 2080 Ti with Ubuntu?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have installed Kubuntu 18.04 LTS and I want to use NVIDIA driver from nvidia.com.



My graphics devices are:



$ lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c8d (rev a1)


I have installed their driver from multiuser session (without X), blacklisted nouveau through adding lines



blacklist nouveau
options nouveau modeset=0


into /etc/modprobe.d/blacklist.conf, the lines



rdblacklist=nouveau


into /etc/default/grub,
made



# grub-mkconfig -o /boot/grub/grub.cfg
# update-initramfs -u
# reboot


After reboot I obtain black screen, while from other tty a can run nvidia-smi which returns correct result:



$ nvidia-smi
Fri Apr 12 20:33:11 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 39C P8 N/A / N/A | 49MiB / 4040MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 840 G /usr/lib/xorg/Xorg 8MiB |
| 0 880 G /usr/bin/sddm-greeter 38MiB |
+-----------------------------------------------------------------------------+


so driver looks installed properly.



My configuration file and logs are here: xorg.conf, Xorg.0.log, dmesg, journalctl.



The xorg.conf file was taken from Linux Mint installed at the same laptop where graphics starts properly with nvidia driver installed from repositories. Usage of xorg.conf produced during installation of the driver gives the same black screen (apart from absence of loading modesetting in Xorg.0.log).



Is it possible to run graphics with the latest nvidia driver at my system?




Update 1



Additional information about my system:



$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

$ ls /sys/firmware/efi
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

# lshw -c video
*-display
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

$ lsmod | grep nvidia
nvidia_drm 45056 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 221 nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915



Update 2



dkms status doesn't return anything:



$ dkms status
$



Update 3



I have reinstalled the driver then installed bbswitch-dkms. But result of starting X is the same.



Here are Xorg.0.log and results of previously shown commands where result has changed:



$ lsmod | grep nvidia
nvidia_uvm 798720 0
nvidia_drm 40960 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 222 nvidia_uvm,nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915

$ dkms status
bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
nvidia, 418.43, 4.18.0-17-generic, x86_64: installed


The xorg.conf is the same as previously. The output of mokutil, ls /sys/firmware/efi, lshw, nvidia-smi is the same as earlier.



I have found one more relevant log: /var/log/gpu-manager.log. Here are these files for Kubuntu and Linux Mint (where driver from repository runs X successfully): gpu-manager.log.Kubuntu, gpu-manager.log.Mint. From the second log it is seen that bbswitch is used also. This was the reason to install it at Kubuntu, but for now I don't know how to use it...










share|improve this question



















  • 1





    Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status and 5. lsmod | grep nvidia

    – Marmayogi
    Apr 14 at 15:46











  • The result of dkms status I'll be able to post just tomorrow, when I will have wired Internet to install dkms...

    – natasha
    Apr 14 at 16:40

















1















I have installed Kubuntu 18.04 LTS and I want to use NVIDIA driver from nvidia.com.



My graphics devices are:



$ lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c8d (rev a1)


I have installed their driver from multiuser session (without X), blacklisted nouveau through adding lines



blacklist nouveau
options nouveau modeset=0


into /etc/modprobe.d/blacklist.conf, the lines



rdblacklist=nouveau


into /etc/default/grub,
made



# grub-mkconfig -o /boot/grub/grub.cfg
# update-initramfs -u
# reboot


After reboot I obtain black screen, while from other tty a can run nvidia-smi which returns correct result:



$ nvidia-smi
Fri Apr 12 20:33:11 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 39C P8 N/A / N/A | 49MiB / 4040MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 840 G /usr/lib/xorg/Xorg 8MiB |
| 0 880 G /usr/bin/sddm-greeter 38MiB |
+-----------------------------------------------------------------------------+


so driver looks installed properly.



My configuration file and logs are here: xorg.conf, Xorg.0.log, dmesg, journalctl.



The xorg.conf file was taken from Linux Mint installed at the same laptop where graphics starts properly with nvidia driver installed from repositories. Usage of xorg.conf produced during installation of the driver gives the same black screen (apart from absence of loading modesetting in Xorg.0.log).



Is it possible to run graphics with the latest nvidia driver at my system?




Update 1



Additional information about my system:



$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

$ ls /sys/firmware/efi
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

# lshw -c video
*-display
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

$ lsmod | grep nvidia
nvidia_drm 45056 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 221 nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915



Update 2



dkms status doesn't return anything:



$ dkms status
$



Update 3



I have reinstalled the driver then installed bbswitch-dkms. But result of starting X is the same.



Here are Xorg.0.log and results of previously shown commands where result has changed:



$ lsmod | grep nvidia
nvidia_uvm 798720 0
nvidia_drm 40960 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 222 nvidia_uvm,nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915

$ dkms status
bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
nvidia, 418.43, 4.18.0-17-generic, x86_64: installed


The xorg.conf is the same as previously. The output of mokutil, ls /sys/firmware/efi, lshw, nvidia-smi is the same as earlier.



I have found one more relevant log: /var/log/gpu-manager.log. Here are these files for Kubuntu and Linux Mint (where driver from repository runs X successfully): gpu-manager.log.Kubuntu, gpu-manager.log.Mint. From the second log it is seen that bbswitch is used also. This was the reason to install it at Kubuntu, but for now I don't know how to use it...










share|improve this question



















  • 1





    Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status and 5. lsmod | grep nvidia

    – Marmayogi
    Apr 14 at 15:46











  • The result of dkms status I'll be able to post just tomorrow, when I will have wired Internet to install dkms...

    – natasha
    Apr 14 at 16:40













1












1








1








I have installed Kubuntu 18.04 LTS and I want to use NVIDIA driver from nvidia.com.



My graphics devices are:



$ lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c8d (rev a1)


I have installed their driver from multiuser session (without X), blacklisted nouveau through adding lines



blacklist nouveau
options nouveau modeset=0


into /etc/modprobe.d/blacklist.conf, the lines



rdblacklist=nouveau


into /etc/default/grub,
made



# grub-mkconfig -o /boot/grub/grub.cfg
# update-initramfs -u
# reboot


After reboot I obtain black screen, while from other tty a can run nvidia-smi which returns correct result:



$ nvidia-smi
Fri Apr 12 20:33:11 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 39C P8 N/A / N/A | 49MiB / 4040MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 840 G /usr/lib/xorg/Xorg 8MiB |
| 0 880 G /usr/bin/sddm-greeter 38MiB |
+-----------------------------------------------------------------------------+


so driver looks installed properly.



My configuration file and logs are here: xorg.conf, Xorg.0.log, dmesg, journalctl.



The xorg.conf file was taken from Linux Mint installed at the same laptop where graphics starts properly with nvidia driver installed from repositories. Usage of xorg.conf produced during installation of the driver gives the same black screen (apart from absence of loading modesetting in Xorg.0.log).



Is it possible to run graphics with the latest nvidia driver at my system?




Update 1



Additional information about my system:



$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

$ ls /sys/firmware/efi
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

# lshw -c video
*-display
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

$ lsmod | grep nvidia
nvidia_drm 45056 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 221 nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915



Update 2



dkms status doesn't return anything:



$ dkms status
$



Update 3



I have reinstalled the driver then installed bbswitch-dkms. But result of starting X is the same.



Here are Xorg.0.log and results of previously shown commands where result has changed:



$ lsmod | grep nvidia
nvidia_uvm 798720 0
nvidia_drm 40960 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 222 nvidia_uvm,nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915

$ dkms status
bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
nvidia, 418.43, 4.18.0-17-generic, x86_64: installed


The xorg.conf is the same as previously. The output of mokutil, ls /sys/firmware/efi, lshw, nvidia-smi is the same as earlier.



I have found one more relevant log: /var/log/gpu-manager.log. Here are these files for Kubuntu and Linux Mint (where driver from repository runs X successfully): gpu-manager.log.Kubuntu, gpu-manager.log.Mint. From the second log it is seen that bbswitch is used also. This was the reason to install it at Kubuntu, but for now I don't know how to use it...










share|improve this question
















I have installed Kubuntu 18.04 LTS and I want to use NVIDIA driver from nvidia.com.



My graphics devices are:



$ lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c8d (rev a1)


I have installed their driver from multiuser session (without X), blacklisted nouveau through adding lines



blacklist nouveau
options nouveau modeset=0


into /etc/modprobe.d/blacklist.conf, the lines



rdblacklist=nouveau


into /etc/default/grub,
made



# grub-mkconfig -o /boot/grub/grub.cfg
# update-initramfs -u
# reboot


After reboot I obtain black screen, while from other tty a can run nvidia-smi which returns correct result:



$ nvidia-smi
Fri Apr 12 20:33:11 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 39C P8 N/A / N/A | 49MiB / 4040MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 840 G /usr/lib/xorg/Xorg 8MiB |
| 0 880 G /usr/bin/sddm-greeter 38MiB |
+-----------------------------------------------------------------------------+


so driver looks installed properly.



My configuration file and logs are here: xorg.conf, Xorg.0.log, dmesg, journalctl.



The xorg.conf file was taken from Linux Mint installed at the same laptop where graphics starts properly with nvidia driver installed from repositories. Usage of xorg.conf produced during installation of the driver gives the same black screen (apart from absence of loading modesetting in Xorg.0.log).



Is it possible to run graphics with the latest nvidia driver at my system?




Update 1



Additional information about my system:



$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

$ ls /sys/firmware/efi
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

# lshw -c video
*-display
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

$ lsmod | grep nvidia
nvidia_drm 45056 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 221 nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915



Update 2



dkms status doesn't return anything:



$ dkms status
$



Update 3



I have reinstalled the driver then installed bbswitch-dkms. But result of starting X is the same.



Here are Xorg.0.log and results of previously shown commands where result has changed:



$ lsmod | grep nvidia
nvidia_uvm 798720 0
nvidia_drm 40960 3
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17592320 222 nvidia_uvm,nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 8 drm_kms_helper,nvidia_drm,i915

$ dkms status
bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
nvidia, 418.43, 4.18.0-17-generic, x86_64: installed


The xorg.conf is the same as previously. The output of mokutil, ls /sys/firmware/efi, lshw, nvidia-smi is the same as earlier.



I have found one more relevant log: /var/log/gpu-manager.log. Here are these files for Kubuntu and Linux Mint (where driver from repository runs X successfully): gpu-manager.log.Kubuntu, gpu-manager.log.Mint. From the second log it is seen that bbswitch is used also. This was the reason to install it at Kubuntu, but for now I don't know how to use it...







drivers nvidia graphics xorg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 15 at 16:25







natasha

















asked Apr 14 at 14:34









natashanatasha

63




63







  • 1





    Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status and 5. lsmod | grep nvidia

    – Marmayogi
    Apr 14 at 15:46











  • The result of dkms status I'll be able to post just tomorrow, when I will have wired Internet to install dkms...

    – natasha
    Apr 14 at 16:40












  • 1





    Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status and 5. lsmod | grep nvidia

    – Marmayogi
    Apr 14 at 15:46











  • The result of dkms status I'll be able to post just tomorrow, when I will have wired Internet to install dkms...

    – natasha
    Apr 14 at 16:40







1




1





Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status and 5. lsmod | grep nvidia

– Marmayogi
Apr 14 at 15:46





Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status and 5. lsmod | grep nvidia

– Marmayogi
Apr 14 at 15:46













The result of dkms status I'll be able to post just tomorrow, when I will have wired Internet to install dkms...

– natasha
Apr 14 at 16:40





The result of dkms status I'll be able to post just tomorrow, when I will have wired Internet to install dkms...

– natasha
Apr 14 at 16:40










1 Answer
1






active

oldest

votes


















0














I have cured this by installing nvidia-prime.



Now X start correctly,



$ glxinfo | head
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_multisample, GLX_EXT_buffer_age,

$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
65344 frames in 5.0 seconds = 13068.664 FPS
66224 frames in 5.0 seconds = 13244.633 FPS
66325 frames in 5.0 seconds = 13264.833 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 54 requests (54 known processed) with 0 events remaining.

$ nvidia-smi | head
Tue Apr 16 16:10:47 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P0 N/A / N/A | 176MiB / 4040MiB | 4% Default |
+-------------------------------+----------------------+----------------------+

$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

$ ls /sys/firmware/efi
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

# lshw -c video
*-display
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

$ dkms status
bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
nvidia, 418.43, 4.18.0-17-generic, x86_64: installed

$ lsmod | grep nvidia
nvidia_drm 40960 9
nvidia_modeset 1085440 19 nvidia_drm
nvidia 17592320 895 nvidia_modeset
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
drm_kms_helper 172032 2 nvidia_drm,i915
drm 458752 13 drm_kms_helper,nvidia_drm,i915


The corresponding logs: Xorg.0.log, gpu-manager.log. X is run with xorg.conf presented earlier:



Section "ServerLayout"
Identifier "Layout0"
Screen 0 "nvidia"
Inactive "intel"
EndSection

Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0@0:2:0"
Option "AccelMethod" "None"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
EndSection

Section "Device"
Identifier "nvidia"
BusID "PCI:1@0:0:0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ConstrainCursor" "off"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection


I was not able to start X with xorg.conf produced during installation of the nvidia driver.



So, to summarize, I have installed dkms, installed manually the driver (answering 'Yes' the question 'Would you like to register the kernel module sources with DKMS?...'), blacklisted nouveau, installed bbswitch-dkms, nvidia-prime, and changed xorg.conf to look like the one shown above. After these steps X started properly.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133828%2fblack-screen-while-nvidia-driver-is-installed%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I have cured this by installing nvidia-prime.



    Now X start correctly,



    $ glxinfo | head
    name of display: :0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    server glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
    GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_multisample, GLX_EXT_buffer_age,

    $ glxgears
    Running synchronized to the vertical refresh. The framerate should be
    approximately the same as the monitor refresh rate.
    65344 frames in 5.0 seconds = 13068.664 FPS
    66224 frames in 5.0 seconds = 13244.633 FPS
    66325 frames in 5.0 seconds = 13264.833 FPS
    XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
    after 54 requests (54 known processed) with 0 events remaining.

    $ nvidia-smi | head
    Tue Apr 16 16:10:47 2019
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
    |-------------------------------+----------------------+----------------------+
    | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
    |===============================+======================+======================|
    | 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
    | N/A 42C P0 N/A / N/A | 176MiB / 4040MiB | 4% Default |
    +-------------------------------+----------------------+----------------------+

    $ mokutil --sb-state
    SecureBoot disabled
    Platform is in Setup Mode

    $ ls /sys/firmware/efi
    config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

    # lshw -c video
    *-display
    description: VGA compatible controller
    product: GP107M [GeForce GTX 1050 Mobile]
    vendor: NVIDIA Corporation
    physical id: 0
    bus info: pci@0000:01:00.0
    version: a1
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
    configuration: driver=nvidia latency=0
    resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
    *-display
    description: VGA compatible controller
    product: Intel Corporation
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 04
    width: 64 bits
    clock: 33MHz
    capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
    configuration: driver=i915 latency=0
    resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

    $ dkms status
    bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
    nvidia, 418.43, 4.18.0-17-generic, x86_64: installed

    $ lsmod | grep nvidia
    nvidia_drm 40960 9
    nvidia_modeset 1085440 19 nvidia_drm
    nvidia 17592320 895 nvidia_modeset
    ipmi_msghandler 102400 2 ipmi_devintf,nvidia
    drm_kms_helper 172032 2 nvidia_drm,i915
    drm 458752 13 drm_kms_helper,nvidia_drm,i915


    The corresponding logs: Xorg.0.log, gpu-manager.log. X is run with xorg.conf presented earlier:



    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "nvidia"
    Inactive "intel"
    EndSection

    Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "None"
    EndSection

    Section "Screen"
    Identifier "intel"
    Device "intel"
    EndSection

    Section "Device"
    Identifier "nvidia"
    BusID "PCI:1@0:0:0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "ConstrainCursor" "off"
    EndSection

    Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
    EndSection


    I was not able to start X with xorg.conf produced during installation of the nvidia driver.



    So, to summarize, I have installed dkms, installed manually the driver (answering 'Yes' the question 'Would you like to register the kernel module sources with DKMS?...'), blacklisted nouveau, installed bbswitch-dkms, nvidia-prime, and changed xorg.conf to look like the one shown above. After these steps X started properly.






    share|improve this answer



























      0














      I have cured this by installing nvidia-prime.



      Now X start correctly,



      $ glxinfo | head
      name of display: :0
      display: :0 screen: 0
      direct rendering: Yes
      server glx vendor string: NVIDIA Corporation
      server glx version string: 1.4
      server glx extensions:
      GLX_ARB_context_flush_control, GLX_ARB_create_context,
      GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
      GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
      GLX_ARB_multisample, GLX_EXT_buffer_age,

      $ glxgears
      Running synchronized to the vertical refresh. The framerate should be
      approximately the same as the monitor refresh rate.
      65344 frames in 5.0 seconds = 13068.664 FPS
      66224 frames in 5.0 seconds = 13244.633 FPS
      66325 frames in 5.0 seconds = 13264.833 FPS
      XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 54 requests (54 known processed) with 0 events remaining.

      $ nvidia-smi | head
      Tue Apr 16 16:10:47 2019
      +-----------------------------------------------------------------------------+
      | NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
      |-------------------------------+----------------------+----------------------+
      | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
      | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
      |===============================+======================+======================|
      | 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
      | N/A 42C P0 N/A / N/A | 176MiB / 4040MiB | 4% Default |
      +-------------------------------+----------------------+----------------------+

      $ mokutil --sb-state
      SecureBoot disabled
      Platform is in Setup Mode

      $ ls /sys/firmware/efi
      config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

      # lshw -c video
      *-display
      description: VGA compatible controller
      product: GP107M [GeForce GTX 1050 Mobile]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
      *-display
      description: VGA compatible controller
      product: Intel Corporation
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 04
      width: 64 bits
      clock: 33MHz
      capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
      configuration: driver=i915 latency=0
      resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

      $ dkms status
      bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
      nvidia, 418.43, 4.18.0-17-generic, x86_64: installed

      $ lsmod | grep nvidia
      nvidia_drm 40960 9
      nvidia_modeset 1085440 19 nvidia_drm
      nvidia 17592320 895 nvidia_modeset
      ipmi_msghandler 102400 2 ipmi_devintf,nvidia
      drm_kms_helper 172032 2 nvidia_drm,i915
      drm 458752 13 drm_kms_helper,nvidia_drm,i915


      The corresponding logs: Xorg.0.log, gpu-manager.log. X is run with xorg.conf presented earlier:



      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "nvidia"
      Inactive "intel"
      EndSection

      Section "Device"
      Identifier "intel"
      Driver "modesetting"
      BusID "PCI:0@0:2:0"
      Option "AccelMethod" "None"
      EndSection

      Section "Screen"
      Identifier "intel"
      Device "intel"
      EndSection

      Section "Device"
      Identifier "nvidia"
      BusID "PCI:1@0:0:0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      Option "ConstrainCursor" "off"
      EndSection

      Section "Screen"
      Identifier "nvidia"
      Device "nvidia"
      Option "AllowEmptyInitialConfiguration" "on"
      Option "IgnoreDisplayDevices" "CRT"
      EndSection


      I was not able to start X with xorg.conf produced during installation of the nvidia driver.



      So, to summarize, I have installed dkms, installed manually the driver (answering 'Yes' the question 'Would you like to register the kernel module sources with DKMS?...'), blacklisted nouveau, installed bbswitch-dkms, nvidia-prime, and changed xorg.conf to look like the one shown above. After these steps X started properly.






      share|improve this answer

























        0












        0








        0







        I have cured this by installing nvidia-prime.



        Now X start correctly,



        $ glxinfo | head
        name of display: :0
        display: :0 screen: 0
        direct rendering: Yes
        server glx vendor string: NVIDIA Corporation
        server glx version string: 1.4
        server glx extensions:
        GLX_ARB_context_flush_control, GLX_ARB_create_context,
        GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
        GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
        GLX_ARB_multisample, GLX_EXT_buffer_age,

        $ glxgears
        Running synchronized to the vertical refresh. The framerate should be
        approximately the same as the monitor refresh rate.
        65344 frames in 5.0 seconds = 13068.664 FPS
        66224 frames in 5.0 seconds = 13244.633 FPS
        66325 frames in 5.0 seconds = 13264.833 FPS
        XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
        after 54 requests (54 known processed) with 0 events remaining.

        $ nvidia-smi | head
        Tue Apr 16 16:10:47 2019
        +-----------------------------------------------------------------------------+
        | NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
        |-------------------------------+----------------------+----------------------+
        | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
        | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
        |===============================+======================+======================|
        | 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
        | N/A 42C P0 N/A / N/A | 176MiB / 4040MiB | 4% Default |
        +-------------------------------+----------------------+----------------------+

        $ mokutil --sb-state
        SecureBoot disabled
        Platform is in Setup Mode

        $ ls /sys/firmware/efi
        config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

        # lshw -c video
        *-display
        description: VGA compatible controller
        product: GP107M [GeForce GTX 1050 Mobile]
        vendor: NVIDIA Corporation
        physical id: 0
        bus info: pci@0000:01:00.0
        version: a1
        width: 64 bits
        clock: 33MHz
        capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
        configuration: driver=nvidia latency=0
        resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
        *-display
        description: VGA compatible controller
        product: Intel Corporation
        vendor: Intel Corporation
        physical id: 2
        bus info: pci@0000:00:02.0
        version: 04
        width: 64 bits
        clock: 33MHz
        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
        configuration: driver=i915 latency=0
        resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

        $ dkms status
        bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
        nvidia, 418.43, 4.18.0-17-generic, x86_64: installed

        $ lsmod | grep nvidia
        nvidia_drm 40960 9
        nvidia_modeset 1085440 19 nvidia_drm
        nvidia 17592320 895 nvidia_modeset
        ipmi_msghandler 102400 2 ipmi_devintf,nvidia
        drm_kms_helper 172032 2 nvidia_drm,i915
        drm 458752 13 drm_kms_helper,nvidia_drm,i915


        The corresponding logs: Xorg.0.log, gpu-manager.log. X is run with xorg.conf presented earlier:



        Section "ServerLayout"
        Identifier "Layout0"
        Screen 0 "nvidia"
        Inactive "intel"
        EndSection

        Section "Device"
        Identifier "intel"
        Driver "modesetting"
        BusID "PCI:0@0:2:0"
        Option "AccelMethod" "None"
        EndSection

        Section "Screen"
        Identifier "intel"
        Device "intel"
        EndSection

        Section "Device"
        Identifier "nvidia"
        BusID "PCI:1@0:0:0"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "ConstrainCursor" "off"
        EndSection

        Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration" "on"
        Option "IgnoreDisplayDevices" "CRT"
        EndSection


        I was not able to start X with xorg.conf produced during installation of the nvidia driver.



        So, to summarize, I have installed dkms, installed manually the driver (answering 'Yes' the question 'Would you like to register the kernel module sources with DKMS?...'), blacklisted nouveau, installed bbswitch-dkms, nvidia-prime, and changed xorg.conf to look like the one shown above. After these steps X started properly.






        share|improve this answer













        I have cured this by installing nvidia-prime.



        Now X start correctly,



        $ glxinfo | head
        name of display: :0
        display: :0 screen: 0
        direct rendering: Yes
        server glx vendor string: NVIDIA Corporation
        server glx version string: 1.4
        server glx extensions:
        GLX_ARB_context_flush_control, GLX_ARB_create_context,
        GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
        GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
        GLX_ARB_multisample, GLX_EXT_buffer_age,

        $ glxgears
        Running synchronized to the vertical refresh. The framerate should be
        approximately the same as the monitor refresh rate.
        65344 frames in 5.0 seconds = 13068.664 FPS
        66224 frames in 5.0 seconds = 13244.633 FPS
        66325 frames in 5.0 seconds = 13264.833 FPS
        XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
        after 54 requests (54 known processed) with 0 events remaining.

        $ nvidia-smi | head
        Tue Apr 16 16:10:47 2019
        +-----------------------------------------------------------------------------+
        | NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
        |-------------------------------+----------------------+----------------------+
        | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
        | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
        |===============================+======================+======================|
        | 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
        | N/A 42C P0 N/A / N/A | 176MiB / 4040MiB | 4% Default |
        +-------------------------------+----------------------+----------------------+

        $ mokutil --sb-state
        SecureBoot disabled
        Platform is in Setup Mode

        $ ls /sys/firmware/efi
        config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars

        # lshw -c video
        *-display
        description: VGA compatible controller
        product: GP107M [GeForce GTX 1050 Mobile]
        vendor: NVIDIA Corporation
        physical id: 0
        bus info: pci@0000:01:00.0
        version: a1
        width: 64 bits
        clock: 33MHz
        capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
        configuration: driver=nvidia latency=0
        resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
        *-display
        description: VGA compatible controller
        product: Intel Corporation
        vendor: Intel Corporation
        physical id: 2
        bus info: pci@0000:00:02.0
        version: 04
        width: 64 bits
        clock: 33MHz
        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
        configuration: driver=i915 latency=0
        resources: irq:130 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

        $ dkms status
        bbswitch, 0.8, 4.18.0-17-generic, x86_64: installed
        nvidia, 418.43, 4.18.0-17-generic, x86_64: installed

        $ lsmod | grep nvidia
        nvidia_drm 40960 9
        nvidia_modeset 1085440 19 nvidia_drm
        nvidia 17592320 895 nvidia_modeset
        ipmi_msghandler 102400 2 ipmi_devintf,nvidia
        drm_kms_helper 172032 2 nvidia_drm,i915
        drm 458752 13 drm_kms_helper,nvidia_drm,i915


        The corresponding logs: Xorg.0.log, gpu-manager.log. X is run with xorg.conf presented earlier:



        Section "ServerLayout"
        Identifier "Layout0"
        Screen 0 "nvidia"
        Inactive "intel"
        EndSection

        Section "Device"
        Identifier "intel"
        Driver "modesetting"
        BusID "PCI:0@0:2:0"
        Option "AccelMethod" "None"
        EndSection

        Section "Screen"
        Identifier "intel"
        Device "intel"
        EndSection

        Section "Device"
        Identifier "nvidia"
        BusID "PCI:1@0:0:0"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "ConstrainCursor" "off"
        EndSection

        Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration" "on"
        Option "IgnoreDisplayDevices" "CRT"
        EndSection


        I was not able to start X with xorg.conf produced during installation of the nvidia driver.



        So, to summarize, I have installed dkms, installed manually the driver (answering 'Yes' the question 'Would you like to register the kernel module sources with DKMS?...'), blacklisted nouveau, installed bbswitch-dkms, nvidia-prime, and changed xorg.conf to look like the one shown above. After these steps X started properly.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 16 at 14:41









        natashanatasha

        63




        63



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133828%2fblack-screen-while-nvidia-driver-is-installed%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?