Friday, May 23, 2014

PlayOnLinux and Diablo 3 ROS: Get pass that "Retrieving Hero List" bug!

PlayOnLinux is a welcomed tool to make Wine configuration fairly painless. The default D3 installation option works, however playing the game with the default options won't work. The game is rendered very slowly and has choppy audio and gets stuck on "Retrieving Hero List"

This is how I fixed it( Ubuntu 14.04 and fglrx drivers):

Highlight "Diablo III", Click on "Configure" on PlayOnLinux toolbar and add "-opengl" in Arguments.



The frame rate should be a lot better now but you will be stuck at "Retrieving Hero List..."

On Ubuntu desktop, selected the Diablo III shortcut placed by PlayOnLinux and edit it to include "setarch i386 -3 " prefix in Command textbox:



The game should work  smoothly now.


Wednesday, May 21, 2014

Steam, Linux and Segmentation fault

My steam deb installation on Kubuntu 14.04 failed while it was trying to start. When I ran the program from the control panel , it showed that it crashed out with a segmentation fault.

Turns out that the issue was attributed to the proprietary drivers I was using(  in this case AMD's fglrx). Setting the drivers to the  Xorg's drivers and re-run steam worked.

Tuesday, May 13, 2014

Gigabyte H87 D3H : Not stable or bootable sometimes, but fixed

I got a Gigabyte H87-D3H and a Haswell processor. What adventures I had with it.


Symptoms: With the old PC10600 16gb RAM The box just won't boot sometimes, or would start displaying pixel corruption in the BIOS screen, or hang randomly.

When you get a board fresh from the store together with a new CPU, you would expect the board to boot up just nice right? Apparently not in this case:

The box booted without display. LCD monitor just went to sleep upon finding no signal.

The tedious troubleshooting proceeded, swapping out card to run the native HD4400 display, and disconnecting hard drive and RAM.

The configuration that finally worked for me was when I had one or two sticks of RAM in the board(I had 4X4GB sticks). System ran stable for 2 weeks.

I had some time today since it is a public holiday, so I swapped  2X8Gb cosair kit ram from the Win8 box...and the box booted without display. Only one stick at any slot will work. Great.

Started poking around the BIOS to see if there's any RAM settings that wasn't out of the box when I noticed that the BIOS was 2 revisions and the new one  "Support New 4th Generation Intel Core Processors"

Patched it and now it seems to be perfectly happy to take the all RAM sticks. Hello Xubuntu( and all the Wine games).

Troubleshooting PCs are only fun when all you have is time.


Saturday, May 10, 2014

Disable autocompletion of braces, strings and parentheses in Eclipse


Autocompletion of braces and quotes may be productivity gain for  lots of people, that's why Eclipse has that settings on by default right? I found that this feature is breaks my coding flow.. and thankfully there is a way to turn it off easily.

Access Preferences (Alt+,/Eclipse->Preferences in OSX or Window->Preferences in others
Type braces into the text search and disable in Java->Editor->Typing or Javascript->Editor->Typing depending on what source code you're working on.

Uncheck the items under "Automatically close"


 

Eclipse cannot start

I have a couple of projects in Eclipse that I was importing and deleting. I'm not sure if that caused the symptom to appear when I relaunched Eclipse. Had an error messsage that reads "An error had occured. Please see the log file". The fix? Navigate via command line and issue "eclipse -clean", then relaunch.

Thursday, May 8, 2014

Rift, PlayOnMac - Update

Just a little update to the previous post on Rift + Wine(http://workinginavirtualspace.blogspot.sg/2014/05/rift-and-wine.html)

 .. Rift won't work unless Wine is set up to emulate a virtual desktop.



Enjoy patch 2.7!


SailsJS, Passport and Social Auth

There is Git ready to go example of Sails + Passport JS social authentication for Github, Google+, Facebook and Twitter. I've successfully set up Facebook auth and I suppose the rest will work just as well.

A point to note for Facebook call backs when you see this:

"Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

On Facebook's dev app page where you created the app, go to Settings->Advanced, enter the callback URL  and save.



https://github.com/stefanbuck/sails-social-auth-example/tree/sails_0.10