Resolved Dx9 device error

Discussion in 'Community Support' started by RO-Floryn, Jun 29, 2015.

  1. RO-Floryn

    RO-Floryn New Member

    Joined:
    Jun 29, 2015
    Ratings:
    +0 / 0
    i have 2 eroor to launch the game
     

    Attached Files:

  2. Sonat Ozturk

    Sonat Ozturk Well-Known Member

    Joined:
    Jan 13, 2015
    Ratings:
    +2,009 / 0
    Hi Floryn,

    Looks like your system is failing to start up on full screen.

    Can you please try the following to see if it helps?

    - Go to Documents\My Games\SimBin\RaceRoom Racing Experience\UserData and edit graphics_options.xml in notepad.

    - Make sure the value for the variable shown in the image states false instead of true. This will run the game in windowed mode.
    37f4d63d1e889bbe00c2088ee940dc16.png
     
  3. Erikkonen

    Erikkonen New Member

    Joined:
    Oct 14, 2016
    Ratings:
    +0 / 0
    I have a very similar problem. I've just changed my monitor and I got this message: "Failed to create DX9 device. Invalid call." The previous monitor was a 28 inch with 16:9 ratio, the new one is a 34 inch with 21:9 ration (LG 34UC79G). Nothing else has changed.
    Do you have any good idea how to resolve this?

    Update: It was coused of the 16 bit colour scheme. It works now perfectly.
     
    Last edited: Jan 19, 2017
  4. m.bohlken

    m.bohlken Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +972 / 0
    Have you done what is mentioned above? Or even tried to delete the graphics_options.xml file which is located in the Folder: Documents\My Games\SimBin\RaceRoom Racing Experience\UserData
     
  5. Erikkonen

    Erikkonen New Member

    Joined:
    Oct 14, 2016
    Ratings:
    +0 / 0
    No, I didn't delete the graphics_options.xml file but changed as Sonat Ozturk suggested above.
     
  6. m.bohlken

    m.bohlken Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +972 / 0
    Maybe just try to delete that file. A new File will be created when you are starting the game. After that you just need to adjust your graphics-settings again.
     
  7. Erikkonen

    Erikkonen New Member

    Joined:
    Oct 14, 2016
    Ratings:
    +0 / 0
    Good idea, however it works now properly.
     
  8. Mike Demers

    Mike Demers Well-Known Member

    Joined:
    Jan 30, 2015
    Ratings:
    +59 / 0
    where did you change the colour scheme ? in game or windows? thanks
     
  9. Erikkonen

    Erikkonen New Member

    Joined:
    Oct 14, 2016
    Ratings:
    +0 / 0
    Actually in NVidia Dashboard.
     
  10. Mike Demers

    Mike Demers Well-Known Member

    Joined:
    Jan 30, 2015
    Ratings:
    +59 / 0
    thanks - mine was set to 32.
     
  11. Pieco

    Pieco Member

    Joined:
    Jun 16, 2016
    Ratings:
    +6 / 0
    Hi There,
    @Sonat Ozturk

    I am having the exact same issues since yesterday. Tried all the above mentioned but nothing. Even changed a few setting below and rolled it back when nothing changed.

    /*Which variable should I change*/

    <game__GraphicsOptions ID="/options/graphics">
    <latestVersion type="uint32">16</latestVersion>
    <custom type="uint32">3440</custom>
    <custom type="uint32">1440</custom>
    <custom type="int32">22</custom>
    <custom type="int32">60</custom>
    <custom type="bool">true</custom>
    <custom type="bool">true</custom>
    <custom type="uint32">4</custom>
    <custom type="uint32">2</custom>
    <custom type="uint32">2</custom>
    <custom type="uint32">8</custom>
    <custom type="bool">true</custom>
    <custom type="bool">true</custom>
    <custom type="bool">false</custom>
    <custom type="bool">true</custom>
    <custom type="float32">0.60000002</custom>
    <custom type="bool">true</custom>
    <custom type="int8">2</custom>
    <custom type="bool">true</custom>
    <custom type="bool">true</custom>
    <custom type="bool">false</custom>
    <custom type="bool">true</custom>
    <custom type="bool">true</custom>
    <custom type="bool">true</custom>
    <custom type="int32">32</custom>
    <custom type="int32">4</custom>
    <custom type="float32">-1.00000000</custom>
    <custom type="bool">true</custom>
    <custom type="int32">1</custom>
    <custom type="bool">true</custom>
    <custom type="int32">0</custom>
    <custom type="bool">false</custom>
    <custom type="int32">1</custom>
    <custom type="uint8">0</custom>
    <custom type="uint8">0</custom>
    <custom type="int32">2</custom>
    <custom type="int32">2</custom>
    <custom type="bool">false</custom>
    <custom type="float32">0.00000000</custom>
    <custom type="float32">0.00000000</custom>
    <custom type="bool">true</custom>
    <custom type="int32">36</custom>
    <custom type="int32">36</custom>
    <custom type="int32">0</custom>
    <custom type="float32">0.89999998</custom>
    </game__GraphicsOptions>

    ANy help would be much appreciated.
     
  12. Sonat Ozturk

    Sonat Ozturk Well-Known Member

    Joined:
    Jan 13, 2015
    Ratings:
    +2,009 / 0
    Are you getting the same error? The game should fall back to safe resolution but in case there's an issue you can try in windowed mode to see if it helps. I marked the line in bold. Basically the line under 60 (which is your refresh rate). Changing the true to false there will launch the game in windowed mode.
     
  13. Pieco

    Pieco Member

    Joined:
    Jun 16, 2016
    Ratings:
    +6 / 0
    @Sonat Ozturk, sorry problem is a bit different. It says "Failed to create Dx9 device: not available. Busy chatting to Kitsune Magyar. But we haven't found a solution yet.
     
  14. Sonat Ozturk

    Sonat Ozturk Well-Known Member

    Joined:
    Jan 13, 2015
    Ratings:
    +2,009 / 0
    Did you make sure your graphics card drivers are up to date? That's how some users with the same error solved it.
     
  15. Pieco

    Pieco Member

    Joined:
    Jun 16, 2016
    Ratings:
    +6 / 0
    I did a complete removal and reinstallation of the game and drivers. Will do it again later today. Getting desperate now to solve the problem. Will keep you guys posted.
     
  16. Sonat Ozturk

    Sonat Ozturk Well-Known Member

    Joined:
    Jan 13, 2015
    Ratings:
    +2,009 / 0
    If you can send your game.log found in the R3E User folder found in Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\Log

    You can either attach it here or send it to Kitsune in your ticket. If we're lucky we can see something in the logs about why it fails to find your display adapter.
     
  17. Pieco

    Pieco Member

    Joined:
    Jun 16, 2016
    Ratings:
    +6 / 0
    Thank you @Sonat Ozturk. Please let me know if the attached is correct file.
    Appreciate the help.
     

    Attached Files:

  18. Kitsune Magyar

    Kitsune Magyar Professional Betatester Developer

    Joined:
    Dec 12, 2016
    Ratings:
    +9,234 / 0
    Unfortunately that just shows pretty much what the crash showed. It fails to create a directX device, all subsequent errors in the log is because of that.
    Make sure NVIDIA isn't set up to start games with an internal GPU like Intel HD. Also, you can see if your GPU is properly listed in Windows Device Manager.
    Could be Windows updating the drivers for the GPU and messing it up.
     
  19. Sonat Ozturk

    Sonat Ozturk Well-Known Member

    Joined:
    Jan 13, 2015
    Ratings:
    +2,009 / 0
    Ok the log file did not help much as it basically shows the same warning. For some reason the graphics drivers fail to initialise. If it's not the graphics drivers then I would try updating DirectX. Please go to the redist folder folder where you installed game (e.g. C:\Program Files (x86)\Steam\steamapps\common\raceroom racing experience\Game\REDIST) and manually install the directx_Jun2010_redist found in there.

    Alternatively it might also be a clash between two graphics drivers. Do you have an integrated graphics card on the motherboard that is active?
     
  20. Pieco

    Pieco Member

    Joined:
    Jun 16, 2016
    Ratings:
    +6 / 0
    Hi guys, did a clean driver and game installation. But nothing changed. Still getting the same error. Also removed a bunch of programs just to see if there might be a conflict. But no luck.

    There is also no integrated graphics card.

    This is killing me. Can't format my system just to get R3e running.

    Ps: Ran the directx_Jun2010_redist as well.