I’m on a laptop and whenever I want to use an external monitor, I have to plug in the HDMI-cable and restart the computer. Also, if I am using a monitor and disconnect the cable, the workspaces on the external screen will “stay there” despite it not being in use. The solution so far for me has been to restart the computer again. And to clarify, whatever set up I start the laptop with (plugged in or un-plugged HDMI-cable) is what it’s going to go with until it’s turned off.
When the computer was new, external monitors didn’t work when using Linux (but in Windows), but this was fixed after a BIOS update, so I guess the issue might be something on that level.
Any suggestions of how to fix this so I only have to plug in/out the monitor without having to restart the laptop?
System info:
System:
Kernel: 5.11.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64
root=UUID=d3ebea52-df5f-4b01-ab6c-61968f091fda rw quiet apparmor=1
security=apparmor resume=UUID=f083ff07-bfa3-4a4e-9982-935598617be0
udev.log_priority=3
Desktop: i3 4.19.1 info: i3bar vt: 7 dm: LightDM 1.30.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81YM v: IdeaPad 5 14ARE05
serial: <filter> Chassis: type: 10 v: IdeaPad 5 14ARE05 serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter>
UEFI: LENOVO v: DTCN24WW(V1.10) date: 12/25/2020
Battery:
ID-1: BAT1 charge: 34.3 Wh (59.1%) condition: 58.0/56.5 Wh (102.7%)
volts: 11.7 min: 11.5
model: 0x53 0x4D 0x50 0x00 0x32 0x30 0x 0x4C 0x31 0x39 0x4D 0x33 0x50 0x5650
type: Li-ion serial: <filter> status: Discharging cycles: 20
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard ERGO K860
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
Memory:
RAM: total: 15.08 GiB used: 2.16 GiB (14.4%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64
type: MCP arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1
microcode: 8600106 cache: L2: 4 MiB bogomips: 31948
Speed: 1397 MHz min/max: 1400/2000 MHz boost: enabled Core speeds (MHz):
1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs irperf lahf_lm
lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx
nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter
pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni
popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload vgif
vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
xsaves
Vulnerabilities: Type: itlb_multihit status: Not affected
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 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel bus-ID: 04:00.0
chip-ID: 1002:1636 class-ID: 0300
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
chip-ID: 04f2:b6ee class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.11 compositor: picom v: git-dac85 driver:
loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
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 res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9")
diag: 355mm (14")
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.18-1-MANJARO LLVM 11.1.0)
v: 4.6 Mesa 21.0.3 direct render: Yes
Audio:
Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 04:00.1
chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x bus-ID: 04:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.11.18-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 03:00.0
chip-ID: 8086:2723 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
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:4
chip-ID: 8087:0029 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 476.94 GiB used: 20.28 GiB (4.3%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HAJQ-000L2
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 rotation: SSD serial: <filter> rev: 5L1QEXA7 temp: 30.9 C
scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 31.25 GiB size: 30.63 GiB (98.03%) used: 11.85 GiB (38.7%)
fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
uuid: d3ebea52-df5f-4b01-ab6c-61968f091fda
ID-2: /boot/efi raw-size: 521 MiB size: 520 MiB (99.80%)
used: 332 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
uuid: 05A9-A718
ID-3: /home raw-size: 168.92 GiB size: 165.27 GiB (97.84%)
used: 8.43 GiB (5.1%) fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8 label: N/A
uuid: 4cd2f1d8-d69d-411d-92fd-5d8341a5602b
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 23.93 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
uuid: f083ff07-bfa3-4a4e-9982-935598617be0
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 260 MiB fs: vfat label: SYSTEM_DRV
uuid: 08D3-58E2
ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 251.08 GiB fs: ntfs
label: Windows-SSD uuid: 900CD3E30CD3C300
ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 1000 MiB fs: ntfs label: WINRE_DRV
uuid: FE68D49468D44D51
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c52b class-ID: 0300
Device-2: 1-3:3 info: Chicony Integrated Camera type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b6ee
class-ID: 0e02 serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-2:2 info: Pixart Imaging Optical Mouse type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 093a:2510 class-ID: 0301
Device-2: 3-3:3 info: Elan Micro ELAN:Fingerprint type: <vendor specific>
driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 04f3:0c4d class-ID: 0000
Device-3: 3-4:4 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
class-ID: e001
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 33.4 C mobo: 33.0 C gpu: amdgpu temp: 32.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 230 Uptime: 48m wakeups: 7 Init: systemd v: 247 tool: systemctl
Compilers: gcc: 10.2.0 Packages: pacman: 1098 lib: 314 Shell: Bash v: 5.1.4
running-in: urxvtd inxi: 3.3.04