Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

suse-prime-bbswitch-0.7.7-lp152.1.1 RPM for noarch

From OpenSuSE Leap 15.2 for noarch

Name: suse-prime-bbswitch Distribution: openSUSE Leap 15.2
Version: 0.7.7 Vendor: openSUSE
Release: lp152.1.1 Build date: Fri Mar 13 11:03:29 2020
Group: System/X11/Utilities Build host: build72
Size: 33527 Source RPM: suse-prime-0.7.7-lp152.1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/openSUSE/SUSEPrime
Summary: GPU (nvidia/intel) selection for NVIDIA optimus laptops with bbswitch support
A collection of shell scripts that makes it possible to use the
NVIDIA GPU on a Optimus Laptop. The switching is similar to
the feature provided by the nvidia-prime package in Ubuntu.
Uses bbswitch to switch on/of power of NVIDIA GPU.

Provides

Requires

License

SUSE-Public-Domain

Changelog

* Tue Mar 10 2020 Stefan Dirsch <sndirsch@suse.com>
  - 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
* Thu Feb 06 2020 Stefan Dirsch <sndirsch@suse.com>
  - changed copyright to SUSE LLC in specfile
* Tue Feb 04 2020 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.6
    * README.md: Updated documentation (issue#46)
      + Removing dracut config file of nvidia's packages is no longer
      needed. These packages have been updated since.
      + Made config file installation more generic, so nobody tries
      to install config files, which are already at the right
      location when using suse-prime packages.
      + DynamicPowerManagement specifics apply to 435.xxx and later,
      not only 435.xx. Made this clear ...
* Mon Feb 03 2020 Dominique Leuenberger <dimstar@opensuse.org>
  - BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
    shortcut through the -mini flavors.
* Wed Jan 15 2020 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.5
    * Runlevel switch not needed anymore
      + Service only starts/stops display-manager service
    - Faster switch operation
    - No conflicts with services that run in runlev. 3
    - Consistence
      + Removed references of target/runlevel switch
      + Removed a duplicate of "systemctl stop display-manager" in
      "user_logout_waiter" section
* Thu Nov 28 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.4
    * Fixed broken formatting in 90-nvidia-udev-pm-G05.rules (issue #40)
* Tue Nov 19 2019 Stefan Dirsch <sndirsch@suse.com>
  - only package suse-prime-bbswitch on openSUSE, since bbswitch
    kernel module package is not available on sle
* Mon Nov 18 2019 Stefan Dirsch <sndirsch@suse.com>
  - this release also includes support for NVIDIA's PRIME render
    offloading (jsc#SLE-9068)
* Wed Oct 23 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.3
    * Restore previous configuration if nvidia reconfiguration fails
    * Set the right panel variables for LVDS displays (issue#26)
* Tue Oct 08 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.2 with various improvements and fixes
    * Full support to nvidia prime offloading without service or
      with bbswitch with service disabled
    * Distinction between "service disabled" (bbswitch package)
      and "service not installed"
    * Fixed bug with bbswitch and service enabled that returns i
      "PCI BusID of NVIDIA card could not be detected"
    * Now when NVIDIA is OFF, intel xorg config file has ai
      commented "nvidia prime offloading" section
    * Mention that offloading needs service disabled
    * Corrected intentation in some sections
  - supersedes the following patches:
    * 0001-Removed-exit-1-error-from-common-set-intel-because-d.patch
    * 0002-Various-improvements-and-fixes.patch
    * 0003-Merged-commit-https-github.com-openSUSE-SUSEPrime-pu.patch
* Tue Oct 08 2019 Stefan Dirsch <sndirsch@suse.com>
  - 0001-Removed-exit-1-error-from-common-set-intel-because-d.patch,
    * Removed "exit 1" error from "common set intel" because during
      boot and nvidia card off by default in bbswitch (load_state=0)
      crashes service
  - 0002-Various-improvements-and-fixes.patch
    * Various improvements and fixes
      + Full support to nvidia prime offloading without service or with
      bbswitch with service disabled
      + Distinction between "service disabled" (bbswitch package) and
      "service not installed"
      + Fixed bug with bbswitch and service enabled that returns
      "PCI BusID of NVIDIA card could not be detected"
      + Now when NVIDIA is OFF, intel xorg config file has a commented
      "nvidia prime offloading" section
      + Mention that offloading needs service disabled
      + Corrected intentation in some sections
  - 0003-Merged-commit-https-github.com-openSUSE-SUSEPrime-pu.patch
    * supersedes 0001-Fix-intel-configs-if-no-NVIDIA-kernel-module-is-avai.patch
* Mon Oct 07 2019 Stefan Dirsch <sndirsch@suse.com>
  - fix build on distributions, where %{?regenerate_initrd_post}
    doesn't exist yet
  - %preun: 'prime-select unset' is supposed to fail during
    package installation test during build, therefore don't
    let it fail via adding "|| true" to the command
* Mon Oct 07 2019 Stefan Dirsch <sndirsch@suse.com>
  - 0001-Fix-intel-configs-if-no-NVIDIA-kernel-module-is-avai.patch
    * Move additional nvidia X device section needed for NVIDIA's Prime
      Render Offload mode to an extra xorg.conf.d snippet. Add this only
      to intel X configs, if NVIDIA's PCI BusId can be detected.
  - add xorg-nvidia-prime-render-offload.conf X snippet to /etc/prime
* Fri Oct 04 2019 Jan Engelhardt <jengelh@inai.de>
  - Use more of the posttrans rather than on-demand mkinitrd
    regeneration approach.
* Fri Oct 04 2019 Stefan Dirsch <sndirsch@suse.com>
  - replace /sbin/mkinitrd with %regenerate_initrd_posttrans
* Thu Oct 03 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.1
    * xorg-nvidia.conf: Added option AllowExternalGpus to allow
      eGPUs by default
* Wed Oct 02 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.7.0
    * no changes to 0.6.14 and the patches on top of that we had
      before ...
  - supersedes patches:
    * 0001-Implement-and-document-PRIME-Render-Offload-and-Dyna.patch
    * 0002-Fix-NVIDIA-PRIME-Render-Offload.patch
    * 0003-prime-select.sh-mention-PRIME-Render-Offload-in-usag.patch
* Wed Oct 02 2019 Stefan Dirsch <sndirsch@suse.com>
  - 0001-Implement-and-document-PRIME-Render-Offload-and-Dyna.patch
    0002-Fix-NVIDIA-PRIME-Render-Offload.patch
  - 0003-prime-select.sh-mention-PRIME-Render-Offload-in-usag.patch
    * adds support for NVIDIA PRIME Render Offload of 435.xx/G05 driver
  - add new config files (modprobe.d/dracut.d/udev.d) to package;
    regenerate initrd during installation and also during update of
    nvidia G05 KMP
* Wed Jun 26 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.14
    * changes since 0.6.11
      + fix Plasma scaling for laptop panel when changing driver;
      see comment in function update_kdeglobals for details
      + fixed issues when switching with Xorg started with
      startx/xinit (multi-user.target)
      + fixed issues when switching from console
      + replaced usage of runlevel command by use of systemctl to
      determine current target. runlevel did not always
      + returns a defined runlevel and caused a bash error (on first
      script run)
      + made grepping for xinit process more strict
      + fixed issue where 'prime-select user_logout_waiter'
      execution would not exit for a while after switching
      + Fix check for existing NVIDIA GPU
* Wed May 22 2019 Stefan Dirsch <sndirsch@suse.com>
  - renamed package to suse-prime-beta
* Tue Apr 23 2019 Stefan Dirsch <sndirsch@suse.com>
  - exit successfully from pre/post/preun/postun scripts in order to
    prevent build fails ...
* Mon Apr 08 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.11
    * Allow to work without service
      + work without bbswitch if prime-select.service is not installed (for
      suse-prime package)
      + cleaned up script usage, only displays relevant commands
      + service, boot and next-boot commands are not available if running without
      service
      + handle the case when booting with nvidia config but no nvidia card is available
      (disabled in BIOS) by forcing intel. Only works if service is running
      + replaced shell commands using backquotes with more modern $() for consistency
      + when appropriate, changed nvidia => NVIDIA for consistency
      + reindented script with emacs for consistency
      + minor updates to README
    * Add 30s timeout to service to make sure system boots if service doesnt work.
* Wed Apr 03 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.9
    * Resolved issue with plymouth (it hangs during boot)
    * Updated readme
* Mon Apr 01 2019 Mykola Krachkovsky <w01dnick@gmail.com>
  - Repair broken suse-prime-bbswitch package
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.8
    * Big Update (changes in systemd services)
      + prime-boot-selector service deprecated, all features are
      now handled with one only service.
      + used journalctl to check if system is booting or if
      "logout-switch" is needed
      + no more multiple service enable/disable needed during
      switch, prime-select service is enabled everytime
      + removed all "prime-boot-selector" references in logging
      and help command
      + boot_status file has now only two states (S > wait for
      switching, N > not waiting)
      + changed systemd call from "prime-select apply_current"
      to "prime-select systemd_call"
      + updated README
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.7
    * Corrected DPI value in xorg-nvidia.conf (boo#1130723)
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.6
    * Add logging to journal as well
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Split power support into separate package suse-prime-bbswitch
    which don't need manual work
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.5
    * augmented README
    * do not mention "intel" driver issue with kwin since it is obsolete
    * improved "intel" xorg config to work properly with compositors
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.4
    * added support for xdm and kdm
    * removed useless "sudo" in journalctl calls
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.3
    * Best DM support (lightdm added)
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.2
    - fixes all known issues with GDM, runlevel 3 and manually-started
      x sessions
    * Xorg logfile comparision no longer necessary, let's use
      journalctl to check user logout
    * other DM(s) than sddm/gdm will be implemented in the future
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6.1
    * mainly bugfixes
  - supersedes 0001-Resolved-multiple-unexistent-file-error.patch
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - Update to version 0.6
    * new systemd service file prime-boot-selector in addition to prime-select
      + Service prime-select chooses with whatever driver was previously set by user.
      + Service prime-boot-selector sets all things during boot [MUST BE ENABLED]
    * new prime-select command options
      + prime-select boot intel|intel2|nvidia|last
      + prime-select next-boot intel|intel2|nvidia|abort
      + prime-select service check|disable|restore
  - 0001-Resolved-multiple-unexistent-file-error.patch (post 0.6)
    * Resolved multiple unexistent file errors
    * Resolved a big issue in switch command if prime_logfile doesn't exist,
      file check added
    * Added non existent file handling in various parts of script (next-boot,
      log-view, unset, current_check) Those issues manifested themselves
      after a fresh installation, because some config files still were not
      present
  - supersedes U_Corrected-DPI-value-in-xorg-nvidia.conf.patch
* Mon Apr 01 2019 Stefan Dirsch <sndirsch@suse.com>
  - U_Corrected-DPI-value-in-xorg-nvidia.conf.patch
    * Corrected DPI value in xorg-nvidia.conf (boo#1130723)
* Sat Jan 26 2019 sndirsch@suse.com
  - fixed URLs in specfile (project location changed on github)
* Sat Jan 26 2019 sndirsch@suse.com
  - Update to release 0.5
    * Add various improvements to the original script (by @bubbleguuum)
      1. add bbswitch support to power off NVIDIA card if not in use.
      This is important to save battery when running on Intel and
      to decrease cpu temperature significantly.
      This support is optional, it requires user to make some
      manual modifications to his system using detailed documentation.
      2. add Intel Open Source driver support (xf86-video-intel)
      via new intel2 command-line option.
      This driver has some additional features that users may want.
      3. add the proper BusID for Intel in xorg configuration.
      Without this, Xorg fails to start on some laptops.
      4. fix (via modified xorg-nvidia.conf) for external monitor
      not enumerated by xrandr with the nvidia config.
      On Optimus laptop, the dGPU is usually responsible of managing
      external video ports, including connections via Thunderbolt 3.
    * get-current option for prime-select script
      Show valid options for prime-select script, if driver has not
      been configured yet
  - supersedes the following patches
    * 0002-fix-README.patch
    * U_prime-select.sh-bail-out-if-nvidia-xconfig-fails-use.patch
    * 0004-xorg-nvidia.conf-refix-config.patch
    * 0003-prime-select-Show-valid-options-if-driver-has-not-be.patch
    * 0001-Add-various-improvements-to-the-original-script.patch
  - %preun: cleanup before uninstalling the package completely by
    using prime-select's 'unset' option
* Fri Jan 25 2019 sndirsch@suse.com
  - 0001-Add-various-improvements-to-the-original-script.patch
    * Add various improvements to the original script
      1. add bbswitch support to power off NVIDIA card if not in use.
      This is important to save battery when running on Intel and
      to decrease cpu temperature significantly.
      This support is optional, it requires user to make some
      manual modifications to his system using detailed documentation.
      2. add Intel Open Source driver support (xf86-video-intel)
      via new intel2 command-line option.
      This driver has some additional features that users may want.
      3. add the proper BusID for Intel in xorg configuration.
      Without this, Xorg fails to start on some laptops.
      4. fix (via modified xorg-nvidia.conf) for external monitor
      not enumerated by xrandr with the nvidia config.
      On Optimus laptop, the dGPU is usually responsible of managing
      external video ports, including connections via Thunderbolt 3.
  - 0002-fix-README.patch
    * fix README
  - 0003-prime-select-Show-valid-options-if-driver-has-not-be.patch
    * prime-select: Show valid options, if driver has not been
      configured yet.
  - 0004-xorg-nvidia.conf-refix-config.patch
    * xorg-nvidia.conf: refix config
* Fri Jan 11 2019 sndirsch@suse.com
  - U_prime-select.sh-bail-out-if-nvidia-xconfig-fails-use.patch
    * 'nvidia-xconfig --query-gpu-info' may easily fail due to missing
      NVIDIA kernel modules or alike. Therefore bail out in this case
      with exit 1.
    * There could be more than one NVIDIA card/GPU in the system. Use
      the first detected one for X configuration in that case.
* Thu Jan 10 2019 sndirsch@suse.com
  - Update to release 0.3
    * added "query" switch: use 'prime-select query' to check which
      GPU you're currently using
    * removed UseDisplayDevice option from xorg-nvidia.conf which is
      not needed anymore and prevents use of external displays
  - supersedes patches
    * U_Fixed-syntax-error-and-handled-not-yet-existing-conf.patch
    * U_adding-query-switch.patch
* Wed Jan 09 2019 sndirsch@suse.com
  - U_Fixed-syntax-error-and-handled-not-yet-existing-conf.patch
    * Fixed syntax error and handled not yet existing configurations
* Wed Jan 09 2019 sndirsch@suse.com
  - U_adding-query-switch.patch
    * adding "query" switch (boo#1121246)
    * removing line from xorg-nvidia.conf, which is not needed
      anymore and prevents use of external displays
* Mon Nov 12 2018 sndirsch@suse.com
  - changed Requires: nvidia_driver to Recommends in order to receive
    more acceptance for integration into (open)SUSE
  - added Supplements: nvidia_driver:<intel_PCI_ID>, so package gets
    selected as well when nvidia driver packages are selected on an
    Optimus system
  - added proper and valid Group tag
* Tue Oct 16 2018 msrb@suse.com
  - Changed License tag to SUSE-Public-Domain - this is the value
    necessary for RPM to accept Public Domain "license".
* Fri Oct 12 2018 Jan Engelhardt <jengelh@inai.de>
  - Use noun phrase for summary.
* Fri Aug 17 2018 msrb@suse.com
  - Update to release 0.2 - adapted for X server with provider
    autoconfiguration patch.
* Thu Mar 24 2016 bosim@opensuse.org
  - Changed Source URL
* Sun Mar 20 2016 bosim@opensuse.org
  - Tagged release 0.1
* Sat Mar 19 2016 tchvatal@suse.com
  - Introduce changelog, cleanup a bit
* Sun Feb 14 2016 bo@geekworld.dk
  - Using master branch instead of rpm branch
* Sun Nov 22 2015 bo@geekworld.dk
  - Initial version

Files

/etc/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf
/etc/prime
/etc/prime/current_type
/etc/prime/xorg-intel-intel.conf
/etc/prime/xorg-intel.conf
/etc/prime/xorg-nvidia-prime-render-offload.conf
/etc/prime/xorg-nvidia.conf
/usr/lib/systemd/system/prime-select.service
/usr/sbin/prime-select
/usr/sbin/rcprime-select
/usr/share/doc/packages/suse-prime-bbswitch
/usr/share/doc/packages/suse-prime-bbswitch/README.md


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jul 9 11:27:19 2024