Use dual GPU simultaneously

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Use dual GPU simultaneously

Postby mTUX on Sun Jan 05, 2014 1:45 pm

Hello there,

I have a multi-GPU desktop system: The IGD is an Intel integrated into the CPU (IvyBridge) and the PEG is Nvidia GT430. I can choose in the UEFI which one should be initialized, and both works nicely under Mint (16) 64 bit.
The IGD is powerful enough to complete my daily tasks, so it should be my default GPU. However, I want to do some GPU related calculations (CUDA, OpenCL) that should be done in the Nvidia. (nvidia-319-updates installed) Unfortunately doing such a thing renders my desktop quite laggy and unresponsive, so I want to run the desktop in the IGD and the same time use the PEG for calculations.
As far as I know CUDA should work without running any X server, but there should be one if I want to do some graphics stuff on it. (gaming for example)
Currently the desktop is running on the IGD and I am trying to open a secundary X server using the Nvidia without luck. I have attached the config file, but I have a feeling I am missing something.

New Xorg.conf:
Code: Select all
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      1  "ScreenNvidia" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/X11/misc"
   FontPath     "/usr/share/fonts/X11/cyrillic"
   FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/Type1"
   FontPath     "/usr/share/fonts/X11/100dpi"
   FontPath     "/usr/share/fonts/X11/75dpi"
   FontPath     "built-ins"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor2"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier "Nvidia GT430"
   Driver      "nvidia"
   BusID      "PCI:1:0:0"
   Option       "ConnectedMonitor"  "HDMI1"
   Option     "UseDiplayDevice"   "HDMI1"
EndSection


Section "Screen"
   Identifier "ScreenNvidia"
   Device     "Nvidia GT430"
   Monitor    "Monitor2"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
EndSection


Log:
Code: Select all
[  4062.423]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[  4062.423] X Protocol Version 11, Revision 0
[  4062.423] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[  4062.423] Current Operating System: Linux LittleInferno 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64
[  4062.423] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=9f1801d1-61f2-4624-96af-58de9aa45fc3 ro quiet splash vt.handoff=7
[  4062.423] Build Date: 15 October 2013  09:23:37AM
[  4062.423] xorg-server 2:1.14.3-3ubuntu2 (For technical support please see http://www.ubuntu.com/support)
[  4062.423] Current version of pixman: 0.30.2
[  4062.423]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  4062.423] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4062.423] (==) Log file: "/var/log/Xorg.2.log", Time: Sun Jan  5 17:45:59 2014
[  4062.423] (++) Using config file: "xorg.conf.new"
[  4062.424] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4062.424] (==) ServerLayout "X.org Configured"
[  4062.424] (**) |-->Screen "ScreenNvidia" (1)
[  4062.424] (**) |   |-->Monitor "Monitor2"
[  4062.424] (**) |   |-->Device "Nvidia GT430"
[  4062.424] (**) |-->Input Device "Mouse0"
[  4062.424] (**) |-->Input Device "Keyboard0"
[  4062.424] (==) Automatically adding devices
[  4062.424] (==) Automatically enabling devices
[  4062.424] (==) Automatically adding GPU devices
[  4062.424] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4062.424]    Entry deleted from font path.
[  4062.424] (**) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/Type1,
   built-ins,
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/Type1,
   built-ins
[  4062.424] (**) ModulePath set to "/usr/lib/xorg/modules"
[  4062.424] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  4062.424] (WW) Disabling Mouse0
[  4062.424] (WW) Disabling Keyboard0
[  4062.424] (II) Loader magic: 0x7ff6512cdd20
[  4062.424] (II) Module ABI versions:
[  4062.424]    X.Org ANSI C Emulation: 0.4
[  4062.424]    X.Org Video Driver: 14.1
[  4062.424]    X.Org XInput driver : 19.1
[  4062.424]    X.Org Server Extension : 7.0
[  4062.424] (II) xfree86: Adding drm device (/dev/dri/card1)
[  4062.424] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4062.424] setversion 1.4 failed
[  4062.424] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[  4062.425] (--) PCI:*(0:0:2:0) 8086:0152:1462:2111 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[  4062.425] (--) PCI: (0:1:0:0) 10de:0de1:1458:3505 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  4062.425] (II) Open ACPI successful (/var/run/acpid.socket)
[  4062.426] Initializing built-in extension Generic Event Extension
[  4062.426] Initializing built-in extension SHAPE
[  4062.426] Initializing built-in extension MIT-SHM
[  4062.426] Initializing built-in extension XInputExtension
[  4062.426] Initializing built-in extension XTEST
[  4062.426] Initializing built-in extension BIG-REQUESTS
[  4062.426] Initializing built-in extension SYNC
[  4062.426] Initializing built-in extension XKEYBOARD
[  4062.426] Initializing built-in extension XC-MISC
[  4062.426] Initializing built-in extension SECURITY
[  4062.426] Initializing built-in extension XINERAMA
[  4062.426] Initializing built-in extension XFIXES
[  4062.426] Initializing built-in extension RENDER
[  4062.426] Initializing built-in extension RANDR
[  4062.426] Initializing built-in extension COMPOSITE
[  4062.426] Initializing built-in extension DAMAGE
[  4062.426] Initializing built-in extension MIT-SCREEN-SAVER
[  4062.426] Initializing built-in extension DOUBLE-BUFFER
[  4062.426] Initializing built-in extension RECORD
[  4062.426] Initializing built-in extension DPMS
[  4062.426] Initializing built-in extension X-Resource
[  4062.426] Initializing built-in extension XVideo
[  4062.426] Initializing built-in extension XVideo-MotionCompensation
[  4062.426] Initializing built-in extension SELinux
[  4062.426] Initializing built-in extension XFree86-VidModeExtension
[  4062.426] Initializing built-in extension XFree86-DGA
[  4062.426] Initializing built-in extension XFree86-DRI
[  4062.426] Initializing built-in extension DRI2
[  4062.426] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  4062.426] (WW) "xmir" is not to be loaded by default. Skipping.
[  4062.426] (II) LoadModule: "glx"
[  4062.426] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4062.426] (II) Module glx: vendor="X.Org Foundation"
[  4062.426]    compiled for 1.14.3, module version = 1.0.0
[  4062.426]    ABI class: X.Org Server Extension, version 7.0
[  4062.426] (==) AIGLX enabled
[  4062.427] Loading extension GLX
[  4062.427] (II) LoadModule: "nvidia"
[  4062.427] (WW) Warning, couldn't open module nvidia
[  4062.427] (II) UnloadModule: "nvidia"
[  4062.427] (II) Unloading nvidia
[  4062.427] (EE) Failed to load module "nvidia" (module does not exist, 0)
[  4062.427] (==) Matched nvidia as autoconfigured driver 0
[  4062.427] (==) Matched nouveau as autoconfigured driver 1
[  4062.427] (==) Matched intel as autoconfigured driver 2
[  4062.427] (==) Matched vesa as autoconfigured driver 3
[  4062.427] (==) Matched modesetting as autoconfigured driver 4
[  4062.427] (==) Matched fbdev as autoconfigured driver 5
[  4062.427] (==) Assigned the driver to the xf86ConfigLayout
[  4062.427] (II) LoadModule: "nvidia"
[  4062.427] (WW) Warning, couldn't open module nvidia
[  4062.427] (II) UnloadModule: "nvidia"
[  4062.427] (II) Unloading nvidia
[  4062.427] (EE) Failed to load module "nvidia" (module does not exist, 0)
[  4062.427] (II) LoadModule: "nouveau"
[  4062.427] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  4062.427] (II) Module nouveau: vendor="X.Org Foundation"
[  4062.427]    compiled for 1.14.2.901, module version = 1.0.9
[  4062.427]    Module class: X.Org Video Driver
[  4062.427]    ABI class: X.Org Video Driver, version 14.1
[  4062.427] (II) LoadModule: "intel"
[  4062.427] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  4062.427] (II) Module intel: vendor="X.Org Foundation"
[  4062.427]    compiled for 1.14.3, module version = 2.99.904
[  4062.427]    Module class: X.Org Video Driver
[  4062.427]    ABI class: X.Org Video Driver, version 14.1
[  4062.427] (II) LoadModule: "vesa"
[  4062.427] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  4062.427] (II) Module vesa: vendor="X.Org Foundation"
[  4062.427]    compiled for 1.14.1, module version = 2.3.2
[  4062.427]    Module class: X.Org Video Driver
[  4062.427]    ABI class: X.Org Video Driver, version 14.1
[  4062.427] (II) LoadModule: "modesetting"
[  4062.428] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4062.428] (II) Module modesetting: vendor="X.Org Foundation"
[  4062.428]    compiled for 1.14.1, module version = 0.8.0
[  4062.428]    Module class: X.Org Video Driver
[  4062.428]    ABI class: X.Org Video Driver, version 14.1
[  4062.428] (II) LoadModule: "fbdev"
[  4062.428] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  4062.428] (II) Module fbdev: vendor="X.Org Foundation"
[  4062.428]    compiled for 1.14.1, module version = 0.4.3
[  4062.428]    Module class: X.Org Video Driver
[  4062.428]    ABI class: X.Org Video Driver, version 14.1
[  4062.428] (II) NOUVEAU driver Date:   Wed Jul 31 10:51:03 2013 +1000
[  4062.428] (II) NOUVEAU driver for NVIDIA chipset families :
[  4062.428]    RIVA TNT        (NV04)
[  4062.428]    RIVA TNT2       (NV05)
[  4062.428]    GeForce 256     (NV10)
[  4062.428]    GeForce 2       (NV11, NV15)
[  4062.428]    GeForce 4MX     (NV17, NV18)
[  4062.428]    GeForce 3       (NV20)
[  4062.428]    GeForce 4Ti     (NV25, NV28)
[  4062.428]    GeForce FX      (NV3x)
[  4062.428]    GeForce 6       (NV4x)
[  4062.428]    GeForce 7       (G7x)
[  4062.428]    GeForce 8       (G8x)
[  4062.428]    GeForce GTX 200 (NVA0)
[  4062.428]    GeForce GTX 400 (NVC0)
[  4062.428] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
   HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
   HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
   HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
   HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[  4062.429] (II) VESA: driver for VESA chipsets: vesa
[  4062.429] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  4062.429] (II) FBDEV: driver for framebuffer: fbdev
[  4062.429] (--) using VT number 7

[  4062.579] (EE) [drm] KMS not enabled
[  4062.579] (EE) [drm] KMS not enabled
[  4062.579] (EE) [drm] KMS not enabled
[  4062.579] vesa: Ignoring device with a bound kernel driver
[  4062.579] (WW) Falling back to old probe method for vesa
[  4062.579] (WW) Falling back to old probe method for modesetting
[  4062.579] (II) modesetting(2): using default device
[  4062.579] (II) Loading sub module "fbdevhw"
[  4062.579] (II) LoadModule: "fbdevhw"
[  4062.580] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  4062.580] (II) Module fbdevhw: vendor="X.Org Foundation"
[  4062.580]    compiled for 1.14.3, module version = 0.0.2
[  4062.580]    ABI class: X.Org Video Driver, version 14.1
[  4062.580] (**) FBDEV(3): claimed PCI slot 1@0:0:0
[  4062.580] (II) FBDEV(3): using default device
[  4062.580] (EE) Screen 0 deleted because of no matching config section.
[  4062.580] (II) UnloadModule: "vesa"
[  4062.580] (EE) Screen 0 deleted because of no matching config section.
[  4062.580] (II) UnloadModule: "modesetting"
[  4062.580] (EE)
Fatal server error:
[  4062.580] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  4062.580] (EE)
[  4062.580] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  4062.580] (EE) Please also check the log file at "/var/log/Xorg.2.log" for additional information.
[  4062.580] (EE)
[  4062.586] (EE) Server terminated with error (1). Closing log file.


Thank you for your help.
mTUX
Level 1
Level 1
 
Posts: 1
Joined: Sun Jan 05, 2014 1:10 pm

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: No registered users and 5 guests