SteamVR-for-Linux icon indicating copy to clipboard operation
SteamVR-for-Linux copied to clipboard

SteamVR Error 306 on Ubuntu 18.04. A key component of SteamVR isn't working properly

Open ghost opened this issue 7 years ago • 9 comments

Your system information Steam client version (build number or date): Newest version -- 10.13.18 Distribution (e.g. Ubuntu): Ubuntu 18.04 Graphics driver version (run nvidia-settings): AMD Radeon RX 580 latest driver Gist for SteamVR System Information: Opted into Steam client beta?: [Yes/No] tried beta and non beta version Opted into SteamVR beta?: [Yes/No] tried beta and non beta version Have you checked for system updates?: [Yes/No] yes 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

Steps for reproducing this issue: Every time I launch Steam VR I get this 306 error on Ubutnu. All drivers are up to date, I am on the latest version of everything.

I have tried both beta and non beta versions, I tried running from terminal, I reinstalled both steam and steamvr, and I also tried reseating my usb cords and pluggin/unplugging my displays. Any ideas on a workaround?

ghost avatar Oct 17 '18 03:10 ghost

Hello @winsteadworks, can you temporarily move intel_icd.x86_64.json out of the way with something like sudo mv /usr/share/vulkan/icd.d/intel_icd.x86_64.json /usr/share/vulkan/icd.d/intel_icd.x86_64.json.disabled and see if that has an effect?

kisak-valve avatar Oct 17 '18 12:10 kisak-valve

/usr/share/vulkan doesn't exist @kisak-valve

ghost avatar Oct 17 '18 12:10 ghost

Does any vulkan application like vulkaninfo from vulkan-utils work?

You may need to run sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386.

kisak-valve avatar Oct 17 '18 12:10 kisak-valve

Got a 307 error after installing that driver @kisak-valve

ghost avatar Oct 19 '18 15:10 ghost

Also getting 306 error. Last time I ran SteamVR was Nov 28 and it worked then. Since then I can only really think of one thing that has changed on my system and that's an nvidia driver update from 415.13 to 415.18.

Kubuntu 18.04, GTX 1070, SteamVR beta and non-beta.

Edit: nvidia-smi reveals that it's only nvidia-settings which is version 415.18 and the driver itself is version 410.78.

I believe this issue perhaps should be merged with #130?

Edit 2: See my comment in above issue. Got it working again after upgrading to nvidia-415, apt dist-upgradeing, rebooting and replugging the HDMI cable (would just render to desktop otherwise).

lboklin avatar Dec 03 '18 13:12 lboklin

Several users fixed error 306 by changing the SteamVR properties settings. In the properties settings, you have BETAS tab, and there you can select the beta for VR to opt into. By default, it will be selected to none, but you can change it to beta and wait for the SteamVR to update it.

Adamleez avatar Jan 10 '22 08:01 Adamleez

Got a 307 error after installing that driver @kisak-valve

Does any vulkan application work on your system at all (SteamVR uses vulkan to deliver frames in it's compositor on Linux)? Or did you get it fixed?

okawo80085 avatar Jan 10 '22 17:01 okawo80085

Several users fixed error 306 by changing the SteamVR properties settings. In the properties settings, you have BETAS tab, and there you can select the beta for VR to opt into. By default, it will be selected to none, but you can change it to beta and wait for the SteamVR to update it.

No? I fail to see how this is in any way helpful in resolving a Linux specific issue which is caused by missing/bad packages in OP's distribution

okawo80085 avatar Jan 10 '22 17:01 okawo80085

Replying to #147(Comment)

I had a similar fix for this issue, what differs in my fix though is that my driver was new enough, it was just randomly unloading on my system, to fix which I had to reinstall that driver by hand each time :/

Funny thing though, VRInitError_IPC_CompositorConnectFailed was not how I first noticed it, when my nvidia driver got unloaded any vulkan application would not work, literally everything that used vulkan failed to open/crashed with some vulkan related error, most were failures to initialize. Eventually it tried starting SteamVR while nvidia's driver once again got unloaded and lo and behold VRInitError_IPC_CompositorConnectFailed (i.e. 306), although I did also get a VRInitError_IPC_CompositorInvalidConnectResponse (i.e. 307) a few times. At some point nvidia drivers stopped randomly unloading on my system so the issue was fixed for me.

OP however has an AMD card, I switched to nvidia, but last time I tried AMD cards on Linux with SteamVR everything worked fine, with vulkan properly configured of course.

okawo80085 avatar Jan 10 '22 22:01 okawo80085