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

Bug#673424: bbswitch packaging



On Monday 18 March 2013 11:44 AM, Vincent Cheng wrote:
>
> I wasn't actually done with primus' packaging; for some reason I kept
> on getting a strange error ("primus: fatal: failed to open secondary X
> display") every time I tried running primusrun, even though it works
> with the optirun+virtualgl backend, so I'm surprised that it worked
> for you. That prompted me to dig deeper to find out what was causing
> the issue for me; it turns out that, for whatever reason, reverting
> one of my previous changes (overriding CXXFLAGS with dpkg-buildflags'
> default build flags) fixed the problem for me, although I'm still
> unsure why build hardening flags would've been the root cause. Oh
> well...

I already purged the virtualgl packages, so I am pretty sure that it is
using the primus backend.

> Please pull in my latest commits and test primusrun without
> uncommenting the above line. The primusrun wrapper script should still
> work correctly. 

Yes. It works but there's a catch. See below.
>> The NEW queue is big already and there's very little progress (has to do
>> with the freeze). But you would want to push primus now for review.
> Agreed, at this point I think bumblebee and primus are ready for
> review (bbswitch is already in the NEW queue and I'm happy with it
> as-is). If you're offering to review the package and/or sponsor it,
> thanks in advance! And feel free to make changes directly in the git
> repo if you want to change anything. :)

I am too new and haven't investigated much about this whole dual
graphics display. But I am willing to sponsor if there are no takers.

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.

Where as, if you run optirun (or -b primus), you will notice it running
on nvidia.

Easiest way to verify this is to watch /proc/acpi/bbswitch when using
either of the interface.


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: