Steam vr troubleshooting: Difference between revisions

From wikinotes
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:




= Logs =
= Errors Logs =
<blockquote>
<blockquote>
Some issues with SteamVR are caused by missing libraries, or directories.
== Types of Errors ==
<blockquote>
Most issues I've encountered with SteamVR are caused by:
* missing libraries
* assumptions about case-insentive filesystems
</blockquote><!-- Types of Errors -->
 
== Finding Errors ==
<blockquote>
You must check multiple places to catch errors:
* run steam in a console, filter output with grep to catch most errors
* check the various steam logs, they contain info that won't show up in your console


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 10: Line 21:
# logs exist in ~/.local/share/Steam/steamapps/Steam/logs but NOT EVERY ERROR is logged
# logs exist in ~/.local/share/Steam/steamapps/Steam/logs but NOT EVERY ERROR is logged
steam | grep -i -e 'vrwebhelper' -e 'failed' -e 'error' -e 'symbol'
steam | grep -i -e 'vrwebhelper' -e 'failed' -e 'error' -e 'symbol'
</syntaxhighlight>
</syntaxhighlight>


== Console ==
<syntaxhighlight lang="bash">
<blockquote>
# HTTP request errors, other
<syntaxhighlight lang="yaml">
rg -i -e 'failed' -e 'error' -e 'symbol' ~/.local/share/Steam/logs
- launch steam from console and it will log there
- modify SteamVR's launch command to open and execute from a terminal.
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- console -->


== UI ==
<blockquote>
Logs available from UI using


<source lang="yaml">
You can also show logs from the SteamVR UI
<syntaxhighlight lang="yaml">
SteamVR > Create System Report:
SteamVR > Create System Report:
   - Logs tab
   - Logs tab
</source>
</syntaxhighlight>
</blockquote><!-- UI -->
</blockquote><!-- Finding Errors -->
</blockquote><!-- Logs -->
</blockquote><!-- Logs -->


Line 47: Line 52:
</blockquote><!-- SteamVR > Settings -->
</blockquote><!-- SteamVR > Settings -->


== Home won't Start ==
== SteamVR Dashboard won't display ==
<blockquote>
<blockquote>
{{ NOTE |
* (2021/10/17) this was resolved with the <code>CEF Local Resource Load Error</code> fix listed below.
2021/10/17 no longer resolves issue
 
}}
</blockquote><!-- SteamVR Dashboard won't display -->
<source lang="yaml">
SteamVR > Restart Headset
</source>
</blockquote><!-- Home won't Start -->


== Log Errors ==
== Log Errors ==
Line 63: Line 64:
Downgrade to freetype-2.2.10.4-1
Downgrade to freetype-2.2.10.4-1
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo curl -O# \
  https://archive.archlinux.org/packages/path/freetype2-2.10.4-1-x86_64.pkg.tar.zst.sig \
  -o /var/cache/pacman/pkg/freetype2-2.10.4-1-x86_64.pkg.tar.zst.sig
sudo pacman -U https://archive.archlinux.org/packages/path/freetype2-2.10.4-1-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/packages/path/freetype2-2.10.4-1-x86_64.pkg.tar.zst
</syntaxhighlight>
</syntaxhighlight>
Line 83: Line 88:
aura -A cef-minimal
aura -A cef-minimal
</syntaxhighlight>
</syntaxhighlight>
{{ NOTE |
still getting errors, perhaps adjust LD_LIBRARY_PATH }}
</blockquote><!-- (2021/10/17) libcef -->
</blockquote><!-- (2021/10/17) libcef -->
=== (2021/10/17) ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ===
<blockquote>
Ignorable.
</blockquote><!-- gameoverlayrenderer.so -->
=== (2021/10/17 | vrwebhelper_pairing.txt) CEF Local Resource Load Error ===
<blockquote>
The filenames fonts installed with steam are mixed-case, but being retreived lowercased.<br>
Linux filesystems are case sensitive, create symlinks for the lowercased variation.
<syntaxhighlight lang="bash">
# ~/.local/share/Steam/logs/vrwebhelper_pairing.txt
CEF Local Resource Load Error: http://localhost:27062/fonts/get_font?font=motiva-sans-regular.ttf -> 404 (Not Found)
</syntaxhighlight>
<syntaxhighlight lang="bash">
cd ~/.local/share/Steam/steamapps/common/SteamVR/resources/webinterface/fonts \
  && ln -s Motiva-Sans-Bold.ttf    motiva-sans-bold.ttf \
  && ln -s Motiva-Sans-Regular.ttf motiva-sans-regular.ttf
</syntaxhighlight>
https://github.com/ValveSoftware/SteamVR-for-Linux/issues/255#issuecomment-877844004
</blockquote><!-- (2021/10/17)  -->
</blockquote><!-- Log Errors -->
</blockquote><!-- Log Errors -->
</blockquote><!-- Errors/Fixes -->
</blockquote><!-- Errors/Fixes -->

Latest revision as of 16:59, 17 October 2021

See also steam vr performance.


Errors Logs

Types of Errors

Most issues I've encountered with SteamVR are caused by:

  • missing libraries
  • assumptions about case-insentive filesystems

Finding Errors

You must check multiple places to catch errors:

  • run steam in a console, filter output with grep to catch most errors
  • check the various steam logs, they contain info that won't show up in your console
# starting in console and watching logs is most dependable source of errors
# logs exist in ~/.local/share/Steam/steamapps/Steam/logs but NOT EVERY ERROR is logged
steam | grep -i -e 'vrwebhelper' -e 'failed' -e 'error' -e 'symbol'
# HTTP request errors, other
rg -i -e 'failed' -e 'error' -e 'symbol' ~/.local/share/Steam/logs


You can also show logs from the SteamVR UI

SteamVR > Create System Report:
  - Logs tab

Unable to contact Mongoose

  • doesn't seem to be firewall
  • doesn't seem to be dnsmasq
  • validated steamvr

Errors/Fixes

SteamVR > Settings won't start

Check the logs, I needed to downgrade freetype2 and install libcef.

SteamVR Dashboard won't display

  • (2021/10/17) this was resolved with the CEF Local Resource Load Error fix listed below.

Log Errors

(2021/10/17) symbol lookup error: /usr/lib/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language

Downgrade to freetype-2.2.10.4-1

sudo curl -O# \
  https://archive.archlinux.org/packages/path/freetype2-2.10.4-1-x86_64.pkg.tar.zst.sig \
  -o /var/cache/pacman/pkg/freetype2-2.10.4-1-x86_64.pkg.tar.zst.sig 

sudo pacman -U https://archive.archlinux.org/packages/path/freetype2-2.10.4-1-x86_64.pkg.tar.zst
# /etc/pacman.conf

[options]
# - freetype2: steamvr issue 2021/10/17
IgnorePkg = freetype2

https://github.com/ValveSoftware/steam-for-linux/issues/7935

(2021/10/17) error while loading shared libraries: libcef.so

aura -A cef-standard
# OR
aura -A cef-minimal

NOTE:

still getting errors, perhaps adjust LD_LIBRARY_PATH

(2021/10/17) ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32):

Ignorable.

(2021/10/17 | vrwebhelper_pairing.txt) CEF Local Resource Load Error

The filenames fonts installed with steam are mixed-case, but being retreived lowercased.
Linux filesystems are case sensitive, create symlinks for the lowercased variation.

# ~/.local/share/Steam/logs/vrwebhelper_pairing.txt
CEF Local Resource Load Error: http://localhost:27062/fonts/get_font?font=motiva-sans-regular.ttf -> 404 (Not Found)
cd ~/.local/share/Steam/steamapps/common/SteamVR/resources/webinterface/fonts \
  && ln -s Motiva-Sans-Bold.ttf    motiva-sans-bold.ttf \
  && ln -s Motiva-Sans-Regular.ttf motiva-sans-regular.ttf

https://github.com/ValveSoftware/SteamVR-for-Linux/issues/255#issuecomment-877844004