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

Dell XPS 15z (NVIDIA GeForce GT 525M, 2G) #433

Closed martin-pr closed 13 years ago

martin-pr commented 13 years ago

Hello,

I just installed Ubuntu 11.04 and got Bumblebee working (unfortunately the version from repos did not seem to work, so installed using git + install.sh).

I am not sure if I am missing something, but the rendering seems extremely slow, laggy and "jumpy... with glxgears on fullscreen (1920x1080) I get only 55 frames (I do understand that this is maybe stretching it too much), but even with a smaller window, the rendering seems not smooth...

Another issue - the only two Transport options I can use are "proxy" and "xv", the others just do not open the opengl window at all...

Am I missing something?

And the last one - I know that this is probably not the right place to ask, but is there any way to completely switch off the intel card and run the whole X only on the nVidia one?

Thanks a lot!

ArchangeGabriel commented 13 years ago

For your last question, this is the right place, but the answer is no. The Intel card is the one that displays everything, and the nVidia card isn't connected to the monitor.

For the rest, I don't know...

MrMEEE commented 13 years ago

When you're saying that the PPA version didn't work, what was wrong?? I really think you should be using the PPA, as it will be the primary development in regards to Ubuntu from now on...

About the performance: If I run glxgears in fullscreen 1920x1200, I get about 25 fps on my Alienware M11X with a GeForce GT 335M.. I know that we have a performance loss in the way that bumblebee works.. but it's as good as it gets right now...

When using other transports.. do you get any errors?? It works fine here...

martin-pr commented 13 years ago

(sorry for closing / reopening, clicked by mistake...)

Thank you for the replies!

@ArchangeGabriel - Yes, I thought so... When I enable the card using ACPI and start GDM, it happily starts, except I don't see anything... :) I just hoped for some sort of hack to get the data from nVidia buffer to the screen, there is none?

@MrMEEE - The PPA version runs just fine, except the optirun does not work after the installation (any of them) in the same way as for the other transports... (I can try to reinstall and post a full log, if it would help)

And these do not give any error messages (not to the console, system log or X log, am I supposed to look somewhere else?)... I get only this:

martin@HAL9000:~$ optirun64 -c jpeg glxgears

But the window just opens for a split of a second, does not seem to display anything and closes immediately...

As to the performance - I expected some performance loss, but this is quite a bit... I am mainly concerned about the applications that I would write (OpenGL) - is there any way of opening the window on the Intel card, running the application in a framebuffer on the other one and somehow quickly copy the resulting frame from one card to another? (any hint of gl calls for this would be great... I didn't find an example of two graphics cards being used at the same time anywhere)

The other issue is the video not being smooth even when the framerate is very high - is there anything I can do about that?

ArchangeGabriel commented 13 years ago

@ArchangeGabriel - Yes, I thought so... When I enable the card using ACPI and start GDM, it happily starts, except I don't see anything... :) I just hoped for some sort of hack to get the data from nVidia buffer to the screen, there is none?

That is approximatively Bumblebee. To print display something on the screen, you have to use the Intel card. The method we are using now isn't the best one, but is easy to implement. In the future, we might potentially be able to do it at the lowest level.

Lucas-C commented 13 years ago

I have a similar problem and am worried about the same thing : I'd just like to use OpenGL.

Dell XPS 15 L502x NVIDIA GeForce GT 525M, 1G Ubuntu 10.10 (upgraded to 2.6.38-4-generic kernel)

I followed the Ubuntu doc, tried different nVidia drivers (270.41.06 & 275.19), edited my xorg.conf, installed bumblebee from GIT and edited the scripts (see #258) but until now I just have been able to successfully launch the X server ("service gdm start") but the screen remains black.

Any advice would would be welcome, as I resign myself to code under Windows...

EDIT: In fact, with a propper reinstallation, I have a problem similar to #419 : the Bumblebee X server start and stop immediately. The bumblebee README advice to 'bumblebee-bugreport'. Should I do so or create another specific issue on github ?

ArchangeGabriel commented 13 years ago

Do it in the #419

ArchangeGabriel commented 13 years ago

Still having problems here ?

Lucas-C commented 13 years ago

As a matter of fact, yes. But I'm a bit lost : glxgears run fine but testing optirun on other OpenGL app give me a "X Error of failed request: GLXUnsupportedPrivateRequest" error message.

And I also got a "Xlib: extension "NV-GLX" missing on display ":0.0"."

I should mention that it worked before one of the last bumblebee update. I just thought I could try other configurations... doing it right now.

Done, without success. I tried reinstalling nvidia-current but I got this :

Console output

Préparation du remplacement de nvidia-current 280.04-0~maverickubuntu2 (en utilisant .../nvidia-current_280.04-0~maverickubuntu3_amd64.deb) ... Removing all DKMS Modules

Error! There are no instances of module: nvidia-current 280.04 located in the DKMS tree. Done. update-alternatives: error: le lien alternatif /usr/lib/xorg/extra-modules est déjà géré par _gl_conf. dpkg : erreur de traitement de /var/cache/apt/archives/nvidia-current_280.04-0~maverickubuntu3_amd64.deb (--unpack) : le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 2 Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/nvidia-current_280.04-0~maverickubuntu3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Console end

(I just realised it is in french... not sure it will help you much)

ArchangeGabriel commented 13 years ago

I speak French.

I see were is the problem, the fact is that we use "customed" nVidia driver and that implementation is not clean.

martin-pr commented 13 years ago

Hey! Well, as to the original problem - kindof, but unrelated to bumblebee...

The main cause of the non-smoothness of the applications is most likely the Intel driver, not the nvidia one... Somewhat similar (less severe, but still present) problem happens in the video playback... So I guess theres nothing else to do than just wait for a better intel driver...

As to the main problem - a way to run only the nVidia card and completely go around the Intel one, for my particular laptop and model there is a solution... I found out, that the HDMI output is connected to the nVidia card directly. Therefore, with a bit of hacking and using acpitools, I managed to get X running purely on the nVidia card for an external screen... Which is what I would be using for the main development anyways. So, if I need more battery and have to run from the laptop's screen I have bumblebee and its kindof working; when I am at home and have my screen connected, I can use only the nVidia card and all is good :) So, thanks a lot for help!

Btw, if anybody is interested in a more accurate description of my hacky solution, just ask...

Thanks a lot! Closing the issue now...

ArchangeGabriel commented 13 years ago

Obvioulsy we are interested !

Lucas-C commented 13 years ago

As for my case, I followed instructions on this topic to clean my nvidia-current installation and now everything works fine. Thanks to all the team for your bumblebee scripts !