Ubuntu inutilizzabile su schermo esterno quando coperchio del laptop chiuso

Prossima versione di Ubuntu in fase di sviluppo e test. Per i precedenti rilasci, consultare «Archivio del forum».
patronus02
Prode Principiante
Messaggi: 4
Iscrizione: giovedì 17 gennaio 2019, 20:33

Ubuntu inutilizzabile su schermo esterno quando coperchio del laptop chiuso

Messaggio da patronus02 »

Buon giorno,

Quando cerco di utilizzare il mio PC collegato ad un monitor esterno e chiudo il coperchio del laptop l'interfaccia sul monitor esterno diventa lentissima ed inutilizzabile.
Ho fatto una ricerca approfondita online e ho scoperto che questo è un problema comune a coloro che hanno una scheda grafica dedicata nel loro PC.
Ho trovato alcune soluzioni (s1 s2 ) poco eleganti che consistono nel far in modo che il sistema ignori totalmnte la chiusura del caperchio però questo da luogo a svariati inconvenienti derivanti nella gestione delle finestre e schermata di log in.

In altri forum ho trovato quella che credo sia la causa del mio problema. Qualcuno potrebbe gentilmente spiegarmi come fare a risolvere il tutto (ho già provato a googolare la soluzione ma ho trovato solo info per Arch o forum in cui altri chiedono la soluzione per lo stesso problema senza ottenere risposta). o indicarmi una guida appropriata (vanno perfettamente bene anche guide in inglese).


Spero che le info qui sotto riguardanti il PC siano abbastanza.

Codice: Seleziona tutto

inxi -Fxxxrz
System:
  Kernel: 5.13.0-16-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 
  Desktop: GNOME 40.5 tk: GTK 3.24.30 wm: gnome-shell dm: GDM3 41.rc 
  Distro: Ubuntu 21.10 (Impish Indri) 
Machine:
  Type: Laptop System: HP product: HP Pavilion Power Laptop 15-cb0xx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 10 
  serial: <filter> 
  Mobo: HP model: 836B v: 46.24 serial: <filter> UEFI: Insyde v: F.41 
  date: 12/01/2020 
Battery:
  ID-1: BAT0 charge: 56.2 Wh (100.0%) condition: 56.2/56.2 Wh (100.0%) 
  volts: 17.2 min: 15.4 model: HP Primary type: Li-ion serial: N/A 
  status: Full 
  Device-1: hid-34:88:5d:d8:d6:85-battery model: Keyboard K380 serial: N/A 
  charge: N/A status: Discharging 
  Device-2: hidpp_battery_0 
  model: Logitech M720 Triathlon Multi-Device Mouse serial: <filter> 
  charge: 100% (should be ignored) rechargeable: yes status: Discharging 
CPU:
  Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 cache: L2: 6 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44798 
  Speed: 800 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard 
  driver: nvidia v: 450.142.00 bus-ID: 01:00.0 chip-ID: 10de:1c8d 
  class-ID: 0300 
  Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera 
  type: USB driver: uvcvideo bus-ID: 1-4:3 chip-ID: 05c8:03ab class-ID: 0e02 
  Display: x11 server: X.Org 1.20.13 compositor: gnome-shell driver: 
  loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 
  1: 1920x1080~60Hz 2: 1920x1080~60Hz s-dpi: 96 
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.2.2 
  direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171 
  class-ID: 0403 
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fb9 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.0-16-generic running: yes 
  Sound Server-2: PulseAudio v: 15.0 running: yes 
  Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: 4000 
  bus-ID: 04:00.0 chip-ID: 8086:095a class-ID: 0280 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 05:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: eno1 state: down mac: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb 
  v: 0.8 bus-ID: 1-7:4 chip-ID: 8087:0a2a class-ID: e001 
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 
  lmp-v: 4.2 sub-v: 1100 hci-v: 4.2 rev: 1100 
Drives:
  Local Storage: total: 1.14 TiB used: 20.52 GiB (1.8%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 250GB 
  size: 232.89 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> 
  rev: 2B2QEXM7 temp: 41.9 C scheme: GPT 
  ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> 
  rev: A3T0 scheme: GPT 
Partition:
  ID-1: / size: 22.75 GiB used: 15.1 GiB (66.4%) fs: ext4 
  dev: /dev/nvme0n1p4 
  ID-2: /boot/efi size: 96 MiB used: 17.1 MiB (17.8%) fs: vfat 
  dev: /dev/nvme0n1p2 
  ID-3: /home size: 58.15 GiB used: 5.4 GiB (9.3%) fs: ext4 
  dev: /dev/nvme0n1p6 
Swap:
  ID-1: swap-1 type: partition size: 14.44 GiB used: 0 KiB (0.0%) 
  priority: -2 dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 68.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  Packages: 1995 apt: 1966 flatpak: 12 snap: 17 
  Active apt repos in: /etc/apt/sources.list 
  1: deb http://archive.ubuntu.com/ubuntu impish main restricted
  2: deb http://archive.ubuntu.com/ubuntu impish-updates main restricted
  3: deb http://archive.ubuntu.com/ubuntu impish universe
  4: deb http://archive.ubuntu.com/ubuntu impish-updates universe
  5: deb http://archive.ubuntu.com/ubuntu impish multiverse
  6: deb http://archive.ubuntu.com/ubuntu impish-updates multiverse
  7: deb http://archive.ubuntu.com/ubuntu impish-backports main restricted universe multiverse
  8: deb http://archive.ubuntu.com/ubuntu impish-security main restricted
  9: deb http://archive.ubuntu.com/ubuntu impish-security universe
  10: deb http://archive.ubuntu.com/ubuntu impish-security multiverse
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/home:manuelschneid3r.list 
  1: deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_21.04/ /
  Active apt repos in: /etc/apt/sources.list.d/papirus-ubuntu-papirus-impish.list 
  1: deb http://ppa.launchpad.net/papirus/papirus/ubuntu/ impish main
  No active apt repos in: /etc/apt/sources.list.d/spotify.list 
Info:
  Processes: 332 Uptime: 1h 8m wakeups: 6 Memory: 11.58 GiB 
  used: 3.19 GiB (27.6%) Init: systemd v: 248 runlevel: 5 Compilers: 
  gcc: 11.2.0 alt: 11 Shell: Bash v: 5.1.8 running-in: gnome-terminal 
  inxi: 3.3.06 
P.S. Uso il driver nvidia 450 e non il 470 (che sarebbe raccomandato dal os) perché dopo aver provato praticamente tutti i driver nvidia più recenti ho constatato che questo è l'unico che consente al mio laptop di risvegliarsi dalla sospensione.
Inoltre vorrei precisare che avevo lo stesso problema su linux mint con una releas stabile (Ulyssia) quindi dubito fortemente che sia causato dal fatto che sto utilizzando un os in beta.
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23406
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: Ubuntu inutilizzabile su schermo esterno quando coperchio del laptop chiuso

Messaggio da trekfan1 »

Dato che usi una versione in sviluppo sposto nell'apposita sezione
saxtro
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2874
Iscrizione: domenica 4 giugno 2006, 13:16
Distribuzione: Kubuntu 20.04

Re: Ubuntu inutilizzabile su schermo esterno quando coperchio del laptop chiuso

Messaggio da saxtro »

La soluzione/workaround che segnali altro non dice che spegnere la GPU nvidia, e utilizzare solo la intel (si può fare dalla utility nvidia-settings).

Se hai intenzione di utlizzare come monitor primario quello esterno, ma vuoi cmq sfruttare la nvidia potresti provare con bumblebee.
Scrivi risposta

Ritorna a “Impish Indri 21.10”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti