Unable to create DirectX device

I used to play 'FREECELL' until I finished the game I left for a few hours and when I came back to my computer, there was an error that says error: unable to create DirectX device. I closed the error box and everything seems to work OK.

Hello

I had the same problem until I uninstalled a program to screen saver

Hope this works

Tags: Windows

Similar Questions

  • Unable to create DirectX device on some computers. The error code is D3DERR_NOTAVAILABLE.

    I'm sorry if this post is not in the right place, or if it is a duplicate. I couldn't find help anywhere for the problem that I am facing.

    I worked for a few days now trying to get a DirectX control to load on some computers in my organization. The code we have written works fine on some machines (perhaps 50%), but fails to initialize DirectX during the creation of the unit on others machines with an exception containing the code of error D3DERR_NOTAVAILABLE. We use the DirectX 9 SDK for development. We did ensure that the DirectX (version 10) runtime is installed on the computers of problem as well (we believe that the runtime must be backward compatible). I wrote the code to attempt to create a device using all possible combinations of the available settings and still no device can be created! The code I used to try to find any working device is less. I'm doing something wrong? Code (written in c#) starts in the InitializeGraphics() function and calls the GetAcceptableDevice() function. The GetAcceptableDevice() function returns zero on our computers of problem:

    private GetAcceptableDevice device (DeviceType deviceTypes, Format [] backBufferFormats, DepthFormat [] depthStencilFormats []) {}
    List acceptableAdapterFormats As new List();
    {foreach (adapter AdapterInformation in Manager.Adapters)
    {foreach (DeviceType deviceType in deviceTypes)
    {foreach (backBufferFormat in backBufferFormats Format)
    Now, make sure that the depth buffer meets one of the required formats.
    {foreach (DepthFormat depthStencilFormat in depthStencilFormats)
    PresentParameters pp = new PresentParameters();
    pp. AutoDepthStencilFormat = depthStencilFormat;
    pp. BackBufferCount = 1;
    pp. BackBufferFormat = backBufferFormat;
    pp. BackBufferHeight is this. Height;
    pp. BackBufferWidth is this. Width;
    pp. FullScreenRefreshRateInHz = 0; Must be 0 in windowed mode.
    pp. DeviceWindow = this;
    pp. DeviceWindowHandle is this. Handle;
    pp. EnableAutoDepthStencil = true;
    pp. ForceNoMultiThreadedFlag = false;
    pp. MultiSample=MultiSampleType.None;//Anti-alias settings
    pp. MultiSampleQuality = 0;
    pp. PresentationInterval = PresentInterval.Default;
    pp. PresentFlag = PresentFlag.None;
    pp. SwapEffect=SwapEffect.Discard;//Required to be scrapped for anti-aliasing.
    pp. windowed = true; Must set to true for the controls.
    Treatment of vertex createFlags=CreateFlags.SoftwareVertexProcessing;//Software CreateFlags should always work.
    Device functionalDevice = null;
    try {}
    functionalDevice = new device (adapter. Adapter, deviceType, createFlags, pp);
    Return functionalDevice;
    } catch {}
    Just skip it and try the following.
    }
    }
    }
    }
    }
    Returns a null value.
    }

    public void InitializeGraphics() {}
    Device = MakeBasicDevice ();
    {if(Device==null)}
    Device = GetAcceptableDevice)
    DeviceType.Software is rarely used. DeviceType.NullReference produced a device, on which you can not attract.
    New DeviceType [] {DeviceType.Hardware, DeviceType.Reference},
    All display formats listed on in the case where we want to try them all (for the exhaustive tests).
    New Format [] {Format.A16B16G16R16, Format.A16B16G16R16F, Format.A1R5G5B5, Format.A2B10G10R10, Format.A2R10G10B10, Format.A2W10V10U10,
    Format.A32B32G32R32F, Format.A4L4, Format.A4R4G4B4, Format.A8, Format.A8B8G8R8, Format.A8L8, Format.A8P8, Format.A8R3G3B2,
    Format.A8R8G8B8, Format.CxV8U8, Format.D15S1, Format.D16, Format.D16Lockable, Format.D24S8, Format.D24SingleS8, Format.D24X4S4,
    Format.D24X8, Format.D32, Format.D32SingleLockable, Format.Dxt1, Format.Dxt2, Format.Dxt3, Format.Dxt4, Format.Dxt5,
    Format.G16R16, Format.G16R16F, Format.G32R32F, Format.G8R8G8B8, Format.L16, Format.L6V5U5, Format.L8, Format.Multi2Argb8,
    Format.P8, Format.Q16W16V16U16, Format.Q8W8V8U8, Format.R16F, Format.R32F, Format.R3G3B2, Format.R5G6B5, Format.R8G8B8, Format.R8G8B8G8,
    Format.Unknown, Format.Uyvy, Format.V16U16, Format.V8U8, Format.VertexData, Format.X1R5G5B5, Format.X4R4G4B4, Format.X8B8G8R8, Format.X8L8V8U8,
    Format.X8R8G8B8, Format.Yuy2},
    All depth formats listed on in the case where we want to try them all (for the exhaustive tests).
    new DepthFormat [] {DepthFormat.D15S1, DepthFormat.D16, DepthFormat.D16Lockable, DepthFormat.D24S8, DepthFormat.D24SingleS8, DepthFormat.D24X4S4,
    DepthFormat.D24X8, DepthFormat.D32, DepthFormat.D32SingleLockable, DepthFormat.L16, DepthFormat.Unknown}
    );
    {if(Device==null)}
    throw new Exception ("could not get an acceptable DirectX graphics adapter. Your graphics card may not support DirectX. ») ;
    }
    }
    }

    I also read on various places on the Internet that a type of software with the software vertex processing will work always, even if it's slow. I also wrote code to try to create a unique feature of software with the software vertex processing and apparently not worked either. The code is as follows:

    private MakeBasicDevice() {} device
    try {}
    PresentParameters pp = new PresentParameters();
    pp. AutoDepthStencilFormat = DepthFormat.D16;
    pp. BackBufferCount = 1;
    pp. BackBufferFormat = Manager .Adapters .default .CurrentDisplayMode .format.
    pp. BackBufferHeight is this. Height;
    pp. BackBufferWidth is this. Width;
    pp. FullScreenRefreshRateInHz = 0; Must be 0 in windowed mode.
    pp. DeviceWindow = this;
    pp. DeviceWindowHandle is this. Handle;
    pp. EnableAutoDepthStencil = true;
    pp. ForceNoMultiThreadedFlag = false;
    pp. MultiSample = MultiSampleType.None;
    pp. MultiSampleQuality = 0;
    pp. PresentationInterval = PresentInterval.Default;
    pp. PresentFlag = PresentFlag.None;
    pp. SwapEffect = SwapEffect.Discard;
    pp. windowed = true; Must set to true for the controls.
    DefaultDevice device = new Device(Manager.Adapters.Default.Adapter,DeviceType.Reference,this,CreateFlags.SoftwareVertexProcessing,pp);
    DefaultDevice return;
    } catch {}
    }
    Returns a null value.
    }

    One might think that DirectX may run on any graphics card, even if it ran slowly on the low-end cards. Is it possible that DirectX does not work on some graphics cards? It is somewhat disturbing, because about half of our computers will not initialize our DirectX control and our control of OpenGL works fine on these machines. Is there something else we can try, perhaps related to some system settings that are more fundamental than the initialization code? Any help is appreciated. Thanks in advance.

    Hi grahamde,

    Thanks for posting in Microsoft Answers.

    The question you posted would be better suited to the community Microsoft Developer Network (MSDN). Please visit the link below to find a community that will provide the best support.

    http://msdn.Microsoft.com/en-us/default.aspx

    Kind regards

    Arona - Microsoft technical support engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Critical error "cannot create directx device.

    If I have a microsoft game open freecell, solitaire, etc. and play any other game such as modern warfare 2, Farcry2, (a directx9 and directx 10 game) etc when I quit the game a critical error message "unable to create directx device" is on the desk. When I click OK the game frecell closes.  This has happened just recently. I ran dxdiag in 32 and 64 bit modes.  Direct sampling, Direct3D, and AGP Texture acceleration are enabled.  I reinstalled directx 9 c on microsoft web sites. DirectX 10 to reinstall not found. I reinstalled the video card and sound drivers, nothing works. I can play microsoft 2 or 3 games at the same time and their closure does not create a problem.  All directx 9 and 10 games perform without problem. I ran regedit and directx by default reg_S2 (value not set), but I was told it's ok.  I was invited by Windows 7 free technical support of the Microsoft Tech Support market Place forum. I was told by the technology which offers on my case that Windows 7 is not supported and it blew me off the coast.  A lot of people on the web with the same problem, but no answers.  Previous posts on the forum gave rise to no response or a work around that is not open two programs.  I want to fix the problem. JohnnyBoyz
    CPU 920i7
    Nvidia gtx 285 video card
    6 GB 1600 RAM
    ASUS P6T Deluxe v2 motherboard

    Try this, it worked for me on my Windows7 machine where games microsoft kept crashing with a directx error.
    1 - Create a new folder on your desktop and name it 'games' or something else.
    2 - Go to c:/program files and double-click the microsoft Games folder
    3 - there are folders for all installed games. Open each folder, one at a time and copy the .exe file and paste it into the new folder 'games '. Do NOT use the shortcut of Media Center.
    Some of the games require that you also to copy their files .dll with them in the new folder 'games '. For me, it was chess, Mahjong and Minesweeper. The rest of them worked without copying the .dll file.
    Open the game by clicking on it in the new 'games' folder, or make new shortcuts using the files in the new folder.
    This bypasses somehow with the Media Center, which seems to be the problem with the crash of directx.
    I hope it works for you!

  • create DirectX device

    When I try to open the basic games, i.e., Solitaire, the message appears "unable to create DirectX device".  I checked the program on my computer and he says that he has no problem.  What should I do to correct this?

    How to determine the Version of DirectX using the DirectX Diagnostic tool

    http://support.Microsoft.com/kb/157730>

    Run the DirectX Diagnostic tool from this link. &, follow these steps:

    Diagnosing basic problems with DirectX

    Troubleshooting tools and strategies

    http://TechNet.Microsoft.com/en-us/library/cc938991.aspx>

    UTC/GMT is 16:07 Tuesday, may 1, 2012

  • MAF: Unable to create the device

    Hey all:

    I created a new simple application to the MAF.  This app is at the base, has some features with basic behaviors.

    #1: when I run "Clean All"--> CRG cancels the CLEAN

    #2: to deploy I get ' feature was not created.

    Any direction is welcome.  I would like to start working with the MAF & new features.  I need to get some confidence in this new tool under my belt before I'll spend before creating plugins of Cordova.

    Screenshot 2014-07-28 09.49.15.png

    Screenshot 2014-07-28 09.42.29.png

    Hey all: If you encountered similar problems, here is the fix:

    1. Confirm the fix has been successfully installed.

      1. Help of Goto-> comments
      2. Tab 'extensions'
      3. Click the column name (on order)
        1. Check that the extension for "Model ADF data control adapters" is different from "ADF Model preview Editor".

          1. If they are the same, you have a problem installing hotfix-> and may need to reinstall JDev
    2. Delete the current application & restart simple
      1. That was my problem.  Some are corrupt.  I rebooted a brand-new application with 1 Basic function, it has deployed & ran and started building from there...

    Happy to all my fellow Nerds/Nerdettes of coding!

    TreeSrepek

  • "Unable to create the virtual SCSI device to the scsi: 0:0" import *. EGGS in ESXi 5.1u2

    Hi, I need to deploy a VM of *.ova in my cluster with 5.1 ESXi hosts u2 (1900470), but when I try to run it I get this error:

    Unable to start the virtual machine.

    Power DevicePowerOn module has failed.

    Unable to create the virtual SCSI device for scsi0:0, ' / vmfs/volumes/51e7fc6b-85806744-fb38-0021286bb22a/xxx.vmdk'

    Unable to create the virtual device. Stack 16 or 255 sectors per track is not supported.


    The same deployment works in another cluster with 5.1 ESXi hosts (700733) and on my vmware workstation 10.

    I have tryied compatibility material upgrade\downgrade with wmware workstation and download directly to my host but still do not

    I formatted the hard drive hard by ssh and readded to the inventory, I tried to convert vm to work cluster... nothing to see...

    Any suggestions? Thank you

    Solved! I don't know why but the import of virtual machines with 5.1u2 ESXi, heads, and sectors in *.vmdk file are reversed:

    BEFORE:

    ddb.geometry.biosHeads = "16".

    ddb.geometry.biosSectors = "255".

    DDB. Geometry.Heads = "16".

    DDB. Geometry.sectors = "255".

    AFTER:

    ddb.geometry.biosHeads = "255".

    ddb.geometry.biosSectors = "16".

    DDB. Geometry.Heads = "255".

    DDB. Geometry.sectors = "16".

    Connect to a host with SSH and editing *.vmdk file with VI will be the virtual machine starts without problems!

  • Screen flickers on Satellite L300 and I am unable to create a recovery disk

    Hi all

    I just bought a model L300 PSLB0C 08R08C number.
    I was unable to create a recovery disk, I was getting an error message saying it cannot create disk because it is scratched or has dirt on it, I lost 5 nine DVD.

    I am went to the store and replaced by another unit, but had the same problem (I have not tried a different brand of DVD well)

    Second issue with this device, the screen flashes once whenever it is in a shutdown state.
    Number 3, the wireless card disappears from the Device Manager, until I restart.
    Laptop made in China ;-)

    Any suggestions are much apprecaited

    Hello

    It is indeed strange that you were unable to create a recovery disk, and that the problem has resurfaced, even after permutation of the laptop with another unit of the store. However, if you have not tried a different brand of DVD so I suggest that if the laptop asks the disc is scratched or has dirt on it. I'm not sure if toshiba factory in fact blank DVDs, but if they do, it would be a starting point, as one would expect hardware toshiba would happily work with their own brand DVD media. However, if you can't find toshiba dvd then use another trust mark, for example, Imation and TDK. with my experience, I have tried many brands of DVD and have found very reliable TDK.

    regarding the second question, this may be related to the graphics card in the system, or could be due to the performance of the computer laptop itself. Check that you have the latest driver for your graphics card and all the settings on the computer are optimized / hard drives are defragmented and deleted unnecessary files. with your third question, this question could also be related to driver problems, check your regional drivers toshiba site for the latest drivers again. failing this, I would back up your data and then restore to a factory condition, then install the drivers immediately. I hope this info can help you somehow.

    Welcome to the forums and please leave helpful points or correct answer for any useful advice that has been given in response to your problems (e.g. to read the forum rules)

    concerning

  • Unable to create a Windows 7 system repair disc

    Hi, I see a lot of posts on this topic on the internet, and sometimes, people seem to be able to find a solution by uninstalling specific software, etc., but there seems to be a generic instability. I have a new installation of windows 7 64-bit, fully updated, but am unable to create a repair disk through the normal channels (maintenance, backup & restore, or directly in the command prompt). They seem to everyone to start the same program, that is not instantly with the message "ERD of Microsoft Windows has stopped working" - a shaded box indicates the dialog to select a drive, is nothing to do with the output device, but immediately an error. I guess I can create a disc by various ways of downloading, but Microsoft is not possible to debug the issue? -It is very unacceptable to have no indication as to what went wrong. I see other people have provided extensive debugging information, but as far as I can see no expert never responded with an analysis of these data, except to the list of ordinary forms of the program to failure!

    When you select the option to create an ERD, the first window should allow you to select the destination dvd player. Are saying you that you do not get it right? Its actually under control panel > system and security > backup & restore

    Also, I guess you want to tell your restore disk of PC makers, from the hidden restore partition to create. If this is the case how do you create the recovery disk depends on the manufacturer of the PC, this isn't an option of victory

  • Unable to create directory/home/oracle/app/oraInventory

    When installing OEM Cloud user oraoem control, there is always an error even if this user oraoem belongs to oinstall.

    NEWS: 19 10/15 2:46:11 PM CDT: * noncorepluginIDs plugins: [Apache Tomcat, Bay EMC CLARiiON storage EMC Celerra, EMC Symmetrix Array, Exalogic Elastic Cloud Infrastructure, IBM DB2 Database, Microsoft .net Framework, Microsoft Active Directory, Microsoft Biz Talk Server, Microsoft IIS, Microsoft SQLServer Database, Oracle Audit Vault, Oracle Audit Vault and firewall database, Oracle Big Data Appliance, Oracle Cloud Application] [, planning of peacebuilding rebilling Oracle of engineering system Healthchecks, Oracle Fusion Applications, Oracle Siebel, Oracle storage management framework, Oracle Virtual Infrastructure, Oracle, Oracle virtualization, virtual networks and Oracle Sybase ASE database, zero data loss recovery device]

    NEWS: 19 10/15 2:46:11 PM CDT: get the default inventory of default invPtrLoc location: ' / etc/oraInst.loc '

    NEWS: 19 10/15 2:46:11 PM CDT: definition of the location of the default inventory: ' / home/oracle/app/oraInventory.

    NEWS: 19 10/15 2:46:11 PM CDT: * new selected installation *.

    NEWS: 19 10/15 2:46:11 PM CDT: load the XML validation+++/home/oraoem/softw//install/em/validateXmls//noseed_validate.xml

    NEWS: 19 10/15 2:46:35 PM CDT: * updates *.

    NEWS: 19 10/15 2:46:47 PM CDT: metalink option download is seletced.

    NEWS: 19 10/15 2:46:47 PM CDT: all fields are valid

    NEWS: 19 10/15 2:46:47 PM CDT: * Oracle inventory *.

    NEWS: 19 10/15 2:46:57 PM CDT: validate the variable: INVENTORY_LOCATION

    NEWS: 19 10/15 2:46:57 PM CDT: unable to create directory/home/oracle/app/oraInventory. You may not have the appropriate permissions to create the directory or there is no space left in the volume.

    19/10/15 2:46:57 PM CDT: error: / home/oracle/app/oraInventory specify a location of the inventory with write permissions.

    NEWS: 19 10/15 2:54:38 PM CDT: validate the variable: INVENTORY_LOCATION

    NEWS: 19 10/15 2:54:38 PM CDT: unable to create directory/home/oracle/app/oraInventory. You may not have the appropriate permissions to create the directory or there is no space left in the volume.

    19/10/15 2:54:38 PM CDT: error: / home/oracle/app/oraInventory specify a location of the inventory with write permissions.

    NEWS: 19 10/15 4:09:28 PM CDT: POPUP of WARNING: do you really want to leave?

    NEWS: 19 10/15 4:09:30 PM CDT: eliminate the object box to install controls

    NEWS: 19 10/15 4:09:30 PM CDT: update to STATE_CLEAN state machine

    NEWS: 19 10/15 2:46:57 PM CDT: validate the variable: INVENTORY_LOCATION

    NEWS: 19 10/15 2:46:57 PM CDT: unable to create directory/home/oracle/app/oraInventory. You may not have the appropriate permissions to create the directory or there is no space left in the volume.

    19/10/15 2:46:57 PM CDT: error: / home/oracle/app/oraInventory specify a location of the inventory with write permissions.

    If the directory/home/oracle/app/oraInventory does not close, can you test to see if you can create it manually using the oraoem OS account. If it already exists, try to create a subdirectory under it to avoid any problem of permission or space.

    Kind regards

    -Loc

  • My 5s iphone suddenly showed no service, then I made an attempt to update to ios and itunes connected, now iphone is not enable and display cannot connect to the server and in itunes it shows unable to check your device.please help me

    My 5s iphone suddenly showed no service, then I made an attempt to update to ios and itunes connected, now iphone is not enable and display cannot connect to the server and in itunes it shows unable to check your device.please help me

    Assuming that you have a valid SIM card in the phone, it is more often symptomatic of a phone that has been hacked or jailbroken to unlock.

    Where do you have the phone first?

  • Unable to create the disc of recovery on my Equium P300-19O

    I am unable to create a recovery disk. I get an error code: 020150-20-00000000 and the F:106557xsp4.swm file missing message. When you create the disc 1. Two disk does not work either.

    I think it's important to do these recovery disks, but I have already lost 5 discs already. Is there any help that anyone can give.

    Thank you

    The hidden restore partition has been deleted or changed?

    Perhaps the hidden partition was damaged because of a loss of power or something.

    You should test the memory and the disk using Memtest: www.memtest.org and DFT: http://www.hitachigst.com/hdd/support/download.htm

  • Create a device simulado desde y MAX utilizarlo en LabVIEW

    Hola

    He has created a device (PCI-6221) desde MAX simulado.

    LabVIEW desde ahora y utilizando Assistant DAQ hago uso del device created, for example buy una Señal analogica para.

    ¿Hay alguna forma of simular device este desde LabVIEW Señal analogica adquiera y?

    Espero haberme well explained.

    MUCHAS Gracias

    Raul

    Hola Inmacu,

    Tal y como lo has hecho esta. Yo he terminado el codigo para as veas como quedaria you he hecho una captured. Por otra parte, so lo questions are if are you can buy una Señal real con una tarjeta simulada the answer are in Quebec no, las señales solo pueden ser simuladas. Piensa than than indicarle tienes a LabVIEW device fisico del cual leer el y been exist.

    A greeting.

    Jesus

  • When I try to connect directly in multiplayer FSX without gamespy, every time I get an error message saying: unable to create the connection to the host.

    When I try to connect directly in multiplayer FSX without gamespy, every time I get an error message saying: unable to create the connection to the host.

    I need help
    Kind regards

    Thank you very much!

    To host successfully a FSX session what follows is the key enabling

    my client (s) to join my host FSX session!

    "Players Maximum (for a shared together plane 2) leave the locations reserved for friends to 0 set."

    6122 6112 UDP port translation FSX multiplayer traffic of my remote 2 wire gateway to my router Linksys Wireless N DMZ to access game FSX host...

    Only a single router in my configuration of the DMZ, the external network to the router,

    in this case, the 2 wires, had defined port forwarding.

    Am now enjoying Gamespy (R.I.P.) FSX free hosting for my MP FSX sessions via direct connection.

    5 high to the author!

  • I can't install Windows 7. It is said that "the installation program was unable to create a new partition system or locate an existing partition of the system", when I chose I have hard drive and my C: / drive is not there!

    I have 3 drives hard, but windows 7 install only 2 (im of a facility in xp) see of them. The strange thing is that it can not see my HDD with xp on?

    I tried to install it on others, but it says "Setup could not create a new partition system or locate an existing partition of the system" and hard drives are: 1 is logical, 2nd is system, 3rd is primary. WHAT SHALL I DO PLZ! I really need help!

    Hello

    I suggest you to see link below and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/Setup-was-unable-to-create-a-new-system-partition/92c682dc-A759-49b9-A235-e84d13db6a96

    http://social.technet.Microsoft.com/forums/en/w7itproinstall/thread/9e18e169-f77e-4026-B22F-f602e670d55c

    Hope this information is useful.

  • Error "Unable to create cache. The file or directory is corrupted or unreadable. »

    Original title: cannot create the ReadyBoost Cache

    Win7-64 bit-8gbRam use Flash drive for ReadyBoost cache HP16gb now receive the message: "unable to create the cache. The file or directory is corrupted or unreadable. "Should I delete the old cache file and try again, or is there another solution? Thanks for any comments.

    Well Ok,

    Run a check disk on the USB and see if it detects any errors.

    Refer to the article below for assistance.

    Check your hard drive for errors
    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • touch screen not responding do not in the iOS 10

    Hi all I use 6 and recently upgraded iPhone upgraded to iOS 10. I started having some strange behavior on my iPhone the day where I put on level to iOS 10. My iPhone touch screen is not responding properly. Sometimes I need to wait a minute for a tou

  • will not appear 10 under software update iOS.

    When I go to software update, it says that my iOS 9.3.5 is up-to-date. It does not show same iOS available 10. What should I do?

  • issue of converted MP4

    Hi all I know that final cut pro x can read the MP4. but the problem is that the editor we cooperate with use final cut pro 7. So I have to do all the mp4 converted to PORES422 without lost quality. and I know little about final cut pro 7... (I under

  • What is the Apple Watch haz iTunes Radio?

    DDoes the Apple Watch haz iTunes Radio? Please give me clues every time if she haz it or not

  • Old history of Facebook

    Well, I just bought a new computer yesterday. For some reason, Facebook messages and information 3 years ago are emerging in my history of Google Chrome, even if I did not visit one of these pages. In addition, the time, he said, I visited these page