[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#673424: bbswitch packaging



Hi,

>> By the way, with bumblebee + primus installed, you still will want to
>> recommend users to call apps with the optirun interface.
>> primus just sets some library variables and calls the application. The
>> application is never run on the discrete nvidia card.
> 
> Errr, no. As I understand it, that's exactly what primus is supposed
> to do (offload glx calls to nvidia card, hence the purpose of adding
> primus' own libGL to LD_LIBRARY_PATH). optirun just makes it
> convenient to switch between virtualgl or primus through a
> configuration setting.
You are right - I used primusrun for my games for quite a while, until
optirun gained support for it. The advantage of optirun is that it can
bumblebee knows it's socket path and the path's to the NVidia libraries
etc., so it can set the correct environment variables for primusrun,
depending on bumblebee configuration and whether nouveau or NVidia are used.
Actually, optirun could use primusrun without calling the primusrun
script - I do not know why it does not do that.

Kind regards,
Ralf


Reply to: