MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
469 stars 50 forks source link

Other alternatives to VirtualGL? #613

Closed csnv closed 13 years ago

csnv commented 13 years ago

With the new kernel 3.1 and updates to the Intel driver (including SNA), the Intel graphics driver under linux is showing some amazing performance, so amazing that it's better than the nvidia one through VirtualGL - just as bumblebee does.

So my question is, isn't out there any alternative to VirtualGL for a better nvidia performance?

Lekensteyn commented 13 years ago

You should ask that on the linux-hybrid-graphics mailing list on Launchpad. For Bumblebee, try setting VGL_COMPRESS=proxy instead of VGL_COMPRESS=xv in the bumlebee config.

Please wait for the new version https://github.com/Bumblebee-Project/Bumblebee You can follow us on twitter too: https://twitter.com/Team_Bumblebee

ArchangeGabriel commented 13 years ago

Possible alternatives :

1) Wayland

2) Maybe, but are you sure of what you're saying ?

Did you run a benchmark tool with the correct parameters ? If so, could you give us the results. By the way, which laptop have you ? (First gen optimus laptop are using first gen Core iX graphics with much lower performance than 2nd gen one)

csnv commented 13 years ago

Thanks both of you for commenting so fast.

@Lekensteyn: I'll give it a try as soon as I cany, could you please tell me where can I find that config file?

@ArchangeGabriel: I don't have any benchmark, it's just my feelings and results testing any configuration I found out there with drivers and bumblebee options. I'm sorry if I sound angry or something, but it's not my intention. I just was curious of how can it be improved. By the way, my laptop is a Dell XPS 15z (Core i5 2410M, nvidia 525m).

Lekensteyn commented 13 years ago

Please install the newer, stabler version:

git clone git://github.com/Bumblebee-Project/Bumblebee.git -b release-2.3 --depth 1
cd Bumblebee
sudo ./cleanup
sudo ./install

Power management has temporary been removed from this release.

This new version uses proxy by default, the configuration file for that version is in /etc/bumblebee/bumblebee.conf.

csnv commented 13 years ago

No luck here, I've tried 'sudo /etc/init.d/bumblebee start' and 'sudo /etc/init.d/bumblebee restart', but when I try it it says:

jorge@zen:~/Bumblebee$ optirun glxgears
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log
==================================================
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

/var/log/bumblebee.log : http://pastebin.com/sRzxU1Cr

/var/log/Xorg.8.log : http://pastebin.com/vheWnzhE

ArchangeGabriel commented 13 years ago

That is precisely what I was afraid of.

You're having a DFP-0 screen. We weren't able to test this case as none of us have one.

Line 157-158 & 164-166 explain the problem I think.

Could you try to sudo gedit /etc/bumblebee/xorg.conf.nvidia and replace "DFP,CRT" by "DFP-0" and try again ? (Restart to be sure the change is effective)

ArchangeGabriel commented 13 years ago

Could you join us on IRC ? (http://webchat.freenode.net/?channels=#bumblebee)

ArchangeGabriel commented 13 years ago

Moved to issue #24 on the Bumblebee project: https://github.com/Bumblebee-Project/Bumblebee/issues/24.