Overview

Request 734774 accepted

- 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

- 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

- 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

- renamed package to suse-prime-beta

- exit successfully from pre/post/preun/postun scripts in order to
prevent build fails ...

- 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.

- Update to version 0.6.9
* Resolved issue with plymouth (it hangs during boot)
* Updated readme

- Repair broken suse-prime-bbswitch package

- 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

- Update to version 0.6.7
* Corrected DPI value in xorg-nvidia.conf (boo#1130723)

- Update to version 0.6.6
* Add logging to journal as well

- Split power support into separate package suse-prime-bbswitch
which don't need manual work

- 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

- Update to version 0.6.4
* added support for xdm and kdm
* removed useless "sudo" in journalctl calls

- Update to version 0.6.3
* Best DM support (lightdm added)

- 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

- Update to version 0.6.1
* mainly bugfixes
- supersedes 0001-Resolved-multiple-unexistent-file-error.patch

- 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

Loading...

Jan Engelhardt's avatar

Why is this calling mkinitrd manually? That would explain the complaints from the mailing list that mkinitrd runs more than once. There should be a %regenerate_initrd_post(trans) here instead.


Stefan Dirsch's avatar
author source maintainer

Does not work.

sudo rpm -Uhv /build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/RPMS/noarch/suse-prime-0.7.1-0.noarch.rpm Preparing... ################################# [100%] Updating / installing... 1:suse-prime-0.7.1-0 ################################# [ 50%] /var/tmp/rpm-tmp.Th4o3l: line 6: trans: command not found Cleaning up / removing... 2:suse-prime-0.5-lp151.2.1 ################################# [100%]

initrd is not being recreated.


Stefan Dirsch's avatar
author source maintainer

Seems %regenerate_initrd_posttrans worked at least once for me. initrd is not recreated during uninstallation afterwards. Also it isn't when installing the package a second time (not update). Even not when removing the initrds before manually. Weird macro stuff.

Request History
Stefan Dirsch's avatar

sndirsch created request

- 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

- 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

- 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

- renamed package to suse-prime-beta

- exit successfully from pre/post/preun/postun scripts in order to
prevent build fails ...

- 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.

- Update to version 0.6.9
* Resolved issue with plymouth (it hangs during boot)
* Updated readme

- Repair broken suse-prime-bbswitch package

- 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

- Update to version 0.6.7
* Corrected DPI value in xorg-nvidia.conf (boo#1130723)

- Update to version 0.6.6
* Add logging to journal as well

- Split power support into separate package suse-prime-bbswitch
which don't need manual work

- 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

- Update to version 0.6.4
* added support for xdm and kdm
* removed useless "sudo" in journalctl calls

- Update to version 0.6.3
* Best DM support (lightdm added)

- 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

- Update to version 0.6.1
* mainly bugfixes
- supersedes 0001-Resolved-multiple-unexistent-file-error.patch

- 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


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:10"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:adi:10


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by