Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
Bumblebee 3.0 does not use Xorg.8.log or bumblebee.log anymore. Please attach /var/log/syslog instead. – Lekensteyn Jan 25 '12 at 15:59
added the syslog – vitiv Jan 25 '12 at 16:09

2 Answers

up vote 1 down vote accepted

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
share|improve this answer
Tried it. Now I get a "Segementation Fault" in console. This is the log: paste.pocoo.org/show/540555 – vitiv Jan 25 '12 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 '12 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 – vitiv Jan 25 '12 at 16:45
Is there an entry in dmesg when the program segfaults? – Lekensteyn Jan 25 '12 at 17:01
This paste.pocoo.org/show/540581 – vitiv Jan 25 '12 at 17:10
show 6 more comments

Do

optirun bash
sudo ./SuperMeatBoy

Using sudo helped me to avoid Segmentation fault

share|improve this answer
2  
This is wrong, sudo just makes optirun useless and omitting optirun has the same effect. – Lekensteyn Jul 6 '12 at 21:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.