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.
12Next page
 

Wine issues

Author
Galaga Stratos
EVE University
Ivy League
#1 - 2014-04-17 17:23:43 UTC  |  Edited by: Galaga Stratos
Hi All,

Thanks to Dreadchain who assisted me to this forum.

Im trying to run Eve under WINE on a Debian 7.4 i386 arch machine and getting the below error message:

The program exefile.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience.

I cant even open the settings window to untick CQ in login screen, gives same error.


The output of the "Show Details" is can be attached aswell a pic of the error window.

Im using the following Runscript/Commands:
:~$ wine explorer /desktop=eveA,1920x1080 "c:\program files\ccp\eve\eve.exe"

and

:~$ wine explorer /desktop=eveA,1920x1080 "c:\program files\ccp\eve\bin\exefile.exe"

both fails with the exact same above error message.



I have run
:~$ ./winetricks corefonts d3dx9_36 vcrun2005 vcrun2008 vcrun2010 dotnet40

and sudo apt-get install libtxc-dxtn-s2tc0

Tried also reversing as below to no avail:

msvcr100 (builtin, native)
msvcr80 (builtin, native)
msvcr90 (builtin, native)

Wine version:
:~$ wine --version
wine-1.7.16

:~$ cat /etc/debian_version
7.4

:~$ glxgears
runs fine


Have also read and looked at the page Winehq eveonline

$ glxinfo | grep shading
OpenGL shading language version string: 1.20
GL_ARB_occlusion_query2, GL_ARB_point_sprite, GL_ARB_shading_language_100,

The above should be 3+ right?

Nebu Retski at
driconf
driconf
said "then find the enable s3tc_texture_compression option"
but cant find that option though?


I can post the output of glxinfo if needed.


Has anyone else some experience of this?
and maybe would provide answers would be greatly appreciated.
Neuntausend
Republic Military School
Minmatar Republic
#2 - 2014-04-17 17:58:38 UTC
I am fairly sure you don't need all these overrides with 1.7.16. Try running eve in a fresh prefix, no winetricks, no overrides and see if it still crashes.
Galaga Stratos
EVE University
Ivy League
#3 - 2014-04-17 18:00:55 UTC
Thanks, will try that.
Torgeir Hekard
I MYSELF AND ME
#4 - 2014-04-18 03:27:40 UTC
I have shading language version 1.30, and it's enough to run eve.

As for driconf, i guess here it is: http://i.imgur.com/DADQsi9.jpg
Galaga Stratos
EVE University
Ivy League
#5 - 2014-04-18 21:13:15 UTC  |  Edited by: Galaga Stratos
Alright thanks for the answer, but I dont get it, on EVE System Requirements page it says the gfx card should run Shader 3.0?

I have updates though, i removed Nouveau driver and installed nvidia-glx package as stated in Debian Nvidia Conf.

Which installed Nvidia driver 304.88 driver and restarted in as pressing and opening another tty with (ALT-F2) with my root account
Quote:
# /etc/init.d/gdm3 stop
and run
Quote:
# nvidia-xconfig


inbetween to rewrite or create the xorg.conf and then:

Quote:
# /etc/init.d/gdm3 start


I afterwards recognized a HUGE performance gain in graphics/puter handling.

I start the EVE client by using the following command :

Quote:
/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer /desktop=eve1,1024x768 "C:\Games\CCP\EVE\eve.exe"


and noticed that I could start the EVE config menu (i couldnt before with the nouveau driver) on the upper right location on the login screen)) without errors, FINALLY. btw cant find the setting "disable CQ" there though.

Stupid thing is that my Eve install is still complaining that my GFX card for which is a

~$ nvidia-detect
Detected NVIDIA GPUs:
00:12.0 VGA compatible controller [0300]: NVIDIA Corporation C67 [GeForce 7150M / nForce 630M] [10de:0531] (rev a2)

and according to this nvidia url Version 304.88 For support of GeForce 6xxx and higher GPUs my above card should is supported by the list.

And my card should be supporting Shader 3 by this link

But still get the "Shader model 3 (SM3) support is neede to run this game. Click OK to close the game client." error message and can only be closed by pressing OK button.

(update) Hell, I get the same error on a Windows Vista Compaq 6715s machine with an ATI Radeon X1250 gfx card that only support Shading version 2.0(!) Torgeir Hekard: Thanks for the post I would love to know please provide the link location for the Eve installer that works for you :p

I saw this forum post which definitely requires Shader 3.0 ugh.
Right now when Im launching
Quote:
$ driconf

it complains about libGL is too old on the screen below command
and puts an error messagewindow stating that XDriInfo returned with non-zero-exit code. Im currently researching this though.


What gives? I still dont get it about the shader requirement.


My card should be supporting Shader 3.0 with the correct nvidia-settings which report im using 304.88 driver, still it shows the error message?
And glxinfo | grep shader gives GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3



inxi reports
CPU: Dual core AMD Athlon 64 X2 TK-55 (-MCP-) cache: 512 KB
Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz
CPU Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx
fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy 3dnowprefetch lbrv


Please forgive my messy post but I'm still hanging in the forums, I needs to fly :)
Boyamin
Royal Amarr Institute
Amarr Empire
#6 - 2014-04-19 06:46:32 UTC
The version of wine in debian wheezy is very old (1.4), IIRC eve only started running really well with wine on version 1.6.

It's possible that the version of wine that you are running simply hasn't implemented SM3 for your graphics card, try switching your debian repository to testing and upgrade wine, or compile the latest wine yourself.
Torgeir Hekard
I MYSELF AND ME
#7 - 2014-04-19 07:04:03 UTC
Galaga Stratos wrote:

and noticed that I could start the EVE config menu (i couldnt before with the nouveau driver) on the upper right location on the login screen)) without errors, FINALLY. btw cant find the setting "disable CQ" there though.

IIRC, it's called "load station environment".
Galaga Stratos wrote:

Torgeir Hekard: Thanks for the post I would love to know please provide the link location for the Eve installer that works for you :p

I... Guess the regular one? I didn't really use the EVE installer since dunnowhen. I just copy my existing EVE installation around.

Galaga Stratos wrote:

Right now when Im launching
Quote:
$ driconf

it complains about libGL is too old on the screen below command
and puts an error messagewindow stating that XDriInfo returned with non-zero-exit code. Im currently researching this though.

Of course it complains if you are trying to point it to a proprietary driver. It only works for mesa libGL. For a proprietary driver it's poitnless - s3tc already IS there, since the only reason it might not be in an OpenSource driver is licensing issues which aren't a problem for the proprietary driver.
Galaga Stratos wrote:

What gives? I still dont get it about the shader requirement.

You probably shouldn't bother with it and look for something else you are missing that makes eve think you are having wrong drivers.
Galaga Stratos
EVE University
Ivy League
#8 - 2014-04-19 11:55:28 UTC  |  Edited by: Galaga Stratos
Boyamin wrote:
The version of wine in debian wheezy is very old (1.4), IIRC eve only started running really well with wine on version 1.6.

It's possible that the version of wine that you are running simply hasn't implemented SM3 for your graphics card, try switching your debian repository to testing and upgrade wine, or compile the latest wine yourself.


Hi thanks for the answer, but I'm running wine 1.7.16 so it should be supported I believe? Edit: I have compiled Wine myself.
Galaga Stratos
EVE University
Ivy League
#9 - 2014-04-19 12:04:07 UTC

Galaga Stratos wrote:

Right now when Im launching
Quote:
$ driconf

it complains about libGL is too old on the screen below command
and puts an error messagewindow stating that XDriInfo returned with non-zero-exit code. Im currently researching this though.

Of course it complains if you are trying to point it to a proprietary driver. It only works for mesa libGL. For a proprietary driver it's poitnless - s3tc already IS there, since the only reason it might not be in an OpenSource driver is licensing issues which aren't a problem for the proprietary driver.
Galaga Stratos wrote:

What gives? I still dont get it about the shader requirement.

You probably shouldn't bother with it and look for something else you are missing that makes eve think you are having wrong drivers.[/quote]

Yes I believe You are right, thanks, I will keep fighting with this installation.

I know that the Nvidia 7150M/630M card im using IS/Should be supporting SM3 (Shader version 3) according to the hardware specs.

I just need to enable it somehow I guess?
Galaga Stratos
EVE University
Ivy League
#10 - 2014-04-19 12:28:12 UTC
I cant find the "Load Station environment" option in the splash/login screen settings. I'll post a Screenshot, maybe im way off?
Torgeir Hekard
I MYSELF AND ME
#11 - 2014-04-19 12:32:24 UTC
Aaaah. No, it's an ingame option.

http://i.imgur.com/UCL4MBQ.jpg

Just load the game through exefile.exe in the ./bin folder and you get the loading screen where you can open the options menu.
Galaga Stratos
EVE University
Ivy League
#12 - 2014-04-19 12:47:03 UTC  |  Edited by: Galaga Stratos
Ah thanks, but sadly when I'm running


/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer /desktop=eve1,1024x768 "C:\Program Files\CCP\EVE\bin\exefile.exe"

I get the Ole Outdated graphics card detected, Shader Model 3 (SM3) support is needed to run this game error message :-(

Posting a pic of the screen.
Torgeir Hekard
I MYSELF AND ME
#13 - 2014-04-19 13:39:37 UTC  |  Edited by: Torgeir Hekard
Oooh waaait. I think I got it.

It's not the recend 6-series GeForce, it's ye olde laptop 6-series circa '06, which kinda makes it interesting because, guess what,

http://inciner.blogspot.ru/2012/09/eve-online-in-wine-linux-how-to-get-it.html

tldr: it is, indeed, an SM3 problem, because wine checks for ARB_shader_texture_lod extention, and it it's not there, - it thinks you've got no SM3, so "all" you have to do is patch wine source to trick it into thinking you've got SM3.
Specifically, you apparently need to do something with the function shader_glsl_get_caps in /dlls/wined3d/glsl_shader.c

Here's what the relevant part looks like in the 1.7.11 source I've got on me right now:

Quote:

/* ARB_shader_texture_lod or EXT_gpu_shader4 is required for the SM3
* texldd and texldl instructions. */
else if (gl_info->supported[ARB_SHADER_TEXTURE_LOD] || gl_info->supported[EXT_GPU_SHADER4])
shader_model = 3;
else
shader_model = 2;


You may want to try to check for NV_VERTEX_PROGRAM3 and NV_FRAGMENT_PROGRAM2 instead. Or just plain swap 2 for 3 in the
Quote:

else
shader_model = 2;

part for your personal use. EVE aparently does not use the extension in question anyway.
Galaga Stratos
EVE University
Ivy League
#14 - 2014-04-19 14:12:57 UTC  |  Edited by: Galaga Stratos
Wow great share, thanks a ton, although I get

Quote:
:~/Downloads/wine-1.7.16$ patch -p0 < ../patch
patching file dlls/wined3d/glsl_shader.c
Hunk #1 FAILED at 4952.
1 out of 1 hunk FAILED -- saving rejects to file dlls/wined3d/glsl_shader.c.rej
:~/Downloads/wine-1.7.16$


Seems the file to be patched is an other version than the patch was intended for Oops. I could try to perhaps patch manually though, but 4952 changes would take someee time, (Edit: err wrong I mean line 4952 I guess). I would rather try to figure out which version of Wine source the patch was intended for perhaps. (Edit: ahaa its for the 1.7.11 source) Got 1.7.16 one though. Ok, I will try to patch manually as You suggested.
I removed the previous wine install already bu make uninstall and did make clean on the source, so only option is to compile again.
Galaga Stratos
EVE University
Ivy League
#15 - 2014-04-19 14:43:12 UTC
Hmm this is interesting, seems the patch was intended for Version: 1.3.23 according to here and that one would guess that would already be fixed in 1.7.16. in Changes here for version 1.7.12 there is alot of fixes done for Eve

I take it, this should be fixed in 1.7.16. Anyways im recompiling from scratch, will report of any progress.
Torgeir Hekard
I MYSELF AND ME
#16 - 2014-04-19 15:07:57 UTC
Galaga Stratos wrote:
Hmm this is interesting, seems the patch was intended for Version: 1.3.23 according to here and that one would guess that would already be fixed in 1.7.16. in Changes here for version 1.7.12 there is alot of fixes done for Eve

No, that was just a cleanup of old bugreports left hanging. The actual fix in 1.7.12 was for the crash-on-resize.

It's quite logical to expect your current wine behaviour to not be fixed ever, since it was, itself, a fix for SM detection which removed the old way to check for SM3 (as suggested above) and replaced it with the current way.
Galaga Stratos
EVE University
Ivy League
#17 - 2014-04-19 17:18:43 UTC
OK, Have looked at the patch and tried manually edit and search the code, although I guess I need to be a programmer to fix this.
Galaga Stratos
EVE University
Ivy League
#18 - 2014-04-19 17:50:59 UTC  |  Edited by: Galaga Stratos
Strangely it worked, I'm confused! But it is unplayable, it too slow alright have to fix another HW I guess.

I don't know what to say, nice fix definitely!
Boyamin
Royal Amarr Institute
Amarr Empire
#19 - 2014-04-22 06:10:37 UTC
This guy solved his SM3 problem (stroven):

https://forums.eveonline.com/default.aspx?g=posts&t=213429&find=unread

what does the following give you?

LIBGL_DEBUG=verbose glxinfo

I wouldn't edit the wine sources, unless you know what you are doing. By forcing SM2, you are probably running eve without direct rendering, because eve may require SM3 to use your graphics card.

I would try installing/re-installing different nvidia drivers.
Torgeir Hekard
I MYSELF AND ME
#20 - 2014-04-22 06:28:32 UTC  |  Edited by: Torgeir Hekard
Boyamin wrote:
I would try installing/re-installing different nvidia drivers.

Would not help. You may want to read the relevant wine bugreport, it has an explanation why this happens to GeForce 6000/7000 videocards http://bugs.winehq.org/show_bug.cgi?id=28529

Then again, it's probably worth trying to disable glsl shaders through winetricks and see what happens. ARB shaders apparently don't need this extension and use some nvidia extensions instead.

PS: it's not forcing SM2. It's actually forcing SM3 while lacking a certain extension which wine normally requires to classify videocard as SM3-capable. If you are lucky and your application does not use this extension, there should be no problems (apart from your videocard being 7 years old and far from the top model).
12Next page