Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package supergfxctl for openSUSE:Factory checked in at 2024-11-24 11:04:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/supergfxctl (Old) and /work/SRC/openSUSE:Factory/.supergfxctl.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "supergfxctl" Sun Nov 24 11:04:22 2024 rev:2 rq:1225914 version:5.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/supergfxctl/supergfxctl.changes 2024-11-21 15:18:00.347902801 +0100 +++ /work/SRC/openSUSE:Factory/.supergfxctl.new.28523/supergfxctl.changes 2024-11-24 11:04:27.559491769 +0100 @@ -1,0 +2,6 @@ +Fri Nov 22 23:36:28 UTC 2024 - RN <r_ni...@proton.me> + +- Added prime-run binary that just links process to the nvidia + libraries + +------------------------------------------------------------------- New: ---- prime-run.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ supergfxctl.spec ++++++ --- /var/tmp/diff_new_pack.jd6d2A/_old 2024-11-24 11:04:30.327606850 +0100 +++ /var/tmp/diff_new_pack.jd6d2A/_new 2024-11-24 11:04:30.347607682 +0100 @@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.zst Source2: %{name}-user.conf +Source3: prime-run.sh Group: System/Daemons ## Patch for user-groups @@ -37,10 +38,10 @@ BuildRequires: cargo-packaging BuildRequires: pkgconfig +BuildRequires: sysuser-tools BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) -BuildRequires: sysuser-tools Requires: systemd Conflicts: bbswitch @@ -77,6 +78,8 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}-user.conf +install -D -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/prime-run + %pre -f %{name}.pre %service_add_pre supergfxd.service @@ -100,6 +103,7 @@ %license LICENSE %{_bindir}/supergfxd %{_bindir}/supergfxctl +%{_bindir}/prime-run %{_unitdir}/supergfxd.service %{_presetdir}/99-supergfxd.preset %{_udevrulesdir}/90-supergfxd-nvidia-pm.rules ++++++ prime-run.sh ++++++ #!/bin/bash __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"