Second Monitor gone after initial setup from bootable pendrive

Hi Guys, I know about the typical NVIDIA issues with a second monitor still I have never been able to fix this and things got even weirder…
I have a Manjaro instance running on my Tuxedo Polaris 15 laptop with an NVIDIA GeForce RTX 2060 onboard. Never got it to work with a second monitor and tried all suggestions from this forum. Somehow xrandr doesn’t detect the HDMI monitor. Finally decided to give it up and start with a fresh install.
Got a pendrive ready with Manjaro on it. Booted for testing with the proprietary drivers. My second monitor became visible and future looked bright! Created a new partition on my harddisk and installed Manjaro from the pendrive. Booted again. Second monitor still there!! Yeeha! Needed to install the neccesary updates. Booted again. Black screen on both monitors…
did only an update on plasma-desktop and booted again. Manjaro was back again but only on my first monitor and xrandr doesn’t spot the monitor in HDMI again!
What the hell happened here?

Hi @PatrickJenner, and welcome!

Hell happened. Your laptop is obviously haunted. We just don’t know by what to perform the correct exorcism, so we need more information. To that end, please see:

Please also provide the output of:

mhwd --list

And

mhwd --listinstalled

Hope you manage!


Tip:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.

Thank you Spellmaster @Mirdarthos !

Let’s start with an inxi dump:

inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=31763d78-a8ad-4b7b-b422-3856b0c57f0a ro quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: TUXEDO product: TUXEDO Polaris 15 Intel Gen1
    v: Standard serial: <superuser required>
  Mobo: TUXEDO s model: POLARIS1501I2060 v: Standard
    serial: <superuser required> UEFI: American Megatrends v: N.1.03
    date: 08/03/2020
Battery:
  ID-1: BAT0 charge: 62.3 Wh (100.0%) condition: 62.3/62.3 Wh (100.0%)
    volts: 16.7 min: 15.2 model: standard type: Li-ion serial: <filter>
    status: full
  Device-1: hid-6c:5d:63:2b:e4:01-battery model: Rapoo Bluetooth Mouse
    serial: N/A charge: N/A status: discharging
Memory:
  RAM: total: 62.65 GiB used: 2.29 GiB (3.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
    family: 6 model-id: 0xA5 (165) stepping: 2 microcode: 0xEC
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 800 min/max: 800/5000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 62431
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt
    cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts
    epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr
    ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdrand rdseed
    rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3
    stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx
    vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Tongfang Hongkong
    driver: i915 v: kernel ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:9bc4 class-ID: 0300
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile]
    vendor: Tongfang Hongkong driver: nvidia v: 510.60.02
    alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f15
    class-ID: 0300
  Device-3: Chicony HD Webcam type: USB driver: uvcvideo bus-ID: 1-13:10
    chip-ID: 04f2:b642 class-ID: 0e02
  Device-4: SJ-180517-N 1080P Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-4:3 chip-ID: 0806:0806
    class-ID: 0102
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: BOE Display 0x084d built: 2018 res: 1920x1080
    hz: 144 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.3.8
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Tongfang Hongkong
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Tongfang Hongkong
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:10f9
    class-ID: 0403
  Device-3: SJ-180517-N 1080P Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-4:3 chip-ID: 0806:0806
    class-ID: 0102
  Device-4: C-Media USB PnP Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-9:5 chip-ID: 0d8c:0134
    class-ID: 0300
  Sound Server-1: ALSA v: k5.15.32-1-MANJARO running: yes
  Sound Server-2: JACK v: 0.125.0 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Tongfang Hongkong driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 2-1.3:3 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp0s20f0u1u3 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:12 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.77 TiB used: 14.14 GiB (0.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Samsung model: SSD 970 PRO 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 1B2QEXP7 temp: 37.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 970 PRO 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 1B2QEXP7 temp: 37.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Seagate model: ST31000333AS
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: HDD
    rpm: 7200 serial: <filter> rev: 0122 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 99.5 GiB size: 97.43 GiB (97.93%) used: 14.13 GiB (14.5%)
    fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:8 label: N/A
    uuid: 31763d78-a8ad-4b7b-b422-3856b0c57f0a
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 2.2 MiB (0.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:2 label: N/A
    uuid: 2AFD-354E
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:5 label: N/A
    uuid: 180472f0-8b50-4539-8195-092ce4327829
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:4 size: 236.34 GiB fs: ext4 label: N/A
    uuid: caf1f6f0-8c81-49b2-a2e1-8eba2c9dc9a4
  ID-2: /dev/nvme0n1p4 maj-min: 259:6 size: 373.19 GiB fs: ext4 label: N/A
    uuid: e3ff6d77-4d6c-4a6b-b788-6381d2ab5d31
  ID-3: /dev/nvme0n1p5 maj-min: 259:7 size: 236.34 GiB fs: btrfs label: N/A
    uuid: c558f48c-28fb-4db2-8e34-5877ad40bfb7
  ID-4: /dev/nvme1n1p1 maj-min: 259:3 size: 953.87 GiB fs: ext4 label: N/A
    uuid: ee4d413d-1b68-4db7-9e25-45271e93aa17
  ID-5: /dev/sda1 maj-min: 8:1 size: 931.51 GiB fs: ntfs label: Maxtor
    uuid: D2CC71B8CC719785
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Realtek RTS5129 Card Reader Controller
    type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
    interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129
    class-ID: ff00 serial: <filter>
  Device-2: 1-4:3 info: SJ-180517-N 1080P Webcam type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 0806:0806 class-ID: 0102
  Hub-2: 1-5:4 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 0bda:5411 class-ID: 0900
  Hub-3: 1-5.1:6 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-5.1.1:9 info: SiGma Micro Keyboard TRACER Gamma Ivory
    type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s power: 98mA chip-ID: 1c4f:0002 class-ID: 0300
  Device-2: 1-5.1.2:11 info: Maxtor Mobile Hard Disk Drive (1TB)
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0
    speed: 480 Mb/s power: 2mA chip-ID: 0d49:7410 class-ID: 0806
    serial: <filter>
  Device-3: 1-5.1.3:13 info: MosArt Wireless Keyboard/Mouse
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 062a:4101 class-ID: 0301
  Device-4: 1-5.4:8 info: Xenta [T3] 2.4GHz and IR Air Mouse Remote Control
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 1d57:ad03 class-ID: 0301
  Device-5: 1-9:5 info: C-Media USB PnP Audio Device type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0134 class-ID: 0300
  Device-6: 1-12:7 info: Microdia USB Keyboard type: Keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s
    power: 100mA chip-ID: 0c45:7603 class-ID: 0301
  Device-7: 1-13:10 info: Chicony HD Webcam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b642
    class-ID: 0e02
  Device-8: 1-14:12 info: Intel AX201 Bluetooth type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0026 class-ID: e001
  Hub-4: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 2-1:2 info: Realtek Hub ports: 4 rev: 3.0 speed: 5 Gb/s
    chip-ID: 0bda:0411 class-ID: 0900
  Device-1: 2-1.3:3 info: Realtek RTL8153 Gigabit Ethernet Adapter
    type: Network driver: r8152 interfaces: 1 rev: 3.2 speed: 5 Gb/s
    power: 288mA chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Sensors:
  System Temperatures: cpu: 47.0 C pch: 59.0 C mobo: 47.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 316 Uptime: 4m wakeups: 11 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1310 lib: 413
  flatpak: 0 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.15

xrandr --query

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 193mm
   1920x1080    144.00*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  

mhwd --list

0000:01:00.0 (0300:10de:1f15) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
          video-nvidia            2021.12.18               false            PCI
    video-nvidia-470xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0300:8086:9bc4) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

mhwd --listinstalled

Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

Now I hope to see some magic…

go to system settings/ compositor, uncheck enable on startup, click apply, reboot … youll probably need to reboot several times 4-5 …

What kinda Windows method is that?! Keep repeating the same solution over and over again until it works. I tried 5 times and not surprisingly got the same result everytime again. Unfortunately.

yes i was hoping disabling compositor would work like it did here
go to etc/x11 and what .conf file do you have there?

The compositor would be a good guess @brahma though I need the thing for my wobbly windows :wink:
As I mentioned before I am on an almost plain vanilla Manjaro installation. The only thing I did install and try is optimus-manager. Therefore my X11 contains:

00-keyboard.conf  10-optimus-manager.conf  30-touchpad.conf

I believe KDE no longer uses X11 configuration and so by default I have no xorg.conf

if it was the compositor, you could enable it with alt+shift+f12 when you boot into your desktop, thats what i have to do…
so if you using optimus, did you try booting only with intel and then only with nvidia drivers?
you are correct with the xorg.conf, but it can happen that it is still in the x11 folder, so thats why i asked you to check, just to be sure…

optimus never worked for me.

optimus-manager --switch nvidia                                                                ✔ 
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20220513T093030.log
If your login manager is GDM, make sure to follow those instructions:
https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting
Cannot execute command because of previous errors.

But eventually it is not optimus that is causing my problems. I installed it to help me out of it.

ok, so uninstall optimus … and also there was released a stable update, so you could update your system, reboot and check, maybe it will be fixed

Too easy! Too bloody easy! But it worked!!
Ran the updates. Reboot. Uninstalled optimus. Checked the X11 folder: 90-mhwd.conf that was deleted by optimus still gone but 10-optimus-manager.conf was gone too. Reboot.
Two working monitors!
My dear @brahma I owe you a beer. Thank you so much!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.