Laptop only outputting on HDMI

I don’t know what happened but my parrot partition no longer displays on my laptop’s monitor and will only display if I plug in an hdmi cable.

It loads through the bios fine and shows the parrot loading screen early on but the login page is now only showing on the external monitor.

The other partitions all load normally on the laptop.

Useful command outputs:

inxi -SCMGrxxxaz
System: Host: parrot Kernel: 5.4.0-3parrot1-amd64 x86_64 bits: 64 compiler: gcc v: 9.2.1
parameters: BOOT_IMAGE=/vmlinuz-5.4.0-3parrot1-amd64 root=UUID=28183fc1-52cd-4d47-91cb-53a01bd233d0 ro quiet splash
noautomount quiet nouveau.modeset=0
Desktop: KDE Plasma 5.14.5 tk: Qt 5.12.5 wm: kwin_x11 dm: LightDM 1.26.0 Distro: Parrot GNU/Linux 4.8
base: Debian parrot
Machine: Type: Laptop System: LENOVO product: 81LK v: IdeaPad L340-15IRH Gaming serial: Chassis: type: 10
v: IdeaPad L340-15IRH Gaming serial:
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: UEFI: LENOVO v: BGCN25WW date: 10/23/2019
CPU: Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158)
stepping: A (10) microcode: CA L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399
Speed: 1300 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 1301 2: 1300 3: 1300 4: 1300 5: 1301 6: 1300 7: 1300
8: 1288 9: 1300 10: 1300 11: 1300 12: 1300
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
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 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 440.44 bus ID: 01:00.0
chip ID: 10de:1f91
Display: x11 server: X.Org 1.20.7 driver: nvidia compositor: kwin_x11 resolution: 1360x768~60Hz
OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 440.44 direct render: Yes

xrandr
Screen 0: minimum 8 x 8, current 1360 x 768, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
1360x768 60.02*+
1920x1080 60.00 59.94 29.97 23.98
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94

Thanks in advance

What happens if you remove the HDMI cable after you’ve logged into parrot? Black/blank?

Did you possibly change your BIOS in a way that it will only output to the HDMI or whatever display connectors you have? Do you have FN + " " (some F key) that allows you to swap from external to the laptop screen? Did this happen after an update?

Thanks for replying, when I unplug the HDMI cable my laptop screen doesn’t change.
I wouldn’t think it would be a BIOS issue, the other 3 partitions on this laptop are all outputting correctly.
F10 to switch between diplays doesn’t seem to do anything when I select Switch to Laptop screen.
I should’ve included this in the original post but yeah this started happening after I tried installing the proprietary NVIDIA drivers. After installing the drivers I booted into Parrot with the HDMI plugged in and it’s been like this ever since.

For what it’s worth if I break the xorg conf worse I end up with just a command prompt on the laptop screen.

Here’s what Xorg.0.log looks like after booting

[ 148.988] (–) NVIDIA(GPU-0): DFP-0: disconnected
[ 148.988] (–) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[ 148.988] (–) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[ 148.988] (–) NVIDIA(GPU-0):
[ 149.011] (–) NVIDIA(GPU-0): DFP-1: disconnected
[ 149.011] (–) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 149.011] (–) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 149.011] (–) NVIDIA(GPU-0):
[ 149.041] (–) NVIDIA(GPU-0): SAMSUNG (DFP-2): connected
[ 149.041] (–) NVIDIA(GPU-0): SAMSUNG (DFP-2): Internal TMDS
[ 149.041] (–) NVIDIA(GPU-0): SAMSUNG (DFP-2): 600.0 MHz maximum pixel clock
[ 149.041] (–) NVIDIA(GPU-0):
[ 149.626] (–) NVIDIA(GPU-0): DFP-0: disconnected
[ 149.626] (–) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[ 149.626] (–) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[ 149.626] (–) NVIDIA(GPU-0):
[ 149.649] (–) NVIDIA(GPU-0): DFP-1: disconnected
[ 149.649] (–) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 149.649] (–) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 149.649] (–) NVIDIA(GPU-0):
[ 149.679] (–) NVIDIA(GPU-0): SAMSUNG (DFP-2): connected
[ 149.679] (–) NVIDIA(GPU-0): SAMSUNG (DFP-2): Internal TMDS
[ 149.679] (–) NVIDIA(GPU-0): SAMSUNG (DFP-2): 600.0 MHz maximum pixel clock
[ 149.679] (–) NVIDIA(GPU-0):