31 votos

Ubuntu 20.04 no reconoce el segundo monitor

Hice una instalación limpia de Ubuntu 20.04 y no reconoce mi segundo monitor

Ya he ejecutado los siguientes comandos (creo que sólo estos funcionaban en la versión 19.10):

sudo apt update && sudo apt upgrade -y
sudo ubuntu-drivers autoinstall

el controlador de vídeo que estoy usando es nvidia-driver-440

xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.02*+  60.01    59.97    59.96    59.93    48.03  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)

sudo lshw -C display

*-display
   descrição: VGA compatible controller
   produto: GP107M [GeForce GTX 1050 Ti Mobile]
   fabricante: NVIDIA Corporation
   ID físico: 0
   informações do barramento: pci@0000:01:00.0
   versão: a1
   largura: 64 bits
   clock: 33MHz
   capacidades: pm msi pciexpress vga_controller bus_master cap_list rom
   configuração: driver=nvidia latency=0
   recursos: irq:16 memória:de000000-deffffff memória:c0000000-cfffffff memória:d0000000-d1ffffff porta de E/S:e000(tamanho=128) memória:df000000-df07ffff
*-display
   descrição: VGA compatible controller
   produto: HD Graphics 630
   fabricante: Intel Corporation
   ID físico: 2
   informações do barramento: pci@0000:00:02.0
   versão: 04
   largura: 64 bits
   clock: 33MHz
   capacidades: pciexpress msi pm vga_controller bus_master cap_list rom
   configuração: driver=i915 latency=0
   recursos: irq:129 memória:dd000000-ddffffff memória:b0000000-bfffffff porta de E/S:f000(tamanho=64) memória:c0000-dffff

El monitor funciona normalmente en Windows.

El ordenador 'es un Dell inspiron 15 gaming.

¿Podría ayudarme a resolver este problema?

EDITAR

Añadiendo información tal vez útil

dmesg (error en 3.413227)

[    2.771157] input: Intel HID events as /devices/platform/INT33D5:00/input/input21
[    2.771351] intel-hid INT33D5:00: platform supports 5 button array
[    2.771385] input: Intel HID 5 button array as /devices/platform/INT33D5:00/input/input22
[    2.818725] systemd[1]: Started Journal Service.
[    2.824516] systemd-journald[357]: Received client request to flush runtime journal.
[    2.861274] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[    2.861718] mc: Linux media interface: v0.10
[    2.867576] intel_rapl_common: Found RAPL domain package
[    2.867577] intel_rapl_common: Found RAPL domain dram
[    2.871051] proc_thermal 0000:00:04.0: Creating sysfs group for PROC_THERMAL_PCI
[    2.877025] IPMI message handler: version 39.2
[    2.877137] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.883760] ipmi device interface
[    2.888182] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.891093] videodev: Linux video capture interface: v2.00
[    2.894789] Bluetooth: Core ver 2.22
[    2.894802] NET: Registered protocol family 31
[    2.894802] Bluetooth: HCI device and connection manager initialized
[    2.894805] Bluetooth: HCI socket layer initialized
[    2.894807] Bluetooth: L2CAP socket layer initialized
[    2.894810] Bluetooth: SCO socket layer initialized
[    2.900899] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.3)
[    2.951677] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
[    2.951678] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[    2.951679] RAPL PMU: hw unit of domain package 2^-14 Joules
[    2.951680] RAPL PMU: hw unit of domain dram 2^-14 Joules
[    2.951681] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[    2.962398] input: Dell WMI hotkeys as /devices/platform/PNP0C14:02/wmi_bus/wmi_bus-PNP0C14:02/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input23
[    2.963189] checking generic (b0000000 7f0000) vs hw (b0000000 10000000)
[    2.963190] fb0: switching to inteldrmfb from VESA VGA
[    2.964973] Console: switching to colour dummy device 80x25
[    2.965012] i915 0000:00:02.0: vgaarb: deactivate vga console
[    2.968898] usbcore: registered new interface driver btusb
[    2.968925] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.968926] [drm] Driver supports precise vblank timestamp query.
[    2.970976] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    2.974394] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    3.012062] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (1bcf:28c1)
[    3.021359] i915 0000:00:02.0: [drm:intel_dp_aux_init_backlight_funcs [i915]] Panel advertises DPCD backlight support, but VBT disagrees. If your backlight controls don't work try booting with i915.enable_dpcd_backlight=1. If your machine needs this, please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[    3.030752] uvcvideo 1-12:1.0: Entity type for entity Extension 4 was not initialized!
[    3.030754] uvcvideo 1-12:1.0: Entity type for entity Extension 3 was not initialized!
[    3.030755] uvcvideo 1-12:1.0: Entity type for entity Processing 2 was not initialized!
[    3.030756] uvcvideo 1-12:1.0: Entity type for entity Camera 1 was not initialized!
[    3.030811] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input24
[    3.067420] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    3.138784] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    3.139119] intel_rapl_common: Found RAPL domain package
[    3.139120] intel_rapl_common: Found RAPL domain core
[    3.139121] intel_rapl_common: Found RAPL domain uncore
[    3.139122] intel_rapl_common: Found RAPL domain dram
[    3.139668] nvidia: loading out-of-tree module taints kernel.
[    3.139675] nvidia: module license 'NVIDIA' taints kernel.
[    3.139676] Disabling lock debugging due to kernel taint
[    3.139719] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    3.139829] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    3.140553] snd_hda_intel 0000:01:00.1: Disabling MSI
[    3.140560] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.146572] cryptd: max_cpu_qlen set to 1000
[    3.169953] usbcore: registered new interface driver uvcvideo
[    3.169955] USB Video Class driver (1.1.1)
[    3.180174] AVX2 version of gcm_enc/dec engaged.
[    3.180175] AES CTR mode by8 optimization enabled
[    3.180684] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[    3.183871] nvidia 0000:01:00.0: enabling device (0004 -> 0007)
[    3.186287] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[    3.285843] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.64  Fri Feb 21 01:17:26 UTC 2020
[    3.293163] input: DLL0798:00 06CB:7E92 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL0798:00/0018:06CB:7E92.0001/input/input25
[    3.293233] input: DLL0798:00 06CB:7E92 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL0798:00/0018:06CB:7E92.0001/input/input26
[    3.293294] hid-multitouch 0018:06CB:7E92.0001: input,hidraw0: I2C HID v1.00 Mouse     [DLL0798:00 06CB:7E92] on i2c-DLL0798:00
[    3.303291] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  440.64  Fri Feb 21 00:43:19 UTC 2020
[    3.338157] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    3.338159] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    3.356373] nvidia-uvm: Loaded the UVM driver, major device number 234.
[    3.413227] [drm:lspcon_init [i915]] *ERROR* Failed to probe lspcon
[    3.413265] [drm:intel_ddi_init [i915]] *ERROR* LSPCON init failed on port B
[    3.416312] ath10k_pci 0000:03:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1028:0310
[    3.416315] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    3.416738] ath10k_pci 0000:03:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[    3.433342] [drm] Initialized i915 1.6.0 20190822 for 0000:00:02.0 on minor 0
[    3.438212] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.439099] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input28
[    3.439181] ACPI: Video Device [PEGP] (multi-head: no  rom: yes  post: no)
[    3.439215] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0a/LNXVIDEO:01/input/input29
[    3.440445] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.441626] fbcon: i915drmfb (fb0) is primary device
[    3.441683] Console: switching to colour frame buffer device 240x67
[    3.441717] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[    3.448458] Adding 19492860k swap on /dev/sdb7.  Priority:-2 extents:1 across:19492860k SSFS
[    3.473358] EXT4-fs (sdb6): mounted filesystem with ordered data mode. Opts: (null)
[    3.485236] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 4ac0889b
[    3.503143] audit: type=1400 audit(1587828434.218:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=781 comm="apparmor_parser"
[    3.504026] audit: type=1400 audit(1587828434.218:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=774 comm="apparmor_parser"
[    3.504029] audit: type=1400 audit(1587828434.218:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=774 comm="apparmor_parser"
[    3.504031] audit: type=1400 audit(1587828434.218:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=774 comm="apparmor_parser"
[    3.504469] audit: type=1400 audit(1587828434.222:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=777 comm="apparmor_parser"
[    3.504471] audit: type=1400 audit(1587828434.222:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=777 comm="apparmor_parser"
[    3.507632] audit: type=1400 audit(1587828434.222:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=775 comm="apparmor_parser"
[    3.507635] audit: type=1400 audit(1587828434.222:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=775 comm="apparmor_parser"
[    3.507637] audit: type=1400 audit(1587828434.222:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=775 comm="apparmor_parser"
[    3.556939] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=2 (0x14/0x1b/0x0/0x0/0x0) type:speaker
[    3.556941] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.556943] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.556944] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.556944] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.556946] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    3.556947] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
[    3.556949] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    3.567779] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[    3.587279] ath10k_pci 0000:03:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    3.604068] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[    3.668427] ath: EEPROM regdomain: 0x6c
[    3.668428] ath: EEPROM indicates we should expect a direct regpair map
[    3.668439] ath: Country alpha2 being used: 00
[    3.668440] ath: Regpair used: 0x6c
[    3.671748] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[    3.960890] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input31

16voto

Nye Walker Puntos 46

Me encontré con este mismo problema con nvidia RTX 2060 portátil (MSI GS65). Monitor externo conectado a través de DisplayPort no muestra en absoluto a través de la configuración de ubuntu, pero se reconoce si miro en la configuración de nvidia. Hay una desconexión en alguna parte.

He bajado el driver a nvidia-435 y ha funcionado bien. Algo no se comprobó a fondo con el controlador 440. Por ahora, sólo hay que bajar el nivel y ver si eso ayuda.

7voto

Jürgen Brauer Puntos 111

Yo tuve el mismo problema: Ayer decidí instalar mi nuevo portátil (ThinkPad P72 con GPU NVIDIA).

Primero me alegré: no hubo ningún problema con la GPU NVIDIA cuando instalé Ubuntu 20.04. Estaba contento, ya que tuve un problema con esto en Ubuntu 18.04 en otro portátil: allí tuve que cambiar al controlador por defecto para poder instalar Ubuntu 18.04 en el sistema en absoluto o la instalación se congeló de repente.

Pero cuando arranqué Ubuntu 20.04 en casa y quise conectar mi portátil al monitor externo por razones de comodidad, el habitual atajo "Windows+P" no funcionó, ya que no pudo detectar el monitor externo. Tampoco había un segundo monitor cuando abrí "Configuración-->Pantalla"

Mi solución fue volver del controlador NVIDIA 440 al 435 haciendo clic en "Actividades --> Software y Actualizaciones --> Controladores Adicionales". También fue necesario reiniciar para que Ubuntu utilizara la versión 435 del controlador.

Ahora puedo elegir el monitor a utilizar con "Windows+P" después del inicio y estoy utilizando mi monitor externo ahora mismo :)

Así que parece que el driver 440 de NVIDIA tiene que ser actualizado para que funcione mejor con Ubuntu 20.04.

4voto

Parveen Chhikara Puntos 131

Me encontré con el mismo problema en mi portátil de doble tarjeta (Dell G5 5587) Ubuntu 20.04.

En mi caso el problema era snapd. He purgado y desactivado snapd antes (esa es la culpa).

El problema aparece cuando uso controladores compatibles con NVIDIA Ex. 435,440,450 con prime on demand o performance mode

Ese es el problema, porque ubuntu 20.04 utiliza paquetes combinados (deb clásico y snap)

La solución en mi caso fue la siguiente:

sudo apt install snapd
sudo snap install snap-store
sudo reboot

Al final en Ajustes-Pantalla aparecen todas las opciones también para la segunda pantalla (Join, Mirror,Single) y NVidia vuelve a funcionar

3voto

air-dex Puntos 3752

Me encontré con el mismo problema en mi portátil (Dell G5 5500 con NVIDIA RTX 2060 como GPU). He resuelto el problema por desactivar el arranque seguro en las opciones de la BIOS.

2voto

FrankH. Puntos 8850

Prueba esto, si no, haré editar mi post.

Respuesta original de aquí.

"Recientemente he instalado el controlador nvidia-418 en mi portátil que utiliza Ubuntu 18.04. Al principio, el monitor externo funcionaba perfectamente, pero después de cambiar del modo de ahorro de energía ( sudo prime-select intel ) a modo de rendimiento ( sudo prime-select nvidia ), el segundo monitor ya no se detectó.

He descubierto que prime-select escribe un archivo de configuración que causa el problema. Activa la opción nvidia-drm modeset. Puedes simplemente deshacer el cambio hecho por prime-select comentando esta opción. No se restablecerá, porque prime-select sólo escribe este archivo cuando aún no existe".

Abra el archivo en su editor favorito (vim, nano, gedit, etc.).

sudo nano /lib/modprobe.d/nvidia-kms.conf

Y comenta la opción nvidia-drm modeset.

# This file was generated by nvidia-prime
# Set value to 0 to disable modesetting
# options nvidia-drm modeset=1

"¡Espero que esto también te ayude a ti y a muchos otros!

ps: Es completamente normal que el segundo monitor no sea detectado en el modo de ahorro de energía cuando la conexión es parte de la tarjeta gráfica nvidia."

EnMiMaquinaFunciona.com

EnMiMaquinaFunciona es una comunidad de administradores de sistemas en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros sysadmin, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X