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 2022-08-01 21:32:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Mon Aug  1 21:32:37 2022 rev:37 rq:991872 version:0.8.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2022-03-14 
19:37:58.414191646 +0100
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.1533/suse-prime.changes  
2022-08-01 21:33:26.778181023 +0200
@@ -1,0 +2,11 @@
+Sun Jul 31 11:17:52 UTC 2022 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.8
+  * prime-select.sh: offload-set(): no need to check for xf86-video-amdgpu
+    package
+    amdgpu/nvidia is not implemented for offload on AMD, only modeset/nvidia;
+    you could run "prime-select offload-set intel" on AMD/NVIDIA, but this is
+    rather confusing; so just use "prime-select offload" there for
+    having modeset/nvidia (issue #81) 
+
+-------------------------------------------------------------------

Old:
----
  SUSEPrime-0.8.7.tar.gz

New:
----
  SUSEPrime-0.8.8.tar.gz

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

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.mFgXEH/_old  2022-08-01 21:33:27.374182734 +0200
+++ /var/tmp/diff_new_pack.mFgXEH/_new  2022-08-01 21:33:27.382182757 +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.7
+Version:        0.8.8
 Release:        0
 Summary:        GPU (nvidia/intel) selection for NVIDIA optimus laptops with 
bbswitch support
 License:        SUSE-Public-Domain

++++++ SUSEPrime-0.8.7.tar.gz -> SUSEPrime-0.8.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.8.7/prime-select.sh 
new/SUSEPrime-0.8.8/prime-select.sh
--- old/SUSEPrime-0.8.7/prime-select.sh 2022-03-14 16:00:59.000000000 +0100
+++ new/SUSEPrime-0.8.8/prime-select.sh 2022-07-31 13:08:23.000000000 +0200
@@ -593,12 +593,19 @@
             fi
         fi
 
-        if [ "$2" = "amd" ];then
-            if ! rpm -q xf86-video-amdgpu > /dev/null; then
-                echo "package xf86-video-amdgpu is not installed";
-                exit 1
-            fi
-        fi
+        ###
+        ### no need to check for this; amdgpu/nvidia is not implemented 
+        ### for offload on AMD, only modeset/nvidia; you could run
+        ### "prime-select offload-set intel" on AMD/NVIDIA, but this is
+        ### rather confusing; so just use "prime-select offload" there for
+        ### having modeset/nvidia
+        ###
+        #if [ "$2" = "amd" ];then
+        #    if ! rpm -q xf86-video-amdgpu > /dev/null; then
+        #        echo "package xf86-video-amdgpu is not installed";
+        #        exit 1
+        #    fi
+        #fi
 
         if ! nv_offload_capable; then
             echo "ERROR: offloading needs nvidia drivers >= 435.xx"

Reply via email to