SUSEPrime

Edit Package suse-prime

nvidia-prime like package for OpenSUSE

Assumptions:

* You are running OpenSUSE LEAP 42.1
* You don't have bumblebee installed
* You installed nvidia drivers using http://opensuse-community.org/nvidia.ymp

After install please do:

1. Add the following lines

if [ -f /etc/X11/xinit/xinitrc.d/prime-offload.sh ];
then
. /etc/X11/xinit/xinitrc.d/prime-offload.sh
fi

To /etc/X11/xdm/Xsetup after the line ". /etc/sysconfig/displaymanager"

2. Run "prime-select nvidia" log out and login again, hopefully you are using nvidia GPU. To switch back to intel GPU run "prime-select intel" Remember to run as root.

Refresh
Refresh
Source Files
Filename Size Changed
SUSEPrime-0.5.tar.gz 0000004017 3.92 KB
suse-prime.changes 0000006417 6.27 KB
suse-prime.spec 0000002580 2.52 KB
Revision 5 (latest revision is 44)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 668820 from Stefan Dirsch's avatar Stefan Dirsch (sndirsch) (revision 5)
- fixed URLs in specfile (project location changed on github) 

- 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

- 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
Comments 0
openSUSE Build Service is sponsored by