Second monitor crashes gnome on x11

Since upgrading to Fedora 38, Gnome on X11 no longer works as long as I have a secondary monitor connected. The session crashes immediately after logging in with:

Oh no! Something has gone wrong.
A problem has occurred and the system can’t recover.
Please log out and try again.
(Log Out)

Here is a relevant part of syslog:

Jun 16 23:58:11 dragon gnome-shell[20017]: Running GNOME Shell (using mutter 44.2) as a X11 window and compositing manager
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-0: disconnected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-0: Internal TMDS
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-1: disconnected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-2: disconnected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-2: Internal TMDS
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): GBT Gigabyte M32U (DFP-3): connected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): GBT Gigabyte M32U (DFP-3): Internal DisplayPort
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): GBT Gigabyte M32U (DFP-3): 2670.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-4: disconnected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-4: Internal TMDS
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): Acer XV273K (DFP-5): connected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): Acer XV273K (DFP-5): Internal DisplayPort
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): Acer XV273K (DFP-5): 2670.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-6: disconnected
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-6: Internal TMDS
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
Jun 16 23:58:11 dragon /usr/libexec/gdm-x-session[19385]: (–) NVIDIA(GPU-0):
Jun 16 23:58:11 dragon gnome-shell[20017]: X Error of failed request: BadValue (integer parameter out of range for operation)
Jun 16 23:58:11 dragon gnome-shell[20017]: Major opcode of failed request: 140 (RANDR)
Jun 16 23:58:11 dragon gnome-shell[20017]: Minor opcode of failed request: 43 ()
Jun 16 23:58:11 dragon gnome-shell[20017]: Value in failed request: 0x180
Jun 16 23:58:11 dragon gnome-shell[20017]: Serial number of failed request: 350
Jun 16 23:58:11 dragon gnome-shell[20017]: Current serial number in output stream: 351
Jun 16 23:58:11 dragon systemd[17407]: [email protected]: Failed with result ‘protocol’.
Jun 16 23:58:11 dragon systemd[17407]: Failed to start [email protected] - GNOME Shell on X11.

Since my session starts a terminal I can run from it anything and it works, even for example chrome, it’s just the gnome-shell that doesn’t want to run. If I try to run it manually it reports this error:

libmutter-Message: 23:35:04.426: Running GNOME Shell (using mutter 44.2) as a X11 window and compositing manager
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 43 ()
Value in failed request: 0x181
Serial number of failed request: 350
Current serial number in output stream: 351

Which can also be seen in the syslog (see screenshot)

The xrandr output doesn’t seem anything special:

Screen 0: minimum 8 x 8, current 7680 x 2160, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 3840x2160+3840+0 (normal left inverted right x axis y axis) 700mm x 390mm
3840x2160 60.00 + 144.00* 119.91 119.88 97.98 59.94 50.00 29.97 25.00 23.98
2560x1440 144.00 120.00 59.95
1920x1080 144.00 120.00 60.00 59.94 50.00
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 119.88 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00 + 119.91* 59.94 50.00 30.00 29.97 25.00 23.98
2560x1440 120.00
1920x2160 143.84
1920x1080 119.88 60.00 59.94 50.00
1680x1050 59.95
1440x900 59.89
1280x1024 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1024x768 60.00
800x600 75.00 60.32 56.25
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-5 disconnected (normal left inverted right x axis y axis)

And it’s the same in F37 where gnome-shell (or mutter) works fine.

This crash is present since the Fedora 38 release, and because of it I went back to F37 but every couple of weeks I retry with all the latest updates but it’s still not working. I have an nvidia card and I’m using the nvidia driver from RPM Fusion.

If I disconnect the second monitor it works fine.
Running gnome on wayland works (but I have other issues with wayland so that’s not a solution for me)
Running other DE such as Cinnamon or LXDE on X11 works, but I prefer gnome.

What else can I try?

After a few more tests I concluded that the issue is not the multi monitor setup but a specific monitor: Acer XV273K
With the “Acer XV273K” connected gnome on X11 on fedora 38 does not work. Even if it is a single monitor. This monitor works fine in fedora 37 and previous releases.

Perhaps the issue with “Acer XV273K” is that to achieve 4k@144Hz it requires two DP cables and presents itself as two tiled displays, I guess that is indicated by this xrandr -verbose line:
TILE: 481 1 2 1 0 0 1920 2160
But I’m only using one DP cable and using resolution 4K@120Hz which works fine.

Here is a full xrandr -verbose output:

DP-4 connected primary 1920x2160+0+0 (0x1cc) normal (normal left inverted right x axis y axis) 600mm x 340mm
	Identifier: 0x1c2
	Timestamp:  410325
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	TILE: 481 1 2 1 0 0 1920 2160 
	EDID: 
		00ffffffffffff000472b1064d426192
		1a1d0104b53c22783b2711ac5135b526
		0e50542348008140818081c081009500
		b300d1c001014dd000a0f0703e803020
		350055502100001ab46600a0f0701f80
		0820180455502100001a000000fd0c30
		78ffff6b010a202020202020000000fc
		0058563237334b0a2020202020200235
		020343f151010304121305141f900702
		5d5e5f60613f2309070783010000e200
		c06d030c001000387820006001020368
		1a00000101307800e305e301e6060701
		61561c023a801871382d40582c450055
		502100001e011d007251d01e206e2855
		0055502100001e6fc200a0a0a0555030
		20350055502100001e00000000000009
		7012790000030128e0f600847f075900
		2f801f006f081900010003009aa00104
		ff0ea0002f8021006f083e0003000500
		1200168a1000007f076f080000000000
		414352b1060000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		0000000000000000000000000000e990
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 0 
	_ConnectorLocation: 0 
	non-desktop: 0 
		supported: 0, 1
  3840x2160 (0x1c3) 533.250MHz +HSync -VSync +preferred
        h: width  3840 start 3888 end 3920 total 4000 skew    0 clock 133.31KHz
        v: height 2160 start 2163 end 2168 total 2222           clock  60.00Hz
  3840x2160 (0x1c4) 1066.510MHz +HSync -VSync
        h: width  3840 start 3888 end 3922 total 4001 skew    0 clock 266.56KHz
        v: height 2160 start 2164 end 2170 total 2223           clock 119.91Hz
  3840x2160 (0x1c5) 593.410MHz +HSync +VSync
        h: width  3840 start 4016 end 4104 total 4400 skew    0 clock 134.87KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  59.94Hz
  3840x2160 (0x1c6) 594.000MHz +HSync +VSync
        h: width  3840 start 4896 end 4984 total 5280 skew    0 clock 112.50KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  50.00Hz
  3840x2160 (0x1c7) 262.920MHz +HSync -VSync
        h: width  3840 start 3848 end 3880 total 4000 skew    0 clock  65.73KHz
        v: height 2160 start 2177 end 2185 total 2191           clock  30.00Hz
  3840x2160 (0x1c8) 296.700MHz +HSync +VSync
        h: width  3840 start 4016 end 4104 total 4400 skew    0 clock  67.43KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  29.97Hz
  3840x2160 (0x1c9) 297.000MHz +HSync +VSync
        h: width  3840 start 4896 end 4984 total 5280 skew    0 clock  56.25KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  25.00Hz
  3840x2160 (0x1ca) 296.700MHz +HSync +VSync
        h: width  3840 start 5116 end 5204 total 5500 skew    0 clock  53.95KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  23.98Hz
  2560x1440 (0x1cb) 497.750MHz +HSync +VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock 183.00KHz
        v: height 1440 start 1443 end 1448 total 1525           clock 120.00Hz
  1920x2160 (0x1cc) 632.010MHz +HSync -VSync *current
        h: width  1920 start 1968 end 2000 total 2010 skew    0 clock 314.43KHz
        v: height 2160 start 2162 end 2166 total 2186           clock 143.84Hz
  1920x1080 (0x1cd) 296.700MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock 134.86KHz
        v: height 1080 start 1084 end 1089 total 1125           clock 119.88Hz
  1920x1080 (0x1ce) 148.500MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x1cf) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080 (0x1d0) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1680x1050 (0x1d1) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1440x900 (0x1d2) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x1024 (0x1d3) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x1d4) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1280x800 (0x1d5) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x1d6) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x1d7) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1280x720 (0x1d8) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1024x768 (0x1d9) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1da) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1db) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x1dc) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x1dd) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x1de) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x1df) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  640x480 (0x1e0) 25.170MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.46KHz
        v: height  480 start  490 end  492 total  525           clock  59.93Hz
1 Like