1

Whenever I try to run some programs under bumblebee with optirun they crash before displaying any window. I particularly try to run supermeatboy because it doesn't support intel cards, but with bumblebee it doesn't get even to displaying a window unlike the intel one and crashes prematurely. I've attached the xorg log. http://paste.pocoo.org/show/540542/

Thanks in advance, Nikita.

2
  • Bumblebee 3.0 does not use Xorg.8.log or bumblebee.log anymore. Please attach /var/log/syslog instead.
    – Lekensteyn
    Jan 25, 2012 at 15:59
  • added the syslog
    – nikitautiu
    Jan 25, 2012 at 16:09

3 Answers 3

1

Your setup looks fine. I guess that you are affected by issue 42: [VGL] ERROR: Could not open display :8 if a program forks and exits optirun.

This bug occurs when running an application with optirun which detaches. Workaround: open a shell and then run the program:

optirun bash
yourprogram
10
  • Tried it. Now I get a "Segementation Fault" in console. This is the log: paste.pocoo.org/show/540555
    – nikitautiu
    Jan 25, 2012 at 16:22
  • What program are you trying to run? Do you get other errors in the console? If it's a 32-bit program, install the virtualgl-libs:i386 package.
    – Lekensteyn
    Jan 25, 2012 at 16:35
  • As mentioned in the question it's supermeatboy. Apart from the segmentation fault nothing and virtualgl appear to be at the latest version
    – nikitautiu
    Jan 25, 2012 at 16:45
  • Is there an entry in dmesg when the program segfaults?
    – Lekensteyn
    Jan 25, 2012 at 17:01
  • This paste.pocoo.org/show/540581
    – nikitautiu
    Jan 25, 2012 at 17:10
0

Do

optirun bash
sudo ./SuperMeatBoy

Using sudo helped me to avoid Segmentation fault

1
  • 3
    This is wrong, sudo just makes optirun useless and omitting optirun has the same effect.
    – Lekensteyn
    Jul 6, 2012 at 21:57
0

Using primusrun instead of optirun solves this problem.

Primus is a different bumblebee backend with better performance (less overhead) and less power usage (second GPU only used for OpenGL parts of the program).

You install primus with sudo aptitude install primus and run it with:

primusrun your_cool_program

This is far easier to use in scripts than the optirun workarounds.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .