commit 66e072dbee1e8f2244c8f9a1ef25b89bd00e32be
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sun Feb 9 18:58:18 2020 +0100
Small updates
README.Fedora | 81 +++++++++++++++++++++++++++++---------------------------
steam-3570.patch | 10 -------
steam.csh | 5 ++++
steam.sh | 5 ++++
steam.spec | 32 +++++++++++++---------
5 files changed, 71 insertions(+), 62 deletions(-)
---
diff --git a/README.Fedora b/README.Fedora
index e2a0460..5e50a17 100644
--- a/README.Fedora
+++ b/README.Fedora
@@ -16,38 +16,37 @@ And launch the client again, it will adjust all the symlinks for
folders, saves,
etc. by itself. Even the desktop / system shortcuts for the games work because
they launch Steam (which is in the path) with the appropriate Steam game ID.
-In-Home Streaming (hardware decoding/encoding)
+Steam Remote Play (hardware decoding/encoding)
==============================================
-In-Home Streaming hardware decoding and encoding are exposed through different
+Steam Remote Play hardware decoding and encoding are exposed through different
backends, depending on the hardware you are running. These are detected at
runtime, and are all 32 bit libraries also on 64 bit systems, as the client is
32 bit only.
-+------------------+------------------+-----------------------+
-| Video Driver | Hardware API | Library |
-+------------------+------------------+-----------------------+
-| Intel (intel) | Decoding: VA-API | libva.so.1 |
-| Nvidia (nvidia) | Decoding: VDPAU | libvdpau.so.1 |
-| AMD (radeon) | Decoding: VDPAU | libvdpau.so.1 |
-| Nvidia (nouveau) | Decoding: VDPAU | libvdpau.so.1 |
-| Nvidia (nvidia) | Encoding: NVENC | libnvidia-encode.so.1 |
-| Intel (intel) | Encoding: VA-API | libva.so.1 |
-+------------------+------------------+-----------------------+
-
-In-Home streaming configuration
++------------------+------------------+-------------------------+
+| Video Driver | Hardware API | Library |
++------------------+------------------+-------------------------+
+| Intel (intel) | Decoding: VA-API | libva.so.1 / libva.so.2 |
+| Nvidia (nvidia) | Decoding: VDPAU | libvdpau.so.1 |
+| AMD (radeon) | Decoding: VDPAU | libvdpau.so.1 |
+| Nvidia (nouveau) | Decoding: VDPAU | libvdpau.so.1 |
+| Nvidia (nvidia) | Encoding: NVENC | libnvidia-encode.so.1 |
+| Intel (intel) | Encoding: VA-API | libva.so.1 / libva.so.2 |
++------------------+------------------+-------------------------+
+
+Steam Remote Play configuration
===============================
-Valve has supported In-Home streaming (both as a server and as a client) in
-Linux for quite some time. According to the documentation, streaming uses UDP
-ports 27031 to 27036 and TCP ports 27036 and 27037.
+Valve has supported Steam Remote Play (both as a server and as a client) in
+Linux for quite some time. According to the documentation, streaming in the same
+network segment uses UDP ports 27031 to 27036 and TCP ports 27036 and 27037.
-The package includes the required service definitions for FirewallD. If you have
-installed a default desktop, FirewallD should be your firewall solution. To make
-sure that Steam can listen on the required ports through your firewall software,
-execute the following commands as root.
+If you have installed a default desktop, FirewallD should be your firewall
+solution. To make sure that Steam can listen on the required ports through your
+firewall software, execute the following commands as root.
-You should then be able to see the word “steam” by running:
+You should be able to see the word “steam” by running:
# firewall-cmd --get-services | grep steam
@@ -67,38 +66,42 @@ Now start up two Steam clients with your user on the same network, and
you
should see games installed on both systems as available for playing in both
Steam clients.
+For Steam Remote Play outside of your network, there is no need to open any
+additional inbound ports.
+
Joysticks, keyboards and game pads
==================================
The package contains the UDEV rules for the following devices:
-- Valve USB devices
-- Steam Controller udev write access
-- Valve HID devices over USB hidraw
-- Valve HID devices over bluetooth hidraw
-- DualShock 4 over USB hidraw
-- DualShock 4 wireless adapter over USB hidraw
-- DualShock 4 Slim over USB hidraw
+- Armor Armor 3 Pad PS4
- DualShock 4 over bluetooth hidraw
+- DualShock 4 over USB hidraw
- DualShock 4 Slim over bluetooth hidraw
-- Nintendo Switch Pro Controller over USB hidraw
-- Nintendo Switch Pro Controller over bluetooth hidraw
-- Nacon PS4 Revolution Pro Controller
-- Razer Raiju PS4 Controller
-- Razer Panthera Arcade Stick
-- Mad Catz - Street Fighter V Arcade FightPad PRO
-- Mad Catz - Street Fighter V Arcade FightStick TE S+
+- DualShock 4 Slim over USB hidraw
+- DualShock 4 wireless adapter over USB hidraw
- EMiO Elite Controller for PS4
-- HORI RAP4
- HORIPAD 4 FPS
- HORIPAD 4 FPS Plus
-- Armor Armor 3 Pad PS4
+- HORI RAP4
+- Mad Catz - Street Fighter V Arcade FightPad PRO
+- Mad Catz - Street Fighter V Arcade FightStick TE S+
+- Nacon PS4 Revolution Pro Controller
+- Nintendo Switch Pro Controller over bluetooth hidraw
+- Nintendo Switch Pro Controller over USB hidraw
+- Razer Panthera Arcade Stick
+- Razer Raiju PS4 Controller
+- Steam Controller udev write access
- STRIKEPAD PS4 Grip Add-on
+- Valve HID devices over bluetooth hidraw
+- Valve HID devices over USB hidraw
+- Valve USB devices
+- ZeroPlus P4 (hitbox)
Additional support for Nvidia devices (including mouse workaround for early
devices):
-- Nvidia Shield Portable (2013) for In-Home Streaming only
+- Nvidia Shield Portable (2013) for Steam Remote Play only
- Nvidia Shield Controller (2015) over USB hidraw
- Nvidia Shield Controller (2017) over bluetooth hidraw
diff --git a/steam.csh b/steam.csh
index 35dfd6f..ddf755e 100644
--- a/steam.csh
+++ b/steam.csh
@@ -7,3 +7,8 @@
# Unify close-to-tray behavior with other platforms. If using a distribution
# that doesn't have proper compatible tray support set variable at 0.
setenv STEAM_FRAME_FORCE_CLOSE 1
+
+# Do not minimize main Steam window after losing focus (i.e. exiting a game in
+# Steam Remote Play.
+#
https://github.com/ValveSoftware/steam-for-linux/issues/4611
+setenv SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS 0
diff --git a/steam.sh b/steam.sh
index 3c1c645..8d8ac90 100644
--- a/steam.sh
+++ b/steam.sh
@@ -7,3 +7,8 @@
# Unify close-to-tray behavior with other platforms. If using a distribution
# that doesn't have proper compatible tray support set variable at 0.
STEAM_FRAME_FORCE_CLOSE=1
+
+# Do not minimize main Steam window after losing focus (i.e. exiting a game in
+# Steam Remote Play.
+#
https://github.com/ValveSoftware/steam-for-linux/issues/4611
+SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
diff --git a/steam.spec b/steam.spec
index 9e4ba5a..6bd3603 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.61
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -25,11 +25,10 @@ Source5: README.Fedora
Source6:
https://raw.githubusercontent.com/denilsonsa/udev-joystick-blacklist/mast...
# Configure limits in systemd < 240
-Source7: 01-steam.conf
+Source7: 01-steam.conf
-# Remove temporary leftover files after run (fixes multiuser):
-#
https://github.com/ValveSoftware/steam-for-linux/issues/3570
-Patch0: %{name}-3570.patch
+# Updated UDEV rules
+Patch0:
https://github.com/ValveSoftware/steam-devices/commit/00aa8483cd243cbea9c...
BuildRequires: desktop-file-utils
BuildRequires: systemd
@@ -105,8 +104,9 @@ Requires: alsa-plugins-pulseaudio%{?_isa}
# Game performance is increased with gamemode (for games that support it)
%if 0%{?fedora} || 0%{?rhel} >= 8
-Recommends: gamemode
-Recommends: gamemode%{?_isa}
+Requires: gamemode
+Requires: gamemode%{?_isa}
+# Recommends: gnome-shell-extension-gamemode
%endif
Provides: steam-noruntime = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -149,8 +149,8 @@ install -pm 644 %{SOURCE1} %{SOURCE2}
%{buildroot}%{_sysconfdir}/profile.d
mkdir -p %{buildroot}%{_metainfodir}
install -p -m 0644 %{SOURCE4} %{buildroot}%{_metainfodir}/
-# Systemd configuration for systemd < 240
-%if 0%{?fedora} && 0%{?fedora} < 30
+# Since systemd 240 we don't need to raise NOFILE limit
+%if 0%{?rhel} >= 7
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
mkdir -p %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
@@ -158,8 +158,6 @@ install -m 644 -p %{SOURCE7}
%{buildroot}%{_prefix}/lib/systemd/user.conf.d/
%endif
%post
-%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
-%endif
%if 0%{?rhel} == 7
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
@@ -191,8 +189,8 @@ fi
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%{_udevrulesdir}/*
-# Since F30 (systemd 240) we don't need to raise NOFILE limit
-%if 0%{?fedora} && 0%{?fedora} < 30
+# Since systemd 240 we don't need to raise NOFILE limit
+%if 0%{?rhel} >= 7
%{_prefix}/lib/systemd/system.conf.d/
%{_prefix}/lib/systemd/system.conf.d/01-steam.conf
%{_prefix}/lib/systemd/user.conf.d/
@@ -200,6 +198,14 @@ fi
%endif
%changelog
+* Sun Feb 09 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.61-9
+- Update README.Fedora
+- Require gamemode on Fedora & CentOS/RHEL 8.
+- Adjust distribution conditionals.
+- Make sure you are not left with the desktop when streaming with no option
+ to get back to the Steam client.
+- Update udev rules.
+
* Wed Feb 05 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
1.0.0.61-8
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild