LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-29-2008, 10:33 PM   #1
ephemeros
Member
 
Registered: Jan 2007
Location: Botosani, Romania
Distribution: ArchLinux
Posts: 40

Rep: Reputation: 15
Question Installing PhysX drivers in wine?


Hey

I'm trying to install the NVidia PhysX drivers from the official package downloaded from the website. A small progress window is shown but disappears quickly. The output in the terminal is:
Code:
wine ./PhysX_8.04.25_SystemSoftware.exe
fixme:advapi:LookupAccountNameW (null) L"user" (nil) 0x33f7fc (nil) 0x33f800 0x33f7f4 - stub
fixme:advapi:LookupAccountNameW (null) L"user" 0x15ce68 0x33f7fc 0x17bc48 0x33f800 0x33f7f4 - stub
err:msi:ACTION_CallDllFunction failed to load dll L"C:\\windows\\temp\\msi5652.tmp"
After that the installer hangs. The relevant sleeping processes are MSIEXEC, explorer.exe, winedevice.exe, services.exe, wineserver, and PhysX_8.04.25_SystemSoftware.exe.
I'm using XUbuntu Hardy AMD64 with Wine 1.1.5 (the last current update).
Any ideas?
 
Old 09-29-2008, 11:38 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
The software is trying to use a system call (LookupAccountNameW) which is not yet implemented. SO - that program just won't run under WINE at this stage. Of course you can implement that call, then see where the program fils next, implement that other call, and so on until it works.

Also note: drivers can't really be run in WINE - WINE provides the WinDuhs API (system calls) so that programs can run. A driver on the other hand registers with the WinDuhs kernel and gains low-level access to hardware. Unfortunately the system of registering WinDuhs drivers cannot be translated to the Linux driver scheme in a generic fashion. SO - drivers will not run under WINE. There are specialized projects like ndiswrapper which provide the interface to register specific types of drivers; in the case of ndiswrapper these are wireless ethernet adapters (but there are claims that it also works for some wired adapters).
 
Old 09-30-2008, 01:21 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
If it's some kind of moded driver for your video card forget about it.

The poster above already told you the reasons, I just add that if you are working on linux, all the system calls will be directed ultimately at your kernel, and your linux drivers. No user land program can bypass that and directly handle your hardware, and wine is no exception. Windows drivers do not work and will never work in wine. There's no need either. If you have a driver for linux you use it natively. And if you don't have a driver for linux, there's no way that wine could bridge your windows driver into linux even if wine supported that functionality.
 
Old 10-01-2008, 01:46 AM   #4
ephemeros
Member
 
Registered: Jan 2007
Location: Botosani, Romania
Distribution: ArchLinux
Posts: 40

Original Poster
Rep: Reputation: 15
Thank you for the clarifications about drivers.
I actually need to play a game that use PhysX (Ageia), this is a dynamics engine more than a driver, I think the package from NVidia contains dlls and drivers for the video cards that support dynamics hardware acceleration. My video card doesn't support this, but the games should work on it, if the engine (dlls maybe?) is installed.
I think that unimplemented function is required for the installer only, would it be possible to extract it somehow? I ask for that because it seems seems to use msiexec, which I know is a windows package installer. Btw, the game when starts, it complains Ageia is not installed, so I think it doesn't need other than the engine.
 
Old 10-01-2008, 07:24 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by ephemeros View Post
Thank you for the clarifications about drivers.
I actually need to play a game that use PhysX (Ageia), this is a dynamics engine more than a driver, I think the package from NVidia contains dlls and drivers for the video cards that support dynamics hardware acceleration. My video card doesn't support this, but the games should work on it, if the engine (dlls maybe?) is installed.
I see. What you are guessing is not that mad. It could work, as long as it's just a dll and it doesn't contain so low level code. The problem as you say is to unpack the file. I guess that the installer comes as a self-contained exe file, doesn't it?

You can try a number or things. Sometimes, exe files are just self-extracting zips, and can be uncompressed with unzip, unrar or even 7z. You can try. There's a number of other propietary decompressors that could be tried on linux. There's also cabextract and unshield, this last might be particularly interesting:

http://synce.sourceforge.net/synce/unshield.php

I don't know if there's a way to force msiexec to uncompress a file, though. But if you manage to get that missing dll you can try to put it into your system32 directory or the game dir, and see if it works. Let's cross our fingers and hope that it will be able to communicate ok with the standard wine directx layer.

Also, there are places around the net to search for dll files, have you tried those?
 
Old 10-02-2008, 10:04 AM   #6
ephemeros
Member
 
Registered: Jan 2007
Location: Botosani, Romania
Distribution: ArchLinux
Posts: 40

Original Poster
Rep: Reputation: 15
I think this is everything it would be possible to do (except hacking Wine & stuff). I tried some dll download (dll-files.com) and didn't work, actually there was a PhisX dll there and that should be enough. I will try with alternative installer extractions, although I think everything is extracted but not configured, registry and user configuration are probably my next targets :P.
Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Wine for Drivers? opivy1218 Linux - Newbie 4 07-18-2008 10:31 PM
Problems installing WINE on Fedora Core 6 using $yum install wine rubiks_nerd_90 Linux - Software 4 03-06-2008 08:36 AM
LXer: Ageia's PhysX Delaying UT3 For Linux? LXer Syndicated Linux News 0 11-29-2007 11:20 AM
wine: installing win apps. using wine on mandrake10 dexmax Linux - Newbie 2 09-05-2005 04:40 PM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM


All times are GMT -5. The time now is 08:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration