Steam vr troubleshooting: Difference between revisions

From wikinotes
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
See also [[steam vr performance]].
See also [[steam vr performance]].


= Home won't Start =
 
= Errors Logs =
<blockquote>
<blockquote>
<source lang="yaml">
== Types of Errors ==
SteamVR > Restart Headset
<blockquote>
</source>
Most issues I've encountered with SteamVR are caused by:
</blockquote><!-- Home won't Start -->
* missing libraries
* assumptions about case-insentive filesystems
</blockquote><!-- Types of Errors -->


= Logs =
== Finding Errors ==
<blockquote>
<blockquote>
Some issues with SteamVR are caused by missing libraries, or directories.
You must check multiple places to catch errors:
 
* run steam in a console, filter output with grep to catch most errors
Some examples
* check the various steam logs, they contain info that won't show up in your console
<syntaxhighlight lang="bash">
./vrwebhelper: symbol lookup error: /usr/lib/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language
 
./vrwebhelper: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory
 
Failed to change directory in process '/home/will/.local/share/Steam/steamapps/common/tools/steamvr_environments/game/bin/steamtours': 2
 
Failed to execute process '/home/will/.local/share/Steam/steamapps/common/tools/steamvr_environments/game/bin/steamtours': 2
</syntaxhighlight>


Try redirecting logs, and tailing with a line-numbered filter.
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# starting in console and watching logs is most dependable source of errors
# 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
# 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><!--  -->


== 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 56: Line 43:
* validated steamvr
* validated steamvr
</blockquote><!-- Mongoose -->
</blockquote><!-- Mongoose -->
= Errors/Fixes =
<blockquote>
== SteamVR > Settings won't start ==
<blockquote>
Check the logs, I needed to downgrade <code>freetype2</code> and install <code>libcef</code>.
</blockquote><!-- SteamVR > Settings -->
== SteamVR Dashboard won't display ==
<blockquote>
* (2021/10/17) this was resolved with the <code>CEF Local Resource Load Error</code> fix listed below.
</blockquote><!-- SteamVR Dashboard won't display -->
== Log Errors ==
<blockquote>
=== (2021/10/17) symbol lookup error: /usr/lib/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language ===
<blockquote>
Downgrade to freetype-2.2.10.4-1
<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
</syntaxhighlight>
<syntaxhighlight lang="bash">
# /etc/pacman.conf
[options]
# - freetype2: steamvr issue 2021/10/17
IgnorePkg = freetype2
</syntaxhighlight>
https://github.com/ValveSoftware/steam-for-linux/issues/7935
</blockquote><!-- lookup libreetype.so.6 -->
=== (2021/10/17) error while loading shared libraries: libcef.so ===
<blockquote>
<syntaxhighlight lang="bash">
aura -A cef-standard
# OR
aura -A cef-minimal
</syntaxhighlight>
{{ NOTE |
still getting errors, perhaps adjust LD_LIBRARY_PATH }}
</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><!-- 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