optirun wine run problem

Questions about Wine on Linux
Locked
set4812
Level 1
Level 1
Posts: 8
Joined: Fri Jul 26, 2013 10:10 am

optirun wine run problem

Post by set4812 »

My wine verssion: 1.6
Nvidia 640 M driver installed
When i trying run diablo III using wine and optirun i getting stop loading game
I runingi using

Code: Select all

optirun bash
wine DiabloIII.exe
I taking long return what stop and game not loading
http://pastebin.com/RQApF0sE
Some one now how to run game using opirun and wine?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: optirun wine run problem

Post by dimesio »

I don't think optirun is the problem; there are no graphics errors in the console output.

What I do see are wininet and msvcp90 errors, so try native versions of those. You could also try installing to a 32 bit wineprefix.
set4812
Level 1
Level 1
Posts: 8
Joined: Fri Jul 26, 2013 10:10 am

Re: optirun wine run problem

Post by set4812 »

I need better instruction how to installing to a 32 bit wineprefix. What native verssion you mean?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: optirun wine run problem

Post by dimesio »

To create a 32 bit wineprefix:

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(use the actual path the the wineprefix). http://wiki.winehq.org/FAQ#wineprefix

Native = real Windows dlls. Use winetricks to install wininet and vcrun2008.
set4812
Level 1
Level 1
Posts: 8
Joined: Fri Jul 26, 2013 10:10 am

Re: optirun wine run problem

Post by set4812 »

vcrun2008 and wininet installed. Wineprefix create but when create i got warning "catalog is 64 bit ". Diablo 3 Sc2 start normaly when i runing without optirun.
I trying run with optirun

Code: Select all

optirun wine file.exe
or

Code: Select all

optirun bash
wine file.exe
What metod is good ? How to run game using nvidia? On intel hd 4000 i have max 20 fps.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: optirun wine run problem

Post by dimesio »

Post the full terminal output.
set4812
Level 1
Level 1
Posts: 8
Joined: Fri Jul 26, 2013 10:10 am

Re: optirun wine run problem

Post by set4812 »

What? In first post you have output from run

Code: Select all

optirun bash
wine "diablo III.exe"
Game start normally when i use

Code: Select all

wine "diablo III.exe"
When i use

Code: Select all

optirun wine "diablo III.exe"

Code: Select all

set@Mlody:~$ optirun wine "c:/Program Files (x86)/Diablo III/diablo III.exe"
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
set@Mlody:~$ [VGL] ERROR: Could not open display :8.
or when i use vblank_mode=0 primusrun wine"Diablo III.exe"
i get

Code: Select all

fixme:heap:HeapSetInformation (nil) 1 (nil) 0
set@Mlody:~$ fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ras:RasEnumConnectionsW (0x13c0c8,0xe1d810,0x76c623e4),stub!
fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
fixme:service:EnumServicesStatusW resume handle not supported
fixme:ras:RasEnumEntriesW ((nil),(null),0x144138,0xe1e040,0x143e24),stub!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: optirun wine run problem

Post by dimesio »

Code: Select all

set@Mlody:~$ [VGL] ERROR: Could not open display :8.
Googling that error message turned up this: https://wiki.archlinux.org/index.php/Bu ... display_:8
set4812
Level 1
Level 1
Posts: 8
Joined: Fri Jul 26, 2013 10:10 am

Re: optirun wine run problem

Post by set4812 »

Thx for help :P This is possible to take more what 60 FPS? On windows i have 90 fps.
Locked