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

Custom game launch commands broke #2614

Closed
stevepoppers opened this issue Jun 23, 2013 · 10 comments
Closed

Custom game launch commands broke #2614

stevepoppers opened this issue Jun 23, 2013 · 10 comments

Comments

@stevepoppers
Copy link

Linux Archtop 3.9.7-1-ARCH #1 SMP PREEMPT Thu Jun 20 22:45:32 CEST 2013 x86_64 GNU/Linux

baseboard-manufacturer: Acer
baseboard-product-name: JE50_HR
baseboard-version : Base Board Version
system-manufacturer : Acer
system-product-name : Aspire 5750
system-version : V1.21
bios-vendor : Acer
bios-version : V1.21
bios-release-date : 08/09/2012

Bumblebee 3.2.1

Launching Steam games by modifying their command argument from within the Steam GUI to 'primusrun %command%' quit working after some recent update. Using 'optirun -b primus %command%' works as desired. Steam itself and other programs can be launched in the normal way, e.g. 'primusrun steam' results in Steam launching and games running without modified commands.

Some logs of launching steam and then TF2:

%command%
http://pastebin.com/L9qEcRGj

primusrun %command%
http://pastebin.com/sg08gy2s

optirun %command%
http://pastebin.com/hsFB5977

optirun -b primus %command%
http://pastebin.com/XwD2mCbk

@gdrewb-valve
Copy link
Contributor

Launch commands are working, then since 'optirun -b primus %command%' is working? The actual issue here is that primusrun no longer works but optirun -b primus does work?

@ghost ghost assigned drivers-valve Jun 24, 2013
@stevepoppers
Copy link
Author

Well, yes, I suppose they're only broken from the Bumblebee point of view. Primusrun and optirun work elsewhere, but only within Steam am I experiencing this. I know this isn't critical, but I thought I'd report it anyway.

@dphoyes
Copy link

dphoyes commented Jun 29, 2013

I've recently had the same behaviour here. Also using Arch Linux.

@amonakov
Copy link

amonakov commented Jul 1, 2013

Does changing shebang in /usr/bin/primusrun to #!/usr/bin/env bash fix it?

@dphoyes
Copy link

dphoyes commented Jul 1, 2013

Nope, doesn't seem to make a difference.

@stevepoppers
Copy link
Author

Same here, no difference.

@amonakov
Copy link

amonakov commented Jul 2, 2013

Please set launch command to bash -x primusrun %command% and if it still fails, provide the console output.

@stevepoppers
Copy link
Author

Still fails. Sorry. http://pastebin.com/p5grjdqG

@amonakov
Copy link

Should be fixed with amonakov/primus@7ee56ce

@kisak-valve
Copy link
Member

Closing per the last comment.

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

No branches or pull requests

6 participants