Running Ogre Application in Wine

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
Lax
Hobgoblin
Posts: 583
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 50

Running Ogre Application in Wine

Post by Lax »

Hi,

I'm trying to run my Engine in Wine. First I have choosen OpenGL, but that did not work. Then a have chosen DirectX and this is the error message:

Code: Select all

10:57:13: OGRE EXCEPTION(-2147024809:RenderingAPIException): Error creating dummy textures
Error Description:infoQ exceptions are turned off in D3D11TextureGpuManager::D3D11TextureGpuManager at C:\Users\lukas\Documents\GameEngineDevelopment\external\Ogre2.2SDK\RenderSystems\Direct3D11\src\OgreD3D11TextureGpuManager.cpp (line 159)

Has anybody an idea, how to fix that?
Is anybody using a kind of Ogre application on ubuntu with wine?

Best Regards
Lax

http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1279
Contact:

Re: Running Ogre Application in Wine

Post by dark_sylinc »

I use wine from PPA. The version bundled with Ubuntu is a little old. IIRC I use wine-staging which may be unstable but runs the latest D3D fixes.

I don't know why OpenGL failed, it should work out of the box.

As for D3D11, you'll have to install dxvk and the D3DCompiler DLL that Ogre needs (there are various, which one depends on the SDK version you build your app).
The best way to install all that is to run winetricks and ask it to install dxvk and all the D3DCompilerXX.dll.

After that it should be working.

User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 450
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: Running Ogre Application in Wine

Post by sercero »

Why not porting the engine to Linux?

Shouldn't be so hard with Ogre...

Lax
Hobgoblin
Posts: 583
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 50

Re: Running Ogre Application in Wine

Post by Lax »

Hi,

ok, I will test that with directX.

Why not porting the engine to Linux?

Shouldn't be so hard with Ogre...

I'm really afraid in doing this. I'm a linux beginner and the engine has grown over the years.

Best Regards
Lax

http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62

User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 450
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: Running Ogre Application in Wine

Post by sercero »

I'm really afraid in doing this. I'm a linux beginner and the engine has grown over the years.

OK, but try it.

Might not be so bad...

Having linux support is a good feature in my opinion.

And you don't have to be a linux expert.

User avatar
Zonder
Ogre Magi
Posts: 1168
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 73

Re: Running Ogre Application in Wine

Post by Zonder »

Its probably more setting up linux for c++ development that is the hurdle.

There are 10 types of people in the world: Those who understand binary, and those who don't...
Post Reply