BW
BW
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
GAMESCOPECMD="/usr/bin/gamescope --backend=sdl --max-scale 2 --adaptive-sync -e"
GAMESCOPECMD="/usr/bin/gamescope --backend=sdl --max-scale 2 --adaptive-sync -e"
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
@NotQfThisWorld Can you try the following please?
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
from the commit
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
Two users says the patch works for them (RX 560, RX 570) One does not. (With RX 480)
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
4 hours ago
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
Might have forgotten to build rollback gamescope-session-plus and gamescope-session-steam too, as system tries to still pull in latest version of gamescope as well I'm going to put this on hold for a bit. Hopefully valve will release a new version fixing support for 580 before we can blink
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
Rebooting to see if I get gamescope up...
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable (index: 0)
Digest: sha256:f15f2dfeb61a526aab8a3e7c6072699e84e2eaca5c2932fb725ba778a243daef
Version: 40.20240517.0 (2024-05-17T17:08:59Z)
BaseCommit: ae1041d9ec2d99d6f408ec2e3722bdf9d7b4d76a5924b8c80cccaaa2d6329dcc
Commit: 019fa6b989ad6d8d87cfa64db33da245375272a6fbef8a8ae47ae40e89742515
├─ copr:copr.fedorainfracloud.org:matte-schwartz:sunshine (2024-05-16T09:38:07Z)
├─ copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager (2024-04-20T12:39:00Z)
├─ copr:copr.fedorainfracloud.org:rodoma92:rmlint (2024-05-10T10:16:28Z)
├─ copr:copr.fedorainfracloud.org:rok:cdemu (2024-02-20T12:07:53Z)
├─ fedora (2024-04-14T18:51:11Z)
├─ fedora-cisco-openh264 (2023-12-11T14:43:50Z)
├─ rpmfusion-free (2024-04-20T12:11:51Z)
├─ rpmfusion-free-updates (2024-05-16T20:58:05Z)
├─ rpmfusion-free-updates-testing (2024-05-16T20:58:57Z)
├─ updates (2024-05-18T01:08:37Z)
└─ updates-archive (2024-05-18T01:30:45Z)
Staged: yes
StateRoot: default
InactiveLocalOverrides: gamescope-100.3.13.19-1.bazzite.x86_64 gamescope-libs-100.3.13.19-1.bazzite.x86_64
LayeredPackages: v4l-utils
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable (index: 0)
Digest: sha256:f15f2dfeb61a526aab8a3e7c6072699e84e2eaca5c2932fb725ba778a243daef
Version: 40.20240517.0 (2024-05-17T17:08:59Z)
BaseCommit: ae1041d9ec2d99d6f408ec2e3722bdf9d7b4d76a5924b8c80cccaaa2d6329dcc
Commit: 019fa6b989ad6d8d87cfa64db33da245375272a6fbef8a8ae47ae40e89742515
├─ copr:copr.fedorainfracloud.org:matte-schwartz:sunshine (2024-05-16T09:38:07Z)
├─ copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager (2024-04-20T12:39:00Z)
├─ copr:copr.fedorainfracloud.org:rodoma92:rmlint (2024-05-10T10:16:28Z)
├─ copr:copr.fedorainfracloud.org:rok:cdemu (2024-02-20T12:07:53Z)
├─ fedora (2024-04-14T18:51:11Z)
├─ fedora-cisco-openh264 (2023-12-11T14:43:50Z)
├─ rpmfusion-free (2024-04-20T12:11:51Z)
├─ rpmfusion-free-updates (2024-05-16T20:58:05Z)
├─ rpmfusion-free-updates-testing (2024-05-16T20:58:57Z)
├─ updates (2024-05-18T01:08:37Z)
└─ updates-archive (2024-05-18T01:30:45Z)
Staged: yes
StateRoot: default
InactiveLocalOverrides: gamescope-100.3.13.19-1.bazzite.x86_64 gamescope-libs-100.3.13.19-1.bazzite.x86_64
LayeredPackages: v4l-utils
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
Clone bazzite to some dir. GIT_DIR git checkout f53fc0800425db43e821f3fc8c93706401cc6324 mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} cd GIT_DIR/spec_files/wlroots/ cp wlroots.spec ~/rpmbuild/SPECS/ cp * ~/rpmbuild/SOURCES/ cd ~/rpmbuild/SPECS/ spectool -g -R wlroots.spec && sudo dnf builddep -y wlroots.spec rpmbuild -ba ~/rpmbuild/SPECS/wlroots.spec sudo dnf install ~/rpmbuild/RPMS/x86_64/wlroots-* cd GIT_DIR/spec_files/gamescope git checkout fb51b61bf49ffee80b249325b6f00f05cda0b044 cp gamescope.spec ~/rpmbuild/SPECS/ cp * ~/rpmbuild/SOURCES/ cd ~/rpmbuild/SPECS/ edit gamescope.spec
%global libliftoff_minver 0.4.1

%global _default_patch_fuzz 2
%global build_timestamp %(date +"%Y%m%d")
%global gamescope_tag 3.13.19

Name: gamescope
Version: 100.%{gamescope_tag}
Release: 1.bazzite
Summary: Micro-compositor for video games on Wayland

License: BSD
URL: https://github.com/ValveSoftware/gamescope

# Create stb.pc to satisfy dependency('stb')
Source1: stb.pc
Source2: chimeraos.patch
...
%global libliftoff_minver 0.4.1

%global _default_patch_fuzz 2
%global build_timestamp %(date +"%Y%m%d")
%global gamescope_tag 3.13.19

Name: gamescope
Version: 100.%{gamescope_tag}
Release: 1.bazzite
Summary: Micro-compositor for video games on Wayland

License: BSD
URL: https://github.com/ValveSoftware/gamescope

# Create stb.pc to satisfy dependency('stb')
Source1: stb.pc
Source2: chimeraos.patch
...
edit %prep
%prep
git clone --depth 1 --branch %{gamescope_tag} https://github.com/ValveSoftware/gamescope
cd gamescope
git submodule update --init --recursive
mkdir -p pkgconfig
cp %{SOURCE1} pkgconfig/stb.pc
patch -Np1 < %{SOURCE2}
patch -Np1 < %{SOURCE3}
patch -Np1 < %{SOURCE4}
patch -Np1 < %{SOURCE5}
patch -Np1 < %{SOURCE6}
patch -Np1 < %{SOURCE7}
patch -Np1 < %{SOURCE8}
patch -Np1 < %{SOURCE9}
patch -Np1 < %{SOURCE10}

# Replace spirv-headers include with the system directory
sed -i 's^../thirdparty/SPIRV-Headers/include/spirv/^/usr/include/spirv/^' src/meson.build
%prep
git clone --depth 1 --branch %{gamescope_tag} https://github.com/ValveSoftware/gamescope
cd gamescope
git submodule update --init --recursive
mkdir -p pkgconfig
cp %{SOURCE1} pkgconfig/stb.pc
patch -Np1 < %{SOURCE2}
patch -Np1 < %{SOURCE3}
patch -Np1 < %{SOURCE4}
patch -Np1 < %{SOURCE5}
patch -Np1 < %{SOURCE6}
patch -Np1 < %{SOURCE7}
patch -Np1 < %{SOURCE8}
patch -Np1 < %{SOURCE9}
patch -Np1 < %{SOURCE10}

# Replace spirv-headers include with the system directory
sed -i 's^../thirdparty/SPIRV-Headers/include/spirv/^/usr/include/spirv/^' src/meson.build
spectool -g -R gamescope.spec && sudo dnf builddep -y gamescope.spec rpmbuild -ba ~/rpmbuild/SPECS/gamescope.spec <pin current deployment> rpm-ostree override replace ~/rpmbuild/RPMS/x86_64/gamescope* --> On this step <rebase to stable & reboot> <--
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
I copied everything from spec_files/{wlroots,gamescope} into ~/rpmbuild/SPECS/ install deps for wlroots.spec build wlroots sudo dnf install ~/rpmbuild/RPMS/wlroots* edit gamescope.spec to change %global gamescope_tag to 3.13.19 and remove %changelog section install deps for gamescope.spec copy SPECS/stb.pc SOURCES/ copy SPECS/*.patch SOURCES build gamescope.spec <awaiting build result>
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
Did you install everything in build-requires?
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
Just disabled auto updates and rebased pre-gamescope upgrade
309 replies
UBUniversal Blue
Created by NotQfThisWorld on 5/2/2024 in #🛟bazzite-help
Cant enter Steam-Gaming-Mode
I was a tad unlucky as I decided to build my younger brothers a steam machine with a 580, just last week
309 replies