[LIVE] Dual nvidia 9600GT
#1
Hello, i'am trying to migrate from windows MCE 2005 to XBMC. Smile

Have a little problem thou:

HTPC is connected to Plasma (13666x768) and Projector (1280x720).
Both have HDMI connection and are connected with Nvidia 9600GT's.

In windows I use Ultramon to switch between the plasma and projector.
(Both pixelmapped)

problem 1:
XBMC won't even start with two graphic cards.
Can this be done and how?
problem 2:
How to switch between the two graphic cards if i can get it started?

Ps. the reason for two graphic card is that i want HDMI on both and
in windows this is the only way to get both pixelmapped.

Some help please..:o
Reply
#2
For number one you need to post a debug log to see why startup fails.

Regarding number two: I switch between two xorg.conf files with a script that force overwrites a symlink from /etc/X11/xorg.conf to /etc/X11/xorg.conf.MONITOR/BEAMER respectively - with those xorg.conf files being set for the used display while deactivating the other output. I activate the script with irexec bound to a remote control button. You will probably have more luck in the ubuntu forums or some linux forum on how to setup your xorg.conf correctly for dual-graphic card stuff.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
Thanks Clumsy.

When i get it started the script with the xorg.conf sounds nice.Smile

Here is my log:



Code:
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux XBMCLive 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Build Date: 09 April 2009  02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 ([email protected])
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 29 17:40:08 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    Entry deleted from font path.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
    Entry deleted from font path.
(==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x3bc0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(!!) More than one possible primary device found
(--) PCI: (0@1:0:0) nVidia Corporation GeForce 9500 GT rev 161, Mem @ 0xea000000/16777216, 0xc0000000/268435456, 0xe8000000/33554432, I/O @ 0x0000a000/128, BIOS @ 0x????????/524288
(--) PCI: (0@2:0:0) nVidia Corporation GeForce 9500 GT rev 161, Mem @ 0xe6000000/16777216, 0xd0000000/268435456, 0xe4000000/33554432, I/O @ 0x0000b000/128, BIOS @ 0x????????/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  180.44  Mon Mar 23 15:29:02 PST 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  180.44  Mon Mar 23 15:05:32 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is:
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

ddxSigGiveUp: Closing log

Got it to start with my very limited Linux knowlage.
Added one more card under Device in xorg.conf...

So Clumsy if you want to share your script, your welcome. :o)
Reply
#4
Ok, i have done a script that can switch between the beemer and the plasma.
(if i start a terminal with ctrl-alt-f1)

But how do I execute it from within XBMC with a keybord button (F1) ?

this is my script:

Code:
#!/bin/sh
# Shell script used to toggle between two xorg_conf files.
# The script will store information inside the $TOGGLE_CONF
# file (toggle.conf).

cd /etc/X11

# constants
TOGGLE_CONF="toggle.conf"
CONF="xorg.conf"
CONF_PLAS="xorg.conf_plas"
CONF_PROJ="xorg.conf_proj"
CONF_DEF=$CONF_PLAS

# store new config file name
FILE=""

# set the given config file
setConfigFile() {
    FILE="$@" # get all args
    
        # stop xbmc
        echo "Stopping XBMC"
        pkill xbmc
        sleep 4

    # set the new config file
    echo "Setting $FILE as config"
    rm -f $CONF
    ln -s $FILE $CONF
    
    # save the name of the new config
    echo "Saving $FILE to $CONF"
    echo $FILE > $TOGGLE_CONF

        # start xbmc
        xinit /usr/bin/xbmc --standalone --no-test
}

# make shure the togglescript config file exist
if [ ! -f $TOGGLE_CONF ]; then
    echo "Setting default"
    setConfigFile $CONF_DEF
else
    # read the togglescript config
    while read LINE; do
        # switch to the correct config
        if [ $LINE == $CONF_PLAS ]; then
            setConfigFile $CONF_PROJ
        else
            setConfigFile $CONF_PLAS
        fi
        #exit 0
    done < $TOGGLE_CONF
fi

#exit 0
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Dual nvidia 9600GT0