The forum

DIABLO III Using Optirun/bumblebee in 3 steps!

How to from DVD and download.

Author Replies
Clicksights Friday 18 May 2012 at 17:29
ClicksightsAnonymous

Using Optirun/Bumblebee for DIABLO III in 3 steps! (done on Ubuntu 11.10)

Bumblebee uses optirun to put on the second graphiccard.
You have to run POL in optirun mode even during the install so the install sees your 2nd graphic card.
Else D3 will not install/run!

1- Run POL in optirun
First ad the optirun string to POL
(In Ubuntu: go to your Dash click 'main menu' select games and select POL. Click on properties and ad 'optirun' in front of playonlinux)

Now if you start POL it should run in optirun mode.

2- Installing D3
If you want to download the game just run POL and use the Diablo III installer. And skip the next step.

>>If you want to install from CD, i used de D3 CE, you need to check if your Diablo III DVD is mounted right.<<

Open a terminal (CONTROL + ALT + T) and type:

mount

If it returns:

/dev/sr0 on /media/D3C1.0.0 type udf (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,dmode=0500,uhelper=udisks)

to 'unhide' it type:

sudo umount /dev/sr0
sudo mkdir /media/Diablo3
sudo mount /dev/sr0 /media/Diablo3 -o unhide,unhide,uid=$(id -g)

*note: /dev/sr0 is specific for my laptop, and most laptops if you have several DVD drives it could be different. So change it accordingly.

*note on UBUNTU 12.04 you also have to avoid the connection lost error (3007) so type:

echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope
 
Install Diablo III in POL, selected the D3 installer under games and follow the instuctions.
>>Don't use run from a CD-ROM!<<
When you have to select the program select the file manually (the D3 exe on the DVD)
This will automatically install the wine 1.5.4-DiabloIII version.

It should install in a breeze.

*note if you run into problems though, just go back to installing a non listed program since the wine version you need is already installed

3- Start the game from inside POL!
The icon on your desktop wont work, optirun wil not start if you use it, even if you was to ad the optirun command it wont work, cause it starts another procces to run D3!
So basicly your splash screen checking for updates is run from the desktop shortcut not Diablo 3.

- Background:
Since my power led changes color when optirun is on, i noticed if i just made Diablo 3 run in optirun, after the start up screen, optirun went off...
Also D3 needs to have the card on during install to avoid it not being able to install because it will only see your onboard card, and that wont be able to run the game.

- hope it helps! and i did not forget anything! :-P
Quentin PÂRIS Friday 18 May 2012 at 23:05
Quentin PÂRISAnonymous

PlayOnLinux already supports optirun ;)

Just type POL_Config_Write PRE_WINE optirun in PlayOnLinux console and here you are
Clicksights Saturday 19 May 2012 at 21:56
ClicksightsAnonymous

Ow, didn't know that!
;)
That's better than great!

:bow

I will test it tomorrow, and edit the tuto.
Compliments again on making Diablo III run on POL within hours after the release!
Must be some kind of record!

Trim Sunday 27 May 2012 at 21:57
TrimAnonymous

Hello!

I've tried the solution for optirun, but typing "POL_Config_Write PRE_WINE optirun" in PlayLinux Console doesn't start my Nvidia card (Diablo III warns me that I've only a SandyBridge graphic card).

I've checked my ~/.PlayOnLinux/playonlinux.cfg and I've well the line PRE_WINE=optirun but it seems doesn't use it.

My PlayOnLinux version is 4.1.1 on Debian/Sid. Have you any idea where to search ?

(if I run "optirun playonlinux" it works, thanks :) )

Edit : Sorry, I've just see now this ticket : #899

Edited by Trim