Created attachment 1667241 [details] The journalctl logs from the affected system. Description of problem: On Fedora 31 with latest updates, I was able to run a three monitor setup both on Wayland and Xorg without using the built-in display, after upgrade to Fedora 32, this functionality is broken. I am using a T580 Lenovo laptop with the Thunderbolt docking station and three external monitors connected to it (one over a VGA, two over an HDMI). At work, I was using the following setup - the built-in display is switched off and the three external displays are on, with the middle one being the Primary display. After the upgrade, I cannot use this setting any more. I can either use two external monitors and the built-in one, or any combination with two displays, but the third display (the last to bring into the set-up) stays black. It can be a different display, just the last one made active. What is also more interesting is that the Display settings do not complain about anything and shows that all displays are correctly used. Also, a screenshotting application takes a shot with all three screens active, it only does not show on the real device. Attaching some pictures and a journal output. Version-Release number of selected component (if applicable): gnome-shell-3.35.91-1.fc32.x86_64 How reproducible: Always Steps to Reproduce: 1. Go to Settings. 2. Go to Displays. 3. Add an external display and make it primary. 4. Switch off the built-in display. 5. Add one more external display and hit Apply (two external displays are correctly used) 6. Add one more external display and hit Apply -> it seems that all displays are correctly used, but the real device stays black. Actual results: Cannot use the three screen set-up. Expected results: Three screens should be possible to use with the built-in display switched off. Additional info: See pictures and journal output.
Created attachment 1667245 [details] Three screens active on a screenshot.
Created attachment 1667263 [details] Only two real monitors active with the three monitor setup.
Created attachment 1667264 [details] Another screenshot, showing the same situation as the phone picture.
Mar 03 17:23:04 elefant gnome-control-c[6270]: Config not applicable: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Logical monitors not adjacent ... Mar 03 17:23:11 elefant gnome-shell[5450]: Failed to post KMS update: Failed to set mode 1920x1080 on CRTC 93: No space left on device Mar 03 17:23:11 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available Mar 03 17:23:11 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available Mar 03 17:23:12 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available Mar 03 17:23:12 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available Mar 03 17:23:17 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available Mar 03 17:23:18 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available Mar 03 17:23:18 elefant gnome-shell[5450]: Failed to post KMS update: Page flip of 93 failed, and no mode set available The last message then repeats several times per second, continuously. Lukas, you should report this bug upstream, and link it here, if you want to have a higher chance of getting it fixed.
(In reply to Kamil Páral from comment #4) > Lukas, you should report this bug upstream, and link it here, if you want to > have a higher chance of getting it fixed. Good idea, thanks.
Also reported upstream: https://gitlab.gnome.org/GNOME/gnome-session/issues/50
You can link it like this. But I think this might rather be a gnome-shell issue, according to those errors.
Did everything work in 3.35.90?
I am experiencing the same issue since upgrade to F32. Third screen is off and cannot be turned on through Gnome Control Center. Mar 04 14:50:23 fanys-laptop /usr/libexec/gdm-x-session[2082]: (EE) modeset(0): failed to set mode: No space left on device Mar 04 14:50:23 fanys-laptop /usr/libexec/gdm-x-session[2082]: (II) modeset(0): EDID vendor "NEC", prod id 26603 Mar 04 14:50:23 fanys-laptop /usr/libexec/gdm-x-session[2082]: (II) modeset(0): Using hsync ranges from config file Mar 04 14:50:23 fanys-laptop /usr/libexec/gdm-x-session[2082]: (II) modeset(0): Using vrefresh ranges from config file ...
Created attachment 1667499 [details] journal output
Issue is happening on 3.35.92 packages too: mutter-3.35.92-2.fc32.x86_64 gnome-shell-3.35.92-1.fc32.x86_64 Will test 3.35.90 in a moment.
Okay, the same issue is happening with 3.35.90: gnome-shell-3.35.90-2.fc32.x86_64 mutter-3.35.90-1.fc32.x86_64
Okay, it works (no matter the gnome-shell and mutter versions) with kernel-5.5.5, but it's broken with 5.6.0-rc3. Another bug caused by kernel 5.6 and not present in 5.5 is: https://bugzilla.redhat.com/show_bug.cgi?id=1810070
Just noting... the kernel 5.5.5 was from Fedora 31 with dracut/initramfs used from Fedora 31. Culprit could be somewhere else than in kernel itself.
This is not just about three external displays, it also affects two. I have two external displays with Thinkpad T480s's internal screen disabled, and only one of the displays work, the other is always off. And I see the same message: Mar 05 15:44:57 phoenix /usr/libexec/gdm-x-session[1707]: (EE) modeset(0): failed to set mode: No space left on device
Does the lower kernel solve the issue for you, Kamil? If so, we could move this into the kernel space.
Kamil, I'd say the it doesn't matter you have laptop screen turned off, it's still connected and at least some kernel codepaths would behave like it is a three display setup. Kernel bug report with proposed patch is here: https://gitlab.freedesktop.org/drm/amd/issues/1052
This is not a GNOME problem at all, this is a known issue with the 5.6-rc# kernels when using a DP-MST dock with more then one monitor connected to the dock. In this case only 1 monitor will light up. Also see: https://gitlab.freedesktop.org/drm/amd/issues/1052 The upstream kernel folks are working on a fix for this. In the mean time if you are affected by this it is probably best to stick with a 5.5.x kernel for now.
(In reply to Hans de Goede from comment #18) > This is not a GNOME problem at all, this is a known issue with the 5.6-rc# > kernels when using a DP-MST dock with more then one monitor connected to the > dock. In this case only 1 monitor will light up. Also see: > https://gitlab.freedesktop.org/drm/amd/issues/1052 > > The upstream kernel folks are working on a fix for this. In the mean time if > you are affected by this it is probably best to stick with a 5.5.x kernel > for now. Thanks. I am now sticking with the 5.5.x version which does the trick. I will monitor the situation and handle this bug accordingly.
Here is kernel with proposed patch to fix: https://koji.fedoraproject.org/koji/taskinfo?taskID=42240475 (still building at the moment) I'll try it later today.
(In reply to František Zatloukal from comment #20) > Here is kernel with proposed patch to fix: > https://koji.fedoraproject.org/koji/taskinfo?taskID=42240475 (still building > at the moment) > > I'll try it later today. Which fix is that? Can you post a link to the patch (series) you added to that scratch build?
(In reply to Hans de Goede from comment #21) > (In reply to František Zatloukal from comment #20) > > Here is kernel with proposed patch to fix: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=42240475 (still building > > at the moment) > > > > I'll try it later today. > > Which fix is that? Can you post a link to the patch (series) you added to > that scratch build? Yes, sorry, it's this one: https://patchwork.freedesktop.org/series/74295/
The patch didn't help (tried both legacy and thunderbolt docks).
(In reply to František Zatloukal from comment #22) > Yes, sorry, it's this one: https://patchwork.freedesktop.org/series/74295/ Right, I had already tested with version 1 of that series and reported back to Lyude that it does not fix things. But, good news, for me this is fixed by version 2 of this patch series: https://patchwork.freedesktop.org/series/74295/ Which should show up in an upstream 5.6-rc# release soon.
I can confirm that the patch version 2 fixes the problem. In case anybody wanted, I have made a scratch build of the kernel, patch 2 here: https://koji.fedoraproject.org/koji/taskinfo?taskID=42340619
Proposing as a Beta freeze exception issue, per discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1810070 it would be very good to have all displays light up in situations like this.
(In reply to Adam Williamson from comment #26) > Proposing as a Beta freeze exception issue, per discussion in > https://bugzilla.redhat.com/show_bug.cgi?id=1810070 it would be very good to > have all displays light up in situations like this. Note I'm doing a local test-build of an update with the fixes in as we speak. Once that has succeeded I'll push the changes to dist-git. Kicking of an official build of this will have to be done by someone from the Fedora kernel team because of signing.
I've pushed the changes fixing this to dist-git, to be picked up by the next official build. For people who want to give the fixes a try before the official build is done, I've started a scratch build here: https://koji.fedoraproject.org/koji/taskinfo?taskID=42351547 This should be finished in about 2 hours. See here for some generic instructions on installing a kernel directly from koji: https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt
We are running the blocker/FE review meeting in #fedora-blocker-review right now, and just gave the Plymouth bug FE status. We will vote on FE status for this bug shortly. If it is accepted, it would be great to have an official kernel build with the fix soon, kernel folks, so we can pull it into Beta composes ASAP.
Discussed during the 2020-03-09 freeze exception review meeting: [0] Accepted as a freeze exception issue as a significant issue that cannot be fully fixed with an update on affected systems, especially if encryption is enabled. Note we will exercise discretion and may not pull in a kernel build late to fix this if it comes with a lot of unrelated change. [0] https://meetbot.fedoraproject.org/fedora-blocker-review/2020-03-09/f32-blocker-review.2020-03-09-16.01.txt
FEDORA-2020-55b2b79091 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-55b2b79091
kernel-5.6.0-0.rc5.git0.2.fc32, kernel-headers-5.6.0-0.rc5.git0.1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.
FEDORA-2020-164659331d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-164659331d
FEDORA-2020-164659331d has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-164659331d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-164659331d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-164659331d has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.
I have a similar problem, except with an Optimus laptop (Intel + NVidia). It started well before kernel 5.6 and was always present on my new Dell XPS 7590 laptop. If I try to adjust the resolution on my second screen beyond 1920x1080, the screens freeze until the 20 seconds have passed and the previous setup is applied again. The system log then contains the message "Failed to post KMS update: Failed to set mode 2560x1440 on CRTC 93: No space left on device". This happens regardless of whether the displays are hooked into my thunderbolt dock or directly to the laptop. Can somebody shed some light into what this error means and why it happens? This setup worked perfectly on my previous Dell XPS 15 (9560) laptop.
(In reply to Hans de Goede from comment #18) > This is not a GNOME problem at all, this is a known issue with the 5.6-rc# > kernels when using a DP-MST dock with more then one monitor connected to the > dock. In this case only 1 monitor will light up. Also see: > https://gitlab.freedesktop.org/drm/amd/issues/1052 > > The upstream kernel folks are working on a fix for this. In the mean time if > you are affected by this it is probably best to stick with a 5.5.x kernel > for now. Hi, I have the same issue and it was already not working in 5.5x. Now I have 5.6.8-300.fc32.x86_64, the issue remains: 2 screens over 3, when using MST. There are errors in journalctl: gnome-shell[4016]: Failed to post KMS update: Failed to set mode 1920x1080 on CRTC 93: No space left on device gnome-shell[4016]: Failed to post KMS update: Page flip of 93 failed, and no mode set available 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) T480s (with latest thunderbolt controller fw), Lenovo Thunderbolt docking 3 (with latest FW), 3 external U2419H dell screens. I tried Windows to go on the same setup using an external nvme m.2 ssd, I get the 3 screens.