Bug 372298 - Multihead inoperative on second screen
Summary: Multihead inoperative on second screen
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 17:27 UTC by Jonathan E. Snow
Modified: 2020-12-08 04:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan E. Snow 2016-11-10 17:27:16 UTC
On KDE Plasma 5, multihead displays do not work with my hardware (nvidia). The primary display (DVI-0) works, the secondary display (CRT-1) shows only a background and unintentional artifacts from the primary display, such as cursor artifacts. 

Similar to this bug: 
https://bugs.kde.org/show_bug.cgi?id=158850
But applies to Plasma 5.8.3 with qt 5.6.2

Reproducible: Always

Steps to Reproduce:
1.startx
 
Actual Results:  
2.KDE Plasma 5 starts on primary display, 
3. Secondary display shows only a desktop. Mouse can move between displays, but app windows cannot be displayed, and there is no kpanel. 

Expected Results:  
3. Second display should show a desktop, kpanel, and be able to host applicaiton windows.  

Nvidia settings detects displays correctly, as it did in KDE 4. 
DVI


XRandR shows the following: 

jesnow@Merckx ~ $ xrandr
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1024x768      75.03 +  70.07    60.00  
   1600x1200     65.00    60.00  
   1400x1050     74.76    59.98  
   1280x1024     75.02    60.02* 
   1280x960      60.00  
   1152x864      75.00  
   832x624       74.55  
   800x600       75.00    72.19    60.32    56.25  
   700x525       74.76    59.98  
   640x480       75.00    72.81    59.94  
   512x384       70.07    60.00  
   400x300       72.19  
   320x240       72.81    60.05  
HDMI-0 disconnected (normal left inverted right x axis y axis)

KDE system settings shows the same. 

jesnow@Merckx ~ $ emerge --info
Portage 2.3.0 (python 3.4.3-final-0, default/linux/x86/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.4.26-gentoo i686)
=================================================================
System uname: Linux-4.4.26-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.2
KiB Mem:    12461284 total,   4806628 free
KiB Swap:    3905532 total,   3905280 free
Timestamp of repository gentoo: Tue, 08 Nov 2016 19:45:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /home/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000

Merckx
    location: /home/portage/local
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA googleearth AdobeFlash-11.x dlj-1.1 skype-4.0.0.7-copyright"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4 -pipe -mcx16 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -msse4 -pipe -mcx16 -fomit-frame-pointer"
DISTDIR="/home/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/home/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/portage-tmp"
USE="X a52 aac acpi alsa arts berkdb bmp branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cpudetection cracklib crypt cups cxx dbus declarative dga divx4linux dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac flash foomatic fortran gd gdbm gif gimp gimpprint glamor gtk hpcups iconv icu ipv6 java jpeg jpeg2k jpg kde kipi lcms ldap libnotify mad mmx mng modules mov mp3 mp4 mpeg mplayer mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds print python qml qt3support qt4 qt5 readline real samba sane scanner sdl seccomp session smp snmp spell sql sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff tk truetype type1 udev udisks unicode usb vorbis wav webkit widgets win32codecs wmf wxwidgets x264 x86 xattr xcb xcomposite xinerama xml xmms xscreensaver xv xvid xvmc zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en de fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


jesnow@Merckx ~ $ equery list nvidia-drivers kde-plasma/* -f       
 * Searching for nvidia-drivers ...
[IP-] [  ] x11-drivers/nvidia-drivers-361.28:0/361

 * Searching for kde-plasma/* ...
[IP-] [  ] kde-plasma/breeze-5.8.3:5
[IP-] [  ] kde-plasma/breeze-gtk-5.8.3:5
[IP-] [  ] kde-plasma/kactivitymanagerd-5.8.3:5
[IP-] [  ] kde-plasma/kde-cli-tools-5.8.3:5
[IP-] [  ] kde-plasma/kde-gtk-config-5.8.3:5
[IP-] [  ] kde-plasma/kdecoration-5.8.3:5
[IP-] [  ] kde-plasma/kdeplasma-addons-5.8.3:5
[IP-] [  ] kde-plasma/kgamma-5.8.3:5
[IP-] [  ] kde-plasma/khotkeys-5.8.3:5
[IP-] [  ] kde-plasma/kinfocenter-5.8.3:5
[IP-] [  ] kde-plasma/kmenuedit-5.8.3:5
[IP-] [  ] kde-plasma/kscreen-5.8.3:5
[IP-] [  ] kde-plasma/kscreenlocker-5.8.3:5
[IP-] [  ] kde-plasma/ksshaskpass-5.8.3:5
[IP-] [  ] kde-plasma/ksysguard-5.8.3:5
[IP-] [  ] kde-plasma/kwallet-pam-5.8.3:5
[IP-] [  ] kde-plasma/kwayland-integration-5.8.3:5
[IP-] [  ] kde-plasma/kwin-5.8.3:5
[IP-] [  ] kde-plasma/kwrited-5.8.3:5
[IP-] [  ] kde-plasma/libkscreen-5.8.3:5/7
[IP-] [  ] kde-plasma/libksysguard-5.8.3:5
[IP-] [  ] kde-plasma/milou-5.8.3:5
[IP-] [  ] kde-plasma/oxygen-5.8.3:5
[IP-] [  ] kde-plasma/plasma-desktop-5.8.3:5
[IP-] [  ] kde-plasma/plasma-integration-5.8.3:5
[IP-] [  ] kde-plasma/plasma-meta-5.8.3:5
[IP-] [  ] kde-plasma/plasma-workspace-5.8.3:5
[IP-] [  ] kde-plasma/plasma-workspace-wallpapers-5.8.3:5
[IP-] [  ] kde-plasma/polkit-kde-agent-5.8.3:5
[IP-] [  ] kde-plasma/powerdevil-5.8.3:5
[IP-] [  ] kde-plasma/sddm-kcm-5.8.3:5
[IP-] [  ] kde-plasma/systemsettings-5.8.3:5
[IP-] [  ] kde-plasma/user-manager-5.8.3:5
jesnow@Merckx ~ $ 

jesnow@Merckx ~ $ equery list qtcore
 * Searching for qtcore ...
[IP-] [  ] dev-qt/qtcore-4.8.6-r2:4
[IP-] [  ] dev-qt/qtcore-5.6.2:5/5.6

Here is the relevant section of Xorg.0.log. Looks as if X is properly configured, as I have one DVI (DFP-0) and one VGA (CRT-1) connected (that's the plugs I got on the back). 

Code:

[  2629.203] (II) Module "ramdac" already built-in 
[  2629.203] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 
[  2629.203] (==) NVIDIA(0): RGB weight 888 
[  2629.203] (==) NVIDIA(0): Default visual is TrueColor 
[  2629.203] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) 
[  2629.203] (**) NVIDIA(0): Enabling 2D acceleration 
[  2629.792] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0 
[  2629.792] (--) NVIDIA(0):     CRT-0 
[  2629.792] (--) NVIDIA(0):     CRT-1 
[  2629.792] (--) NVIDIA(0):     DFP-0 (boot) 
[  2629.792] (--) NVIDIA(0):     DFP-1 
[  2629.807] (--) NVIDIA(0): CRT-0: disconnected 
[  2629.807] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock 
[  2629.807] (--) NVIDIA(0): 
[  2629.836] (--) NVIDIA(0): ViewSonic VG910s (CRT-1): connected 
[  2629.836] (--) NVIDIA(0): ViewSonic VG910s (CRT-1): 400.0 MHz maximum pixel clock 
[  2629.836] (--) NVIDIA(0): 
[  2629.866] (--) NVIDIA(0): ViewSonic VG910s (DFP-0): connected 
[  2629.866] (--) NVIDIA(0): ViewSonic VG910s (DFP-0): Internal TMDS 
[  2629.866] (--) NVIDIA(0): ViewSonic VG910s (DFP-0): 330.0 MHz maximum pixel clock 
[  2629.866] (--) NVIDIA(0): 
[  2629.866] (--) NVIDIA(0): DFP-1: disconnected 
[  2629.866] (--) NVIDIA(0): DFP-1: Internal TMDS 
[  2629.866] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock 
[  2629.866] (--) NVIDIA(0): 
[  2629.866] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
Comment 1 Jonathan E. Snow 2016-11-10 18:46:17 UTC
deleting xorg.conf and letting it use xinerama mode works around the problem. 
Multihead is still broke. 

xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009

# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#
# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of 
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
#Section "InputDevice"
#    Identifier	"Keyboard1"
#    Driver	"kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
#    Option     "Protocol"      "Xqueue"
#    Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"
# These are the default XKB settings for Xorg
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""
#    Option "XkbDisable"
#    Option "XkbModel"	"pc104"
#    Option "XkbLayout"	"us"
#EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
#Section "InputDevice"
## Identifier and driver
#    Identifier	"Mouse1"
#    Driver	"mouse"
#    Option "Protocol"    "Auto"
#    Option "Device"      "/dev/input/mouse0"
#    Option "Buttons" "5"
#:wq
#Option "ZAxisMapping" "4 5"
# Mouse-speed setting for PS/2 mouse.
#    Option "Resolution"	"256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
#    Option "Protocol"	"Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
# ChordMiddle is an option for some 3-button Logitech mice
#    Option "ChordMiddle"
#EndSection
# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
#Section "Device"
#    Identifier	"Standard VGA"
#    VendorName	"Unknown"
#    BoardName	"Unknown"
# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.
#    Chipset	"generic"
# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
#    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.
#    BusID      "PCI:0:10:0"
#    VideoRam	256
#    Clocks	25.2 28.3
#EndSection
# Device configured by xorgconfig:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
# Section "DRI"
#    Mode 0666
# EndSection

Section "ServerLayout"

# The Identifier line must be present
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.
#	Bizarre that I had to reverse these when I migrated to xorg 1.5.3
#	And then I had to switch them back!
#	Screen "Screen2"
#	Screen "Screen1" Rightof "Screen2"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
    Identifier     "Simple Layout"
    Screen         "Screen1" 0 0
    Screen         "Screen2" RightOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 
#    FontPath   "/usr/share/fonts/CID/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"
# The module search path.  The default path is shown here.
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/local/"
EndSection

Section "Module"

# This loads the DBE extension module.
#    Load        "dbe"  	# Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
#    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection
# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
#    Load        "freetype"
#    Load        "xtt"
# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
    # Load       "dri"
    Load           "glx"
EndSection

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#    Option "NoTrapSignals"
# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.
# This allows clients to receive this key event.
# sequences.  This allows clients to receive these key events.
#    Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
#    Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client. 
#    Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 
#    Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
#    Option "AllowNonLocalModInDev"
#     Option "Xinerama" "True"
#     Option "AllowEmptyInput"		"false"
    Option         "DontVTSwitch" "False"
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    Option         "DontZap" "False"
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    Identifier     "Viewsonic-VG910s"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Viewsonic-VG910s1"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
EndSection

Section "Device"
    Identifier     "msi-nx6800-ultra"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "msi-nx6800-ultra1"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

#    Subsection "Display"
#        Depth       8
#        Modes       "1280x1024" "1024x768" "800x600" "640x480"
#        ViewPort    0 0
#    EndSubsection
#    Subsection "Display"
#        Depth       16
#        Modes       "1280x1024" "1024x768" "800x600" "640x480"
#        ViewPort    0 0
#    EndSubsection
    Identifier     "Screen1"
    Device         "msi-nx6800-ultra"
    Monitor        "Viewsonic-VG910s"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "msi-nx6800-ultra1"
    Monitor        "Viewsonic-VG910s1"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection
Comment 2 Christoph Feck 2016-11-11 14:57:53 UTC
If 'xrandr' does not show the second screen, there is nothing Plasma developers can do, as the configuration that is reported by xrandr is used by Plasma.

Please ask at nvidia forums how to solve this issue.
Comment 3 Justin Zobel 2020-11-08 07:31:58 UTC
Thanks for the report Jonathan. 

I've tested this on my current setup but cannot reproduce.

Can you please confirm if this issue still persists for you or if this bug report can now be resolved, thanks.
Comment 4 Bug Janitor Service 2020-11-23 04:34:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-08 04:34:29 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!