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.7.2.tar.gz 0000009912 9.68 KB
suse-prime.changes 0000017767 17.4 KB
suse-prime.spec 0000005287 5.16 KB
Revision 14 (latest revision is 44)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 736082 from Stefan Dirsch's avatar Stefan Dirsch (sndirsch) (revision 14)
- 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

- 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

- 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

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