Friday, 26 April 2013

Ubuntu 13.04 Nvidia Optimus Bumblebee

This is how to make Bumblebee works in Ubuntu 13.04 otherwise you will get [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

I have Nvidia GT540M and Intel HD Graphics 3000 on Alienware M11x R3
Open the terminal and follow the instructions below:

1) Add the repository:

sudo add-apt-repository ppa:bumblebee/stable


2) Update the repository index:

sudo apt-get update


3) Install bumblebee:

sudo apt-get install bumblebee bumblebee-nvidia


4) Reboot your system



5) Now we need to get the BusID. Open the terminal again and type:
lspci | grep NVIDIA

It will give you the output:


01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev ff)


01:00.0 is my BusID


6) We need to edit xorg.conf.nvidia. Install GKSU if it is not installed yet.
sudo apt-get install gksu

7) Edit the file:
gksu gksu gedit /etc/bumblebee/xorg.conf.nvidia

8) Go to section device and add the BusID as below:

Section "Device"
    Identifier  "Device1"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BusID "PCI:01:00:0"

Take note, it is BusID 01:00:0 instead of dot 01:00.0


9) Restart your system


10) Test to run the bumblebee
optirun glxspheres


Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GT 540M/PCIe/SSE2
134.682392 frames/sec - 150.305550 Mpixels/sec
146.435690 frames/sec - 163.422230 Mpixels/sec
145.848772 frames/sec - 162.767230 Mpixels/sec

That's it! It should run perfectly

Saturday, 25 February 2012

Kubuntu 11.10 No Sound, Dummy Output Selected.

My Laptop is Asus A43S with sound card GF108 High Definition Audio Controller.
I understand that by selecting the profile to off and use internal Audio will solve the problem but my case is different. It will become dummy output and Internal Audio Analog Stereo is greyed out.























Phonon is sucks, simple solution is to use Pulse Audio Volume Control
sudo apt-get install pavucontrol
and set as below:

Now the sound is back.

Monday, 2 May 2011

Ubuntu 11.04 can't apt-get update

This is the continuation from my last post Gnome 3 on Ubuntu 11.04 Natty Narwhal

After I uninstall the Gnome 3 and revert to unity, I've decided to upgrade back to Gnome 3 again, honestly I'm not happy with Unity, it's very lag.

As usual, I run the apt-get update and this is what I got:
E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list


I try to delete the gnome3 list and successful!
Check the entry:
ls -l /etc/apt/sources.list.d/

and delete it:
rm /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list

rm /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list.save

Then run the apt-get update and it should be okay.


Note: After I got this update this morning May 2nd 2011 (Malaysia Local Time), I was surprised that Gnome3 now has included maximize and minimize button, this is awesome news

Related post:
Gnome 3 on Ubuntu 11.04 Natty Narwhal

Saturday, 30 April 2011

Gnome 3 on Ubuntu 11.04 Natty Narwhal

Last night I slept late until 3:30 am because I wanted to try out Gnome 3  hehe interesting, What I can say is.. wow! it's lighter and faster than the previous one. By the time I'm writing this, The only problem is lack of development on customization software. Maybe it's still new or developers concentrate more on Unity now.

So, let's have a try: (these steps maybe outdated soon because they keep on patching it everyday )
Open Terminal and enter this command

Add to repository:
sudo add-apt-repository ppa:gnome3-team/gnome3

And get the update:
sudo apt-get update

Get the upgrade:
sudo apt-get dist-upgrade

Now this is important otherwise you'll be shocked by the ugly interface just like windows 95, delete it:
sudo apt-get remove gnome-accessibility-themes

Install the standard Gnome 3 theme:
sudo apt-get install gnome-themes-standard

Restart your PC to complete the update and at the login screen, select Ubuntu Gnome Desktop and there you go, it's done.

In case you don't like it and want to revert back to Unity, follow this to remove Gnome 3.
sudo apt-get install ppa-purge

sudo ppa-purge ppa:gnome3-team/gnome3

aptitude will gives the following output:
Leave the following dependencies unresolved:
     gnome-control-center-data recommends gnome-control-center

When it asks you to enter yes/no: type the following.
- gnome-control-center-data

And proceed to select Y if it asks for any prompt. Logout and select ubuntu, done.




Wednesday, 27 April 2011

Chris Young - Tomorrow

Today I've been playing this song 51 times, what a lovely and melancholy country song. Awesome lyric too, Chris Young is getting better and better. Let's go country!




It's being played in my playlist to the right

Lyric

Tomorrow I'm gonna leave here
I'm gonna let you go and walk away
Like every day I said I would
And tomorrow, I'm gonna listen
To that voice of reason inside my head
Telling me that we're no good

But tonight I'm gonna give in one last time
Rock you strong in these arms of mine
Forget all the regrets that are bound to follow
We're like fire and gasoline
I'm no good for you
You're no good for me
We only bring each other tears and sorrow
But tonight,
I'm gonna live you like there's no tomorrow

Tomorrow I'll be stronger
I'm not gonna break down and call you up
When my heart cries out for you
And tomorrow, You won't believe it
But, when I pass your house
I won't stop, No matter how bad I want to

Baby when we're good, You know we're great
But there's too much bad for us to think
That there's anything worth trying to save

Tomorrow, I'm gonna leave here
I'm gonna let you go and walk away
Like every day I said I would

Monday, 25 April 2011

Are we entering an age of major earthquakes?

This is an interesting article I've found. Hmm.. just have a read. What do you think?

A number of devastating quakes have struck across the globe in recent years — from Japan to Chile to Haiti — sparking fears that our planet is due to experience even more catastrophic temblors in the near future. Three research teams have now combed through 110 years' worth of global seismic records to see if we might be caught in a global trend of giant earthquakes.
Some say we are; others disagree.

One pair of researchers found clusters of what they called "megaquakes," earthquakes of magnitude 9.0 or greater.

One cluster involved three such quakes between 1952 and 1964, including the magnitude 9.5 Chile quake of 1960, the largest earthquake ever recorded on Earth. Another, larger, cluster of magnitude 8.6 and higher temblors happened between 1950 to 1965, said Charles Bufe and David Perkins, seismologists with the U.S. Geological Survey in Golden, Colo. They speculate that the magnitude 8.4 Peru quake in 2001 could mark the beginning of a new global sequence of major quakes that we are currently experiencing.

"This isn't doomsday — I don't think large earthquakes will occur over a long period of time — but we're saying there seems to be a cluster right now with a higher than normal probability for large quakes," Bufe told OurAmazingPlanet. "I don't know how long this cluster might last — if we don't get another large earthquake in maybe the next 10 or 12 years, I would say we're probably out of the cluster."

Bufe suggested that by sending seismic waves traveling around and around the planet's surface, very large earthquakes might weaken fault zones that are already very close to failure. "I think there's a more than 50 percent chance we'll see another magnitude 9 quake sometime in the next decade or so," he said.

Just chance?

On the other hand, this apparent recent spike in large quakes could just reflect random fluctuations in global patterns of seismic activity. A statistical study from U.S. Geological Survey researcher Andrew Michael at Menlo Park, Calif., suggests this seeming cluster pattern disappeared once local aftershocks of the large earthquakes are taken into account.

"The most important lesson is that random doesn't mean uniformly distributed in time — instead, random processes create apparent clustering and it is important to carefully consider whether apparent clusters, or times of less activity, go beyond what is expected from a simple random process," Michael told OurAmazingPlanet. "So far, my results show that the apparent clustering is consistent with a random process."

If the apparent clustering of these quakes is a matter of chance, then seismologists can't say whether or not another huge temblor is likely to erupt anytime soon.

"The recent spate of great earthquakes can be explained as a random fluctuation without predictive power for the future," Michael said. He added that global predictions of earthquakes and the damage they inflict should use the longest possible historical record for an area "rather than focusing on the recent past."

Long-term record
Seismologist Richard Aster at the New Mexico Institute of Mining and Technology and his colleagues looked at historical catalogs of earthquakes along with more recent findings to create a long-term record of the cumulative size of earthquakes around the world.

They suggest there were relatively low rates of big earthquakes during the periods 1907 to 1950 and 1967 to 2004. However, they found the rate of large earthquakes increased substantially during the period 1950 to 1967 and appears to be on the rise again since 2004, since the devastating magnitude 9.1 to 9.3 earthquake that struck Indonesia and generated a massive tsunami late that year.

Still, this finding "is not statistically differentiable from randomness," Aster told OurAmazingPlanet.

Progress into understanding whether there are ages of major quakes or not may be slow "because we just don't get that many great earthquakes to produce a better sampling of this natural process," Aster said.

"We only get a few magnitude 9-plus earthquakes per century, for example — fortunately for earthquake risks around the world, these events are rare," Aster said. "There are only 14 earthquakes in the past 111 years greater than magnitude 8.5."

Michael agreed. "The main limitation is that we don't have enough data," he said. "We can't say that clustering doesn't exist. We can only say that the data doesn't let us reject the hypothesis that the data is random. If there was more data, then the results could change — but that will take decades to occur."

The scientists detailed their findings on April 14 at the Seismological Society of America meeting in Memphis, Tenn.

Source:
http://www.csmonitor.com/Science/2011/0420/Are-we-entering-an-age-of-major-earthquakes

Friday, 22 April 2011

David Cook - The Last Goodbye

My friend Lori introduced me this song and I got addicted to it haha. I keep playing it many many times. New single from David Cook, Last Goodbye.


Lyric:
If you hear this on the radio
Then we've already said our last goodbye
I won't be there when you get home
By now there's someone else that hears you cry

I wonder if he holds you like I did
I hope that he can love you better
Cause we were everything that's right at the wrong time
CHORUS:
I didn't want to lose you
Leave you with a broken heart
But wherever we are, we're miles apart
I know that we tried, but this is the last goodbye
Oh, I didn't want to let you go
But wherever we are, we're miles apart
I know that we tried, but this is the last goodbye

We were almost beautiful
A broken piece of art put on display
But we were never possible
Another perfect moment thrown away

I know somebody out there will love you
They'll be the forever we never were
Cause we were everything that's right at the wrong time

Walkers in Siberia found the body of an alien near UFO hotspot

It's hard to believe and if it's true then all the theories about alien are correct? The truth is out there whether we have been trolled or not 
On Wednesday, two walkers in Siberia claim to have found the body of an alien, and took a video of their findings.  The video was taken Wednesday, April 20, 2011 near Irkutsk, Russia.
The video shows a small, slender, damaged body lying in the snow.  The alien is approximately 2 foot high and part of the right leg is missing.
The area near Irkutsk, Russia has been called a UFO hotspot and people have reported numerous sightings of aliens and UFO's near that area.
'We couldn't believe it when we saw it. And what was spooky is that there was no sign of the spaceship. Perhaps that was taken away and the body overlooked,' said Igor Molovic who uploaded the video.