MS-Accelerator V2 Failure to create a DirectX 9 device

Hi~I run a sample of Microsoft Accelerator V2 on my computer. when I run an applications using
DX9Targets in visual studio 2012, a error shown up: Failure to create a DirectX 9 device. There are two graphics card in my computer,one is Intel HD graphics 4600, other one is NVIDIA GeForce
GTX 765M. Thanks a lot!
using System;
using Microsoft.ParallelArrays;
using FPA = Microsoft.ParallelArrays.FloatParallelArray;
using PA = Microsoft.ParallelArrays.ParallelArrays;
namespace AddArrays
class Program
static void Main(string[] args)
int arrayLength = 100;
Random ranf = new Random();
float[] inputArray1 = new float[arrayLength];
float[] inputArray2 = new float[arrayLength];
float[] stackedArray = new float[arrayLength];
// [1]
DX9Target evalTarget = new DX9Target();
// [2]
for (int i = 0; i < arrayLength; i++)
inputArray1[i] = (float)(Math.Sin((double)i / 10.0)
+ ranf.NextDouble() / 5.0);
inputArray2[i] = (float)(Math.Sin((double)i / 10.0)
+ ranf.NextDouble() / 5.0);
// [3]
FPA fpInput1 = new FPA(inputArray1);
FPA fpInput2 = new FPA(inputArray2);
// [4]
FPA fpStacked = PA.Add(fpInput1, fpInput2);
FPA fpOutput = PA.Divide(fpStacked, 2);
// [5]
stackedArray = evalTarget.ToArray1D(fpOutput);
// [6]
for (int i = 0; i < arrayLength; i++)
Console.WriteLine(stackedArray[i].ToString());

Hello,
I'd ask in the
Direct X forums on the Xbox Developer forums.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • Failure: Error creating DaemonSession thread

    Hi All,
    I am getting failure: Error creating DaemonSession thread errior when I start the web-server instance as follows
    bash-3.00$ ./start
    Sun ONE Web Server 6.1SP2 B04/07/2004 17:28
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1.05] from [Hewle
    tt-Packard Company]
    info: WEB0100: Loading web module in virtual server [https-myWebServer] at [/sea
    rch]
    info: HTTP3072: [LS ls1] http://hpux-lab:8000 ready to accept requests
    failure: Error creating DaemonSession thread
    startup: server started successfully
    bash-3.00$
    Please reply with a solution

    This was related to kernel level settings
    The attribute max_thread_proc was set to 64 which was not enough. So increase that to 2048 and the Web-Server Instance wil start.

  • LIBTUX_CAT:681: ERROR: Failure to create message queue

    I am getting the following error while starting PeopleSoft Application server for demo data base on Oracle Enterprise Linux 5.5 64 bit.
    Can someone please help me what am I doing wrong here?
    075417.localhost.localdomain!PSANALYTICSRV.4065.3909714272.0: LIBTUX_CAT:262: INFO: Standard main starting
    075418.localhost.localdomain!PSRENSRV.4072.491399232.-2: 11-19-2010: Tuxedo Version 10.3.0.0, 64-bit
    075418.localhost.localdomain!PSRENSRV.4072.491399232.-2: LIBTUX_CAT:681: ERROR: Failure to create message queue
    075418.localhost.localdomain!PSRENSRV.4072.491399232.-2: LIBTUX_CAT:248: ERROR: System init function failed, Uunixerr = : msgget: No such file or directory
    075418.localhost.localdomain!tmboot.4023.3569636960.-2: CMDTUX_CAT:825: ERROR: Process PSRENSRV at localhost.localdomain failed with /T tperrno (TPEOS - operating system error)
    075418.localhost.localdomain!tmboot.4023.3569636960.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    075422.localhost.localdomain!BBL.4020.2558671968.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    075425.localhost.localdomain!PSADMIN.4014: End boot attempt on domain fdmo91

    Never mind, I changed the kernel.msgmni to 1024, rebooted the server and then it started just fine.

  • Failed to create Directx device

    I am running Windows 7 Home Premium 64-bit on a Vaio laptop and occasionally I get "Critical Error, Failed to create Directx device" if I leave an unbfinished game of Freecell open. I always get a Devicex error when my system dose a checkup. How do I fix
    this error?

    Hi,
    Please go the manufacturer official website to download and install the latest graphic card driver for Windows 7.
    In addition, uou may refer to:
    Critical error "failed to create directx device"
    http://answers.microsoft.com/en-us/windows/forum/windows_other-gaming/critical-error-failed-to-create-directx-device/a2061d79-eec4-4363-bc65-83fb1b0adb12
    Hope this helps.
    Vincent Wang
    TechNet Community Support

  • Failure in creating a dynamic structure

    Hi Guys,
    i get a strange failure while creating a structure from components.
    lr_out_tab ?= cl_abap_tabledescr=>describe_by_data( it_outtab ).
    lr_out_struc ?= lr_out_tab->get_table_line_type( ).
    lt_out_comp  = lr_out_struc->get_components( ).
    lr_new_struc  = cl_abap_structdescr=>create( lt_out_comp ). <-- cx_sy_struct_comp_name exception
    I get this failure, when i have component-names like xxx-yyyy. Does somebody have an idea how to slove this.
    Greetings
    André

    Hello Andre,
    You're getting the error message because the param P_STRICT of the method CREATE( ) is set to TRUE(by default).
    If you set the creation mode as "strict"(P_STRICT = CL_ABAP_STRUCTDESCR=>TRUE), no special characters are allowed in the column names! Since your component names contain a '-' you're getting the exception CX_SY_STRUCT_COMP_NAME.
    If you set the creation mode as "non-strict"(P_STRICT = CL_ABAP_STRUCTDESCR=>FALSE), following spl. characters are allowed:
    #$%&*-/;<=>?@^{ | }
    So in your call you need to set the "non-strict" mode while creating the dynamic structure:
    *   Get the Dynamic structure definition
        TRY.
            lo_structdescr =
              cl_abap_structdescr=>create(
                  p_components = lt_struc_comp
                  p_strict     = cl_abap_structdescr=>false ).
          CATCH cx_sy_struct_creation .                     "#EC NO_HANDLER
        ENDTRY.
    Hope i'm clear.
    BR,
    Suhas
    PS: Check the source code of CREATE( ) if you want to validate

  • CIFS accelerator keepalive failure

    Software Release 4.4.5
    WAVE-294-K9
    Alert:
    cceAlarmHistModuleId= 1000  cceAlarmHistCategory= 3  cceAlarmHistInfo= Raise-Alarm: CIFS accelerator keepalive failure.   cceAlarmHistTimeStamp= 3539553200
    I got the following alert.
    Does anyone know where I can find the log files or the CIFs accelerator keepalive failure counter?
    I wanted to know the best way to clear the counter statistics and make sure that if this hits up again I can at least get a better
    idea of how frequent it is happening.
    I ran the following command and was curious if the "sessions timeout" is related to this keepalive failure?
    show statistics accelerator cifs detail
    CIFS:
    Global Statistics
    Time Accelerator was started: Wed Sep 25 08:51:51 2013
    Time Statistics were Last Reset/Cleared: Wed Sep 25 08:51:51 2013
    Total Handled Connections: 15293
    Total Optimized Connections: 166
    Total Connections Handed-off with Compression Policies Unchanged: 13638
    Total Dropped Connections: 0
    Current Active Connections: 0
    Current Pending Connections: 0
    Maximum Active Connections: 9
    Number of local reply generating requests: 166596
    Number of remote reply generating requests: 217438
    The Average time to generate a local reply (msec): 4
    Average time to receive remote reply (ms): 92
    Policy Engine Statistics
    Session timeouts: 13, Total timeouts: 121
    Last keepalive received 00.0 Secs ago
    Last registration occurred 19:03:18:36.6 Days:Hours:Mins:Secs ago
    Hits: 1218122, Update Released: 142074
    Active Connections: 18, Completed Connections: 821832
    Drops: 0, Pre-Resource Counter: 0
    Rejected Connection Counts Due To: (Total: 254198)
    Not Registered : 3, Keepalive Timeout : 65
    No License : 0, Load Level : 0
    Connection Limit : 0, Rate Limit : 0
    Minimum TFO : 254130, Resource Manager : 0
    Global Config : 0, TFO Limit : 0
    Server-Side : 0, DM Deny : 0
    No DM Accept : 0
    Auto-Discovery Statistics
    Total Connections queued for accept: 487511
    Connections queuing failures: 0
    Socket pairs queued for accept: 487511
    Socket pairs queuing failures: 0
    AO discovery successful: 741192
    AO discovery failure: 6

    Hi,
    The accelerator is failing to perform a wellness update within the allotted time. That is
    why we see keepalive failures. The implications are that some connections may not be
    getting optimized properly by the AO, and thus optimization performance may be reduced.
    I don't think there is any counter for number of keep alive failure messages you get but you can
    see if Keepalive Timeout counter is increasing.
    You can find this counter under "policy engine statistics".
    Keepalive Timeout : 65--->You can check if this value is increasing during the time you get this message.
    Regards,
    Kanwal

  • Satellite M115-S3094: Error message - Can't create a D3D device

    Hi,
    I accidently deleted a graphics card driver but managed to get it back, but before i deleted it i used to play the game pkr (3d poker) but now when i load it, it comes up with an error saying "Could not initialize client - Can't create a D3D device - -2005530516, -".
    Also all my folders on my desktop don't appear. The only way i can get this up on screen is by pressing the keys ctrl + alt and delete and then typing in desktop.
    All this started to happen when i tried to connect my laptop to the television.
    I am using Windows XP media center. It's a a Toshiba Satellite M115-s3094.
    Can anyone please help as it's driving me mad as i am very close to smashing the laptop in frustration.
    I don't know the driver its using as all it says is unknown. If anyone can help or even give me an idea on how to fix this then i would be very grateful.
    Cheers for your time.

    Hi
    Sounds a little bit like the Direct3D were not enabled in you graphic settings.
    Please start the DirectX using the command dxdiag and enable all 3D settings.
    Furthermore it would be advisable to remove the installed 3D poker game and then to reinstall it again. This should help to reconfigure the game graphic settings which are necessary to run the game properly.
    Good luck

  • I have three Blue Yeti USB Microphones, and when I try to create an aggregate device in Audio MIDI on my MBP it lets me select two microphones but not the third. I need all three for a podcast, any solutions?

    I have three Blue Yeti USB Microphones, and when I try to create an aggregate device in Audio MIDI on my MBP it lets me select two microphones but not the third. At first I thought maybe the third microphone was just defected or something but I tested the mic individually and it works fine. It'll let me use two Blue Yeti's and another microphone but not three Yeti's at once.

    David Boroditsky wrote:
    The problem is that the mac chokes on having 2 identical mics attached at the same time.
    Ive had 2 identical USB AT2020 mics connected at the same time on both macbook pro and macbook Air.
    The "Yeti" mics, are, lets say undesirable, and low to mid computer consumer mics.

  • While creating SAP ISU Device category i got one error message like The material 5 does not exist or is not activated Message no. M3305

    while creating SAP ISU Device category EG01 .i got one error message like The material 5 does not exist or is not activated Message no. M3305

    I don't know EG01 transaction, but if SAP says "material 5 does not exist " then SAP is usually right.
    Can you give an evidence that material 5 exists? e.g. screenshot from  SE16 at table MARA, MARC and MAST

  • I recently installed a new hard drive in a MacBook 2007 and then 10.6.3. I'd like to be able to Sync iCal to the calendars I have created on other devices (new iCloud account and an ME account). I can't upgrade to 10.7 or 10.8 because the MacBook is 32bit

    I recently installed a new hard drive in a MacBook 2007 and then 10.6.3. I'd like to be able to Sync iCal to the calendars I have created on other devices (new iCloud account and an ME account). I can't upgrade to 10.7 or 10.8 because the MacBook is 32 bit. Just looking for a workaround as this is not a primary device.

    You should update to the latest version of Snow Leopard, 10.6.8 - you can download it here; however it's still not compatible with iCloud and though you can connect to access your email you cannot access any other of iCloud's facilities.
    However some people have been able to set up calendar syncing by using the method detailed here - this is an unsupported hack and may not be reliable, and may stop working at some future point. I've not tried it: use at your own discretion.
    To access the email:
    Entering iCloud email settings manually in Snow Leopard or Leopard
    Are you sure you can't upgrade to Lion? It requires an Intel Core 2 Duo processor, which you may well have, though it also needs 2GB RAM so you might need to add additional RAM (might not be worth it for what you want). The published specs don't mention 32 or 64 bit. You can buy Lion by ringing the Apple Store at the number at bottom left of this page.

  • Create button in Device Configuration

    Hi ALL
    We are not getting the Create, Delete, Copy button in Device Configurations in Mobile Administrator web Console.
    Any idea how to get the missing buttons?
    Regards
    Manish

    Hello Manish,
    Are you using SAP MI Web console, if so, then with device configurations you can configure mobile devices without being able to access them directly.
    1.Start transaction DEVICE_CONFIG.
    2.Enter a name for the new device configuration and choose Create.
    Note : Device configurations should not have the same name as a mobile component.
    3.On the Monitoring Functions tab, enter the required monitoring configurations.
    4. On the Assignments tab, enter the role you want to assign to the device configuration and thus to the monitoring functions.
    If you want to assign the device templates to individual devices or users instead, you can do so in the SAP MI Web Console. In this case, please refer to below help link -
    http://help.sap.com/SAPhelp_nw04/helpdata/en/83/36de50f796484bb8d9d8a4db850ac7/frameset.htm
    Thanks and Regards,
    Ruchi.

  • Error when creating new logical device in DOE

    Hi,
          This is the error i'm getting when i tried to create a new device in DOE
    The following error text was processed in the system MI1 : CREATE DATA: The specified type is not a valid data type.
    The error occurred on the application server sapv-nwmi710_MI1_00 and in the work process 6 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_USERS_FROM_CDS of program CL_SMMW_USER==================CP
    Method: ONACTIONCREATE of program /1BCWDY/0O2TL8AJU0NGE3T9LDTT==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/0O2TL8AJU0NGE3T9LDTT==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
    please help me solve this.
    Regards,
    Bala

    Hi,
    Check whether all SAP BASIS data objects are active and generated properly.
    Do an initial download for USER DETAILS and USER AUTHORIZATION data objects.
    For more details check the initial configuration guide of Mobile 7.1
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/45/17a790d8000064e10000000a1553f7/frameset.htm
    Regards,
    Dhana
    Edited by: Dhanasekhar Karuppanan on Aug 24, 2009 4:52 PM
    Edited by: Dhanasekhar Karuppanan on Aug 24, 2009 4:53 PM

  • Unable to create Sybase master device

    Hello,
    Before starting Sybase install, I have created two raw devices c0t0d0s3 & c0t0d0s4.
    Then I did:
    chown sybase:staff /dev/rdsk/c0t0d0s3
    chown sybase:staff /dev/rdsk/c0t0d0s4
    Sybase install errors off while creating master device:
    kernel Checked out license ASE_DEV
    kernel Adaptive Server Enterprise Developer Edition
    kernel basis_dsizecheck: attempt to open device '/dev/rdsk/c0t0d0s3' failed, system error is: Device busy
    kernel kistartup: Unable to create master device
    I have investigated who holds the device:
    # fuser /dev/rdsk/c0t0d0s3
    /dev/rdsk/c0t0d0s3: 443o
    # ps -ef | grep 443
    root 1276 1274 0 13:22:27 pts/3 0:00 grep 443
    root 443 1 0 mar 05 ? 0:00 /usr/sbin/vold
    Why does vold prohibit Sybase to establish the master device ?

    Hello,
    Before starting Sybase install, I have created two raw devices c0t0d0s3 & c0t0d0s4.
    Then I did:
    chown sybase:staff /dev/rdsk/c0t0d0s3
    chown sybase:staff /dev/rdsk/c0t0d0s4
    Sybase install errors off while creating master device:
    kernel Checked out license ASE_DEV
    kernel Adaptive Server Enterprise Developer Edition
    kernel basis_dsizecheck: attempt to open device '/dev/rdsk/c0t0d0s3' failed, system error is: Device busy
    kernel kistartup: Unable to create master device
    I have investigated who holds the device:
    # fuser /dev/rdsk/c0t0d0s3
    /dev/rdsk/c0t0d0s3: 443o
    # ps -ef | grep 443
    root 1276 1274 0 13:22:27 pts/3 0:00 grep 443
    root 443 1 0 mar 05 ? 0:00 /usr/sbin/vold
    Why does vold prohibit Sybase to establish the master device ?

  • Need help with creating virtual v4l2 device

    Hey.
    I'm trying trying to use computer x's webcamera on computer y.
    I can view computer x's webcamera on computer y by running these commands:
    x$ gst-launch-0.10 v4l2src device=/dev/video0 ! videoscale! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host=10.0.0.240 port=5000
    y$ gst-launch-0.10 tcpclientsrc host=10.0.0.240 port=5000 ! multipartdemux ! jpegdec ! autovideosink
    I just don't understand how to create v4l2-device to computer y from that, so I could use it on chats and another programs.
    Thanks.

    Found that there is v4l2sink.
    I tryed this, but it fails:
    [oilgame@oilgame-desktop http]$ gst-launch-0.10 tcpclientsrc host=10.0.0.240 port=5000 ! multipartdemux ! jpegdec ! v4l2sink device=/dev/video0
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Cannot identify device '/dev/video0'.
    Additional debug info:
    v4l2_calls.c(488): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
    system error: No such file or directory
    Setting pipeline to NULL ...
    Freeing pipeline ...
    [oilgame@oilgame-desktop http]$
    So should I first create blank v4l2-device and how?

  • Why do I get the message "CoCreateInstance failed - Could not create 3D mouse device" with Acrobat9?

    Had a crash and reinstalled everything.  All is OK, except when I open Acrobat 9, I get the message "CoCreateInstance failed - Could not create 3D mouse device".  Tried unchecking anything in Acrobat preferences having to do with 3D, and I don't currently have a 3D mouse device installed.  Can't find any other reference in Google that includes both Acrobat and the contents of the message, part or all.  Ran "repair acrobat installation" and rebooted, and that didn't help.  Totally stumped!

    use the cs cleaner.
    first uninstall your cs5 programs (including acrobat) and uninstall adobe reader.
    run the cleaner for reader:  http://labs.adobe.com/downloads/acrobatcleaner.html
    restart your computer.
    then run the cs cleaner (http://www.adobe.com/support/contact/cscleanertool.html)
    restart your computer
    and finally reinstall your cs5 programs including acrobat (but not reader).

Maybe you are looking for

  • Static nat and service port groups

    I need some help with opening ports on my ASA using firmware 9.1.2. I read earlier today that I can create service groups and tie ports to those.  But how do I use those instead of using 'object network obj-ExchangeSever-smtp' ?  I have the ACL - acc

  • Add user to sharepoint group using REST API

    I am trying to add a user to sharepoint group with following code serviceUrl= Appweb + "/_api/SP.AppContextSite(@target)/web/sitegroups("+GroupId+")/users?@target='host web'";     $.ajax({         url: serviceUrl,         type: "POST",         conten

  • How to delete emails across devices

    I want to be able to delete emails once but find if I delete from my iPad mini or iPhone, they still appear on the iMac desktop.  How do I get deletions to synch across all three devices?

  • IOS 5 and itunes errors

    "The Software for the iPhone was corrupted during download. Disconnect and reconnect, then try again. Make sure your network settings are correct and your connection is active, or try again later."

  • Softonic Toolbar

    The Softonic toolbar attached itself to Safari after I downloaded this :http://paintbrush.en.softonic.com/mac. Now every time I open Safari it crashes because of ct_plugins and i get this error report Process: Safari [323] Path: /Applications/Safari.