ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to init SDL priority manager: SDL not found and Failed to set thread priority: per-thread setup failed

dedsecorg opened this issue · comments

Your system information

  • Steam client version (build number or date): Steamcmd 16.04.2020
  • Distribution (e.g. Ubuntu): Debian 10
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

As well as many others, and after some googlesearches, we get told that we should just ignore this messages, but it still is an error message, and i did not find it here..

Steps for reproducing this issue:

  1. Install Steamcmd on a fresh install
  2. Start Steamcmd
  3. Wait for the errors:
Loading Steam API...Failed to init SDL priority manager: SDL not found
Failed to set thread priority: per-thread setup failed
Failed to set thread priority: per-thread setup failed

You will also get this installing for example app_update 258550, but then you only will get this:
Failed to set thread priority: per-thread setup failed
I do get it 7 times in a row.

This should might not happen?

This is an error caused by the absence of the 32-bit SDL library.

sudo apt install libsdl2-2.0-0:i386
solves the problem.

commented

Hi,
Same problem. It worked for me and thank you.

Thanks a lot! Solved for me too

Hi,
Same problem. It worked for me and thank you.

Why would this happened in a x64 machine?

This is an error caused by the absence of the 32-bit SDL library.

sudo apt install libsdl2-2.0-0:i386
solves the problem.

Kept getting the intruding message "Failed to init SDL priority manager: SDL not found" while I was typing commands AND while dedicated server files were downloading. So far this is working. Thank you human! (Ubuntu 20.04 LTS)

Created a GitHub account just to thank you!
(almost called it Reddit..)

Why would this happened in a x64 machine?

compatibility, not everything in the steam library is 64 bit.
team fortress classic comes to mind, halflife deathmatch as well.

"You've inherited 32-bit binaries, I was born into 16-bit DOS, was molded by 32-bit, I didn't see 64-bits until i was a man" - Nerd Bane

Though, the exclusion of i386 binaries does reinforce your position of why. I just stood up a server and ran into the same ting... maybe adding the package as a dependency in the repository would be nice since it seems canonical have the mindset to save 12 megabytes of space and not include both 64 and 32 bit binaries.

I fixed this on ubuntu16 with adding the package: libsdl2-2.0-0

On Fedora 33 this can be solved by
dnf install SDL2.i686 SDL2.x86_64
If this is not enough then add -devel packages and/or _net and _net-devel for SDL2.

Sorry to reopen this, but I get the following error when trying to install the package:

# apt install libsdl2-2.0-0:i386 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libsdl2-2.0-0:i386 E: Couldn't find any package by glob 'libsdl2-2.0-0' E: Couldn't find any package by regex 'libsdl2-2.0-0'

Am I missing the i386 source?

Hello @netstx, check if Debian's multi-arch support is enabled with dpkg --print-architecture && dpkg --print-foreign-architectures. On my Ubuntu test box, this command gives me:

amd64
i386

If multi-arch is disabled, then it would only have amd64 and you'd want to enable it with something like

sudo dpkg --add-architecture i386
sudo apt update
sudo apt upgrade

Then check if the package is available with apt policy libsdl2-2.0-0:i386.

If yall are running on Fedora and encounter this, try installing SDL2.i686.

My environment:

  • Fedora 33
  • SDL2.x86_64 was already installed and I encountered this issue
  • SDL2.i686 was not installed, installing it appears to have fixed
    Specific version I downloaded in case it matters: SDL2-2.0.14-1.fc33.i68

This is an error caused by the absence of the 32-bit SDL library.

sudo apt install libsdl2-2.0-0:i386
solves the problem.

You are GOD! Thank you!

For Ubuntu / Ubuntu server users:
sudo apt-get install libsdl2-2.0

commented

I'm running a headless virtual server. Why is SDL required?
Here is the message I get when I try to install it:
root@vps:/home/dad/tmp# apt-get install libsdl2-2.0-0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libapparmor1:i386 libasound2:i386 libasyncns0:i386 libboost-filesystem1.58.0:i386 libboost-system1.58.0:i386 libbsd0:i386
libcapnp-0.5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
libedit2:i386 libegl1-mesa:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libgbm1:i386 libgcrypt20:i386 libgl1-mesa-dri:i386
libglapi-mesa:i386 libgpg-error0:i386 libllvm6.0:i386 liblzma5:i386 libmirclient9:i386 libmircommon7:i386 libmircore1:i386
libmirprotobuf3:i386 libogg0:i386 libpciaccess0:i386 libpcre3:i386 libprotobuf-lite9v5:i386 libpulse0:i386 libselinux1:i386
libsensors4:i386 libsndfile1:i386 libsndio6.1:i386 libsystemd0:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libvorbis0a:i386
libvorbisenc2:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libwrap0:i386
libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-present0:i386 libxcb-sync1:i386
libxcb-xfixes0:i386 libxcb1:i386 libxcursor1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
libxkbcommon0:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxss1:i386 libxxf86vm1:i386 x11-common
Suggested packages:
libasound2-plugins:i386 rng-tools:i386 pulseaudio:i386 lm-sensors:i386 sndiod:i386
The following NEW packages will be installed:
libapparmor1:i386 libasound2:i386 libasyncns0:i386 libboost-filesystem1.58.0:i386 libboost-system1.58.0:i386 libbsd0:i386
libcapnp-0.5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
libedit2:i386 libegl1-mesa:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libgbm1:i386 libgcrypt20:i386 libgl1-mesa-dri:i386
libglapi-mesa:i386 libgpg-error0:i386 libllvm6.0:i386 liblzma5:i386 libmirclient9:i386 libmircommon7:i386 libmircore1:i386
libmirprotobuf3:i386 libogg0:i386 libpciaccess0:i386 libpcre3:i386 libprotobuf-lite9v5:i386 libpulse0:i386 libsdl2-2.0-0:i386
libselinux1:i386 libsensors4:i386 libsndfile1:i386 libsndio6.1:i386 libsystemd0:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386
libvorbis0a:i386 libvorbisenc2:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386
libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-present0:i386 libxcb-sync1:i386
libxcb-xfixes0:i386 libxcb1:i386 libxcursor1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
libxkbcommon0:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxss1:i386 libxxf86vm1:i386 x11-common
0 upgraded, 72 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.1 MB of archives.
After this operation, 240 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Are you sure that installing all of this stuff on a headless server won't break something???

@dad98253

Are you sure that installing all of this stuff on a headless server won't break something???

That's more than I would expect, but if you're not getting any package conflicts, then it should be fine.