X with nouveau driver, 2 nvidia cards, 4 monitors, does not use all monitors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-nouveau (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Ubuntu 16.04 with two identical nvidia cards and four identical LG monitors. At the graphical login screen only the first 3 monitors appear alive (i.e. have backgrounds and the mouse can move to them). A pop-up appears:
"Could not switch the monitor configuration" (bold text with do-not-enter icon)
"could not set the configuration for CRTC 64" (normal text)
After logging in (gnome flashback Metacity session) the same 3 monitors are alive and the same pop-up appears.
Using Applications > System Tools > System Settings > Displays,
the 4th monitor is shown in grey and when clicking it, it shows that the slider is off. When turning it to On (leaving default resolution and rotation) and clicking Apply
"The selected configuration for displays could not be applied" (bold text with do-not-enter icon)
"could not set the configuration for CRTC 64" (normal text)
a few seconds later (if the first one is not closed) another pop up with do-not-enter icon:
"Failed to apply configuration: %s"
"Timeout was reached"
or trying again, if the first pop-up is closed within a few seconds, the second one is
"Failed to apply configuration: %s"
"GDBus.
...and the Displays GUI makes it look like the 4th monitor is enabled but it is still blank.
At the time of doing this, /var/log/Xorg.0.log shows:
[ 96283.251] resize called 7680 1080
[ 96283.299] Cannot do multiple crtcs without X server dirty tracking 2 interface
[ 96283.299] randr: failed to set shadow slave pixmap
[ 96283.300] (EE) NOUVEAU(G0): failed to set mode: No space left on device
I have also tried this with xrandr command line:
$ xrandr --output DVI-I-1-4 --right-of DVI-I-1-3 --auto
xrandr: Configure crtc 3 failed
...and the Xorg.0.log at this time is almost the same as above, plus the (I guess) fall back resizing to 3 monitors (5760x1080):
[ 96645.224] Cannot do multiple crtcs without X server dirty tracking 2 interface
[ 96645.224] randr: failed to set shadow slave pixmap
[ 96645.224] (EE) NOUVEAU(G0): failed to set mode: No space left on device
[ 96645.227] resize called 0 0
[ 96645.227] -22
[ 96645.228] resize called 0 0
[ 96645.228] -22
[ 96645.229] resize called 7680 1080
[ 96645.281] resize called 5760 1080
I have previously tried to get around this with /etc/X11/xorg.conf with various Xinerama or ZaphodHeads settings but at the moment (of starting this "ubuntu-bug xserver-xorg-core" report) I have no xorg.conf and no ~/.config/
The 2-connector video cards to all four monitors are connected with DVI cables. The monitors are LG E2240TI, the video cards are (lspci):
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
02:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-core 2:1.18.3-1ubuntu2.2
ProcVersionSign
Uname: Linux 4.4.0-28-generic x86_64
.tmp.unity_
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: GNOME-Flashback
Date: Wed Jun 29 12:21:13 2016
DistUpgraded: 2016-06-23 10:16:50,641 DEBUG Running PostInstallScript: './xorg_
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
virtualbox, 5.0.18, 4.4.0-24-generic, x86_64: installed
virtualbox, 5.0.18, 4.4.0-28-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ZOTAC International (MCO) Ltd. GF114 [GeForce GTX 560 Ti] [19da:1665]
NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ZOTAC International (MCO) Ltd. GF114 [GeForce GTX 560 Ti] [19da:1665]
InstallationDate: Installed on 2015-11-12 (229 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg-server
UpgradeStatus: Upgraded to xenial on 2016-06-23 (6 days ago)
dmi.bios.date: 02/11/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1305
dmi.board.
dmi.board.name: SABERTOOTH P67
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Tue Jun 28 09:54:28 2016
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.18.3-1ubuntu2.2
xserver.
Changed in xserver-xorg-video-nouveau (Ubuntu): | |
importance: | Undecided → Medium |
This Fedora bug https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1307204 looks to me to be the same issue, and says that the cause is
'The problem is that xorg 1.17 or 1.18 replaced "HAS_DIRTYTRACK ING2" with "HAS_DIRTYTRACK ING_ROTATION" in pixmap.h and the old version of xf86-video-ati still looks for HAS_DIRTYTRACKING2. The newest version of xf86-video-ati looks for either: HAS_DIRTYTRACKI NG_ROTATION) && !defined( HAS_DIRTYTRACKI NG2)'
#if !defined(
and it appears to have patches for both ati and nouveau drivers. But I can't tell if that is a fedora-only patch or an upstream patch that can be brought to Ubuntu (or will eventually be brought in the normal course of version advances). Of course I am not an X expert so that fedora bug could be subtly different and thus not the same fix.