Hi, I would like to ask a question about setting up an external display connected through Hdmi port.
My device is Lenovo S340 optimus laptop. It has Nvidia GeForce MX230.
My desired goal is to use both laptop display and hdmi connected display together (ie, use both displays at the same time and move windows from one display to another)
I have installed NVIDIA driver by following this guide: https://en.opensuse.org/SDB:NVIDIA_drivers
I believe that I have installed NVIDIA driver successfully, however, when I plug in the hdmi cable, second display does not work at all (it switches to energy saving mode)
Here I share relevant information which may help you to understand my current setup.
This is link to my Xorg log: https://susepaste.org/38186730
**# inxi -G
Graphics: Device-1:** Intel UHD Graphics 620 **driver:** i915 **v:** kernel
**Device-2:** NVIDIA GP108M [GeForce MX230] **driver:** nvidia **v:** 390.141
**Device-3:** IMC Networks **type:** USB **driver:** uvcvideo
**Display:** x11 **server:** X.Org 1.20.3 **driver:** modesetting,nvidia **resolution:** 1920x1080~60Hz
**OpenGL:****renderer:** GeForce MX230/PCIe/SSE2 **v:** 4.6.0 NVIDIA 390.141
# sudo lsmod | grep nvidia
**
nvidia**_drm 53248 3
**nvidia**_modeset 1056768 4 **nvidia**_drm
**nvidia**_uvm 876544 0
**nvidia** 15831040 401 **nvidia**_uvm,**nvidia**_modeset
ipmi_msghandler 69632 2 ipmi_devintf,**nvidia**
drm_kms_helper 229376 2 **nvidia**_drm,i915
drm 544768 6 drm_kms_helper,**nvidia**_drm,i915
# sudo lspci -nnk | grep -i -E 'VGA|3D|Display' -A 5
00:02.0 **VGA** compatible controller [0300]: Intel Corporation UHD Graphics 620 (Whiskey Lake) [8086:3ea0] (rev 02)
Subsystem: Lenovo Device [17aa:39f6]
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8
086:1903] (rev 0c)
Subsystem: Lenovo Device [17aa:382c]
--
01:00.0 **3D** controller [0302]: NVIDIA Corporation GP108M [GeForce MX230] [10de:1d11] (rev a1)
Subsystem: Lenovo Device [17aa:39f6]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
Subsystem: Lenovo Device [17aa:3811]
# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x240; cap: 0x1 (Source Output); crtcs: 0; outputs: 0; associated providers: 1; name: NVIDIA-0
Provider 1: id: 0x44; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 2; associated providers
: 1; name: modesetting
output eDP-1-1
output DP-1-1
# xrandr --listmonitors
Monitors: 1
0: +*eDP-1-1 1920/309x1080/174+0+0 eDP-1-1
I assume that there is problem of detecting external display as
xrandr --listmonitors
returns only one monitor.
I am totally lost now… any advises will be highly appreciated. Please let me know what I can try to make it work.
Thank you very much in advance