Hello community,

here is the log from the commit of package suse-prime for openSUSE:Factory 
checked in at 2020-03-30 23:04:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Mon Mar 30 23:04:24 2020 rev:21 rq:789702 version:0.7.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2020-02-06 
13:09:49.644388448 +0100
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.3160/suse-prime.changes  
2020-03-30 23:04:37.580218317 +0200
@@ -1,0 +2,18 @@
+Mon Mar 30 10:08:43 UTC 2020 - Stefan Dirsch <[email protected]>
+
+- Update to version 0.7.8
+  * README.md: fixed syntax in command
+  * Blacklist ipmi_msghandler, ipmi_devintf kernel modules (issue#50)
+    Make sure these kernel modules are not loaded. Otherwise it may
+    not be possible to turn off NVIDIA GPU.
+
+-------------------------------------------------------------------
+Tue Mar 10 14:37:04 UTC 2020 - Stefan Dirsch <[email protected]>
+
+- Update to version 0.7.7
+  * Fix unset option (issue#48)
+    - only disable service with bbswitch version
+    - reset also to X.Org's glx module as with "intel" option
+  * make use of $service_test variable where possible
+
+-------------------------------------------------------------------

Old:
----
  SUSEPrime-0.7.6.tar.gz

New:
----
  SUSEPrime-0.7.8.tar.gz

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

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.8vJDmN/_old  2020-03-30 23:04:39.020219138 +0200
+++ /var/tmp/diff_new_pack.8vJDmN/_new  2020-03-30 23:04:39.024219139 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           suse-prime
-Version:        0.7.6
+Version:        0.7.8
 Release:        0
 Summary:        GPU (nvidia/intel) selection for NVIDIA optimus laptops
 License:        SUSE-Public-Domain

++++++ SUSEPrime-0.7.6.tar.gz -> SUSEPrime-0.7.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.7.6/09-nvidia-modprobe-bbswitch-G04.conf 
new/SUSEPrime-0.7.8/09-nvidia-modprobe-bbswitch-G04.conf
--- old/SUSEPrime-0.7.6/09-nvidia-modprobe-bbswitch-G04.conf    2020-01-29 
16:31:44.000000000 +0100
+++ new/SUSEPrime-0.7.8/09-nvidia-modprobe-bbswitch-G04.conf    2020-03-30 
11:56:20.000000000 +0200
@@ -2,4 +2,6 @@
 blacklist nvidia-drm
 blacklist nvidia-modeset
 blacklist nouveau
+blacklist ipmi_msghandler
+blacklist ipmi_devintf
 options nvidia-drm modeset=1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.7.6/README.md 
new/SUSEPrime-0.7.8/README.md
--- old/SUSEPrime-0.7.6/README.md       2020-01-29 16:31:44.000000000 +0100
+++ new/SUSEPrime-0.7.8/README.md       2020-03-30 11:56:20.000000000 +0200
@@ -66,7 +66,7 @@
 This is easily done with:
 
 ```
-if [ ! test -s /etc/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf ]; then
+if [ ! -s /etc/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf ]; then
   cp 09-nvidia-modprobe-bbswitch-G04.conf /etc/modprobe.d && dracut -f
 fi
 ```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.7.6/prime-select.sh 
new/SUSEPrime-0.7.8/prime-select.sh
--- old/SUSEPrime-0.7.6/prime-select.sh 2020-01-29 16:31:44.000000000 +0100
+++ new/SUSEPrime-0.7.8/prime-select.sh 2020-03-30 11:56:20.000000000 +0200
@@ -15,7 +15,7 @@
 xorg_intel_conf_intel2="/etc/prime/xorg-intel-intel.conf"
 
xorg_nvidia_prime_render_offload="/etc/prime/xorg-nvidia-prime-render-offload.conf"
 prime_logfile="/var/log/prime-select.log"
-nvidia_modules="nvidia_drm nvidia_modeset nvidia_uvm nvidia"
+nvidia_modules="ipmi_devintf nvidia_drm nvidia_modeset nvidia_uvm nvidia 
ipmi_msghandler"
 driver_choices="nvidia|intel|intel2"
 lspci_intel_line="VGA compatible controller: Intel"
 lspci_nvidia_vga_line="VGA compatible controller: NVIDIA"
@@ -588,8 +588,12 @@
     unset)
 
        check_root
-       $0 service disable
+       if (( service_test == 0 )); then
+               $0 service disable
+       fi
        clean_xorg_conf_d
+       libglx_xorg=$(update-alternatives --list libglx.so | grep 
xorg-libglx.so)
+       update-alternatives --set libglx.so $libglx_xorg > /dev/null
        rm /etc/prime/current_type &> /dev/null
        rm /etc/prime/boot_state &> /dev/null
        rm /etc/prime/boot &> /dev/null
@@ -610,7 +614,7 @@
            
            check)
                
-                if [ -f 
/etc/systemd/system/multi-user.target.wants/prime-select.service ]; then
+                if (( service_test == 0 )); then
                    echo "prime-select: service is set correctly"
                    exit
                 fi


Reply via email to