Announcement

Collapse
No announcement yet.

primusrun [segfault] and optirun works

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    primusrun [segfault] and optirun works

    Hello,

    since the last update of the mesa libs primusrun does segfault (while optirun has no problems). The solution is to specify PRIMUS_UPLOAD=2 (PBO) in the environment. I do not know exactly why maybe somebody has the same problem.

    Eg.

    $ primusrun glxgears ..... crash
    $ optirun glxgears ...... fine
    $ PRIMUS_UPLOAD=2 primusrun glxgears ... fine

    When using

    $ PRIMUS_VERBOSE=2 primusrun glxgears -info

    you will get

    primus: profiling: upload autodetection: will use PBO path (36 iters)
    Speicherzugriffsfehler (Speicherabzug geschrieben)

    So I asume 2 is the correct value for this since the problem is solved

    Regards

    Michael

    #2
    While I'm not Kubuntu user, I registered here just to say:

    THANK YOU!!!

    I don't know where you found this solution, but I couldn't find it. My life is much better now

    EDIT: On the other hand, the performance is unfortunately much worse (30fps in glxspheres).
    EDIT2: Using PRIMUS_UPLOAD=1 also prevents crashing for me and also does not hit the performance.

    Comment

    Working...
    X