InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Everything else that doesn't fall into one of the other PB categories.
User avatar
Brandon Parker
User
User
Posts: 19
Joined: Fri Mar 30, 2012 2:30 am
Location: Scottsville, Virginia

InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Brandon Parker »

Has anyone else experienced any issues with InitEngine3D() using similar architecture to what's in the subject?

I recently bought a Samsung ATIV tablet and InitEngine3D() is failing when called. I have checked to ensure the DirectX DLL's are present. I know PB uses 9 and I verified that 9-11 are all present on the system. I have also verified that the OpenGL examples work as well as verifying (using another language) that DirectX does in fact work on the system.

Anyone know why PB would fail to load it on this system?

Thanks!!

{:0)

Brandon
Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by IdeasVacuum »

It could be Windows Defender stopping the process. Add everything PB to Defender's safe list.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Brandon Parker
User
User
Posts: 19
Joined: Fri Mar 30, 2012 2:30 am
Location: Scottsville, Virginia

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Brandon Parker »

IdeasVacuum wrote:It could be Windows Defender stopping the process. Add everything PB to Defender's safe list.
I tried completely disabling Windows Defender and it's still not working. It's not like the process is halted; the InitEngine3D() function just fails to initialize.

Thanks for the suggestion!

Any more?

{:0)

Brandon
Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Samuel »

Try using InitEngine3D(#PB_Engine3D_DebugLog). It should create a file named Ogre in your current directory.
You can open it with notepad or something similar.
If you get the file. Look at the sections with D3D9 and make sure there aren't any errors.
You can also post the Ogre file here and we can take a look at it for you.

Also what kind of GPU do you have? It's possible it has some compatiblity issues with DirectX9.0c.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by IdeasVacuum »

I wonder if the cause is a missing dependency file. The majority of us will have installed PB5.21 on machines that have already been using PB, whereas it sounds as though yours has PB5.21 as the first-ever PB install. A long shot, try installing PB 5.11, then re-installing 5.21. Also, make sure your User has full Windows Admin rights.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by LuCiFeR[SD] »

make sure you have DX 9.0c installed. That is the minimum PB supports. If you check the PureBasic manual for InitEngine3D() and read the remarks section. it has the link to go to the Microsoft site for the DirectX runtime installer (which is the web updater for DX9.0c).
User avatar
Brandon Parker
User
User
Posts: 19
Joined: Fri Mar 30, 2012 2:30 am
Location: Scottsville, Virginia

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Brandon Parker »

Here's the log file....
22:20:18: Creating resource group General
22:20:18: Creating resource group Internal
22:20:18: Creating resource group Autodetect
22:20:18: SceneManagerFactory for type 'DefaultSceneManager' registered.
22:20:18: Registering ResourceManager for type Material
22:20:18: Registering ResourceManager for type Mesh
22:20:18: Registering ResourceManager for type Skeleton
22:20:18: MovableObjectFactory for type 'ParticleSystem' registered.
22:20:18: OverlayElementFactory for type Panel registered.
22:20:18: OverlayElementFactory for type BorderPanel registered.
22:20:18: OverlayElementFactory for type TextArea registered.
22:20:18: Registering ResourceManager for type Font
22:20:18: ArchiveFactory for archive type FileSystem registered.
22:20:18: ArchiveFactory for archive type Zip registered.
22:20:18: ArchiveFactory for archive type EmbeddedZip registered.
22:20:18: DDS codec registering
22:20:18: FreeImage version: 3.10.0
22:20:18: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
22:20:18: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,koa,iff,lbm,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,dds,gif,g3,sgi,j2k,j2c,jp2
22:20:18: PVRTC codec registering
22:20:18: Registering ResourceManager for type HighLevelGpuProgram
22:20:18: Registering ResourceManager for type Compositor
22:20:18: MovableObjectFactory for type 'Entity' registered.
22:20:18: MovableObjectFactory for type 'Light' registered.
22:20:18: MovableObjectFactory for type 'BillboardSet' registered.
22:20:18: MovableObjectFactory for type 'ManualObject' registered.
22:20:18: MovableObjectFactory for type 'BillboardChain' registered.
22:20:18: MovableObjectFactory for type 'RibbonTrail' registered.
22:20:18: *-*-* OGRE Initialising
22:20:18: *-*-* Version 1.8.2 (Byatis)
22:20:18: OGRE EXCEPTION(7:InternalErrorException): d3dx9_42.dll can't be loaded in D3D11Plugin::install at OgreD3D9Plugin.cpp (line 122)
22:20:18: *-*-* OGRE Shutdown
22:20:18: Unregistering ResourceManager for type Compositor
22:20:18: Unregistering ResourceManager for type Font
22:20:18: Unregistering ResourceManager for type Skeleton
22:20:18: Unregistering ResourceManager for type Mesh
22:20:18: Unregistering ResourceManager for type HighLevelGpuProgram
22:20:18: Unregistering ResourceManager for type Material
Also, I am currently using PB 5.2 b13 .... I know I need to get the latest......;)
{:0)

Brandon
Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Samuel »

22:20:18: OGRE EXCEPTION(7:InternalErrorException): d3dx9_42.dll can't be loaded in D3D11Plugin::install at OgreD3D9Plugin.cpp (line 122)
Looks like you don't have the right version of DirectX9.
Here's the link to the required version.
http://www.microsoft.com/en-us/download ... aspx?id=35

Let us know if you still have problems after this.
User avatar
Brandon Parker
User
User
Posts: 19
Joined: Fri Mar 30, 2012 2:30 am
Location: Scottsville, Virginia

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Brandon Parker »

Yup, I've attempted that download several times over the past day, but it always fails with the following message.
A cabinet file necessary for installation cannot be trusted. Please verify Cryptographic Services are enabled and the cabinet file certificate is valid.


I guess I'll try an copy it over from one of my other PC's.

Thanks!!

{:0)

Brandon
Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Samuel »

I did some looking around and I think you need Cryptographic Services to be set to automatic.
Here's how to set the Cryptographic Services to Automatic.

1. Start the Administrative Tools utility in Control Panel.
2. Double-click Services.
3. Right-click Cryptographic Services, and then click Properties.
4. Click Automatic for Startup type, and then click Start.

Then try installing it again.

Edit:
Here's the link to the info I found.
http://support.microsoft.com/kb/822798

It was under manual method 1.
User avatar
Brandon Parker
User
User
Posts: 19
Joined: Fri Mar 30, 2012 2:30 am
Location: Scottsville, Virginia

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Post by Brandon Parker »

Samuel,

Thanks for looking everything up. All that is already set up, but I managed to copy the DLL over and it seems to be working correctly.

Thanks again to everyone!!

{:0)

Brandon
Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
Post Reply