Problem with Eurotruck simulator 2 on Archlinux

Questions about Wine on Linux
Locked
HDArtworks
Level 2
Level 2
Posts: 12
Joined: Tue Nov 26, 2013 12:44 am

Problem with Eurotruck simulator 2 on Archlinux

Post by HDArtworks »

Hi.
I install arch yesterday. I install wine and install Euro Truck Simulator 2 too.
But when i try to run euro truck simulator 2, the resolution changed to 1024*768 and nothing happened. :(
What should i do? :|
Thanks and sorry for my bad english...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by dimesio »

Wine version? If it's not at least 1.6.1, upgrade. If it still doesn't work, post terminal output. http://wiki.winehq.org/FAQ#get_log
HDArtworks
Level 2
Level 2
Posts: 12
Joined: Tue Nov 26, 2013 12:44 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by HDArtworks »

my wine version in 1.7.7.
I install it from repository.
And here's the log...

Code: Select all

fixme:thread:SetThreadIdealProcessor (0x80): stub
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 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "GeForce 9800 GT/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 331.20)").
fixme:win:EnumDisplayDevicesW ((null),0,0x32f598,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32ef88,0x00000000), stub!
fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table
fixme:d3d9:device_init Ignoring display mode.
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  1352
  Current serial number in output stream:  1353
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by oiaohm »

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 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "GeForce 9800 GT/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 331.20)").
These three lines tell you the problem.

HDArtworks I don't see how wine errors could not be more plain english than this one. Something is wrong with your video card drivers please fix. Yes 32 bit opengl drivers for you Nvidia are missing.

Attempting to use swrast should not happen if Nvidia drivers are installed correctly.
HDArtworks
Level 2
Level 2
Posts: 12
Joined: Tue Nov 26, 2013 12:44 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by HDArtworks »

thanks a lot oiaohm.
I fix that! the game is running.
I seach about 32 opengl driver and i found my solution in arch wiki.
i install lib32-nvidia-libgl and then run the game, the game is running well!
Thanks. But the game little slow...
Any solution.
Thanks and sorry for my bad english...
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by oiaohm »

__GL_THREADED_OPTIMIZATIONS=1 wine program.exe

HDArtworks __GL_THREADED_OPTIMIZATIONS=1 does not work in all cases but people with Nvidia drivers when it works notice a nice boost in performance.

Also WINEDEBUG=-all can also speed up some programs a lot printing out the debugging information of wine does cost cpu time.
HDArtworks
Level 2
Level 2
Posts: 12
Joined: Tue Nov 26, 2013 12:44 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by HDArtworks »

Hi oiaohm.
This command dosen't work.
When i launch game with this command FPS is 0!
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by oiaohm »

HDArtworks Ok we have found a incompatible with threading.

Notice I said does not work in all cases. It was worth a shot at best it doubles the FPS or more. At worst game crashs or gives zero.
d10sfan
Level 2
Level 2
Posts: 10
Joined: Wed Aug 15, 2012 12:14 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by d10sfan »

There's a Linux version available on Steam. Why not use that?
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by etwineb »

Steam.
HDArtworks
Level 2
Level 2
Posts: 12
Joined: Tue Nov 26, 2013 12:44 am

Re: Problem with Eurotruck simulator 2 on Archlinux

Post by HDArtworks »

Tnx guys.
I know there is a steam version.
But i'm in iran and i can't buy from steam in Iram.
Locked