Announcement
Collapse
No announcement yet.
Linux 4.15 Will Treat The HTC Vive VR Headset As "Non-Desktop"
Collapse
X
-
This sounds like it may be useful for DLP based SLA 3D printers. These devices often connect via HDMI to a host computer, and the display is used to expose resin.
-
Originally posted by DMJC View PostWhat's stopping this being added to the PSVR? It already works on Linux.
Sucks a bit that it's embedded in the kernel source code. Would be much better if it were a user writeable database so you don't have to wait for the next major kernel release to get direct mode whenever a new HMD comes out.
Leave a comment:
-
Originally posted by danboid View PostHave GNOME, KDE or any other desktop announced any plans to utilise this new display mode?
Leave a comment:
-
What's stopping this being added to the PSVR? It already works on Linux.
Leave a comment:
-
By default, the displays will permanently be shown as "disconnected" in stuff like randr.
Yes, the kernel part is not tied to Xorg. I mean if you write an app that can use the API directly, it doesn't have to run with xorg, it's just the wiring up of randr and the vulkan extensions etc. that is first done for X.
I think..
Leave a comment:
-
Originally posted by haagch View PostActually "drm leases" will be Xorg only for the time being, but as I understand it, it shouldn't be hard to add it to wayland too.
In my mind, leases sounded like a purely DRM/Kernel thing, and when an app such as SteamVR requests a "lease" for a display, that display would have just been hidden from the normal DE's / XOrg / Wayland (i.e. "display disconnected"), so it can be used by the app directly, using Mesa GL/Vulkan via EGL or such and the Kernel drivers, without XOrg or Wayland.
Which then wouldn't need patches to XOrg / Wayland.
But I probably have everything wrong
Leave a comment:
-
Actually "drm leases" will be Xorg only for the time being, but as I understand it, it shouldn't be hard to add it to wayland too.
Gnome, KDE etc. won't want to use this directly, unless they want to become "VR compositors".
With OpenVR/SteamVR it works like this: You start SteamVR, which includes a "vrcompositor". The compositor gets the respective HMD display, ideally with exclusive access in "direct mode", and then just displays some basic environment on it. When you start a VR app, it connects to the compositor and submits two textures per frame to the compositor, for the left and right eye. The compositor then deals with distorting the textures so when they are viewed through the lenses, the image is undistorted, and it also displays something that doesn't cause motion sickness when the application doesn't submit frames fast enough. (It's really disorienting when an image that fills your field of view just freezes in front of your face when you expect it to follow your movements).
Of course kwin/mutter/etc. *could* become VR compositors like that, but so far I only heard that people from gnome are *possibly* looking into it and no concrete plans.
A VR application can also disregard any compositor and just open a display with direct mode itself, and display something that hopefully looks right when viewed through a HMD.
As the developers said, the "drm leases" infrastructure may also be used by other displays that shouldn't be used for desktop displays, like the Apple Touchbar display, so you will either have dedicated applications that can render to displays like the touchbar via drm leases, or - what I'd like to see - you get a wrapper script where you can display any X application on such a display.
Leave a comment:
-
Originally posted by danboid View PostWill both Xorg and Wayland be able to use this new "non-desktop" display mode or will it be Wayland only?
Have GNOME, KDE or any other desktop announced any plans to utilise this new display mode?
Leave a comment:
-
Originally posted by danboid View PostWill both Xorg and Wayland be able to use this new "non-desktop" display mode or will it be Wayland only?
Have GNOME, KDE or any other desktop announced any plans to utilise this new display mode?
In those cases I had to carefully remove anything that could trigger the enabling of fbcon.
For wayland and xorg it's not a problem, because you can configure them before using them. Neither wayland or xorg are consoles.
Leave a comment:
-
Will both Xorg and Wayland be able to use this new "non-desktop" display mode or will it be Wayland only?
Have GNOME, KDE or any other desktop announced any plans to utilise this new display mode?
- Likes 1
Leave a comment:
Leave a comment: