Radek Sprta (Posts about steam)https://radeksprta.eu/categories/steam.atom2024-01-07T02:28:56ZRadek SprtaNikolaSteam Not Working on OpenSuse? Here's a Quick Fixhttps://radeksprta.eu/posts/steam-not-working-opensuse-quick-fix/2017-11-12T11:24:54+01:002017-11-12T11:24:54+01:00Radek Sprta<p>After a couple of busy weeks, I finally found myself with some free time.
There were a couple of interesting game releases that I wanted to check out.
Unfortunately, that did not go so well in OpenSuse, with Steam not working. I
was welcomed by the following error:</p>
<div class="code"><pre class="code literal-block">symbol lookup error: /usr/lib/libxcb-dri3.so.0:
undefined symbol: xcb_send_request_with_fds
</pre></div>
<p>It seems that Steam does not work as
smooth in OpenSuse as in Ubuntu. Luckily, the fix was quite easy. You can
disable the library in question using an environment variable. So I just set
it when launching Steam:</p>
<div class="code"><pre class="code literal-block">$<span class="w"> </span>host<span class="w"> </span>+x
$<span class="w"> </span><span class="nv">LIBGL_DRI3_DISABLE</span><span class="o">=</span><span class="m">1</span><span class="w"> </span>steam
</pre></div>
<p>Once I did that, the Steam launched normally and updated
itself. After that, the problem disappeared, therefore I could just can run
Steam normally. Time to try out
<a href="https://www.gamesear.com/news/darkest-dungeon-developers-have-just-announced-a-new-class-the-shieldbreaker">Shieldbreaker</a>,
the new Darkest Dungeon DLC, with <a href="https://radeksprta.eu/posts/using-steam-controller-in-ubuntu/">Steam
controler</a>.
If you still have trouble running Steam, <a href="https://radeksprta.eu/posts/fix-steam-ubuntu-without-hassle/">this might help
you</a>. Meanwhile, here's hoping
that the <a href="https://github.com/solus-project/linux-steam-integration">Steam Linux Integration </a>
project comes to Opensuse as well, for a seamless Steam
experience.</p>Fix Steam Controller Issues in Linuxhttps://radeksprta.eu/posts/fix-steam-controller-issues-linux/2016-12-25T09:05:17+01:002016-12-25T09:05:17+01:00Radek Sprta<p>Last time I was praising Steam Controller <a href="https://radeksprta.eu/using-steam-controller-in-ubuntu/">for running smoothly in
Ubuntu</a>. Well, I must
have jinxed it. As you might have noticed, after a recent update, it stopped
working all together. The reason is, Valve have changed the protocol for
wireless communication between the controller and the computer. Luckily, the
fix is easy. You just have to edit the udev rules. So, open them with a text
editor:</p>
<div class="code"><pre class="code literal-block">$ sudo nano /lib/udev/rules.d/99-steam-controller-perms.rules
</pre></div>
<p>and change them to the following:</p>
<div class="code"><pre class="code literal-block"><span class="c1"># This rule is needed for basic functionality of the controller in Steam and</span>
<span class="c1"># keyboard/mouse emulation</span>
<span class="nv">SUBSYSTEM</span><span class="o">==</span><span class="s2">"usb"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idVendor<span class="o">}==</span><span class="s2">"28de"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># This rule is necessary for gamepad emulation; make sure you</span>
<span class="c1"># replace 'pgriffais' with a group that the user that runs Steam belongs to</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"uinput"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0660"</span>,<span class="w"> </span><span class="nv">GROUP</span><span class="o">=</span><span class="s2">"pgriffais"</span>,<span class="w"> </span><span class="nv">OPTIONS</span><span class="o">+=</span><span class="s2">"static_node=uinput"</span>
<span class="c1"># Valve HID devices over USB hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idVendor<span class="o">}==</span><span class="s2">"28de"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># Valve HID devices over bluetooth hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span><span class="nv">KERNELS</span><span class="o">==</span><span class="s2">"*28DE:*"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># DualShock 4 over USB hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idVendor<span class="o">}==</span><span class="s2">"054c"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idProduct<span class="o">}==</span><span class="s2">"05c4"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># DualShock 4 wireless adapter over USB hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idVendor<span class="o">}==</span><span class="s2">"054c"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idProduct<span class="o">}==</span><span class="s2">"0ba0"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># DualShock 4 Slim over USB hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idVendor<span class="o">}==</span><span class="s2">"054c"</span>,<span class="w"> </span>ATTRS<span class="o">{</span>idProduct<span class="o">}==</span><span class="s2">"09cc"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># DualShock 4 over bluetooth hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span><span class="nv">KERNELS</span><span class="o">==</span><span class="s2">"*054C:05C4*"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
<span class="c1"># DualShock 4 Slim over bluetooth hidraw</span>
<span class="nv">KERNEL</span><span class="o">==</span><span class="s2">"hidraw*"</span>,<span class="w"> </span><span class="nv">KERNELS</span><span class="o">==</span><span class="s2">"*054C:09CC*"</span>,<span class="w"> </span><span class="nv">MODE</span><span class="o">=</span><span class="s2">"0666"</span>
</pre></div>
<p>Now, save them with <code>Ctrl + x</code>.</p>
<p>I wonder, how much of a problem would be to update the udev package along the
Steam update. While the updated rules were mentioned in the change log, it did
not say which file you were supposed to edit. And of course, not everybody
reads changelogs. So this caused a headache to lot of users. Hopefully, Valve
will handle updates better in the future.</p>Using Steam Controller in Ubuntuhttps://radeksprta.eu/posts/using-steam-controller-in-ubuntu/2016-11-23T15:56:28+01:002016-11-23T15:56:28+01:00Radek Sprta<p>I have recently picked up the Steam controller. With it, I can finally enjoy
some of the platformers that have been sitting in my Steam library for ages
(such as Never Alone and
<a href="https://playfeist.net/">Feist</a>). Why Steam controller? The reason is twofold.
Firstly, it seems to be one of best gamepads around according to the reviews.
Secondly, it was also supposed to run out of the box on Linux. Well, that
might be the case if you connect it by USB (I have not tried that). But in
order to run it in wireless mode, you have to manually install the drivers.
Hopefully, they will be automatically downloaded when you install Steam in
future releases, but for now, you have to run this command.</p>
<div class="code"><pre class="code literal-block">$ sudo apt install steam-devices
</pre></div>
<p>Or in OpenSuse:</p>
<div class="code"><pre class="code literal-block">$ sudo zypper install steam-controller
</pre></div>
<p>When the installation completes, just fire
up Steam in the Big Picture Mode and add your controller. A bit more work that
I would have hoped for, but still simple enough. I might sum up my impressions
in another blog post. Now I am off to play some games.</p>
<h3>Trouble after update</h3>
<p>Edit: If you are experiencing problems with your Steam controller after a
recent update, check out <a href="https://radeksprta.eu/posts/fix-steam-controller-issues-linux/">this blog post</a>.</p>Fix Steam on Ubuntu Without Hasslehttps://radeksprta.eu/posts/fix-steam-ubuntu-without-hassle/2016-08-16T23:25:46+02:002016-08-16T23:25:46+02:00Radek Sprta<p>While greatly improved since the beta days, Steam on Linux is not perfect yet.
After updates, it is often neccessary to fix Steam. You might be familiar with
the following error:</p>
<div class="code"><pre class="code literal-block">SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
</pre></div>
<p>The problem is caused by the Steam's bundled libraries.
But luckily, the solution is straightforward. All you need to do is to remove
them. And to make your life easier, you can make a simple script to handle
that. Let's call it steamfix.sh:</p>
<div class="code"><pre class="code literal-block"><span class="ch">#!/usr/bin/env bash</span>
<span class="nb">set</span><span class="w"> </span>-exu
<span class="nb">cd</span><span class="w"> </span><span class="nv">$HOME</span>/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
mv<span class="w"> </span>libstdc++.so.6<span class="w"> </span>libstdc++.so.6.bak
<span class="nb">cd</span><span class="w"> </span><span class="nv">$HOME</span>/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv<span class="w"> </span>libstdc++.so.6<span class="w"> </span>libstdc++.so.6.bak
</pre></div>
<p>Don't forget to make it executable with <code>chmod
+x</code> and put it into <code>/usr/local/bin</code>. Now every time your Steam stops running
after an update, executing <code>steamfix.sh</code> will make everything alright. Do you
also have a Steam controller? If so, check out <a href="https://radeksprta.eu/using-steam-controller-in-ubuntu/">how to configure it on
Linux</a>.</p>