FORUMS
Remove All Ads from XDA

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

9 posts
Thanks Meter: 5
 
By TheOnlyJoey, Junior Member on 30th June 2018, 09:29 PM
Post Reply Email Thread
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
The Following User Says Thank You to TheOnlyJoey For This Useful Post: [ View ] Gift TheOnlyJoey Ad-Free
30th June 2018, 11:43 PM |#2  
Junior Member
Thanks Meter: 6
 
More
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&sourc...kssHFFEoNwewFR
1st July 2018, 05:25 PM |#3  
OP Junior Member
Thanks Meter: 5
 
Donate to Me
More
Quote:
Originally Posted by Supportit

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&sourc...kssHFFEoNwewFR

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.
7th July 2018, 03:26 PM |#4  
Junior Member
Thanks Meter: 6
 
More
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.

Quote:
Originally Posted by TheOnlyJoey

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.

9th July 2018, 06:59 PM |#5  
Senior Member
Thanks Meter: 36
 
Donate to Me
More
I think the screens are connected inside like this so they always need to be rotaded from software side ...
17th July 2018, 09:04 PM |#6  
Senior Member
Thanks Meter: 36
 
Donate to Me
More
I checked OpenHMD Git and there is no mention about LG do you have some code to share ? Thanks.
20th July 2018, 11:25 PM |#7  
Junior Member
Thanks Meter: 7
 
More
del
9th December 2018, 04:02 PM |#8  
OP Junior Member
Thanks Meter: 5
 
Donate to Me
More
Quote:
Originally Posted by -=xXx=-

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
12th December 2018, 04:33 AM |#9  
Silverobot's Avatar
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by TheOnlyJoey

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
23rd December 2018, 03:19 AM |#10  
Senior Member
Thanks Meter: 36
 
Donate to Me
More
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.
29th March 2019, 05:45 PM |#11  
Senior Member
Thanks Meter: 36
 
Donate to Me
More
Did someone get OpenHMD to work ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes