Atualizei recentemente para o 18.04. Meu laptop tem uma configuração Optimus para placas Nvidia e Intel. Eu não consegui passar da tela de login do Gnome usando o Xorg. O mouse e a tela congelariam. Eu descobri que, excluindo o xorg.conf, eu poderia logar. Se eu tentei gerar um arquivo xorg.conf com o nvidia-xconfig. Este arquivo xorg.conf congelaria novamente minhas tentativas de login, então eu iria deletar novamente o arquivo xorg.conf. Meu problema é que as configurações nvidia e as configurações do Gnome agora não vêem um segundo monitor conectado. O Xorg está usando os arquivos em /usr/share/X11/xorg.conf.d/ para carregar. Abaixo está o meu arquivo gpu-manager.log.
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/4.15.0-22-generic/updates/dkms
Found nvidia module: nvidia-modeset.ko
Looking for amdgpu modules in /lib/modules/4.15.0-22-generic/updates/dkms
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? yes
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:591b
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:1c20
BusID "PCI:1@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
card0-eDP-1
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
Intel IGP detected
Intel hybrid system
Nvidia driver version 396.24 detected
Creating /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
Alguma idéia de como consertar isso para que a nvidia veja um segundo monitor?