Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-prime for openSUSE:Factory 
checked in at 2024-07-11 20:32:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Thu Jul 11 20:32:45 2024 rev:45 rq:1186790 version:0.8.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2024-01-06 
18:23:49.655486305 +0100
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.17339/suse-prime.changes 
2024-07-11 20:33:23.737340994 +0200
@@ -1,0 +2,20 @@
+Thu Jul 11 08:37:56 UTC 2024 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.17
+  * fix error in disabling nvidia service 
+
+-------------------------------------------------------------------
+Thu Jul 11 01:12:50 UTC 2024 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.16
+  * fixed nvidia-powerd service preventing unloading of nvidia
+    modules  
+
+-------------------------------------------------------------------
+Thu Jul 11 01:12:06 UTC 2024 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.15
+  * added prime-run script for easier offload mode usage (github
+    issue#96) 
+
+-------------------------------------------------------------------

Old:
----
  SUSEPrime-0.8.15.tar.gz

New:
----
  SUSEPrime-0.8.17.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.IFV2D0/_old  2024-07-11 20:33:24.641374030 +0200
+++ /var/tmp/diff_new_pack.IFV2D0/_new  2024-07-11 20:33:24.645374175 +0200
@@ -23,7 +23,7 @@
 %global modprobe_d_files 09-nvidia-modprobe-bbswitch-G04.conf 
09-nvidia-modprobe-pm-G05.conf
 
 Name:           suse-prime
-Version:        0.8.15
+Version:        0.8.17
 Release:        0
 Summary:        GPU (nvidia/intel) selection for NVIDIA optimus laptops with 
bbswitch support
 License:        SUSE-Public-Domain

++++++ SUSEPrime-0.8.15.tar.gz -> SUSEPrime-0.8.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.8.15/prime-select.sh 
new/SUSEPrime-0.8.17/prime-select.sh
--- old/SUSEPrime-0.8.15/prime-select.sh        2024-01-06 17:55:04.000000000 
+0100
+++ new/SUSEPrime-0.8.17/prime-select.sh        2024-07-11 10:33:49.000000000 
+0200
@@ -374,11 +374,14 @@
         fi
     else
         # 
https://github.com/Bumblebee-Project/bbswitch/issues/173#issuecomment-703162468
-        # ensure nvidia-persistenced service is not running
-        if systemctl is-active --quiet nvidia-persistenced.service; then
-            systemctl stop nvidia-persistenced.service
-            systemctl disable nvidia-persistenced.service
-        fi
+        # ensure nvidia-persistenced and nvidia-powerd services are disabled 
and not running
+       # as they prevent unloading of NVIDIA modules
+       for name in persistenced powerd
+       do
+           if systemctl is-active --quiet nvidia-${name}.service; then
+               systemctl disable --now nvidia-${name}.service
+            fi
+       done
         # kill all nvidia related process to fix failure to unload nvidia 
modules (issue#50)
         nvidia_process=$(lsof -t /dev/nvidia* 2> /dev/null)
         if [ -n "$nvidia_process" ]; then

Reply via email to