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 2021-11-20 02:39:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-prime (Old) and /work/SRC/openSUSE:Factory/.suse-prime.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-prime" Sat Nov 20 02:39:32 2021 rev:33 rq:932591 version:0.8.5 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes 2021-10-25 15:18:50.365728379 +0200 +++ /work/SRC/openSUSE:Factory/.suse-prime.new.1895/suse-prime.changes 2021-11-20 02:40:54.944428620 +0100 @@ -1,0 +2,6 @@ +Fri Nov 19 21:12:38 UTC 2021 - Stefan Dirsch <sndir...@suse.com> + +- SUSEPrime-0.8.5 + * Fixed AMD's "offload" mode (issue#73) + +------------------------------------------------------------------- Old: ---- SUSEPrime-0.8.4.tar.gz New: ---- SUSEPrime-0.8.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-prime.spec ++++++ --- /var/tmp/diff_new_pack.JpPLNv/_old 2021-11-20 02:40:55.444426970 +0100 +++ /var/tmp/diff_new_pack.JpPLNv/_new 2021-11-20 02:40:55.448426958 +0100 @@ -17,7 +17,7 @@ Name: suse-prime -Version: 0.8.4 +Version: 0.8.5 Release: 0 Summary: GPU (nvidia/intel) selection for NVIDIA optimus laptops with bbswitch support License: SUSE-Public-Domain ++++++ SUSEPrime-0.8.4.tar.gz -> SUSEPrime-0.8.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SUSEPrime-0.8.4/prime-select.sh new/SUSEPrime-0.8.5/prime-select.sh --- old/SUSEPrime-0.8.4/prime-select.sh 2021-10-25 12:37:33.000000000 +0200 +++ new/SUSEPrime-0.8.5/prime-select.sh 2021-11-19 21:04:12.000000000 +0100 @@ -129,8 +129,13 @@ function offload_pref_check { #checks if there's a preference for nvidia-offloading if ! [ -f /etc/prime/offload_type ]; then - echo "intel" > /etc/prime/offload_type - logging "Using default intel modesetting driver for offloading." + if lspci | grep -q "$lspci_amd_line"; then + echo "amd" > /etc/prime/offload_type + logging "Using default amd modesetting driver for offloading." + else + echo "intel" > /etc/prime/offload_type + logging "Using default intel modesetting driver for offloading." + fi fi }