Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optirun doesn't launch any applications #234

Closed
sug4ndh opened this issue Aug 16, 2012 · 26 comments
Closed

Optirun doesn't launch any applications #234

sug4ndh opened this issue Aug 16, 2012 · 26 comments

Comments

@sug4ndh
Copy link

sug4ndh commented Aug 16, 2012

Distro : Ubuntu 11.04

Kernel : Linux omega 2.6.38-13-generic #57-Ubuntu SMP Mon Mar 5 18:29:54 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Manufacture and Model : baseboard-manufacturer: Dell Inc.
baseboard-product-name: 04X7VP
baseboard-version : A00
system-manufacturer : Dell Inc.
system-product-name : Dell System XPS L502X
system-version : Not Specified
bios-vendor : Dell Inc.
bios-version : A05
bios-release-date : 05/04/2011

Bumblebee Version: optirun (Bumblebee) 3.0.1

Problem : I updated my system and after update I'm unable to run any applications with optirun. It just doesn't do anything. It starts the process and then kills it. I tried supertuxkart with --debug and this was the output.

youngskywalker@omega:~$ optirun --debug supertuxkart
[ 2687.496860] [DEBUG]optirun version 3.0.1 starting...
[ 2687.496930] [DEBUG]Active configuration:
[ 2687.496941] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2687.496953] [DEBUG] X display: :8
[ 2687.496963] [DEBUG] LD_LIBRARY_PATH:
[ 2687.496972] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2687.496982] [DEBUG] VGL Compression: proxy
[ 2690.365160] [INFO]Response: Yes. X is active.

[ 2690.365174] [INFO]Running application through vglrun.
[ 2690.365277] [DEBUG]Process vglrun started, PID 4250.
Irrlicht Engine version 1.7.2
Linux 2.6.38-13-generic #57-Ubuntu SMP Mon Mar 5 18:29:54 UTC 2012 x86_64
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[IrrDriver] Creating NULL device
Irrlicht Engine version 1.7.2
Linux 2.6.38-13-generic #57-Ubuntu SMP Mon Mar 5 18:29:54 UTC 2012 x86_64
[IrrDriver] Trying OpenGL rendering.
[IrrDriver] Tring to create device with 32 bits
[ 2690.379562] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 2690.379582] [DEBUG]Socket closed.
[ 2690.379594] [DEBUG]Killing all remaining processes.

Here is the output of optirun --debug glxspheres

youngskywalker@omega:~$ optirun --debug glxspheres
[ 2752.077305] [DEBUG]optirun version 3.0.1 starting...
[ 2752.077380] [DEBUG]Active configuration:
[ 2752.077392] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2752.077402] [DEBUG] X display: :8
[ 2752.077412] [DEBUG] LD_LIBRARY_PATH:
[ 2752.077422] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2752.077432] [DEBUG] VGL Compression: proxy
[ 2755.025114] [INFO]Response: Yes. X is active.

[ 2755.025185] [INFO]Running application through vglrun.
[ 2755.025429] [DEBUG]Process vglrun started, PID 4413.
Polygons in scene: 62464
[ 2755.055980] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 2755.056000] [DEBUG]Socket closed.
[ 2755.056013] [DEBUG]Killing all remaining processes.

However, nothing seems to be wrong with battery backup. It is working fine as before.

Thanks ahead!

@ArchangeGabriel
Copy link
Member

Does changing KernelDriver=nvidia-current to KernelDriver=nvidia in /etc/bumblebee/bumblebee.conf and rebooting change anything ?

@sug4ndh
Copy link
Author

sug4ndh commented Aug 16, 2012

I did what you suggested and it didn't change anything. I'm still having the same problem.

@Lekensteyn
Copy link
Member

What is in /var/log/Xorg.8.log? Have you tried adding the ubuntu-x-swat/x-updates PPA, updating and upgrading?

@sug4ndh
Copy link
Author

sug4ndh commented Aug 16, 2012

Yes, I have added ubuntu-x-swat/x-updates PPA. Infact, the last time I updated my system I had an update from ubuntu-x-swat and after updating I started having this problem.

Here is the /var/log/Xorg.8.log that you requested - http://pastebin.com/LWasCzxD

@Lekensteyn
Copy link
Member

You still have to use KernelDriver=nvidia-current. After doing so, reboot or run sudo restart bumblebeed and try using optirun again.

@sug4ndh
Copy link
Author

sug4ndh commented Aug 16, 2012

Okay, so I did what you mentioned but it didn't help. The problem is still there.

Oh and I just noticed that nvidia-settings and optirun nvidia-settings -c :8 are giving the same output.

@Lekensteyn
Copy link
Member

Is it possible to upgrade to a newer Ubuntu version? Say, 12.04? You can also downgrade the driver (use /var/log/apt/history.log to determine version) if you are fine with security holes in the old, but working driver.

@sug4ndh
Copy link
Author

sug4ndh commented Aug 16, 2012

I downgraded my nvidia-driver and everything is back as it was. Thank you very much!! :D

@ArchangeGabriel
Copy link
Member

Opening to track the new driver issue.

@ArchangeGabriel
Copy link
Member

If you have a little time to try it, please upgrade your driver again, and be sure that the two followings things are set in bumblebee.conf :
Driver=nvidia (Driver= by default)
KernelDriver=nvidia (KernelDriver=nvidia-current by default)

Don't forget to reboot after making changes. If it doesn't work, please paste Xorg.8.log and syslog in pastebin.

This will help us understand better what is the problem and eventually fix it for you and other possibly concerned users.

@husfeldt
Copy link

I have the exact same problem - just ugraded nvidia driver and now optirun does not work....

@husfeldt
Copy link

Followed the instructions above:
(Changed below lines in bumblebee.com)
Driver=nvidia (Driver= by default)
KernelDriver=nvidia (KernelDriver=nvidia-current by default)

Rebootet, and problem solved thanks!!!!

@Lekensteyn
Copy link
Member

A future update of bumblebee in Ubuntu should work around Ubuntu's awkard naming. (that is, ignore the KernelDriver value if it cannot be loaded).

@ArchangeGabriel
Copy link
Member

@husfeldt : Was it EXACTLY the same, with same error messages ? That point is very important for us.

@sug4ndh
Copy link
Author

sug4ndh commented Aug 17, 2012

@ArchangeGabriel : Sorry for the late reply.

I updated my nvidia driver, made changes to the bumblebee.conf file and optirun is launching applications.
But with new driver, fps has dropped now. With old nvidia driver, fps was mostly between 175 to 211 and with new driver, now the fps ranges between 90 to 125.

Here is Xorg.8.log --> http://pastebin.com/hgN7GbHS
and here is the syslog --> http://pastebin.com/3cxfEqHT

@ArchangeGabriel
Copy link
Member

I don't know about FPS, I've never been able to have the same twice, even with same driver version.

You have an external monitor connected, isn't it ? Is it running on the nvidia or intel card ? Intel I guess ?

Could you try to change this in /etc/bumblebee/bumblebee.conf:
"Connected Monitor" "DFP"
With:
"UseDisplayDevice" "none".

@sug4ndh
Copy link
Author

sug4ndh commented Aug 17, 2012

No, I don't have any external monitor connected.

@ArchangeGabriel
Copy link
Member

Weird... Your card is detecting a CRT and a DFP... Did you try the change ?

@sug4ndh
Copy link
Author

sug4ndh commented Aug 17, 2012

There is no mention of "Connected Monitor" "DFP" in /etc/bumblebee/bumblebee.conf. Should I still add "UseDisplayDevice" "none"?

@ArchangeGabriel
Copy link
Member

Sorry, my mistake, it's in /etc/bumblebee/xorg.conf.nvidia

@sug4ndh
Copy link
Author

sug4ndh commented Aug 17, 2012

Okay, I changed "Connected Monitor" "DFP" to "UseDisplayDevice" "none">. Should there be any change that I should look for?

@ArchangeGabriel
Copy link
Member

Verify if it's working, check the FPS, and paste the new Xorg.8.log.

@sug4ndh
Copy link
Author

sug4ndh commented Aug 17, 2012

Optirun is working.

FPS is still in the range 90 to 125.

Here is the new Xorg.8.log --> http://pastebin.com/KM5tzYa1

@ArchangeGabriel
Copy link
Member

Do you see a difference in perfs somewhere else than in glxspheres ?

@sug4ndh
Copy link
Author

sug4ndh commented Aug 17, 2012

The games does seem to be running a bit smoother now but then again I can not be too sure. Is there any other way I could measure the performance?

@ArchangeGabriel
Copy link
Member

There is no esay way to mesure perfs with bumblebee currently, but if you don't have any true problem with them, just let it go. It's only if you can't run something or have too few FPS that you may bother.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants