PsyPhy / GRASP-on-ISS-Corrupted

Source code to run the GRASP ISS experiment.
0 stars 0 forks source link

Track configuration of Joe's "Perspectives" laptop. #1

Open frenchjam opened 8 years ago

frenchjam commented 8 years ago

From @frenchjam on December 10, 2015 14:6

This thread will be used to record operations carried out on the Perspectives laptop so as to document the required development and runtime configurations.

You can also find here how I generated the various virtual machines (VMs) that I use under Parallels on my Mac. The configuration of the VMs will be tracked, however, in separate issues. Here we track only what we do on the Perspectives laptop itself.

Copied from original issue: frenchjam/GRASP-ISS#1

frenchjam commented 8 years ago

I created a new System Image on DATADRIVE1 using the Windows Backup Control Panel. I also created a recovery disk.

frenchjam commented 8 years ago

I renames the WindowsImageBackup that I created on DATADRIVE1 to "WindowsImageBackup_PerspectivesAdulterated". I then copied the one that I had created on 31/01/2016 from DATADRIVE0 to DATADRIVE1 and renamed it "WindowsImageBackup_PerspectivesUpdatedVirgin". Both are in the root directory and also in a directory called WindowsImageBackups. Furthermore, I copied WindowsImageBackup_PerspectivesUpdatedVirgin to my external hard drive. To use one of these the idea is to rename one back to WindowsImageBackup and then use the Recovery disk or Recovery Control Panel to go back to one of these prior configurations.

frenchjam commented 8 years ago

Successfully returned to PerspectivesUpdatedVirgin state. After first reboot there were some updates that were automatically installed, causing a reboot. After that, I made a manual restore point.

frenchjam commented 8 years ago

HP asked how I would like to be notified about updates from HP. I selected "Notify but ask".

frenchjam commented 8 years ago

Connected to LosMci wifi network.

frenchjam commented 8 years ago

Installed Oculus 0.8 runtime. Connected Oculus and launched the Configuration Utility from the tray. The utility is unable to connect to the Oculus, although there is an image in the display.

frenchjam commented 8 years ago

Shutdown in anticipation of configuring the graphics in the BIOS. Windows installed 21 updates prior to shutting down.

frenchjam commented 8 years ago

Disabled Hybrid Graphics in the BIOS per instructions from CADMOS. When I booted after the change, Windows configured the Registry and rebooted itself. When I launched the Oculus Configuration Utility, it now says that an Oculus Rift DK2 is attached, No Tracker Attached and that the NVidia graphics driver is out of date.

frenchjam commented 8 years ago

Created a control point in anticipation of updating the graphics driver.

frenchjam commented 8 years ago

Attempted to use the Device Manager to update the NVidia graphics driver. It searches automatically and says that the best driver is already installed.

frenchjam commented 8 years ago

Downloaded and installed NVIDIA Graphics Driver 361.91 with the Express option and rebooted.

frenchjam commented 8 years ago

Changed resolution to 1920x1080.

frenchjam commented 8 years ago

Started Device Manager. Status is: "Oculus Rift DK2 Attached, No Tracker Attached".

was greyed out until I created a user. Then I was able to view the demo scene and orientation tracking does work.
frenchjam commented 8 years ago

Installed Visual Studio Community 2015 with Update 1, using: en_visual_studio_community_2015_with_update_1_x86_x64_web_installer_7288369.exe

frenchjam commented 8 years ago

Started to install Visual Studio Express 2015 but it looks like it would go in the same directory as Community, so I stopped it.

frenchjam commented 8 years ago

Successfully ran Oculus World Demo.

frenchjam commented 8 years ago

Tried to open the Samples solution in the Oculus SDK. Visual Studio Community is asking to install some features:

frenchjam commented 8 years ago

A system control point was created automatically.

frenchjam commented 8 years ago

Successfully loaded, compiled and ran OculusRoomTiny (GL), OculusRoomTiny (DX11) and OculusWorldDemo.

frenchjam commented 8 years ago

Michele's Coda+Oculus executables copied to "Desktop/executable codaoculus".

frenchjam commented 8 years ago

On DATADRIVE1 I found WindowsImageBackup_PerspectivesAdulterated with date 06/03/2016 16:14, WindowsImageBackup_UpdatedVirgin with date 06/03/2016 17:17 and WindowsImageBackup with date 06/03/2016 19:25. I'm not sure what the latter one corresponds to, so I renamed it WindowsImageBackup_Unknown.

frenchjam commented 8 years ago

Performed a control point entitled "Prior to Parabolic Flights".

frenchjam commented 8 years ago

Creating a system image on drive F: using the "Backup and Restore" control panel and renamed it "WindowsImageBackup_VC2015CommunityAndOculusSDK0.8"

frenchjam commented 8 years ago

Pierre Bertrand installed EMGworks.

frenchjam commented 8 years ago

Creating a system image on drive F: using the "Backup and Restore" control panel and renamed it "WindowsImageBackup_PreParabolicFlight".

I am creating this in preparation for regressing to Oculus 0.6 in the hopes of getting Michele's program to run.

frenchjam commented 8 years ago

Uninstalled Oculus Runtime 0.8. Machine restarted as part of the uninstall process.

frenchjam commented 8 years ago

Installed Oculus Runtime 0.6.0.1.

frenchjam commented 8 years ago

Successfully ran Michele's program. Rotations seem to work as long as the coordinate frame is set up correctly with X going right to left, Z going up and Y going from front to back.

frenchjam commented 8 years ago

Copied my programs and Michele's to the desktop. Created shortcuts on the desktop as well. The shortcuts for the CodaRTnet Acquisition, Alignment and Plotting programs have command line parameters added in the configuration page to tailor the behavior to the parabolic flight configuration.

frenchjam commented 8 years ago

Installed Oculus runtime 0.8.

frenchjam commented 8 years ago

Created a restore point entitled "Prior to uninstalling Visual Studio 2015 Community". I am going to uninstall VS 2015 because I want to put in VS 2010 and you are supposed to install them in order.

frenchjam commented 8 years ago

Uninstalled VS 2015. Installed VS 2010 and associated updates.

frenchjam commented 8 years ago

To move ahead more quickly I stopped keeping detailed records of everything installed or uninstalled, under the assumption that I could retreat back to one of the disk images. I believe that I installed GitHub Desktop, the Chrome browser and Direct3D during this period, as well as many automatic updates. I also updated the nVidia drivers. Unfortunately, I don't see that a restore point was automatically generated wrt that update. I installed a couple of other utilities (pandoc and WinSCP) but I don't believe that those installations involve anything more than copying the .exe files and associated configuration files to the HD in appropriate places. The attached screenshot shows what may have been installed during this period.

programs and features screen shot 2016-06-02

frenchjam commented 8 years ago

Created a restore point prior to installing CoreTemp.

frenchjam commented 8 years ago

Installed CoreTemp just after the restore point noted above.

frenchjam commented 8 years ago

Creating a system image in preparation for installing Oculus SDK 1.3.

frenchjam commented 8 years ago

Dowloaded Oculus SDK 1.3 and unzipped the file. I have not yet seen an installer.

frenchjam commented 8 years ago

Tried to run the 'Oculus World Demo' program in the ovr_sdk_win_1.3.0_public/OculusSDK' directory but obtained the error "ovr_Initialize failure". Note that there is no apparent server or device driver running at this point and there was no install program for the SDK. Maybe I need to install the runtime as well.

frenchjam commented 8 years ago

Found Oculus Room Tiny in the samples directory and found the VS2010 projects. Tried to compile OculusRoomTiny (GL) but it did not find the OVR files. I added the LibOVR and LibOVRKernel projects and tried to compile them. But LibOVR gives a compile error on #include . Researching on the web indicates that VS2010 does not support < atomic >.

frenchjam commented 8 years ago

Download Visual Studio Express 2015 for Windows Desktop. File wdexpressENU_2c248ac816844c55a0807d63ba0d5ab7.exe

frenchjam commented 8 years ago

I installed Visual Studio Express. It got stuck loading CRT something or other. At the same time the wifi connection went down. I reset the wifi connection and the install started moving again but it finished with some errors, notably about CRT not being properly restored but also about an incompatible version of Visual Studio 2015 runtime already being installed and the need to uninstall it.

frenchjam commented 8 years ago

In the meantime I found the Oculus SDK Visual Studio 2010 solution file and when I loaded that it seems to compile. So I am putting on hold the switch to VS 2015 and will try again with 2010.

frenchjam commented 8 years ago

Unistalled Oculus SDK 0.8 in preparation of installation of 1.3, per instructions from the website. Installing included a reboot to complete the installation.

frenchjam commented 8 years ago

Started install process at oculus.com/setup.

frenchjam commented 8 years ago

I did a lot of work without logging my actions here. Shame on me. Hopefully the restore points will be sufficient to retrace steps if need be.

frenchjam commented 8 years ago

This evening my Oculus CV1 stopped working. I was unable to revive it by changing connectors, HDMI adaptors, etc. The orange light was on in the face mask but when I covered the sensor it turned off instead of going to white.

The Oculus home page told me that a driver update and a firmware update were required. I did both. I seem to be operational again with firmware version 708.

frenchjam commented 8 years ago

Updated USB 3.0 driver.

There were multiple devices in the hardware list and most of them marked USB 3.0 were already up to date. But one of them was updated when I clicked on update driver. I don't remember which one.