Skip to content

SUSEPrime-0.8.0

Compare
Choose a tag to compare
@sndirsch sndirsch released this 16 Mar 22:26
· 20 commits to master since this release
0e4f8c2

0.8.0 Added nvidia-prime-render offload support with both modesetting and xf86-video-intel drivers
Massive changes! Credits go to simopil painkilla96@gmail.com

-Added support for nvidia.prime=intel|intel2|nvidia|offload kernel parameter (with service enabled)
Priorities: forced-boot > kernel parameter > suseprime boot preference > last used

-Made runtime switching totally independent from systemd service, now service runs only during boot
-bbswitch totally independent from systemd service, service not needed for power management
-No need for two different packages with and without service, bbswitch works in both cases
-Deprecation of boot_state variable/file: faster, easier and safer
-Removed "booting" function and merged into "systemd_call" switch case, cause systemd_call will be called only during boot

-bbswitch management changes
-bbswitch module blacklisted and removed from initrd
-suseprime will load it (if installed) to disable nvidia and unload it to turn it ON: makes offload|nvidia boot faster, bbswitch not needed in nvidia|offload mode
-bbcheck function checks for nvidia module loaded instead bbswitch status if bbswitch is not loaded

-Added various functions to decentralize case switches:
nvpwr, logout_switch, logout_switch_no_dm, nv_offload_capable, offload_pref_check

-Deleted all "TAB" characters, replaced with 4-space and corrected entire script indentation
-Removed various useless comments about old features
-New file "/etc/prime/offload_type" stores intel driver in offload mode, editable with "prime-select offload-set"
-Updated usage section with new features
-Resolved bug in bbcheck function that causes creation of an empty file named "0" in root and home directory
-Updated README with my contact and "Custom bootloader entries" section