Steam/Wine - DirectX not working

Archived topics about LMDE 1 and LMDE 2
Locked
Arp
Level 3
Level 3
Posts: 147
Joined: Mon Mar 11, 2013 8:41 am

Steam/Wine - DirectX not working

Post by Arp »

Hi,

I installed PlayOnLinux and installed Steam with this (to be able to play some of the Windows games). This works and I can login and install games. But when I want to start some game, for example Banished or Kerbal Space Program, I always get messages that tell me that directx is not initializing. Banished tells me
Failed to initialize a video interface. The renderer DLL isn't loaded or isn't supported onm the OS.
KSP tells me
Failed to initialize Direct3D 9.
Make sure you have DirectX 9.0c installed, have drivers for your
graphics card and have not disabled 3D acceleration
in display settings.
InitializeEngineGraphics failed
I tried

Code: Select all

winetricks d3dx9
and it appears to have been installed correctly, but it still does not work.
I have also installed NVIDIA drivers.

I'm a total WINE noob, so I have no idea how to proceed.
Any Ideas?
Thx.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Steam/Wine - DirectX not working

Post by Monsta »

Do you use 64-bit LMDE, by any chance?
Arp
Level 3
Level 3
Posts: 147
Joined: Mon Mar 11, 2013 8:41 am

Re: Steam/Wine - DirectX not working

Post by Arp »

Hi,

Yes, 64 bit. Is there some known bug with this combination?
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Steam/Wine - DirectX not working

Post by Monsta »

No, only a known feature. If you run 32-bit apps that work with 3D stuff, you need also 32-bit drivers and libraries in addition to 64-bit ones that are normally installed.
Arp
Level 3
Level 3
Posts: 147
Joined: Mon Mar 11, 2013 8:41 am

Re: Steam/Wine - DirectX not working

Post by Arp »

Do you have a link to a tutorial or something like that? I have no idea how to install a 32 bit driver additionally, as I think this would remove the 64 bit driver.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Steam/Wine - DirectX not working

Post by Monsta »

:D No, it won't remove 64-bit driver.
Arp
Level 3
Level 3
Posts: 147
Joined: Mon Mar 11, 2013 8:41 am

Re: Steam/Wine - DirectX not working

Post by Arp »

So, I just get the 32 bit driver from the nvidia page and install it?
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Steam/Wine - DirectX not working

Post by Monsta »

I think it's better to make sure the versions of 32-bit and 64-bit drivers are the same. So it depends on where you've installed the original driver from.
Arp
Level 3
Level 3
Posts: 147
Joined: Mon Mar 11, 2013 8:41 am

Re: Steam/Wine - DirectX not working

Post by Arp »

Hmm, just wanted to try this on my laptop, which has a radeon mobility card. In synaptic, there is some xorg video radeon thingy installed, but it does not mention if its 64 bit or 32 bit. (Here I have the same 64bit LMDE installed), and there is nothing to choose from.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Steam/Wine - DirectX not working

Post by Monsta »

I don't remember whether Synaptic is able to show i386 packages on 64-bit system. You better use the command line tools. For example, for checking radeon drivers, you can run this:

Code: Select all

apt policy xserver-xorg-video-radeon xserver-xorg-video-radeon:i386
It will show you the installed and the available versions for both 64-bit and 32-bit architectures.
killer de bug

Re: Steam/Wine - DirectX not working

Post by killer de bug »

Monsta wrote:I don't remember whether Synaptic is able to show i386 packages on 64-bit system.
If I remember correctly, it does. But of course apt policy is faster and more reliable. :)
apemanx

Re: Steam/Wine - DirectX not working

Post by apemanx »

So just to make sure...

For steam and ia32 and all other 32 bit libraries, I can go ahead and install all of them - to get steam running?

Thanks in advance.
Locked

Return to “LMDE Archive”