Using wine as the PB install and placing the latest pnbstr files into the correct dir's was able to get origin to download the games on ubuntu 13.10,notebook p150 Clevo with the i7 haswell cpu & GTX765m.
After revisiting the optimus switching area after a few years of being left in the cupboard it was great to see the code has morphed to optirun with bumblebee,which is where my time on this jumped ship,works great on the clevo,but now i need to get BF3 & 4 running.
I get the error when starting the game battlefield3 of awc.dll error and awc licensing invalid license ,see screenshot link http://imgur.com/koWGUIN.
Using wine 1.4.1 ,q4wine ,some scripts & playonlinux .
No issues with PB now ,i did have to use some pb files from the win install and place in the system32 of the win drive,reboot the wine os and then install pb and it stops complaining about running as a service.
Are the later versions any better than the release ,i dont want to break the current wine.
ATB
As per my post here : http://appdb.winehq.org/objectManager.php?sClass=version&iId=24663
1 -Still trying on POL ,although i havent put together a script ;
Please note i'am running through q4wine & also straight wine command line ,with optirun to start the q4wine or wine .
Optirun and primusrun are the switching binaries of bumblebee
that enables the optimus mux head of the dGPU or Nvidia GPU in thise
case,without using this the applications will not load opengl and will
complain in the log console.
eg ; (1) optirun q4wine or (2) primusrun q4wine or (3) optirun wine,with optirun being the preferred in this case.
The links top the opengl libraries ( symbolic) are also requried
in each wine apps directory ,you will see errors concerning opengl if
these are not placed in the Battlefield 3 directory .
Under the drive_c of your wine drive with Battlefield on it,in a
console ( not wine) cd to that directory ,cd cd .wine/drive_c/Program\
Files\ \(x86\)/Origin\ Games/Battlefield\ 3/
ln -s /usr/lib/i386-linux-gnu/libGLU.so.1
ln -s /usr/lib/i386-linux-gnu/libGLU.so.1.3.1
You will see two sym links like below .
lrwxrwxrwx libGLU.so.1 -> /usr/lib/i386-linux-gnu/libGLU.so.1
lrwxrwxrwx libGLU.so.1.3.1 -> /usr/lib/i386-linux-gnu/libGLU.so.1.3.1
These links can be copied to other game directories such as BF4 or COD4 which also required these symlinks.
Bumblebee Install with Nvidia on Ubuntu 13.10 Saucy & this works on my system very well;
http://bumblebee-project.org/
1 ;
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
You can take out the ppa for xorg-edgers after the install of the
nvidia pkg's as updates done in auto could break the symlinks and ruin
all the fun.
2;
Remove old nvidia drivers
sudo apt-get purge nvidia-yourversion nvidia-settings-yourversion
3;
Then install bumblebee and nvidia-331
purge nvidia-yourversion nvidia-settings
4;
sudo apt-get update
sudo apt-get install primus && apt-get install primus-libs
sudo apt-get install bumblebee bumblebee-nvidia primus nvidia-331 nvidia-settings-331
sudo apt-get install bumblebee-config-gtk
sudo apt-get update
sudo apt-get install virtualgl-libs libgl1-mesa-glx
sudo apt-get install libgl1-mesa-glx
sudo apt-get install libc6-dev-i386
sudo apt-get install libc6
sudo apt-get install mesa-utils
sudo apt-get install mesa-utils-extra
sudo apt-get install zlib1g
sudo apt-get install libjpeg62
4;
Cinebench results are well above normal results in windows,using this to check that wine is utilising opengl.
Cinebench32 results are at approx 54.52. points ,as per the results they have been at 59? on the 1.7 wine version i think.
http://i.imgur.com/XSlgip1.jpg
5;
The executable is loading in the system for approx 1 minute before stopping with the previous errors.
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
fixme:win:EnumDisplayDevicesW ((null),0,0x33dc38,0x00000000), stub!
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:system:SetProcessDPIAware stub!
The above errors occur with or without application configuration
to disable or native /inbuilt etc,with mshtml,mmdevvapi or directx.
The PCI and Vendor Code have been added to two extra DWORDS in
the registry under Direct3D ,VideoDeviceID & VideoVendorID,these can
found by lspci -n in xterm or the console,although no noticable
difference was made with these inclusions.
Video Configuration is still under testing but it works with COD and the other apps is as per below ;
http://i.imgur.com/h85H2ii.png
6 -Authentication - awc errors
The bf3.exe now loads with Origin and via the web browser,i
have PB installed and both PnkbusteA & B running ,alogn with
eacoreserver,easonar,origin client service,with the option string after
the bf3.exe .
To get awc.dll errors to be corrected the following string after
the bf3.exe without quotes and must be used ,some of the data is only
available if you have purchased the item from EA.
Place The following string is available via windows string information when running the game ,eg : Origin.exe
-webMode MP -Origin_NoAppFocus -onlineEnvironment prod -AuthCode thiscodeisperpurchasefromwindblowsinbf3startstring -requestState State_ClaimReservation -requestStateParams logintoken=thiscodeisperpurchasefromwindblowsinbf3startstring levelmode=mp personaref=thiscodeisperpurchasefromwindblowsinbf3startstring role=soldier gameid=thiscodeisperpurchasefromwindblowsinbf3startstring putinsquad=true
Wine Version wine-1.6.1
Hardware Clevo p150 ,i7 haswell & GTX765
7- Errors still not corrected
If it complains about unable to grab the display eg:place
$DISPLAY as your current display ,to show this in a normal console echo
$DISPLAY
I have also disabled dx9,10 & 11 in the wineconfig application settings ( libraries).
Only Error now is :
fixme:win:EnumDisplayDevicesW ((null),0,0x33dc38,0x00000000), stub!
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:system:SetProcessDPIAware stub!
5-
Still to test /correct is the actual screen display and play.
COD4 was misbehaving with display errors will i unplugged the
external monitor (hdmi),it now plays great,this didnt fix the display
errors in bf3,yet.
OS & Specs ; 3.11.0-15-generic #23-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
Hardware ; I7 4700mq ,Clevo P150,GTX765m.
Edited by Shadrach