which works pretty well for me, but I have to use optirun command - eg. optirun glxspheres gives me 50 times more frames per second than just Intel but...

How to use such programs like kdenlive which use inside another programs like ffmpeg or mlt and every of them have a flag vdpau. Optirun kdenlive doesn't work and after trying to load any movie program crashes, probbably when trying to ffmpeg (without optirun comand) . Kdenlive compiled without vdpau flag works fine - so what was the reaseon for me to have Nvida GT630M when I can not use it. Now (with Optimus technology) I have run optirun, but I have no idea which program use nvidia support. In wiki eg. is example optirun firefox, for the last years I had no idea this program (firefox) can use support form 3D card. I have lots of programs, should I chceck EVEY of them if it is possible suporrt from 3D card? Now I have no access to eg. nvidia server setting even with bumlebee worked fine. How to use nvidia card to support eg. screensaver (OpenGL)? Should I manually put everywhere optirun comand before any comands?

It is possible to switch on permanently Nvidia and switch off Intel - so every application could use automatically Nvidia support (without adding optirun command)? My laptop works as workstation and I do not use battery at all, so I need performance not power-saving... I would like fully use such prgrams like kdenlive - which can use vdpau and power of graphic card.

How to use such programs like kdenlive which use inside another programs like ffmpeg or mlt and every of them have a flag vdpau.

Simple: you don't. Probably not the answer you wanted to hear, but that's how it is. Bumblebee is a big giant hack, not a solution. It works only for opengl.

Xywa wrote:

Should I manually put everywhere optirun comand before any comands?

If you want that particular app to run on the nvidia card, yes, you prefix it with optirun.

Xywa wrote:

It is possible to switch on permanently Nvidia and switch off Intel - so every application could use automatically Nvidia support (without adding optirun command)?

No, that goes against the point of Optimus, which is to run as much as possible off the integrated GPU and use Nvidia only for the few apps where you need more performance than the iGPU provides. Some laptops have a hardware mux, that allows such switching. But that's a feature those laptops provide *in addition* to optimus. Pure optimus machines are muxless.

Dave Airlie has started to rip X apart, the end goal being proper multi-GPU support instead of hacks like Bumblebee: http://airlied.livejournal.com/75980.html. Might take a while though before this is ready. Also, having support for this in the closed nvidia driver depends on whether they'll be able to use DMA-BUF. Right now they can't, DMA-BUF's symbols are exported only to GPL modules. There's a chance this will change, as there are good arguments for the change, but who knows if it'll be possible to reach consensus: https://lkml.org/lkml/2012/2/19/88

Back to kdenlive and vdpau flag - this program inside use ffmpeg & mlt and those 2 use vdpau. When I have system without vdpau - everything is fine. When i use vdpau, Kdenlive crashes after every each video clip added. Someone advised me to check how melt works and just to try form console melt. And bellow are results what i have go (with optirun and without):

Dave Airlie has started to rip X apart, the end goal being proper multi-GPU support instead of hacks like Bumblebee: http://airlied.livejournal.com/75980.html. Might take a while though before this is ready. Also, having support for this in the closed nvidia driver depends on whether they'll be able to use DMA-BUF. Right now they can't, DMA-BUF's symbols are exported only to GPL modules. There's a chance this will change, as there are good arguments for the change, but who knows if it'll be possible to reach consensus: https://lkml.org/lkml/2012/2/19/88

Thanks for the info ! This optimus business/hacks/licensing (pick an issue) under nix is a real mess

Takes care of just one piece of the puzzle though - nvidia supporting xrandr1.5. That still leaves the other piece - a way to share buffers with the intel driver. Either they figure something out themselves in this area, or they get access to dma-buf.