Can't use external monitor on displayport/HDMI, nor GPU

Hello, yesterday I was using my laptop normally, and shut it down. Now that I turn it on again, first I couldn’t use the external monitor, now the GPU doesn’t seem to work. Here’s my system’s specifications:

System:    Kernel: 5.4.105-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=e781eb46-4526-46b0-b646-4c03bc1c6497 ro quiet 
           cryptdevice=UUID=a601cf0e-c0ca-42e2-b3a5-86ec591ad29f:luks-a601cf0e-c0ca-42e2-b3a5-86ec591ad29f 
           root=/dev/mapper/luks-a601cf0e-c0ca-42e2-b3a5-86ec591ad29f apparmor=1 security=apparmor 
           resume=/dev/mapper/luks-1f31a666-7485-44f9-8fd9-e74fe823649f udev.log_priority=3 
           Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Laptop System: Dell product: G5 5590 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 0MXHK3 v: A00 serial: <filter> UEFI: Dell v: 1.14.0 date: 10/20/2020 
Battery:   ID-1: BAT0 charge: 34.2 Wh (59.0%) condition: 58.0/60.0 Wh (96.7%) volts: 16.1 min: 15.2 model: BYD DELL HYWXJ97 
           type: Li-poly serial: <filter> status: Unknown 
Memory:    RAM: total: 15.46 GiB used: 2.62 GiB (16.9%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Info: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake note: check family: 6 
           model-id: 9E (158) stepping: A (10) microcode: DE cache: L2: 12 MiB bogomips: 62431 
           Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 801 
           9: 800 10: 800 11: 800 12: 800 
           Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat 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 ida intel_pt 
           invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe 
           pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti 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: 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: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3e9b 
           class-ID: 0300 
           Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Dell driver: nvidia v: 460.56 
           alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300 
           Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-5:3 chip-ID: 1bcf:2b99 
           class-ID: 0e02 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: modesetting display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.4 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403 
           Sound Server-1: ALSA v: k5.4.105-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.23 running: no 
Network:   Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 5000 bus-ID: 00:14.3 
           chip-ID: 8086:a370 class-ID: 0280 
           IF: wlo1 state: up mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: noprefixroute scope: link 
           Device-2: Realtek vendor: Dell driver: r8169 v: kernel port: 3000 bus-ID: 3c:00.0 chip-ID: 10ec:2502 class-ID: 0200 
           IF: enp60s0 state: down mac: <filter> 
           WAN IP: <filter> 
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8 bus-ID: 1-14:7 
           chip-ID: 8087:0aaa class-ID: e001 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Logical:   Message: No LVM data was found. 
           Device-1: luks-1f31a666-7485-44f9-8fd9-e74fe823649f maj-min: 254:1 type: LUKS dm: dm-1 size: 17 GiB 
           Components: 
           p-1: nvme0n1p3 maj-min: 259:3 size: 17 GiB 
           Device-2: luks-a601cf0e-c0ca-42e2-b3a5-86ec591ad29f maj-min: 254:0 type: LUKS dm: dm-0 size: 914.22 GiB 
           Components: 
           p-1: nvme0n1p2 maj-min: 259:2 size: 914.22 GiB 
RAID:      Message: No RAID data was found. 
Drives:    Local Storage: total: 1.82 TiB used: 153.7 GiB (8.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: 2B2QEXM7 scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB block-size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 0D scheme: GPT 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / raw-size: 914.22 GiB size: 898.87 GiB (98.32%) used: 153.7 GiB (17.1%) fs: ext4 dev: /dev/dm-0 
           maj-min: 254:0 mapped: luks-a601cf0e-c0ca-42e2-b3a5-86ec591ad29f label: N/A 
           uuid: e781eb46-4526-46b0-b646-4c03bc1c6497 
           ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 480 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:1 label: N/A uuid: DBC2-FF76 
Swap:      Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 17 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-1 maj-min: 254:1 
           mapped: luks-1f31a666-7485-44f9-8fd9-e74fe823649f label: N/A uuid: 96533918-c007-4fe8-94ad-abf63629b9e8 
Unmounted: ID-1: /dev/sda1 maj-min: 8:1 size: 128 MiB fs: <superuser required> label: N/A uuid: N/A 
           ID-2: /dev/sda2 maj-min: 8:2 size: 931.39 GiB fs: bitlocker label: N/A uuid: N/A 
USB:       Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
           Hub-2: 1-1:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
           Device-1: 1-1.3:4 info: Kingston HX-KB4BL1-US [HYPERX Alloy FPS Pro] type: Keyboard,Mouse,HID 
           driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 480mA chip-ID: 0951:16d2 class-ID: 0300 
           Device-2: 1-1.4:6 info: Logitech G502 Proteus Spectrum Optical Mouse type: Mouse,HID driver: hid-generic,usbhid 
           interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 300mA chip-ID: 046d:c332 class-ID: 0300 serial: <filter> 
           Device-3: 1-5:3 info: Sunplus Innovation Integrated_Webcam_HD type: Video driver: uvcvideo interfaces: 2 rev: 2.0 
           speed: 480 Mb/s power: 500mA chip-ID: 1bcf:2b99 class-ID: 0e02 
           Device-4: 1-9:5 info: Shenzhen Goodix Fingerprint Reader type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 
           speed: 12 Mb/s power: 100mA chip-ID: 27c6:530c class-ID: ff00 
           Device-5: 1-14:7 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: Bluetooth driver: btusb interfaces: 2 
           rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0aaa class-ID: e001 
           Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
           Hub-4: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
           Hub-5: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900

Here’s the output of mhwd -li:

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


Warning: No installed USB configs!

Programs like nvidia-smi and nvidia-settings hangs when run in the terminal, not even ctrl+C stops it. This also happens to Firefox, I have to reboot the machine, and even sometimes this doesn’t work, as if the process gets stuck.

I uninstalled all other drivers, leaving with only the video-linux, but still the external monitor is not recognized by the system.

You want video-hybrid-intel-nvidia-prime. Please install it again, reboot, and post the output of inxi -Gazy and xrandr --listproviders.