Hey Folks 
My Solution:
Source:
GENERAL:
http://en.opensuse.org/SDB:Configuring_graphics_cards
https://wiki.archlinux.org/index.php/Multihead
http://www.maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T420s#Example_X.org-Configuration_using_Intel_and_NVIDIA_together
http://www.linuxfromscratch.org/blfs/view/svn/x/xorg-config.html
http://wiki.gentoo.org/wiki/Xorg.conf
NVIDIA:
ftp://download.nvidia.com/XFree86/Linux-x86/304.32/README/configtwinview.html
https://wiki.gentoo.org/wiki/Xorg/Configuration
ftp://download.nvidia.com/XFree86/Linux-x86/173.14.35/README/appendix-b.html
https://forums.geforce.com/default/topic/369385/geforce-drivers/failed-to-initialize-the-glx-module-can-39-t-init-glx-driver-on-fedoracore-6/
Multimonitor:
https://help.ubuntu.com/community/XineramaHowTo
http://www.x.org/archive/X11R6.8.2/doc/DESIGN2.html
http://forums.fedoraforum.org/showthread.php?t=207081
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-8756/README/appendix-p.html
http://forum.manjaro.org/index.php?topic=4489.0
http://wiki.manjaro.org/index.php?title=Configure_NVIDIA_%28non-free%29_settings_and_load_them_on_Startup
http://forums.gentoo.org/viewtopic-t-964098-start-0.html
EDID:
https://bbs.archlinux.org/viewtopic.php?id=101547
www.cyberwizzard.nl/site/blog-linux-gentoo-linux/147-debugging-nvidia-edid-resolutions.html
http://sathyasays.com/2008/10/26/how-to-tackle-screen-resolution-problems-in-linux/
xrandr
Output:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.0*+ 59.9 50.0 60.1 60.0 50.0
1680x1050 60.0
1600x1200 60.0
1440x900 75.0 59.9
1280x1024 75.0 60.0
1280x960 60.0
1280x800 59.8
1280x720 60.0 59.9 50.0
1152x864 75.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
720x576 50.0
720x480 59.9
640x480 75.0 72.8 59.9
zypper install VirtualGL primus
/sbin/lspci -nnk | grep VGA -A2
Output:
##-----
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200b [GeForce GTX 285] [10de:05e3] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:8320]
Kernel driver in use: nvidia
--
07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200b [GeForce GTX 285] [10de:05e3] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:8320]
Kernel driver in use: nvidia
08:00.0 VGA compatible controller [0300]: NVIDIA Corporation G92 [GeForce 9800 GTX] [10de:0612] (rev a2)
Subsystem: ZOTAC International (MCO) Ltd. Device [19da:1056]
Kernel driver in use: nvidia
##-----
#Run Nvidia
nvidia-xconfig as Root -> Generate /etc/X11/xorg.conf
nvidia-settings as Root -> Gernerate /etc/X11/xorg.conf (maybe merge?)
#in terminal as root
#Copy original
#copy section “ServerLayout” to 20-serverlayout.conf
cd /etc/X11/xorg.conf.d/
kwrite 20-serverlayout.conf
#1. TwinView Option
TwinVIew
##---------------------------------------------------------------------------------------------
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "Mouse0" "CorePointer"
Option "MultiGPU" "Auto"
Option "SLI" "Auto"
# Option "Xinerama" "1" #not 3D-Accelerrated
Option "TwinView" "1" #3D-Accelerrated
# Option "DynamicTwinView" "1"
# Option "AcpidSocketPath" "string"
# Option "ConnectToAcpid" "boolean"
EndSection
##---------------------------------------------------------------------------------------------
2. Mosic Option
Mosaic
##---------------------------------------------------------------------------------------------
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
##---------------------------------------------------------------------------------------------
kwrite 30-files.conf
##---------------------------------------------------------------------------------------------
Section "Files"
ModulePath "/usr/lib64/nvidia/xorg/modules/extensions/"
ModulePath "/usr/lib64/nvidia/"
ModulePath "/usr/lib64/xorg/modules/updates/extensions/"
ModulePath "/usr/lib64/xorg/modules/extensions"
ModulePath "/usr/lib64/xorg/modules"
EndSection
##---------------------------------------------------------------------------------------------
kwrite 31-modules.conf
##---------------------------------------------------------------------------------------------
Section "Module"
Load "record"
# Load "xtrap"
Load "type1"
Load "freetype"
Load "GLcore"
Load "glx"
Load "dbe"
Load "extmod"
EndSection
##---------------------------------------------------------------------------------------------
write 32-serverflags.conf
##---------------------------------------------------------------------------------------------
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
##---------------------------------------------------------------------------------------------
cp /etc/X11/xorg.conf.d/50-device.conf /etc/X11/xorg.conf.d/50-device.conf.Before-Nvidia-Xorg
kwrite 50-device.conf
##---------------------------------------------------------------------------------------------
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 285"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
# Option "UseEDIDDpi" "false"
Option "UseEdidFreqs" "true"
Option "DPI" "96 x 96"
Option "Coolbits" "1"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 285"
BusID "PCI:7:0:0"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
# Option "UseEDIDDpi" "false"
Option "UseEdidFreqs" "true"
Option "DPI" "96 x 96"
Option "Coolbits" "1"
EndSection
##---------------------------------------------------------------------------------------------
cp /etc/X11/xorg.conf.d/50-monitor.conf /etc/X11/xorg.conf.d/50-monitor.conf.Before-Nvidia-Xorg
kwrite 50-monitor.conf
##---------------------------------------------------------------------------------------------
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SMBX2231"
HorizSync 26.0 - 81.0
VertRefresh 48.0 - 75.0
Option "DPMS"
# Option "ModeDebug" "TRUE"
# Option "ModeValidation" "NoDFPNativeResolutionCheck”
EndSection
Section "Monitor"
# HorizSync source: unknown, VertRefresh source: unknown
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Samsung SMBX2231"
HorizSync 26.0 - 81.0
VertRefresh 48.0 - 75.0
Option "DPMS"
# Option "ModeDebug" "TRUE"
# Option "ModeValidation" "NoDFPNativeResolutionCheck”
EndSection
##---------------------------------------------------------------------------------------------
cp /etc/X11/xorg.conf.d/50-screen.conf /etc/X11/xorg.conf.d/50-screen.conf.Before-Nvidia-Xorg
kwrite 50-screen.conf
1. TwinView Option
TwinView
##---------------------------------------------------------------------------------------------
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
##---------------------------------------------------------------------------------------------
2. Mosic Option
Mosaic
##---------------------------------------------------------------------------------------------
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "GPU-941b4bb4-0600-872c-f01e-f0650d7fdd91.DVI-I-3: nvidia-auto-select +0+0, GPU-225e1dbd-15d3-7bff-ad7c-943c117a118b.DVI-I-3: nvidia-auto-select +1920+0"
Option "MultiGPU" "On"
Option "SLI" "On"
Option "BaseMosaic" "on"
SubSection "Display"
Depth 24
EndSubSection
EndSection
##---------------------------------------------------------------------------------------------
#copy section “Extensions” to 60-extensions.conf
kwrite 60-extensions.conf
1. Composite disabled
##---------------------------------------------------------------------------------------------
Section "Extensions"
Option "Composite" "Disable"
EndSection
##---------------------------------------------------------------------------------------------
2. Composite enabled
maybe that you better activate CompositeExtensions
Section "Extensions"
Option "Composite" "Enable"
EndSection
#add multiple lines 50-device.conf
kwrite 50-device.conf
##---------------------------------------------------------------------------------------------
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 285"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
# Option "UseEDIDDpi" "false"
Option "UseEdidFreqs" "true"
Option "DPI" "96 x 96"
Option "Coolbits" "1"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 285"
BusID "PCI:7:0:0"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
# Option "UseEDIDDpi" "false"
Option "UseEdidFreqs" "true"
Option "DPI" "96 x 96"
Option "Coolbits" "1"
EndSection
##---------------------------------------------------------------------------------------------
#add users to group “video” und “bumblebee”
usermod -a -G video $USER # $USER = all users, who work with the graphical interface
usermod -a -G bumblebee $USER
rename or delete xorg.conf
rm -r /etc/X11/xorg.conf
ll /etc/X11/
reboot
xrandr
Output:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected primary (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.0*+ 59.9 50.0 60.1 60.0 50.0
1680x1050 60.0
1600x1200 60.0
1440x900 75.0 59.9
1280x1024 75.0 60.0
1280x960 60.0
1280x800 59.8
1280x720 60.0 59.9 50.0
1152x864 75.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
720x576 50.0
720x480 59.9
640x480 75.0 72.8 59.9
#Screen 0 = DVI-I-3
For Bumblebee
!!NVIDIA GL Module have to be same Version as Drivers!!
glxinfo | egrep “(OpenGL vendor|OpenGL renderer|OpenGL version)”
#Output:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 285/PCIe/SSE2
OpenGL version string: 3.3.0 NVIDIA 319.32