ValveSoftware / SteamVR-for-Linux

Issue tracker for the Linux port of SteamVR
912 stars 45 forks source link

Receiving Error Code 306 #130

Open Rookdroid opened 5 years ago

Rookdroid commented 5 years ago

How To Collect SteamVR System Information:

  1. Click the 'SteamVR beta' menu in the upper left of the SteamVR Status window
  2. Click 'Create System Report'
  3. Click 'Copy to Clipboard'
  4. Browse to https://gist.github.com/
  5. Click in the text entry box (by the 1)
  6. Paste clipboard contents
  7. Click 'Create Public Gist'
  8. Add URL of your new Gist below

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

When trying to run SteamVR I receive the 306 error "SteamVR failed to initialise for unknown reasons. (Error:Shared IPC Compositor Connect Failed (306))". My headset also only displays on the right eye showing my ubuntu desktop.

Steps for reproducing this issue:

  1. Plugin headset
  2. Run steam from terminal
  3. Run SteamVR from steam GUI
anon2828226 commented 5 years ago

Same error on SteamVR startup in Ubuntu 18.04 LTS, AMD R9 390 with Mesa 18.05, all up to date, though I think this SteamVR failure may be related to my Vulkan not working. When I run vulkaninfo I get: Vulkan Instance Version: 1.1.70

/build/vulkan-Kbdbga/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:2700: failed with VK_ERROR_INITIALIZATION_FAILED

@Rookdroid try running vulkaninfo. I am not confident at all that this is a related issue but I thought It was weird that my Vulkan install is failed and so is SteamVR.

Forgot the turn on lighthouse when making my system report. If that is needed I could. SteamVR-2018-09-25-PM_03_41_20.txt

lboklin commented 5 years ago

I have the same problem as @jackleson

$ vulkaninfo
===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.70

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
/build/vulkan-Kbdbga/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:2700: failed with VK_ERROR_INITIALIZATION_FAILED

I had to explicitly install vulkat-utils 1.1.70 with sudo apt install vulkan-utils=1.1.70+dfsg1-1 because it would otherwise choose 1.1.82.0+dfsg1-0ubuntu0.18.04.1\~gpu1 from the graphics-drivers repo which has broken dependencies:

The following packages have unmet dependencies:                                                                                                                                                                     
 vulkan-utils : Depends: vulkan-tools but it is not going to be installed                                                                                                                                           
E: Unable to correct problems, you have held broken packages.

even if I install the matching version of vulkan-tools explicitly beforehand.

Edit: I had a bunch of package weirdness which I think I managed to sort out. I installed nvidia-415 (I had nvidia-410 installed but nvidia-settings showed 415.18 which threw me off) and dist-upgraded. vulkaninfo now gives proper output and SteamVR launches without error. However, the HMD now doesn't turn on and I see what's supposed to be rendered to it in a desktop window instead.

Edit 2: Getting the HMD to turn on was as simple as replugging the HDMI cable. So now it works again.