3.34.4+: getting a white screen on 2nd monitor, optimus setup, wayland
Affected version
Mutter version where the bug is present: 3.34.4+ (between 3.34.3 and 2709a4ff according to the Debian packaging - 3.34.3...2709a4ff).
OS: Debian. I'm using Wayland, nouveau only, no nvidia driver.
Bug summary
When upgrading to 3.34.4 (here 2709a4ff) and above (including 3.36), I have my second screen fully white, but I'm able to see the mouse pointer on it.
The first screen (integrated one) show glitches and freezes during a few tens of secs. probably while trying to sync the other one before aborting.
I started a thread on Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956121), but now I'm quite convinced that this is coming from the upstream package.
I'm not experienced in debugging such graphic issues, so sorry in advance if I'm missing obvious details.
Steps to reproduce
- Upgrade to 3.34.4+
- gdm3 stop/start.
What happened
2nd display unusable: fully white, 1rst of get glitches every 5s or so.
What did you expect to happen
Ability to use my 2 monitors.
Relevant logs, screenshots, screencasts etc.
HW config:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro
K2000M] (rev a1)
Seeing such things when this is happening:
avril 10 11:46:25 dell-m4700 kernel: dmar_fault: 191660 callbacks suppressed
avril 10 11:46:25 dell-m4700 kernel: DMAR: DRHD: handling fault status reg 3
avril 10 11:46:25 dell-m4700 kernel: DMAR: [DMA Read] Request device
[01:00.0] PASID ffffffff fault addr fc01e000 [fault reason 06] PTE
Read access is not set
avril 10 11:46:25 dell-m4700 kernel: DMAR: DRHD: handling fault status reg 3
avril 10 11:46:25 dell-m4700 kernel: DMAR: [DMA Read] Request device
[01:00.0] PASID ffffffff fault addr fc045000 [fault reason 06] PTE
Read access is not set
avril 10 11:46:25 dell-m4700 kernel: DMAR: DRHD: handling fault status reg 3
avril 10 11:46:25 dell-m4700 kernel: DMAR: [DMA Read] Request device
[01:00.0] PASID ffffffff fault addr fc06a000 [fault reason 06] PTE
Read access is not set
avril 10 11:46:25 dell-m4700 kernel: DMAR: DRHD: handling fault status reg 3
01:00.0 is the nvidia chip here, where my 2nd screen is connected.
$ lspci | grep 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K2000M] (rev a1)
The wiring of my laptop (Dell M4700) GPU setup (optimus) makes it mandatory when you're using eDP outputs to use the nvidia chip.
$ sudo ls /sys/class/drm/card0/ | grep card
card0-LVDS-1
card0-VGA-1
$ sudo ls /sys/class/drm/card1/ | grep card
card1-DP-1
card1-DP-2
card1-DP-3
$ xrandr
Screen 0: minimum 16 x 16, current 5360 x 1665, maximum 32767 x 32767
XWAYLAND1 connected 1920x1080+3440+585 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 59.96*+
XWAYLAND2 connected 3440x1440+0+0 (normal left inverted right x axis y axis) 800mm x 340mm
3440x1440 59.94*+