Ubuntu 20.04 congela aleatoriamente, suspeitando de driver Nvidia

Ubuntu 20.04 congela aleatoriamente, suspeitando de driver Nvidia

O Ubuntu 20.04 congela aleatoriamente, às vezes após 20 minutos, às vezes após várias horas.

Isso significa que não consigo mover o mouse nem fazer nada com o teclado. Se o som estiver tocando, ele se repete em um loop de aproximadamente 2 segundos. Nenhuma combinação de teclado faz nada. Somente uma reinicialização forçada com o botão liga / desliga do PC faz com que meu computador seja reiniciado.

De acordo comesta postagemEu coletei algumas informações, embora eu seja um novato nessas coisas e não consiga entender nada disso:

free -h

total        used        free      shared  buff/cache   available
Mem:           15Gi       4,1Gi       7,3Gi       103Mi       4,0Gi        10Gi
Swap:         2,0Gi          0B       2,0Gi
sysctl vm.swappiness

vm.swappiness = 60
ls -al /var/crash
total 8
drwxrwsrwt  2 root whoopsie 4096 Dez 17 12:03 .
drwxr-xr-x 14 root root     4096 Feb  9  2021 ..
sudo lshw -C memory
*-firmware                
   description: BIOS
   vendor: AMI
   physical id: 0
   version: F.42
   date: 05/28/2020
   size: 64KiB
   capacity: 16MiB
   capabilities: pci pnp upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification netboot uefi
*-memory
   description: System Memory
   physical id: 42
   slot: System board or motherboard
   size: 16GiB
 *-bank:0
      description: DIMM DDR4 Synchronous 2666 MHz (0,4 ns)
      product: M378A1G43TB1-CTD
      vendor: Samsung
      physical id: 0
      serial: 719AF9F3
      slot: ChannelA-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 2666MHz (0.4ns)
 *-bank:1
      description: DIMM DDR4 Synchronous 2666 MHz (0,4 ns)
      product: M378A1G43TB1-CTD
      vendor: Samsung
      physical id: 1
      serial: 719AF9F7
      slot: ChannelB-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 2666MHz (0.4ns)
*-cache:0
   description: L1 cache
   physical id: 4c
   slot: L1 Cache
   size: 384KiB
   capacity: 384KiB
   capabilities: synchronous internal write-back unified
   configuration: level=1
*-cache:1
   description: L2 cache
   physical id: 4d
   slot: L2 Cache
   size: 1536KiB
   capacity: 1536KiB
   capabilities: synchronous internal write-back unified
   configuration: level=2
*-cache:2
   description: L3 cache
   physical id: 4e
   slot: L3 Cache
   size: 12MiB
   capacity: 12MiB
   capabilities: synchronous internal write-back unified
   configuration: level=3
*-memory UNCLAIMED
   description: RAM memory
   product: Cannon Lake PCH Shared SRAM
   vendor: Intel Corporation
   physical id: 14.2
   bus info: pci@0000:00:14.2
   version: 10
   width: 64 bits
   clock: 33MHz (30.3ns)
   capabilities: pm cap_list
   configuration: latency=0
   resources: memory:a3516000-a3517fff memory:a3520000-a3520fff
    total 8
    drwxrwsrwt  2 root whoopsie 4096 Dez 17 12:03 .
    drwxr-xr-x 14 root root     4096 Feb  9  2021 ..
sudo lshw -C memory

*-firmware                
   description: BIOS
   vendor: AMI
   physical id: 0
   version: F.42
   date: 05/28/2020
   size: 64KiB
   capacity: 16MiB
   capabilities: pci pnp upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification netboot uefi
*-memory
   description: System Memory
   physical id: 42
   slot: System board or motherboard
   size: 16GiB
 *-bank:0
      description: DIMM DDR4 Synchronous 2666 MHz (0,4 ns)
      product: M378A1G43TB1-CTD
      vendor: Samsung
      physical id: 0
      serial: 719AF9F3
      slot: ChannelA-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 2666MHz (0.4ns)
 *-bank:1
      description: DIMM DDR4 Synchronous 2666 MHz (0,4 ns)
      product: M378A1G43TB1-CTD
      vendor: Samsung
      physical id: 1
      serial: 719AF9F7
      slot: ChannelB-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 2666MHz (0.4ns)
*-cache:0
   description: L1 cache
   physical id: 4c
   slot: L1 Cache
   size: 384KiB
   capacity: 384KiB
   capabilities: synchronous internal write-back unified
   configuration: level=1
*-cache:1
   description: L2 cache
   physical id: 4d
   slot: L2 Cache
   size: 1536KiB
   capacity: 1536KiB
   capabilities: synchronous internal write-back unified
   configuration: level=2
*-cache:2
   description: L3 cache
   physical id: 4e
   slot: L3 Cache
   size: 12MiB
   capacity: 12MiB
   capabilities: synchronous internal write-back unified
   configuration: level=3
*-memory UNCLAIMED
   description: RAM memory
   product: Cannon Lake PCH Shared SRAM
   vendor: Intel Corporation
   physical id: 14.2
   bus info: pci@0000:00:14.2
   version: 10
   width: 64 bits
   clock: 33MHz (30.3ns)
   capabilities: pm cap_list
   configuration: latency=0
   resources: memory:a3516000-a3517fff memory:a3520000-a3520fff
grep -i swap /etc/fstab
/swapfile                                 none            swap    sw              0       0

sudo dmidecode -s bios-version

F.42

Sinto muito se algo disso não estiver relacionado. Suspeito que minha GPU não esteja funcionando corretamente porque meus programas são executados muito mais lentamente do que em meu Windows de inicialização dupla no mesmo sistema. Além disso, recebo alguns erros de libcudart e libcublas ao executar alguns de meus programas, e eles parecem estar relacionados à minha GPU, até onde eu sei.

Você tem alguma sugestão sobre como solucionar ou resolver esse problema?

Conforme solicitado , executei os comandos dmesg, e estes são os resultados:cat /var/log/syslogjournalctl

arquivos github

gato ...

jornalctl

Não consegui colar todo esse código aqui devido à limitação do corpo, então coloquei no GitHub.

Responder1

Estarei dando as possíveis soluções:

  1. Reinstale o Gnome:
sudo apt-get update 
sudo apt-get install --reinstall systemd gnome-settings-daemon gnome-settings-daemon-common

Estarei atualizando...

informação relacionada