GNOME crashes on X11 with Nvidia

Hi,

Gnome on X11 crashes with proprietary nvidia drivers.

System is fully updated. Gnome extensions are disabled. Tried kernels 6.5, 6.4, 6.1, 5.15, crashes on all of them.

Switched to Gnome on Wayland, but the system is not than usable. I have an 8k monitor (double DP) and there are a lot of artifacts on screen and also input to applications is a struggle (flapping artifacts while typing).

Gnome on X11 crashes like these:

Sep 20 15:31:07 costa-desktop gnome-shell[3236]: Received an X Window System error.
                                                 This probably reflects a bug in the program.
                                                 The error was 'BadValue (integer parameter out of range for operation)'.
                                                   (Details: serial 685 error_code 2 request_code 140 (unknown) minor_code 43)
                                                   (Note to programmers: normally, X errors are reported asynchronously;
                                                    that is, you will receive the error a while after causing it.
                                                    To debug your program, run it with the MUTTER_SYNC environment
                                                    variable to change this behavior. You can then get a meaningful
                                                    backtrace from your debugger if you break on the meta_x_error() function.)

and

Sep 20 15:31:07 costa-desktop systemd-coredump[3326]: Process 3236 (gnome-shell) of user 120 dumped core.
                                                      
                                                      Stack trace of thread 3236:
                                                      #0  0x00007f21bf88e83c n/a (libc.so.6 + 0x8e83c)
                                                      #1  0x00007f21bf83e668 raise (libc.so.6 + 0x3e668)
                                                      #2  0x0000560289447f59 n/a (gnome-shell + 0x3f59)
                                                      #3  0x00007f21bf83e710 n/a (libc.so.6 + 0x3e710)
                                                      #4  0x00007f21c033c258 g_log_structured_array (libglib-2.0.so.0 + 0x61258)
                                                      #5  0x00007f21c033c553 g_log_default_handler (libglib-2.0.so.0 + 0x61553)
                                                      #6  0x00007f21c033d405 g_logv (libglib-2.0.so.0 + 0x62405)
                                                      #7  0x00007f21c033d6d4 g_log (libglib-2.0.so.0 + 0x626d4)
                                                      #8  0x00007f21bfd18597 n/a (libmutter-12.so.0 + 0x118597)
                                                      #9  0x00007f21bf70168c _XError (libX11.so.6 + 0x4468c)
                                                      #10 0x00007f21bf701798 n/a (libX11.so.6 + 0x44798)
                                                      #11 0x00007f21bf701855 n/a (libX11.so.6 + 0x44855)
                                                      #12 0x00007f21bf70323d _XReply (libX11.so.6 + 0x4623d)
                                                      #13 0x00007f21bd2939b0 XRRGetCrtcGamma (libXrandr.so.2 + 0x49b0)
                                                      #14 0x00007f21bfcf8712 n/a (libmutter-12.so.0 + 0xf8712)
                                                      #15 0x00007f21bfc89685 n/a (libmutter-12.so.0 + 0x89685)
                                                      #16 0x00007f21bfd036c8 n/a (libmutter-12.so.0 + 0x1036c8)
                                                      #17 0x00007f21bfcffafc n/a (libmutter-12.so.0 + 0xffafc)
                                                      #18 0x00007f21bfcf6abd n/a (libmutter-12.so.0 + 0xf6abd)
                                                      #19 0x00007f21c0334f19 n/a (libglib-2.0.so.0 + 0x59f19)
                                                      #20 0x00007f21c03932b7 n/a (libglib-2.0.so.0 + 0xb82b7)
                                                      #21 0x00007f21c0335b47 g_main_loop_run (libglib-2.0.so.0 + 0x5ab47)
                                                      #22 0x00007f21bfcce2bb meta_context_run_main_loop (libmutter-12.so.0 + 0xce2bb)
                                                      #23 0x0000560289447526 n/a (gnome-shell + 0x3526)
                                                      #24 0x00007f21bf827cd0 n/a (libc.so.6 + 0x27cd0)
                                                      #25 0x00007f21bf827d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                      #26 0x0000560289447835 n/a (gnome-shell + 0x3835)
                                                      
                                                      Stack trace of thread 3242:
                                                      #0  0x00007f21bf90359f __poll (libc.so.6 + 0x10359f)
                                                      #1  0x00007f21c0393206 n/a (libglib-2.0.so.0 + 0xb8206)
                                                      #2  0x00007f21c0333112 g_main_context_iteration (libglib-2.0.so.0 + 0x58112)
                                                      #3  0x00007f21c0333162 n/a (libglib-2.0.so.0 + 0x58162)
                                                      #4  0x00007f21c03669a5 n/a (libglib-2.0.so.0 + 0x8b9a5)
                                                      #5  0x00007f21bf88c9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #6  0x00007f21bf910dfc n/a (libc.so.6 + 0x110dfc)
                                                      
                                                      Stack trace of thread 3241:
                                                      #0  0x00007f21bf90ed6d syscall (libc.so.6 + 0x10ed6d)
                                                      #1  0x00007f21c038e247 g_cond_wait (libglib-2.0.so.0 + 0xb3247)
                                                      #2  0x00007f21c03001b4 n/a (libglib-2.0.so.0 + 0x251b4)
                                                      #3  0x00007f21c0368a2e n/a (libglib-2.0.so.0 + 0x8da2e)
                                                      #4  0x00007f21c03669a5 n/a (libglib-2.0.so.0 + 0x8b9a5)
                                                      #5  0x00007f21bf88c9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #6  0x00007f21bf910dfc n/a (libc.so.6 + 0x110dfc)

This is serious bug, that makes a system unusable and to my understanding it shouldn’t pass manjaro’s QA in the first place.

Am I the only one having it? Any ideas how to fix it?

Hi @ktsaou, and welcome!

Being a Plasma user, I cannot say from experience or if it’s wrong. But to the best of my knowledge Gnome is no longer X11-friendly and only Wayland should be used.

Once again, I don’t know this for certain and someone who knows for sure can correct me if I’m wrong.

Hope this helps!

Edit:

Maybe this gives you some kind of clue:

Thanks! This is what I did to enable Wayland for nvidia under Gnome.

So, if nvidia is not a good solution, which graphics card should I use to have the best 8k experience with a double DP signal?

I honestly have no idea, but I’m guessing an AMD…

Don’t take this the wrong way but if you are willing to supply the developers with 8k screens, your use-case is covered somewhere.

For other users to help you with this issue provide some more context and system information. Post link below will help. With more information about your system the behavior you experience is placed in the right context. Now we know you have 2 monitors, probably the right driver loaded and a error that refers to a way to debug it, however since this is a single error and probably only on your system you might the only one able to do any analyzing of the issue.

This is a difficult question, provide some context, what kind of monitor is it that is going to be connected, eg read above and supply info about your setup so users of this forum have an idea what you are using atm.

I jumped to this ship when prices dropped, switched to wayland, no regrets, but was in need of new card anyway.

I’m quite happy with my 960 GTX, so I don’t need a new one, so there’s no reason for me to worry…