Desktop(Gnome) frequently get frozen few seconds and works again.

After the 3.32 Gnome update, I suffer a frequently appearing bug which yields my desktop frozen some seconds and it works again. It happens randomly but very annoying. When I traced using journalctl -r I get the error message like:

Apr 04 09:33:59 leonard-pc /usr/lib/gdm-x-session[2644]: (II) event9  - SynPS/2 Synaptics TouchPad: SYN_DROPPED event - some input events have been lost.
Apr 04 09:33:59 leonard-pc /usr/lib/gdm-x-session[2644]: nvLock: client timed out, taking the lock

Which has posted before in ryanmusante’s reply for “Performance regression with NVIDIA 390.25”. I tried his method but it is still there. I think it is an issue for nvidia driver and gnome, but I cannot find more information about it.

This is the result I run the command inxi -Fxz:

System:
  Host: leonard-pc Kernel: 4.19.32-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Gnome 3.32.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Hasee product: CN15S v: N/A serial: <filter> 
  Mobo: Notebook model: N15_17RF serial: <filter> UEFI: American Megatrends 
  v: 1.05.03 date: 02/22/2016 
Battery:
  ID-1: BAT0 charge: 45.8 Wh condition: 45.8/62.2 Wh (74%) 
  model: Notebook BAT status: Full 
CPU:
  Topology: Quad Core model: Intel Core i7-6700HQ bits: 64 type: MT MCP 
  arch: Skylake-S rev: 3 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 41488 
  Speed: 800 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 807 2: 911 
  3: 1037 4: 1128 5: 1013 6: 959 7: 1226 8: 1037 
Graphics:
  Device-1: Intel HD Graphics 530 vendor: CLEVO/KAPOK driver: i915 v: kernel 
  bus ID: 00:02.0 
  Device-2: NVIDIA GM206M [GeForce GTX 965M] vendor: CLEVO/KAPOK 
  driver: nvidia v: 418.43 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.4 driver: nvidia 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 965M/PCIe/SSE2 v: 4.6.0 NVIDIA 418.43 
  direct render: Yes 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: CLEVO/KAPOK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k4.19.32-1-MANJARO 
Network:
  Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel port: e000 
  bus ID: 03:00.0 
  IF: wlp3s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: CLEVO/KAPOK driver: r8168 v: 8.045.08-NAPI port: d000 
  bus ID: 04:00.1 
  IF: enp4s0f1 state: down mac: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 481.74 GiB (45.8%) 
  ID-1: /dev/sda vendor: Samsung model: MZNTY128HDHP-00000 size: 119.24 GiB 
  ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 116.77 GiB used: 12.44 GiB (10.6%) fs: ext4 dev: /dev/sda2 
  ID-2: /home size: 915.89 GiB used: 469.30 GiB (51.2%) fs: ext4 
  dev: /dev/sdb1 
Sensors:
  System Temperatures: cpu: 65.0 C mobo: N/A gpu: nvidia temp: 61 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 266 Uptime: 19m Memory: 15.58 GiB used: 2.59 GiB (16.6%) 
  Init: systemd Compilers: gcc: 8.2.1 Shell: bash v: 5.0.0 inxi: 3.0.32 

And a clean error message from journalctl according to the notes in this post:

Apr 04 09:27:48 leonard-pc kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
Apr 04 09:27:48 leonard-pc kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
Apr 04 09:27:59 leonard-pc gdm-password][1064]: gkr-pam: unable to locate daemon control file
Apr 04 09:32:59 leonard-pc gdm-password][2634]: gkr-pam: unable to locate daemon control file
Apr 04 09:33:21 leonard-pc systemd-coredump[3443]: Process 2904 (tracker-store) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 2915:
                                                   #0  0x00007f5bc0021cbb tracker_ontologies_get_properties (libtracker-data.so)
                                                   #0  0x00007f5bc0021cbb tracker_ontologies_get_properties (libtracker-data.so)
                                                   #1  0x00007f5bc0038723 n/a (libtracker-data.so)
                                                   #2  0x00007f5bbfc3eeb4 sqlite3VdbeExec (libsqlite3.so.0)
                                                   #3  0x00007f5bbfc448b0 sqlite3_step (libsqlite3.so.0)
                                                   #4  0x00007f5bc0016a29 n/a (libtracker-data.so)
                                                   #5  0x00007f5bc002c6bd n/a (libtracker-data.so)
                                                   #6  0x00007f5bc0032a5c n/a (libtracker-data.so)
                                                   #7  0x00007f5bc002a71f n/a (libtracker-data.so)
                                                   #8  0x00007f5bc002b841 n/a (libtracker-data.so)
                                                   #9  0x00007f5bc002a71f n/a (libtracker-data.so)
                                                   #10 0x00007f5bc0031310 n/a (libtracker-data.so)
                                                   #11 0x00007f5bc002a71f n/a (libtracker-data.so)
                                                   #12 0x00007f5bc0037ef2 tracker_sparql_execute_update (libtracker-data.so)
                                                   #13 0x00007f5bc00139ff n/a (libtracker-data.so)
                                                   #14 0x000056156f981198 n/a (tracker-store)
                                                   #15 0x00007f5bbff00cc6 n/a (libglib-2.0.so.0)
                                                   #16 0x00007f5bbff07c21 n/a (libglib-2.0.so.0)
                                                   #17 0x00007f5bbf0e0a9d start_thread (libpthread.so.0)
                                                   #18 0x00007f5bbfab2b23 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2904:
                                                   #0  0x00007f5bbfaa7c21 __poll (libc.so.6)
                                                   #1  0x00007f5bbff2c690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f5bbff2d6d2 g_main_loop_run (libglib-2.0.so.0)
                                                   #3  0x000056156f96ea35 n/a (tracker-store)
                                                   #4  0x00007f5bbf9db223 __libc_start_main (libc.so.6)
                                                   #5  0x000056156f96ea6e n/a (tracker-store)
                                                   
                                                   Stack trace of thread 2907:
                                                   #0  0x00007f5bbfaa7c21 __poll (libc.so.6)
                                                   #1  0x00007f5bbff2c690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f5bbff2c77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f5bbff2c7d2 n/a (libglib-2.0.so.0)
                                                   #4  0x00007f5bbff07c21 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f5bbf0e0a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f5bbfab2b23 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2908:
                                                   #0  0x00007f5bbfaa7c21 __poll (libc.so.6)
                                                   #1  0x00007f5bbff2c690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f5bbff2c77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f5bbbc73bde n/a (libdconfsettings.so)
                                                   #4  0x00007f5bbff07c21 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f5bbf0e0a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f5bbfab2b23 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2909:
                                                   #0  0x00007f5bbfaa7c21 __poll (libc.so.6)
                                                   #1  0x00007f5bbff2c690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f5bbff2d6d2 g_main_loop_run (libglib-2.0.so.0)
                                                   #3  0x00007f5bbfd5e568 n/a (libgio-2.0.so.0)
                                                   #4  0x00007f5bbff07c21 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f5bbf0e0a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f5bbfab2b23 __clone (libc.so.6)

I just copy the message after the reboot this morning, but this issue does appear for a long time. I only met it when I used some third-party application like Mathematica 11.3 before the update of 3.32 Gnome. But now it appears when I used more applications especially firefox. Even when I do nothing but wait, it appears.

Are you using any extensions?

Nope. I tried to turn off the extensions in tweak. But it gives no help.

Hey guys, I checked my xorg.1.log and found some interesting information: Every time before I got the nvLock message, I get following nvidia weird report:

[    15.788] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    15.788] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    15.788] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[    15.788] (--) NVIDIA(GPU-0):
[    15.788] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    15.788] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    15.788] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    15.788] (--) NVIDIA(GPU-0):
[    16.437] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    16.437] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    16.437] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[    16.437] (--) NVIDIA(GPU-0):
[    16.438] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    16.438] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    16.438] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    16.438] (--) NVIDIA(GPU-0):
[    16.438] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    16.438] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    16.438] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[    16.438] (--) NVIDIA(GPU-0):
[    16.438] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    16.438] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    16.438] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    16.438] (--) NVIDIA(GPU-0):
[    31.252] nvLock: client timed out, taking the lock
[    31.253] (II) event17 - SynPS/2 Synaptics TouchPad: SYN_DROPPED event - some input events have been lost.
[    31.254] (EE) client bug: timer event17 tap: offset negative (-2046ms)



And:

[   288.429] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   288.429] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   288.429] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[   288.429] (--) NVIDIA(GPU-0):
[   288.429] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   288.429] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   288.429] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   288.429] (--) NVIDIA(GPU-0):
[   288.429] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   288.429] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   288.429] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[   288.429] (--) NVIDIA(GPU-0):
[   288.429] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   288.429] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   288.429] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   288.429] (--) NVIDIA(GPU-0):
[   293.464] nvLock: client timed out, taking the lock
[   293.467] (II) event17 - SynPS/2 Synaptics TouchPad: SYN_DROPPED event - some input events have been lost.
[   293.467] (EE) client bug: timer event17 tap: offset negative (-368ms)
[   294.000] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   294.000] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   294.000] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[   294.000] (--) NVIDIA(GPU-0):
[   294.001] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   294.001] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   294.001] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   294.001] (--) NVIDIA(GPU-0):
[   294.001] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   294.001] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   294.001] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[   294.001] (--) NVIDIA(GPU-0):
[   294.001] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   294.001] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   294.001] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   294.001] (--) NVIDIA(GPU-0):
[   294.012] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   294.012] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   294.012] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[   294.012] (--) NVIDIA(GPU-0):
[   294.012] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   294.012] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   294.013] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   294.013] (--) NVIDIA(GPU-0):
[   294.013] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   294.013] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   294.013] (--) NVIDIA(GPU-0): DFP-0: 960.0 MHz maximum pixel clock
[   294.013] (--) NVIDIA(GPU-0):
[   294.013] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   294.013] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   294.013] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   294.013] (--) NVIDIA(GPU-0):

It looks like my gpu does not work fine.

I want to add that a friend of mine experienced the same thing after the update. It was so bad he had to restore from a backup and he is now scared to ever update. Interestingly happened to me too but don’t know why it works now…at times, rarely, is freezing for me as well. I am using PRIME. We tested for his computer with all extensions disabled and it was still freezing. He is not tech-savy so he didn’t report it. But he has an identical laptop as mine so I’ll give you my specs:


[tio@tio-pc ~]$ inxi -Fx
System:
  Host: tio-pc Kernel: 4.19.32-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Gnome 3.32.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: ASUSTeK product: GL753VD v: 1.0 
  serial: <root required> 
  Mobo: ASUSTeK model: GL753VD v: 1.0 serial: <root required> 
  UEFI: American Megatrends v: GL753VD.307 date: 04/16/2018 
Battery:
  ID-1: BAT0 charge: 41.3 Wh condition: 41.3/48.2 Wh (86%) 
  model: Simplo SDI ICR18650 status: Full 
CPU:
  Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44944 
  Speed: 2222 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 2198 2: 2200 
  3: 2191 4: 2197 5: 2185 6: 2198 7: 2197 8: 2200 
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel 
  bus ID: 00:02.0 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK 
  driver: nvidia v: 418.43 bus ID: 01:00.0 
  Display: x11 server: X.org 1.20.4 driver: nvidia 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 418.43 
  direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k4.19.32-1-MANJARO 
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: e000 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: 88:78:73:84:8c:17 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus ID: 03:00.0 
  IF: enp3s0 state: down mac: 88:d7:f6:35:20:18 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:
  Local Storage: total: 4.12 TiB used: 1.85 TiB (44.9%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB 
  ID-2: /dev/sdb vendor: Seagate model: ST4000LM024-2AN17V size: 3.64 TiB 
  ID-3: /dev/sdc type: USB vendor: SanDisk model: Cruzer Fit size: 29.11 GiB 
Partition:
  ID-1: / size: 423.26 GiB used: 315.61 GiB (74.6%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 34.44 GiB used: 193.8 MiB (0.5%) fs: swap 
  dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 86.0 C mobo: N/A gpu: nvidia temp: 72 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 343 Uptime: 23h 31m Memory: 31.30 GiB used: 13.88 GiB (44.4%) 
  Init: systemd Compilers: gcc: 8.2.1 clang: 8.0.0 Shell: bash v: 5.0.2 
  inxi: 3.0.32 
[tio@tio-pc ~]$

We’ve also tested his computer with multiple kernels: 5.0, 4.19, or 4.14. No difference.

it looks like your gpu is continuously scanning for monitors, did you add any special configurations to video setup at all?

please post:

xrandr
mhwd -li
ls -laR /etc/X11/
cat /etc/X11/xorg.conf.d/*.conf

Thanks for your reply! They are the following

randr:

#randr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.10*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)

mhwd -li

#mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2018.08.09               false            PCI
         network-r8168            2016.04.20                true            PCI


Warning: No installed USB configs!

ls -laR /etc/X11/

#ls -laR /etc/X11/
/etc/X11/:
total 32
drwxr-xr-x  5 root root 4096 Mar 12 18:18 .
drwxr-xr-x 94 root root 4096 Apr  5 11:52 ..
drwxr-xr-x  2 root root 4096 Apr  5 01:29 mhwd.d
drwxr-xr-x  3 root root 4096 Mar 12 18:19 xinit
drwxr-xr-x  2 root root 4096 Apr  5 11:51 xorg.conf.d

/etc/X11/mhwd.d:
total 16
drwxr-xr-x 2 root root 4096 Apr  5 01:29 .
drwxr-xr-x 5 root root 4096 Mar 12 18:18 ..
-rw-r--r-- 1 root root 1642 Apr  5 11:41 nvidia.conf
-rw-r--r-- 1 root root    0 Apr  5 01:29 nvidia.conf.nvidia-xconfig-original

/etc/X11/xinit:
total 28
drwxr-xr-x 3 root root 4096 Mar 12 18:19 .
drwxr-xr-x 5 root root 4096 Mar 12 18:18 ..
-rw-r--r-- 1 root root  739 Mar  5 02:31 xinitrc
drwxr-xr-x 2 root root 4096 Mar 12 18:17 xinitrc.d
-rw-r--r-- 1 root root   45 Mar  5 02:31 xserverrc

/etc/X11/xinit/xinitrc.d:
total 20
drwxr-xr-x 2 root root 4096 Mar 12 18:17 .
drwxr-xr-x 3 root root 4096 Mar 12 18:19 ..
-rwxr-xr-x 1 root root  318 Nov 10 05:18 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  203 Mar 12 15:36 50-systemd-user.sh

/etc/X11/xorg.conf.d:
total 20
drwxr-xr-x 2 root root 4096 Apr  5 11:51 .
drwxr-xr-x 5 root root 4096 Mar 12 18:18 ..
-rw-r--r-- 1 root root  266 Apr  5 01:16 00-keyboard.conf
lrwxrwxrwx 1 root root   27 Apr  5 01:29 90-mhwd.conf.old -> /etc/X11/mhwd.d/nvidia.conf
-rw-r--r-- 1 root root  188 Apr  5 01:30 optimus.conf

cat /etc/X11/xorg.conf.d/*.conf

#cat /etc/X11/xorg.conf.d/*.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection
Section "Module"
    Load "modesetting"
EndSection
Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

I changed the defauld xorg.conf according to this post: Howto Set Prime for Nvidia So you’ll find I am using this optimus.conf

1 Like

I tried to install Ubuntu18.04 with gnome-3.28 on my machine and it works fine. I think this can show the issue comes from gdm or gnome of this version.

you can try mutter-workaround, it’s in th aur.

5 aur/mutter-781835-workaround 3.32.0+49+gb2d0184c6-2 (+35 2.33%) 
    A window manager for GNOME. This package reverts a commit which may causes performance problems for nvidia driver users. Some performance patches also included.

ubuntu may just include the workaround already

No, there is no process of this package on ubuntu.

no, i mean the default mutter that ubuntu uses could already have some of those patches built in already, do remember that ubuntu patches what already exists, not create new packages custom tailored for each application.

other i’ve seen using that package have said it’s a big improvement over regular mutter, gets rid of alot of stuttering that gnome/nvidia are well known for. what’s it hurt to try it?

My computer started to freeze more and more too since yesterday, and I wanted to give it a try but apparently the AUR has an issue fatal: bad revision '73e8cf32' - so I could not install. It is reported in the AUR.

EDIT: They say

" If you are getting errors like fatal: bad revision '73e8cf32' while building this package, refer to PKGBUILD and see which patches caused this. Then, go to the related URLs, replace the commit hashes. If there are conflicts, comment out the patches."

I personally do not know what exactly I should do.

this might be because of the updated gnome and it just hasn’t been updated yet? i dont use gnome anymore so i cant verify

Ah! I get your point. Additionally I notice this reported bug during browsing the mutter page: low opengl performance of GNOME. And then I did some test and found that gnome does consume extremely much cpu resource when the freeze happens. I think this issue is one of the result of this bug. BTW, I test it on ubuntu and manjaro, the result is that they both has this issue but it seems happens with lower frequency on ubuntu.

I do not know why this bug last nearly two years and is still annoying gnome users. :pensive::pensive:

mutter is garbage with nvidia. and IIRC mutter only has like 3 settings so there isnt much the end user can do about it. gnome was my first DE with manjaro and THB i only kept using it because i was worried about having to setup nvidia prime on my optimus laptop. i didnt find the prime tutorial (or at least the one that actually works) until about a week of non-stop black screen and re-installing, trying new things and eventually i broke it until it started working :sweat_smile:. since then and especially now, i have zero desire to use gnome again, even more so if on nvidia. though, gnome might not be so bad if compton were able to be used as a compositor.:man_shrugging:

That must be a bad experience for you. Im sorry.
After fully read all comments of that bug I feel nervous about this :pensive: :pensive: Maybe I should use another DE like xfce4 until they resolve this bug? . Or I should use windows for the better support of the nvidia card and try linux on an amd laptop as the next. :pensive:
I feel bad. . .

be careful, you may not ever want to go back to gnome :sunglasses:.

blasphemer!!! , nvidia works perfectly fine on other DE’s, deepin also has similar issues to gnome since it uses a version of mutter, though i think they are working on moving to kwin. KDE sometimes has some graphical glitches after waking from suspend but otherwise works fine. xfce works perfectly fine and is much more customizable than you would think, openbox/xfce again is perfectly fine.

How about trying the “normal” (free) graphic cards drivers? Is that still freezing your computer? I will try these days for sure to not use PRIME anymore and simply use the default Manjaro optimus set-up with free drivers. But if you tried it let me know please.

sure, you could try, and maybe it fixes the freezing in that situation, but there are reasons behind nobody using them. to name a few:

  • random lockups, both with and without cause, like locking up on suspend/wake cycle
  • erratic power usage
  • erratic or non-existant fan utilization, fine if you dont mind your laptop sounding like a Boeing 747, or even worse completely silent (no fans)
  • performance = :poop:

Well this is the reason I moved to PRIME is true…I thought maybe it got fixed :frowning: - I use free drivers with nvidia on another laptop and everything works perfectly, so I am baffled as to where the bug is only for some systems…Maybe all Linux distros should put a big warning: If you use Nvidia prepare for lots of troubles ahead :smiley:

Back on the topic. Maybe I can be of help since my system freezes too but very rarely. Nothing of the sort Leonard explains or my friend with a 100% identical laptop experienced. If anyone has any idea how to provide the help? I noticed it freezes a bit with Gnome apps. But not 100% sure.