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

"primus: warning: recreating incompatible pbuffer" on Oculus World demo #158

Open
Dirbaio opened this issue Jan 24, 2015 · 2 comments
Open

Comments

@Dirbaio
Copy link

Dirbaio commented Jan 24, 2015

I'm trying to run the Oculus World demo using primusrun.

It works, but this error is spammed continuously (every frame I'd say) in the terminal:

primus: warning: recreating incompatible pbuffer

And the framerate is terrible. (~4fps)

It works fine with the Intel graphics (40fps) and with optirun (50fps)

I'm running Arch Linux on GNOME 3.14.3, xorg-server 1.16.3-2, primus 20150118-2. Everything is latest version (if you need to know the version of anything else just ask)
uname, lspci, glxinfo here: https://dirbaio.net/d/paste/13bc2bcdefafa1a2.txt

I'm quite stuck here. I'd really love to run Oculus with primus, since 50fps is not enough for a great VR experience. Any help on how to debug this will be greatly appreciated.

Thank you!

@Dirbaio
Copy link
Author

Dirbaio commented Jan 24, 2015

Some more info: If I comment out these lines the issue goes away!
https://github.com/amonakov/primus/blob/7e21554eb298ad56e164faa81e0492368afc66ac/libglfork.cpp#L666-672

There are seemingly no adverse effects, but I guess these lines have a reason to be there, so this is obviously not a good fix.

@amonakov
Copy link
Owner

Does this problem appear with other demos?

Could you capture a trace with apitrace?

Since you're able to try it now, how's performance and latency? Does PRIMUS_SYNC=1 make a noticeable difference?

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

2 participants