LG 360 VR - OpenHMD Journey (Linux, Mac, Windows, BSD support and SteamVR)

TheOnlyJoey

Member
May 30, 2013
9
5
0
Hey all,

So i am currently working on a OpenHMD driver for the LG 360 VR and want to keep a bit of a log here for development, since other developers might be able to pitch in.
I have been able to open the device and start it up (with help of user Supportit), enabling the screen and backlight and getting the IMU data what i am currently working out, if that is figured out which should take a week or 2, we can start using it.

OpenHMD (http://www.openhmd.net) will make it possible to use the LG 360 VR on Windows, Mac OSX, Linux, FreeBSD, OpenBSD, Android and on SteamVR through the SteamVR-OpenHMD project (https://github.com/ChristophHaag/SteamVR-OpenHMD).

Current issues i am having is the screen, it reports back as a single 1440x960 display and they are rotated inwards per eye.
https://imgur.com/a/iuToEAP In this image i modified a DK2 image real quick and compensated for the screens, the arrow is where "UP" is.
I need to find a method to set the orientation of the screens either by setting a mode in the firmware (no idea how to do that, have not looked into other usb calls), or a custom EDID (less desirable).

Edit: We got it working!
As long as you have USB-C with DisplayPort mode, or use a PCIe card with DP passthrough you are set.

There were some strange things with the device, that we had to deal with, like the IMU packet report was a bit odd, there is still some work to do to calibrate and drift correct it.

Links:
Initial Support: https://youtu.be/_9Jqm6uyFHQ
Branch: https://github.com/OpenHMD/OpenHMD/tree/LG-R100
Vlogs while building:
Update 1: https://www.youtube.com/watch?v=-U3nJOVIWnk
Update 2: https://www.youtube.com/watch?v=APzf4e0T9j0
 
Last edited:
  • Like
Reactions: -=xXx=-

Supportit

Member
Apr 14, 2018
21
6
0
Hi. This is like it runs on the lg g5. In the firmware it is not possible to edit the resolution. Or orientation
In the vr goggles is one toshiba chip that drives the displays and get its signal as normal hdmi and then there is one chip that turns the usb c displayport data into normal hdmi signals.
The firmware on the stm32 is just there for the gyro and acc and also for the powermanagement. It has no image connection to the toshiba chip.

Here is the datasheet https://www.google.de/url?sa=t&sour...FjAAegQIAxAB&usg=AOvVaw0UekijaakssHFFEoNwewFR
 

TheOnlyJoey

Member
May 30, 2013
9
5
0
Hi. This is like it runs on the lg g5. In the firmware it is not possible to edit the resolution. Or orientation
In the vr goggles is one toshiba chip that drives the displays and get its signal as normal hdmi and then there is one chip that turns the usb c displayport data into normal hdmi signals.
The firmware on the stm32 is just there for the gyro and acc and also for the powermanagement. It has no image connection to the toshiba chip.

Here is the datasheet https://www.google.de/url?sa=t&sour...FjAAegQIAxAB&usg=AOvVaw0UekijaakssHFFEoNwewFR
So, do you know if they rotate the images in software? You took your device apart if i remember correctly, could you try rendering a application and filming the screen?
That could help me determine how to fix this.
I wonder if the firmware has information regarding orientation of the screen, or if there might be a command you can set to change it.
Since they are sending raw strings on the usb line, that might be a thing.
 

Supportit

Member
Apr 14, 2018
21
6
0
The image is rotate in the software.
The problem also is the resolution of the device on android.
The 1440x960 is only supported by the kernel from the LG G5 and has to be added to any other phone to make it work.

The firmware is not able to change or rotate the picture/resolution.

So, do you know if they rotate the images in software? You took your device apart if i remember correctly, could you try rendering a application and filming the screen?
That could help me determine how to fix this.
I wonder if the firmware has information regarding orientation of the screen, or if there might be a command you can set to change it.
Since they are sending raw strings on the usb line, that might be a thing.
 

TheOnlyJoey

Member
May 30, 2013
9
5
0
I checked OpenHMD Git and there is no mention about LG do you have some code to share ? Thanks.
OpenHMD now support LG 360 VR out of the box.
As long as you have USB-C with DisplayPort mode, or use a PCIe card with DP passthrough you are set!

Works on Linux, Mac OSX, Windows, FreeBSD and OpenBSD, and even supports SteamVR through the SteamVR-OpenHMD wrapper!

Links:
Initial Support: https://youtu.be/_9Jqm6uyFHQ
Branch: https://github.com/OpenHMD/OpenHMD/tree/LG-R100
Vlogs while building:
Update 1: https://www.youtube.com/watch?v=-U3nJOVIWnk
Update 2: https://www.youtube.com/watch?v=APzf4e0T9j0
 

Silverobot

Member
Mar 9, 2011
11
2
0
OpenHMD now support LG 360 VR out of the box.
As long as you have USB-C with DisplayPort mode, or use a PCIe card with DP passthrough you are set!

Works on Linux, Mac OSX, Windows, FreeBSD and OpenBSD, and even supports SteamVR through the SteamVR-OpenHMD wrapper!

Links:
Initial Support: https://youtu.be/_9Jqm6uyFHQ
Branch: https://github.com/OpenHMD/OpenHMD/tree/LG-R100
Vlogs while building:
Update 1: https://www.youtube.com/watch?v=-U3nJOVIWnk
Update 2: https://www.youtube.com/watch?v=APzf4e0T9j0
Big update thank you sir
 

-=xXx=-

Senior Member
Jan 18, 2006
142
37
0
Thanks for sharing, did you try to compile it for windows, I tried to use mingw but I think I miss configured it. Maybe you know what files should I get after compilation ?

Thanks.
 

kwmen

Member
Sep 29, 2015
5
0
0
Did someone get OpenHMD to work ?
Yes I did. It kinda works, LG-R100 it is detected as a normal display in Ubuntu 16.04 but it doesn't display anything without OpenHMD.

I have downloaded OpenHMD, switched to the branch LG-R100, build and installed it according to the guidelines on the OpenHMD site and tried the examples. After trying the examples I have managed to turn on the glasses and to use it as a display. Actually kind of the display and here I have some problems that I still haven't solved.

Glasses are recognized by the pc as one display, so in the left eye I see left half of the desktop and in the right eye I see right half of the desktop also both halves are rotated differently. So currently in best case I can see half of the desktop without rotation and close my second eye.
 

-=xXx=-

Senior Member
Jan 18, 2006
142
37
0
I saw that there where some updates in git regarding R100 but I still can't compile version for Windows for now best option I think is reshade.