LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   [HOWTO] Alienware M14x, Fedora 15 - Bumblebee, System Setup (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/%5Bhowto%5D-alienware-m14x-fedora-15-bumblebee-system-setup-907457/)

corp769 10-10-2011 04:26 PM

[HOWTO] [UPDATED] Alienware M14x, Fedora 15 - Bumblebee, System Setup
 
Alright guys, I purchased the Alienware M14x, knowing that I was going to immediately remove windows and use only linux. I knew that I was in for it, and after a few weeks, with an unexpected delay of getting a new motherboard, I am happy to say that I got the nVidia GPU fully working. This isn't a full step by step tutorial, but just confirming that I have gotten it to work, and I am sharing my information with you.

First of all, Fedora is not officially supported yet in The Bumblebee Project. First of all, we need to clone into fedora-dev:
Code:

git clone git://github.com/Bumblebee-Project/Bumblebee.git -b fedora-dev
Note that you should do this as a normal user, and run the install using either sudo, or "su -". In my case, I did it as root because I was doing a lot of modifications at the time to the code to test everything out. After we clone in, we need to tell the install script to keep running after complaining about running fedora and not being fully supported.
Code:

cd Bumblebee/stages
vi determinedistro

You need to comment out "exit 3" under Fedora, and you will be set. Follow up and run the install script in the Bumblebee directory, allowing everything to install. For me, I had to remove the nouveau driver because the proprietary drivers wouldn't install, due to a driver already being loaded.
Code:

rmmod nouveau
rmmod nvidiafb

I removed both modules just in case, and everything went very smoothly.

Well enjoy your system, and please note that fedora is still unsupported. I'm on the mailing list, and I will be working with the devs soon to get it fully supported. On a side note, I have gotten everything else working, with the exception of a minor audio glitch with my headphone jacks. That will come in the future, as it is not a pressing issue. All I got besides that is I had to install the following:

UPDATE: After updating my kernel, and messing with bumblebee and the latest nvidia drivers, I have come across a small bug regarding FPS issues. Since I like to manually start all of my services to be in complete control, everything worked as advertised. The only drawback was that I had to manually "ps aux" and grep out bumblebee, and kill the PIDs of the started X server, and the bumbebee server, and then manually restart the bumblebee service. Without doing this, minecraft was very laggy, even using my Nvidia 555M GT chipset. On the contrary, after doing all of that, I noticed a drastic increase in performance, in comparison to the older version of bumblebee I was using, and the older kernel I was running.

Code:

yum install vbetool
/var/log/pm-suspend.log was complaining that vbetool wasn't installed, and this was refraining my system from completely powering up my monitor and graphic drivers after suspend mode and hibernation. More to come as I keep working on all the glitches. I hope to have everything sorted out by late next week. (Thanks to my buddy Eric for pointing out the log file - I almost forgot to look there at last.)

Cheers, and all the best,

Josh


EDIT 1 - Being a 64 bit system, and a heavy minecraft player, I had difficulties getting minecraft running using optirun. I had to run the following:
Code:

ldconfig /usr/java/jre1.7.0/lib/amd64
Note that the location of your 64 bit Java JRE libraries may be different. After reconfiguring, I ran my script to run up minecraft with optirun, and success! Here is my small script to make things a bit easier, and to call from an icon shortcut on my status bar:
Code:

#!/bin/bash
cd /home/casper/GAMES/minecraft
optirun java -jar minecraft.jar 1>minecraft.out 2>minecraft.err


EDIT 2 - Here are the screenshots of the FPS of glxgears, using both the normal Intel Graphics driver, and the nVidia graphics driver. Can you tell which one is which? :p
http://img841.imageshack.us/img841/9...0201104333.png
http://img255.imageshack.us/img255/5...0201104355.png


EDIT 3 - Here is the benchmark that H_TeXMeX_H told me about.....
http://img27.imageshack.us/img27/269...3201107442.png
I know not the best, but still pretty dang good for being a laptop....

H_TeXMeX_H 10-11-2011 10:11 AM

Indeed, we can tell which one is the Intel. 50 FPS ... I wonder if it even contributes significantly to any rendering. It's mostly there to save power, and that's about it.

corp769 10-11-2011 12:25 PM

Oh it definitely does. I ran up minecraft with everything maxed out, fullscreen, and no lag whatsoever. I did the same with the Intel, and after a few minutes, everything started to get pixelated, and started to lag.

justforyou 10-11-2011 02:33 PM

Thats some impresive numbers :d

I wonder how it will do on real numbers chruching like calculating md5's? What gpu u use?

corp769 10-11-2011 03:14 PM

It's the nVidia GeForce 555M (it's in my sig). It's not the best mobile GPU they have, but it's really good still. I love it.... I ran a benchmark yesterday back at my house, and the numbers were very impressive. I'm not home right now, so I can't post everything currently. I will get back to you on that.

H_TeXMeX_H 10-12-2011 08:01 AM

glxgears is not a benchmark. Try something like the unigine benchmark.

cascade9 10-12-2011 08:18 AM

Quote:

Originally Posted by corp769 (Post 4494922)
EDIT 2 - Here are the screenshots of the FPS of glxgears, using both the normal Intel Graphics driver, and the nVidia graphics driver. Can you tell which one is which? :p
http://img841.imageshack.us/img841/9...0201104333.png
http://img255.imageshack.us/img255/5...0201104355.png

Besides 'glxgears is not a benchmark', you did notice the little disclaimer? "Running synchronised to the vertical refresh" means its not going to produce any more frames than the refresh rate.

Sure, intel video chips are about as weak as you can find, but that glxgears run doesnt show the intel video chip running at full power.

Quote:

Originally Posted by corp769 (Post 4495736)
It's the nVidia GeForce 555M (it's in my sig). It's not the best mobile GPU they have, but it's really good still.

Yet another nVidia GPU with multipule versions.

*rant mode*

nVidia, if you cant give different GPUs different names, its either lazy or an attempt to mislead. I'm sick of seeing 'up to' on spec pages. Optimus not getting suppoort for linux is one thing, but this 'badge engineering' GPUs of different families into a single name is pure bulldust.

*rant mode over*

corp769 10-12-2011 12:52 PM

You always go into rant mode, don't you? :p

And yes, of course I know that glxgears is not a benchmark. It was to show proof that I was able to successfully get the nvidia drivers working with bumblebee.

H_TeXMeX_H 10-12-2011 01:24 PM

Yeah, it's good that it works. I was never able to get it working ... probably because I'm using Slackware and it seems to be distro specific.

corp769 10-12-2011 06:15 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 4496677)
Yeah, it's good that it works. I was never able to get it working ... probably because I'm using Slackware and it seems to be distro specific.

Well in that case, how do you go by installing the nvidia drivers? Do you use the proprietary drivers, or the open source drivers? I'm not currently running slackware, but I might be able to squeeze some time in to work on an install script for you slack users....

cascade9 10-13-2011 04:51 AM

Quote:

Originally Posted by corp769 (Post 4496654)
You always go into rant mode, don't you? :p

Not really...one of these days you might see a real rant from me, when I get really worked up it can be amusing to see how much vitriol I can spew... :D

Quote:

Originally Posted by H_TeXMeX_H (Post 4496677)
Yeah, it's good that it works. I was never able to get it working ... probably because I'm using Slackware and it seems to be distro specific.

IIRC you have a Eee PC 1015PN, right?

Those things came with 'windows 7 starter' which doesnt support 'optimus'. So the asus engineers have probably made the IonII 'optimus' setup work more like switchable graphics.

corp769 10-13-2011 04:56 AM

In that case, would that be beneficial with the BIOS, having a switch in the settings to turn off the dedicated graphics card, and vice versa?

H_TeXMeX_H 10-13-2011 07:31 AM

Quote:

Originally Posted by cascade9 (Post 4497218)
IIRC you have a Eee PC 1015PN, right?

Those things came with 'windows 7 starter' which doesnt support 'optimus'. So the asus engineers have probably made the IonII 'optimus' setup work more like switchable graphics.

Yes, and yes. I don't see anything in the BIOS tho to switch it. It says in the manual that only non-Starter Window$ is able to use optimus.

I use the proprietary nvidia drivers. I can try bumblebee if there is a package for it, but I don't care that much, because I don't like Intel cards, they are very weak. I doubt that it would help me play videos any better than I do now.

corp769 10-13-2011 07:58 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 4497336)
Yes, and yes. I don't see anything in the BIOS tho to switch it. It says in the manual that only non-Starter Window$ is able to use optimus.

I use the proprietary nvidia drivers. I can try bumblebee if there is a package for it, but I don't care that much, because I don't like Intel cards, they are very weak. I doubt that it would help me play videos any better than I do now.

Here you go man, if you dare to try..... :p
https://github.com/Bumblebee-Project...bee/issues/121

And I just ran that benchmark that you mentioned..... Awesome experience! I know the numbers aren't the best, but it really pushed my graphics card to its limits. I'm uploading right now as I type this.

corp769 10-13-2011 08:06 AM

Just updated my thread with the benchmark.


All times are GMT -5. The time now is 10:20 PM.