libmutter segfaulting when Nvidia drivers are installed (Fedora 26)
I recently got a Dell Precision 5520 with Nvidia discrete graphics and Optimus support and have been bringing it up with Fedora. I initially installed the machine with Fedora 25 and then almost immediately updated it to Fedora 26 since Fedora 26 became available shortly after I installed the machine with Fedora 25.
I would like to try out the proprietary graphics drivers on the machine, but apparently libmutter is segfaulting, preventing GDM from even coming up. I have tried the packaged Nvidia drivers from https://negativo17.org and RPMFusion, but the result is the same--basically, GDM never properly comes up due to a crash in libmutter (so it seems).
Running dmesg (retrieved using journalctl -o short-precise -k -b -1), I see:
Aug 10 21:29:59.795747 skutter kernel: gnome-shell[5609]: segfault at 28 ip 00007f6fe074a7e4 sp 00007ffc6b962300 error 4 in libmutter-0.so.0.0.0[7f6fe06fb000+13a000]
Using journalctl -r, I see:
Aug 10 21:30:00 skutter systemd-coredump[5617]: Process 5609 (gnome-shell) of user 42 dumped core.
Stack trace of thread 5609:
#0 0x00007f6fe074a7e4 center_pointer (libmutter-0.so.0)
#1 0x00007f6fe075ead9 meta_backend_x11_post_init (libmutter-0.so.0)
#2 0x00007f6fe075fb19 meta_backend_x11_cm_post_init (libmutter-0.so.0)
#3 0x00007f6fe0789586 meta_init (libmutter-0.so.0)
#4 0x0000557a42b081aa main (gnome-shell)
#5 0x00007f6fda1a64da __libc_start_main (libc.so.6)
#6 0x0000557a42b085ba _start (gnome-shell)
Stack trace of thread 5613:
#0 0x00007f6fda28aa9d poll (libc.so.6)
#1 0x00007f6fdbd6c569 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
#2 0x00007f6fdbd6c902 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f6fdd891cb6 gdbus_shared_thread_func (libgio-2.0.so.0)
#4 0x00007f6fdbd93536 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6fda55e36d start_thread (libpthread.so.0)
#6 0x00007f6fda296b8f __clone (libc.so.6)
Stack trace of thread 5614:
#0 0x00007f6fda291529 syscall (libc.so.6)
#1 0x00007f6fdbdb16fa g_cond_wait_until (libglib-2.0.so.0)
#2 0x00007f6fdbd40b31 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
#3 0x00007f6fdbd93ed4 g_thread_pool_thread_proxy (libglib-2.0.so.0)
#4 0x00007f6fdbd93536 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6fda55e36d start_thread (libpthread.so.0)
#6 0x00007f6fda296b8f __clone (libc.so.6)
Stack trace of thread 5610:
#0 0x00007f6fda28aa9d poll (libc.so.6)
#1 0x00007f6fdbd6c569 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
#2 0x00007f6fdbd6c67c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f6fdbd6c6c1 glib_worker_main (libglib-2.0.so.0)
#4 0x00007f6fdbd93536 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6fda55e36d start_thread (libpthread.so.0)
#6 0x00007f6fda296b8f __clone (libc.so.6)
Stack trace of thread 5615:
#0 0x00007f6fda28aa9d poll (libc.so.6)
#1 0x00007f6fdbd6c569 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
#2 0x00007f6fdbd6c67c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f6fb6f84f3d dconf_gdbus_worker_thread (libdconfsettings.so)
#4 0x00007f6fdbd93536 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6fda55e36d start_thread (libpthread.so.0)
#6 0x00007f6fda296b8f __clone (libc.so.6)
Aug 10 21:30:00 skutter gnome-session[5570]: Unable to init server: Could not connect: Connection refused
Aug 10 21:30:00 skutter spice-vdagent[5623]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Aug 10 21:30:00 skutter gnome-session-binary[5570]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 10 21:30:00 skutter gnome-session-binary[5570]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
Aug 10 21:30:00 skutter gnome-session-binary[5570 ...