[webvr] Implement Linux support for OpenVR
Categories
(Core :: WebVR, enhancement, P3)
Tracking
()
People
(Reporter: kip, Unassigned)
References
Details
(Whiteboard: [webvr])
Attachments
(1 file, 1 obsolete file)
Updated•9 years ago
|
| Reporter | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Updated•8 years ago
|
| Comment hidden (mozreview-request) |
| Reporter | ||
Comment 3•8 years ago
|
||
| Comment hidden (mozreview-request) |
| Reporter | ||
Comment 6•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
| Reporter | ||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
| Reporter | ||
Comment 17•7 years ago
|
||
| Reporter | ||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
(In reply to :kip (Kearwood Gilbert) from comment #18)
Created attachment 9032560 [details] [diff] [review]
WIP work from Pete, unbitrotted, rebased and reformatted for new code style
This is awesome, but being a noob i was wondering if I can use this patch in my computer or if I need to wait for the release on Firefox Nightly?
Updated•7 years ago
|
Updated•7 years ago
|
| Reporter | ||
Comment 20•7 years ago
|
||
(In reply to ben g from comment #19)
(In reply to :kip (Kearwood Gilbert) from comment #18)
Created attachment 9032560 [details] [diff] [review]
WIP work from Pete, unbitrotted, rebased and reformatted for new code styleThis is awesome, but being a noob i was wondering if I can use this patch in my computer or if I need to wait for the release on Firefox Nightly?
You can certainly experiment -- I would love to hear about successes and/or failures along with your particular configuration. (especially GPU driver version)
The browser is expected to crash after a VR session is complete with the current patch, so not quite yet production ready.
The latest graphics drivers, with Vulkan support, need to be installed.
Some prefs will need to be set as well:
dom.vr.process.enabled=true
dom.vr.external.enabled=true
dom.vr.openvr.enabled=true
gfx.use-vulkan-allocator=true
Expect to see more updates to this patch soon.
Comment 21•7 years ago
|
||
any update ? could it pass into nightly so to have more feedback ? (it very not easy to build just for this patch on non-dev systems... the VM is not streamlined for that... ;) )
thanks !!
Comment 22•7 years ago
|
||
Same here, would test but haven't built FF from source in years.
| Reporter | ||
Updated•6 years ago
|
Comment 23•6 years ago
|
||
Is there any updates on this? Since WebRender is in stable now, it would be nice to see if that helps webVR performance on my linux rig.
Comment 24•6 years ago
|
||
(In reply to :kip (Kearwood Gilbert) PTO Until 10/14 from comment #20)
(In reply to ben g from comment #19)
(In reply to :kip (Kearwood Gilbert) from comment #18)
Created attachment 9032560 [details] [diff] [review]
WIP work from Pete, unbitrotted, rebased and reformatted for new code styleThis is awesome, but being a noob i was wondering if I can use this patch in my computer or if I need to wait for the release on Firefox Nightly?
You can certainly experiment -- I would love to hear about successes and/or failures along with your particular configuration. (especially GPU driver version)
The browser is expected to crash after a VR session is complete with the current patch, so not quite yet production ready.
The latest graphics drivers, with Vulkan support, need to be installed.
Some prefs will need to be set as well:
dom.vr.process.enabled=true
dom.vr.external.enabled=true
dom.vr.openvr.enabled=true
gfx.use-vulkan-allocator=trueExpect to see more updates to this patch soon.
Hi! Is there any way we can help testing this feature? Would really love to use webVR in firefox on linux.
Comment 25•6 years ago
|
||
We haven't done the implementation of this feature yet. sorry about that.
Updated•6 years ago
|
Comment 26•5 years ago
|
||
hi, any progress on this ? that would be cool ...
Comment 27•5 years ago
|
||
As Valve has officially deprecated OpenVR and said new feature development would be focused on OpenXR, should this bug be modified or a new one created for OpenXR support instead?
Comment 28•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 29•4 years ago
|
||
I managed to get WebXR in Firefox working under Linux after some hacking. Practically everything was already in place, except for getting the framebuffer to the VRCompositor of OpenVR. With EGL and DMABuf this was actually quite easy to do.
Here's a link to my repo containing the relevant .patch file: https://github.com/mrxz/webxr-linux/tree/main/gecko
There are rough edges, so I consider it more a hack than a proper implementation, but I do think a proper implementation can be made by using this approach with relative ease. While I would like to improve my changes and perhaps work towards getting it upstream, I simply don't know enough about the internals to do it.
Updated•3 years ago
|
Description
•