These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

Linux Mint /w Wine can't load past client updater

Author
Sneer Silvervein
Perkone
Caldari State
#1 - 2013-03-08 22:10:32 UTC
Currently running Linux Mint 14 (KDE) with Wine.

Everything installed fine. I was impressed 1st time w/o me having to tweak it. Client started and updated. I click on play and the client flashes and does nothing.

A buddy recommend I try to start the game with wine using .....\bin\exefile.exe

This does nothing. Any suggestions?

Thanks!
Zor'katar
Matari Recreation
#2 - 2013-03-09 15:50:26 UTC
Sneer Silvervein wrote:
Currently running Linux Mint 14 (KDE) with Wine.

Everything installed fine. I was impressed 1st time w/o me having to tweak it. Client started and updated. I click on play and the client flashes and does nothing.

A buddy recommend I try to start the game with wine using .....\bin\exefile.exe

This does nothing. Any suggestions?

Thanks!


  1. What version of Wine? (Always a good one to lead with when asking for help.)
  2. If you run winecfg (in the same wineprefix as Eve if it's not in the default), what shows up on the Libraries tab?
  3. Run it from the command line and post the output. There will probably be hints in there.
Stroven Estemaire
The Scope
Gallente Federation
#3 - 2013-04-17 16:30:04 UTC
I have similar/same problem. Xubuntu 13.04.

When running ExeFile.exe directly, this happens:

Quote:

$ wine ExeFile.exe
fixme:heap:HeapSetInformation 0x48b000 0 0x32fcb4 4
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
Network layer using: CarbonIO
Terminating process by request - returning 0


When run from launcher, the splash flashes for a fraction of a second, there is a delay of about 2 seconds, then the same output comes up.

I did some fiddling with msvcr90 and msvcp90, as I saw these in the installer as it was installing, but no effect.

Wine Version 1.4.1, no other versions available on this platform/distro/version.
Neuntausendeins
#4 - 2013-04-17 16:40:55 UTC  |  Edited by: Neuntausendeins
Quote:
Wine Version 1.4.1, no other versions available on this platform/distro/version.


You might want to learn another thing or two about your OS there. ;)

Wine 1.4 is marked as "stable" and thus you find it in every distros repository, even debians. But it is almost a year old and just doesn't work as well as the development builds.

Since we are talking GNU/linux here, there's always a way to install whatever you want on your machine, and whatever in this case also includes current wine.

For (x/k/l/*)ubuntu look here http://www.winehq.org/download/ubuntu

The same might work for Mint, since mint is basically just ubuntu but less cluttered and slow.
Stroven Estemaire
The Scope
Gallente Federation
#5 - 2013-04-17 16:41:20 UTC  |  Edited by: Stroven Estemaire
Stroven Estemaire wrote:
I did some fiddling with msvcr90 and msvcp90, as I saw these in the installer as it was installing, but no effect.


Noticed these files were replaced during first use of launcher.

Changed to:

msvcp100 (native, builtin)
msvcp100 (builtin, native)

And get further, but still a problem:

Quote:

anon@anon-desktop:~/.wine/drive_c/Program Files (x86)/CCP/EVE/bin$ wine ExeFile.exe
fixme:heap:HeapSetInformation 0x110000 0 0x32fc70 4
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
Network layer using: CarbonIO
EVE Client version 8.21 build 514947 starting 12:33:54
Starting up Trinity through _trinity_dx9_deploy ...
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "AMD Radeon HD 7700 Series", version "1.4 (2.1 (4.2.12173 Compatibility Profile Context 12.10.17))").
fixme:win:EnumDisplayDevicesW ((null),0,0x328c0c,0x00000000), stub!
Cerberus localization module loaded on client
EVE Client version 8.21 build 514947 started 12:33:58
Starting services
Service counter: 0.000s
Service sessionMgr: 0.000s
Service settings: 0.002s
Service machoNet: 0.002s
Service addressbook: 0.000s
Service clientStatsSvc: 0.001s
Service bulkSvc: 0.001s
Service bookmarkSvc: 0.000s
Service dataconfig: 0.014s
Service objectCaching: 0.000s
Service photo: 0.000s
Service mailSvc: 0.000s
Service notificationSvc: 0.000s
Service LSC: 0.000s
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
Service patch: 1.473s
Service inv: 0.000s
Service pwn: 0.000s
Service focus: 0.000s
Service debug: 0.000s
Service jumpQueue: 0.000s
Service scanSvc: 0.000s
Service browserHostManager: 0.000s
Service localizationClient: 0.000s
Service launcher: 0.000s
Service jumpMonitor: 0.000s
Service calendar: 0.000s
Service liveUpdateSvc: 0.000s
fixme:win:EnumDisplayDevicesW ((null),0,0x32ab00,0x00000000), stub!
Service monitor: 0.268s
Service processHealth: 0.000s
Service planetInfo: 0.000s
Service district: 0.001s
Service devToolsClient: 0.000s
Service invCache: 0.000s
Service michelle: 0.000s
Service crimewatchSvc: 0.000s
Service war: 0.001s
Service facwar: 0.000s
Service godma: 1.759s
Starting services - Done
Service device: 0.125s
Service neocom: 0.000s
Service infoPanel: 0.000s
Service sceneManager: 0.001s
Service gameui: 0.038s


But, screen goes wonky and unusable, cursor disappears. have to ctrl-esc to get menu to pop up then launch Task Manager to kill Eve process.

Launched again... explored a little.

Two task bar thingies appear, one saying: "outdated graphics card detected."

ORLY? Radeon HD 7770 w/ 13.3-beta3-linux-x86.x86_64 installed.

Appears to be recognized at the top of the output, hmmm....

When I click on it: Shader Model 3 (SM3) support is needed to run this game. Click OK to close game client.

The other task bar thingy is the Eve client itself. Clicking on it simply causes a transparent overlay of what would be the game, but isn't. Alt-tab to bring other apps forward. Bring terminal forward, Ctrl-C, back to reality.

So, it is mis-identifying Graphics Card/Divers....

And, in case you were wondering:

Run this script as root to get rid of the beta watermark in the driver wrote:

DRIVER=`find /usr/lib -name fglrx_drv.so`
for token in $DRIVER;do
echo "Removing AMD logo from "$token
for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
done
done
echo "Reboot computer to finish"


This Driver/Card work great for LTC Mining, so I know driver/card are working properly (Yes, I shut off the mining program before doing any of this, duh). X is working with this driver... It gets recognized...

this appears to be the bucket of stinky important that I'm looking for wrote:

libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "AMD Radeon HD 7700 Series", version "1.4 (2.1 (4.2.12173 Compatibility Profile Context 12.10.17))").


Just not sure where to go from here...
Stroven Estemaire
The Scope
Gallente Federation
#6 - 2013-04-17 17:07:53 UTC
Neuntausendeins wrote:
Quote:
Wine Version 1.4.1, no other versions available on this platform/distro/version.


You might want to learn another thing or two about your OS there. ;)

Wine 1.4 is marked as "stable" and thus you find it in every distros repository, even debians. But it is almost a year old and just doesn't work as well as the development builds.

Since we are talking GNU/linux here, there's always a way to install whatever you want on your machine, and whatever in this case also includes current wine.

For (x/k/l/*)ubuntu look here http://www.winehq.org/download/ubuntu

The same might work for Mint, since mint is basically just ubuntu but less cluttered and slow.


I'm not familiar with debian stuffs, you're right. /me is gentoo human...

Will see where your glorious advice gets me... ;-)
Neuntausendeins
#7 - 2013-04-17 17:37:48 UTC  |  Edited by: Neuntausendeins
That SM3 message seems do be quite a different, not wine-related problem there. Can you run glxgears? What does "glxinfo | grep direct" give you?

Oh and by the way: To avoid problems with your desktop, screen lockups and the like, start Eve in a virtual desktop while you are still fiddling around with the settings.
Stroven Estemaire
The Scope
Gallente Federation
#8 - 2013-04-17 17:52:05 UTC  |  Edited by: Stroven Estemaire
Neuntausendeins wrote:
That SM3 message seems do be quite a different, not wine-related problem there. Can you run glxgears? What does "glxinfo | grep direct" give you?



I updated to Wine1.5 and removed my library overrides. Now I'm getting the same SM3 message, but clicking "ok" on it crashes my session and returns me to login screen.

glxgears runs super duper smooth.

glxinfo | grep direct wrote:

$ glxinfo | grep direct
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)


So, it's something to do with my fancy-ass drivers, probably...

LIBGL_DEBUG=verbose glxinfo | grep direct wrote:

anon@anon-desktop:~$ LIBGL_DEBUG=verbose glxinfo | grep direct
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/usr/lib/i386-linux-gnu/dri/swrast_dri.so: wrong ELF class: ELFCLASS32)
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL error: failed to load driver: swrast
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)


Hmmm...

find wrote:

$ find |grep swrast
...
./usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_swrast.so
./usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
./usr/lib/i386-linux-gnu/gallium-pipe/pipe_swrast.so
./usr/lib/i386-linux-gnu/dri/swrast_dri.so
...


Damn, it does exist. Not an easy thing then... sigh...

i386 is wrong ELF, 32 bit, duh. But x86_64 version; Y U NO LOAD?

insmod wrote:

cd /usr/lib/x86_64-linux-gnu/dri/
$ sudo insmod swrast_dri.so
Error: could not insert module swrast_dri.so: Invalid module format


As expected, but still... double sigh...

Sumbuddy help me out here... Any way to force this? A different driver? I haz a sadface.
Stroven Estemaire
The Scope
Gallente Federation
#9 - 2013-04-17 19:39:24 UTC  |  Edited by: Stroven Estemaire
OK, after much swapping around of drivers....

Installer for 13.1 is borked. Ran uninstall from both 13.1 and 13.3 reinstalled 13.3: I haz EVE! Guess the swrast_dri.so fail was a fluke, all is well now.

But.....

I know I'm supposed to shut off Captain's Quarters, but the option to do so is missing from the esc/settings menu... Can't shut off Captain's Quarters... Crashes trying to load Captain's Quarters, as expected. Would love to shut it off, I'm sure there's a config file somewhere I can set it in...

http://imgur.com/FRiqmgz
Neuntausendeins
#10 - 2013-04-18 05:35:20 UTC
No, it's not missing, you are looking in the wrong place: http://imgur.com/VdeqWwo

By the way, regardless of whether you are running ubuntu or gentoo or about every other distro actually, unless you have a really good reason, you should never install anything by hand. Just use your distributions package manager, as unlike individual installers, it will make sure that your software and it's dependencies get installed correctly.
Stroven Estemaire
The Scope
Gallente Federation
#11 - 2013-04-19 21:34:25 UTC
Neuntausendeins wrote:
No, it's not missing, you are looking in the wrong place: http://imgur.com/VdeqWwo

By the way, regardless of whether you are running ubuntu or gentoo or about every other distro actually, unless you have a really good reason, you should never install anything by hand. Just use your distributions package manager, as unlike individual installers, it will make sure that your software and it's dependencies get installed correctly.


Yeah, I figured it out. Thanks tho. Been too busy to post back.

The really good reason is that the needed packages don't exist in some distros' repositories, or there is no way to figure out what crazy name they gave the package because it isn't what the rest of the world uses. I ditched Sabayon and Gentoo for that very reason; huge pain in the butt, stuff never where it is documented to be, etc. Sure, I could pound my head against the wall constantly babysitting broken crap; or I could just get a different Distro.

It was complaining about it not matching up with the video driver, not the kernel. Error was ambiguous/incomplete. Figured it out the hard way. No matter what automated uninstaller process I went through, the 13.1 or 13.3 from AMD, or the apt-get for the one in the repository, that pesky swrast_dri.so file was still there... The driver in the repo was poo. And, since apt-get wouldn't remove the swrast.dri.so, the AMD installers failed to build/install the matching version of the file. Even with --force, it wouldn't overwrite.

Somebody's script had a failsauce. Deleted it manually, re-installed 13.3 from AMD's installer; everything is peachy.

So, that kinda pokes a hole in the 'trust the repo, they never make mistakes' theory... ;-)

Wine 1.4 works just fine with the change I documented above, too. So, that's really all you get from Wine 1.5... It works out-of-the-box instead of having to fudge that one library.

http://imgur.com/Lkhg52d

I can mine and play eve at the same time, take that Sabayon/Gentoo!
Neuntausendeins
#12 - 2013-04-20 09:47:17 UTC  |  Edited by: Neuntausendeins
It's less about "trusting the repo" than not gently caressing up your package manager and dependencies. If you don't trust the repo you can always use another one or install a local package you made yourself, as long as you install it using your package manager. Everything you install to your / directory by hand (or install script) will make your package manager less likely to work correctly and will mess up your system eventually.
If you did things like this, bypassing pacman, I am not surprised Gentoo didn't work well for you and I think you will gently caress up your Ubuntu installation as well sooner or later.

Sabayon is pretty much terrible, because it's using unstable and untested packages (based on gentoo unstable), but I can assure you that Gentoo itself is very, very well documented, that portage is well sorted and pacman is probably one of the best package managers around. Gentoo does let you make your own adjustments very easily tho and thus makes it easy to gently caress everything up if you don't know exactly what you are doing.

I am glad things are working for you now, but you might want to learn a thing or two about your operating system if you want it to stay that way.
Sneer Silvervein
Perkone
Caldari State
#13 - 2013-04-21 10:48:46 UTC
Zor'katar wrote:



  1. What version of Wine? (Always a good one to lead with when asking for help.)
  2. If you run winecfg (in the same wineprefix as Eve if it's not in the default), what shows up on the Libraries tab?
  3. Run it from the command line and post the output. There will probably be hints in there.


Sorry for the slow response. I thought I had set up notifications to any response to this thread. I didn't. My bad.

1. Wine version is 1.4.1

2. & 3. I get what you're asking me to do, but I have no clue how to do it. Linux file structure is not my strong point, nor is wine. when I try to run "winecfg" from command line it opens a gui. What am I doing wrong?

Thanks!

Neuntausendeins
#14 - 2013-04-21 13:40:27 UTC  |  Edited by: Neuntausendeins
As I already told Stroven Estemaire, I recommend you get wine 1.5.
Eve works with 1.4, but you migh run into a few problems that don't exist with 1.5 and you will have to juggle library overrides, that's why Zor'katar asked you for the contents of your winecfg library tab.

If you want to install wine 1.5, here's how you do it on mint (probably, I am not running mint myself). Open a terminal and type:

sudo add-apt-repository ppa:ubuntu-wine/ppa

this will add the official wine repository to your package manager.

sudo apt-get update

This will synchronize the available packages with your package manager

and

sudo apt-get install wine1.5

This will install current wine 1.5


Once you have done that, run winecfg, go to the "libraries" tab and remove any override you might have there. Check if eve works already - if so: great. If not, here comes the part where I am not a 100% up to speed in terms of what is really needed and what is actually unnecessary, but here goes:

again, from a terminal run:

wget http://winetricks.org/winetricks

This will download the winetricks script. It's a helpful little script, that let's you install libraries and other windows stuff easily.

chmod +x winetricks

This will make the script executable, so you can actually run it.

./winetricks vcrun2005 vcrun2008 vcrun2010

This will download and install the Microsoft Visual C runtimes to your wine prefix. Like I said, I am not sure which ones of these are actually needed, but if they are not needed, at least they don't hurt.

Once that's done, run winecfg and go to the libraries tab. Add d3d11.dll and set it to "disabled".

Now check again if eve works. Do that by running:

WINEDEBUG=-all wine /path/to/your/eve.exe

Post the output here, if it still doesn't work. Please use pastebin.com if it's a very long output.
Sneer Silvervein
Perkone
Caldari State
#15 - 2013-04-22 20:21:02 UTC
Updated to Wine 1.5
Followed all of your steps.
Saw an error I've not seen before about my graphics drivers being out of date. Found out how to update them. Still get the error.

tried to run eve from command prompt by typing "wine eve" received this message
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.

So I think it wants me to use the Nouveau driver vs the NVIDIA driver for my chipset. As I stated earlier I just updated the driver. I have noticed better quality on the computer since doing so.

I tried to run the debug as you stated but I get an error on the path

WINEDEBUG=-all wine/home/username/.wine/dosdevices/c:/Program Files (x86)/CCP/EVE/eve.exe (direct path copied from the file manager.

Error: bash: syntax error near unexpected token `('

So under the "Program Files (x86)" it doesn't like the bracket. Any suggestions?

BTW thanks for taking the time out to help! Much appreciated. :)

Neuntausendeins
#16 - 2013-04-22 21:59:13 UTC  |  Edited by: Neuntausendeins
It's not the brackets it doesn't like, but the spaces. You can either write:

"/home/username/.wine/dosdevices/c:/Program Files (x86)/CCP/EVE/eve.exe"

with quotes or:

/home/username/.wine/dosdevices/c:/Program\ Files\ (x86)/CCP/EVE/eve.exe

But that isn't the problem here, is it? Tell me, which driver are you using? The open source drivers (nv and nouveu) are far from complete and offer only basic functionality in terms of 3d acceleration. If you want to play games, then install the proprietary drivers.

Again, I am not using Mint myself and I don't want you to mess up your system by blindly installing ubuntu driverpackages, so I recommend you refer to Mints documentation or forums to find out how to do that. The package should be called something like nvidia-settings or nvidia-current and you will probably have to reboot.

If you are using these already, google suggests you delete your .wine directory. And in fact, even though I am not sure how that would help you in this particular case, it is always a good idea to install every game or Windows app in it's own prefix. You'd have to reinstall some stuff, but if it works in the end ...

To do that, run (and I have done this myself this time to find out what is actually needed on wine 1.5.28 :P):

mkdir ~/wine_prefixes

WINEARCH=win32 WINEPREFIX=~/wine_prefixes/eve wineboot

mv -R ~/.wine/dosdevices/c:/Program\ Files\ (x86)/CCP ~/wine_prefixes/eve/drive_c/Program\ Files/


This will create a new wine prefix and move your Eve folder over.
Launch Eve by running:

WINEDEBUG=-all WINEPREFIX=~/wine_prefixes/eve wine ~/wine_prefixes/eve/drive_c/Program\ Files/CCP/EVE/eve.exe