Bug 1121246

Summary: Enable support for Optimus systems (Intel/NVIDIA GPU combo) on our products
Product: [openSUSE] openSUSE Distribution Reporter: Stefan Dirsch <sndirsch>
Component: X11 3rd Party DriverAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Enhancement    
Priority: P2 - High CC: mrmazda, msrb, vinz
Version: Leap 15.1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Factory   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Dirsch 2019-01-09 11:57:23 UTC
Related to boo#1103816
- make use of suse-prime on Optimus systems, i.e. make use of NVIDIA GPU for rendering on systems, which include such a GPU
  in addition to the Intel GPU

- integrate usage of suse-prime package in NVIDIA packages, i.e. run prime-select appropriately

- do this for sle15-sp1/Leap 15.1 and Tumbleweed; required Xserver patch is included since sle15-sp1:
  -------------------------------------------------------------------
  Wed Aug 15 11:24:17 UTC 2018 - msrb@suse.com
  - Update n_xserver-optimus-autoconfig-hack.patch to v5.
    * Fixes provider auto-configuration with nvidia proprietary
       driver. (bsc#1103816)

- Docs: https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime
Comment 1 Stefan Dirsch 2019-01-09 12:00:25 UTC
First I'll add an option to suse-prime/prime-select to show the current config, i.e. whether we have configured to use NVIDIA or not.
Then I'll submitrequest suse-prime as new package to sle15-sp1. Then I'll add the required bits to NVIDIA packages.
Comment 2 Stefan Dirsch 2019-01-09 15:27:54 UTC
suse-prime is now adjusted and submitrequested to factory/Tumbleweed and sle15-sp1/Leap 15.1.
Comment 3 Stefan Dirsch 2019-01-09 15:30:27 UTC
https://build.opensuse.org/request/show/664115
Comment 5 Stefan Dirsch 2019-01-10 14:20:53 UTC
Just implemented the needed bits for NVIDIA packages (G04/G05). We don't/won't ship older package series for sle15-sp1/Leap 15.1 and TW.

-------------------------------------------------------------------
Thu Jan 10 14:10:18 UTC 2019 - sndirsch@suse.com

- since sle15-sp1/Leap 15.1 and on TW:
  * enable usage of NVIDIA driver on Optimus systems (Intel/NVIDIA
    combo) by default, if not yet configured differently via
    prime-select (requires suse-prime package being installed
    before), i.e. make use of NVIDIA GPU for rendering on such
    systems (boo#1121246)
Comment 6 Stefan Dirsch 2019-01-10 15:17:24 UTC
Closing as fixed.

I've also released version 0.3 of SUSEPrime and updated our suse-prime package for Tumbleweed and sle15sp1/Leap 15.1.